/* ═══════════════════════════════════════════════════════
   USER PORTAL — Clean Premium ISP Theme
   Font: Outfit (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --p:       #2563eb;
  --p-light: #3b82f6;
  --p-dark:  #1d4ed8;
  --p-glow:  rgba(37,99,235,0.18);
  --success: #10b981;
  --warn:    #f59e0b;
  --danger:  #ef4444;
  --radius:  18px;
  --radius-sm: 12px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

:root, :root[data-theme="dark"] {
  --bg:        #080f1e;
  --bg-card:   #0e1829;
  --bg-2:      #131f33;
  --bg-3:      #1a2740;
  --border:    rgba(255,255,255,0.08);
  --border-hi: rgba(37,99,235,0.4);
  --txt:       #f0f4ff;
  --txt-2:     #94a3b8;
  --txt-3:     #4e6080;
  --shadow:    0 24px 48px rgba(0,0,0,0.5);
  --glow:      0 0 60px rgba(37,99,235,0.12);
}

:root[data-theme="light"] {
  --bg:        #f0f4ff;
  --bg-card:   #ffffff;
  --bg-2:      #f8faff;
  --bg-3:      #eef2ff;
  --border:    rgba(0,0,0,0.08);
  --border-hi: rgba(37,99,235,0.35);
  --txt:       #0d1526;
  --txt-2:     #475569;
  --txt-3:     #94a3b8;
  --shadow:    0 12px 40px rgba(0,0,0,0.1);
  --glow:      0 0 40px rgba(37,99,235,0.08);
}

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

/* ── Background mesh ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(37,99,235,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}

:root[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(37,99,235,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(99,102,241,0.05) 0%, transparent 60%);
}

/* grid texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

:root[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
}

/* ── Layout ────────────────────────────────────────── */
.u-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.u-wrap.wide { max-width: 560px; }
.u-wrap.loaded { opacity: 1; transform: translateY(0); }

/* ── Card ──────────────────────────────────────────── */
.u-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow), var(--glow);
  position: relative;
  overflow: hidden;
}

.u-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p-dark), var(--p-light), #818cf8);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ── Logo / Brand ──────────────────────────────────── */
.u-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

/* Default logo: icon-only square */
.u-logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--p-dark), var(--p-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px var(--p-glow);
  flex-shrink: 0;
}
.u-logo svg { width: 36px; height: 36px; color: #fff; }

/* Custom logo: flexible, fits any aspect ratio */
.u-logo.has-logo {
  width: auto;
  height: auto;
  min-width: 48px;
  min-height: 48px;
  max-width: min(80%, 260px);
  max-height: 100px;
  background: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
}
.u-logo.has-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  border-radius: 0;
}

.u-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.u-subtitle {
  font-size: 13.5px;
  color: var(--txt-2);
  margin-top: 4px;
}

/* ── Section heading ───────────────────────────────── */
.u-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 4px;
}

/* ── Form Fields ───────────────────────────────────── */
.u-field { margin-bottom: 18px; }

.u-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--txt-2);
  margin-bottom: 7px;
}

.u-field input,
.u-field select,
.u-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--txt);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
}
.u-field input:focus,
.u-field select:focus,
.u-field textarea:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px var(--p-glow);
  background: var(--bg-3);
}
.u-field input[readonly] { opacity: 0.65; cursor: default; }
.u-field textarea { resize: vertical; min-height: 80px; }

.u-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.u-field-hint {
  font-size: 11.5px;
  color: var(--txt-3);
  margin-top: 5px;
}
.u-field-err {
  font-size: 11.5px;
  color: var(--danger);
  margin-top: 5px;
}

/* Input + Button inline */
.u-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.u-input-row input { flex: 1; }
.u-input-row .u-btn { flex-shrink: 0; width: auto; padding: 0 18px; }

/* ── Buttons ───────────────────────────────────────── */
.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.u-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.u-btn:hover::after { opacity: 1; }

.u-btn-primary {
  background: linear-gradient(135deg, var(--p), var(--p-light));
  color: #fff;
  box-shadow: 0 4px 16px var(--p-glow);
}
.u-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--p-glow);
}
.u-btn-primary:active { transform: translateY(0); }

.u-btn-outline {
  background: transparent;
  color: var(--txt-2);
  border: 1px solid var(--border);
}
.u-btn-outline:hover {
  border-color: var(--p);
  color: var(--txt);
  background: var(--bg-2);
}

.u-btn-ghost {
  background: var(--bg-2);
  color: var(--txt-2);
  border: 1px solid var(--border);
}
.u-btn-ghost:hover { background: var(--bg-3); color: var(--txt); }

.u-btn-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239,68,68,0.25);
}

.u-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.u-btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.u-btn.loading { pointer-events: none; opacity: 0.7; }

/* ── Alert / Notice ────────────────────────────────── */
.u-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
}
.u-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.u-alert-error  { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; }
.u-alert-warn   { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #fcd34d; }
.u-alert-success{ background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #6ee7b7; }
.u-alert-info   { background: rgba(37,99,235,0.08);  border: 1px solid rgba(37,99,235,0.2);  color: #93c5fd; }

:root[data-theme="light"] .u-alert-error  { color: #b91c1c; }
:root[data-theme="light"] .u-alert-warn   { color: #92400e; }
:root[data-theme="light"] .u-alert-success{ color: #065f46; }
:root[data-theme="light"] .u-alert-info   { color: #1e40af; }

/* ── Divider ───────────────────────────────────────── */
.u-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--txt-3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.u-divider::before, .u-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Status Badge ──────────────────────────────────── */
.u-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid;
}
.u-status-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.u-status-text { flex: 1; }
.u-status-title { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.u-status-sub { font-size: 12.5px; color: var(--txt-2); }

.u-status.active {
  background: rgba(16,185,129,0.07);
  border-color: rgba(16,185,129,0.25);
}
.u-status.active .u-status-icon { background: rgba(16,185,129,0.15); }
.u-status.active .u-status-title { color: #34d399; }

.u-status.due {
  background: rgba(245,158,11,0.07);
  border-color: rgba(245,158,11,0.25);
}
.u-status.due .u-status-icon { background: rgba(245,158,11,0.15); }
.u-status.due .u-status-title { color: #fbbf24; }

.u-status.expired,
.u-status.suspended,
.u-status.disconnected,
.u-status.throttled {
  background: rgba(239,68,68,0.07);
  border-color: rgba(239,68,68,0.25);
}
.u-status.expired .u-status-icon,
.u-status.suspended .u-status-icon,
.u-status.disconnected .u-status-icon,
.u-status.throttled .u-status-icon { background: rgba(239,68,68,0.15); }
.u-status.expired .u-status-title,
.u-status.suspended .u-status-title,
.u-status.disconnected .u-status-title,
.u-status.throttled .u-status-title { color: #fca5a5; }

.u-status.due_today .u-status-icon,
.u-status.due_soon  .u-status-icon { background: rgba(245,158,11,0.15); }
.u-status.due_today,
.u-status.due_soon {
  background: rgba(245,158,11,0.07);
  border-color: rgba(245,158,11,0.25);
}
.u-status.due_today .u-status-title,
.u-status.due_soon  .u-status-title { color: #fbbf24; }

/* ── Data Rows ─────────────────────────────────────── */
.u-rows {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.u-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.u-row:last-child { border-bottom: none; }
.u-row-label { font-size: 13px; color: var(--txt-2); font-weight: 500; flex-shrink: 0; }
.u-row-value { font-size: 14px; color: var(--txt); font-weight: 600; text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 13px; }

/* ── Plan Cards ────────────────────────────────────── */
.u-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.u-plan {
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.u-plan:hover { border-color: var(--p-light); background: var(--bg-3); }
.u-plan.selected {
  border-color: var(--p);
  background: rgba(37,99,235,0.08);
  box-shadow: 0 0 0 3px var(--p-glow);
}
.u-plan.featured { border-color: var(--p-light); }
.u-plan-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--bg-3);
  color: var(--txt-2);
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.u-plan-badge.popular {
  background: var(--p);
  color: #fff;
}
.u-plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 3px;
}
.u-plan-duration { font-size: 12px; font-weight: 600; color: var(--txt-2); margin-bottom: 3px; }
.u-plan-desc { font-size: 11px; color: var(--txt-3); }
.u-plan.selected .u-plan-price { color: var(--p-light); }

/* ── Selected plan summary ─────────────────────────── */
.u-plan-summary {
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.u-plan-summary .u-row { padding: 9px 0; background: none; }
.u-plan-summary .u-row:first-child { padding-top: 0; }
.u-plan-summary .u-row:last-child { border-bottom: none; padding-bottom: 0; }

/* ── Spinner ───────────────────────────────────────── */
.u-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--p);
  border-radius: 50%;
  animation: u-spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes u-spin { to { transform: rotate(360deg); } }

/* ── Loading state ─────────────────────────────────── */
.u-loading { text-align: center; padding: 48px 24px; }
.u-loading p { margin-top: 14px; color: var(--txt-2); font-size: 13.5px; }

/* ── Success box ───────────────────────────────────── */
.u-success-box {
  text-align: center;
  padding: 32px 24px;
}
.u-success-icon {
  width: 72px; height: 72px;
  background: rgba(16,185,129,0.1);
  border: 2px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: u-pulse-green 2.5s ease-in-out infinite;
}
@keyframes u-pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.2); }
  50%      { box-shadow: 0 0 0 14px rgba(16,185,129,0); }
}
.u-success-icon svg { width: 36px; height: 36px; color: #10b981; }

/* ── Error state ───────────────────────────────────── */
.u-error-state { text-align: center; padding: 48px 24px; }
.u-error-icon {
  width: 64px; height: 64px;
  background: rgba(239,68,68,0.1);
  border: 2px solid rgba(239,68,68,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  animation: u-pulse-red 2.5s ease-in-out infinite;
}
@keyframes u-pulse-red {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.2); }
  50%      { box-shadow: 0 0 0 14px rgba(239,68,68,0); }
}
.u-error-icon svg { width: 32px; height: 32px; color: #ef4444; }

/* ── Modal ─────────────────────────────────────────── */
.u-modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.u-modal.show { display: flex; }
.u-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  animation: u-modal-in 0.22s cubic-bezier(0.34,1.56,0.64,1);
  text-align: center;
}
@keyframes u-modal-in {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.u-modal-icon { font-size: 48px; margin-bottom: 14px; line-height: 1; }
.u-modal-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--txt); }
.u-modal-msg { font-size: 15px; color: var(--txt-2); margin-bottom: 6px; line-height: 1.5; }
.u-modal-sub { font-size: 13px; color: var(--txt-3); margin-bottom: 24px; line-height: 1.5; }
.u-modal-btns { display: flex; gap: 10px; }
.u-modal-btns .u-btn { flex: 1; padding: 13px; font-size: 14px; }

/* ── Verifying modal (large) ───────────────────────── */
.u-verify-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  max-width: 360px; width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.u-verify-spinner {
  width: 60px; height: 60px;
  border: 4px solid rgba(37,99,235,0.15);
  border-top-color: var(--p);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: u-spin 0.9s linear infinite;
}
.u-progress-bar-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}
.u-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--p-dark), var(--p-light));
  border-radius: 2px;
  width: 0%;
  transition: width 3s linear;
}

/* ── Theme Toggle ──────────────────────────────────── */
.u-theme-toggle {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 1000;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--txt-2);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.u-theme-toggle:hover { border-color: var(--p); color: var(--p); transform: rotate(15deg); }
.u-theme-toggle svg { width: 18px; height: 18px; }

/* ── Notice / Info box ─────────────────────────────── */
.u-notice {
  display: flex;
  gap: 14px;
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
}
.u-notice-icon {
  width: 38px; height: 38px;
  background: var(--p);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.u-notice-icon svg { width: 20px; height: 20px; color: #fff; }
.u-notice-body { flex: 1; font-size: 13px; color: var(--txt-2); line-height: 1.5; }
.u-notice-body strong { color: var(--txt); display: block; margin-bottom: 3px; font-size: 14px; }

/* ── Steps list ────────────────────────────────────── */
.u-steps {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 18px;
}
.u-steps-title { font-weight: 600; font-size: 14px; margin-bottom: 10px; color: var(--txt); }
.u-steps ol { padding-left: 20px; color: var(--txt-2); font-size: 13.5px; line-height: 1.9; }

/* ── App banner (found account) ────────────────────── */
.u-found-banner {
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  color: var(--txt-2);
}
.u-found-banner span { color: #34d399; font-weight: 600; }
.u-found-banner strong { color: var(--txt); }

/* ── Footer link ───────────────────────────────────── */
.u-footer { text-align: center; margin-top: 22px; }
.u-footer a { color: var(--p-light); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.u-footer a:hover { text-decoration: underline; }
.u-footer p { color: var(--txt-3); font-size: 12.5px; margin-top: 8px; }

/* ── Transaction item ──────────────────────────────── */
.u-txn {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 8px;
  transition: border-color var(--transition);
}
.u-txn:hover { border-color: var(--border-hi); }
.u-txn.latest { border-color: rgba(16,185,129,0.35); }
.u-txn-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.u-txn-amount { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: var(--txt); }
.u-txn-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.u-txn-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.4px;
  padding: 2px 7px; border-radius: 20px;
  background: var(--bg-3); color: var(--txt-2);
}
.u-txn-tag.green { background: rgba(16,185,129,0.15); color: #34d399; }
.u-txn-meta { font-size: 11.5px; color: var(--txt-3); margin-top: 6px; }
.u-txn-ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--txt-3);
  background: var(--bg-3);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 7px;
  word-break: break-all;
}

/* ── Expired banner ────────────────────────────────── */
.u-expired-banner {
  background: linear-gradient(135deg, rgba(220,38,38,0.9), rgba(239,68,68,0.85));
  color: #fff;
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 24px;
  animation: u-pulse-banner 2.5s ease-in-out infinite;
}
.u-expired-banner h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.u-expired-banner p { font-size: 13px; opacity: 0.9; }
@keyframes u-pulse-banner {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.25); }
  50%      { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 480px) {
  .u-card { padding: 28px 20px; }
  .u-title { font-size: 20px; }
  .u-subtitle { font-size: 12.5px; }
  .u-logo { width: 60px; height: 60px; }
  .u-logo svg { width: 28px; height: 28px; }
  .u-logo.has-logo { max-width: min(75%, 200px); max-height: 72px; }
  .u-logo.has-logo img { max-height: 72px; }
  .u-plans { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .u-plan { padding: 14px 8px; }
  .u-plan-price { font-size: 18px; }
}

/* ── Utilities ─────────────────────────────────────── */
.mt-4  { margin-top: 4px;  }
.mt-8  { margin-top: 8px;  }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-muted  { color: var(--txt-2); font-size: 13px; }
.mono { font-family: 'JetBrains Mono', monospace; }
