:root {
  --mint: #0ea5a3;
  --mint-dark: #0b7f7d;
  --bg: #f4f9f8;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --error: #dc2626;
  --success: #16a34a;
  --pending: #d97706;
  --failed: #dc2626;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, #e6f5f4 100%);
  color: var(--text);
  padding: 24px;
}

.card {
  background: var(--card);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(14, 165, 163, 0.15);
  overflow: hidden;
}

.card__header {
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
  color: #fff;
  padding: 28px 28px 22px;
  text-align: center;
}

.card__header h1 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.card__header p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.card__body {
  padding: 28px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8e7;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus {
  border-color: var(--mint);
}

.amount-wrap {
  position: relative;
}

.amount-wrap .prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 600;
}

.amount-wrap input {
  padding-left: 32px;
}

.error-box {
  min-height: 18px;
  color: var(--error);
  font-size: 13px;
  margin-bottom: 12px;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: var(--mint);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.submit-btn:hover:not(:disabled) { background: var(--mint-dark); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.secure-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
}

/* --- Status page --- */
.status-card {
  text-align: center;
  padding: 40px 28px;
}

.status-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
}

.status-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}

body.success .status-title { color: var(--success); }
body.pending .status-title { color: var(--pending); }
body.failed .status-title { color: var(--failed); }

.status-details {
  text-align: left;
  background: var(--bg);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
}

.status-details p {
  margin: 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status-details strong {
  color: var(--muted);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--mint-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
