/* ===================================================
   WebPay Customer App - Mobile-First Fintech Theme
   =================================================== */

:root {
  --bg-dark: #070b14;
  --bg-surface: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-input: #1e293b;
  --border-glass: rgba(255, 255, 255, 0.08);

  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.3);
  --accent: #6366f1;
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
  --danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-float: 0 12px 30px -6px rgba(0, 0, 0, 0.6);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #020617;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

/* Mobile Frame Wrapper */
.mobile-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.screen-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
}

/* ==================== 1. AUTH SCREEN ==================== */
#auth-screen {
  padding: 30px 20px 40px;
  background: radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.15), transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.12), transparent 50%),
              var(--bg-dark);
  justify-content: center;
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Language Switcher Elements */
.lang-picker-auth {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.lang-select-chip {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.lang-select-chip:hover, .lang-select-chip:focus {
  border-color: #38bdf8;
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.lang-select-pill {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 14px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.lang-select-pill:hover, .lang-select-pill:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.logo-name h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
}

.logo-name h2 span {
  color: var(--primary);
}

.logo-name p {
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
}

.auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-float);
}

.auth-tab-switch {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  border: 1px solid var(--border-glass);
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.form-group {
  margin-bottom: 16px;
}

.form-group.margin-top {
  margin-top: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
}

.input-icon-wrap input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 13px 14px 13px 44px;
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: var(--transition);
}

.input-icon-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.currency-prefix {
  position: absolute;
  left: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.input-icon-wrap input.input-lg {
  padding-left: 36px;
  font-size: 18px;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  box-shadow: 0 6px 18px var(--primary-glow);
  transition: var(--transition);
}

.btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: scale(0.98);
}

.quick-demo-box {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.quick-demo-box p {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.btn-demo-chip {
  background: rgba(59, 130, 246, 0.1);
  border: 1px dashed rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-demo-chip:hover {
  background: rgba(59, 130, 246, 0.2);
}

.alert-banner {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin-bottom: 14px;
}

.alert-banner.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}


/* ==================== 2. AUTHENTICATED APP SCREEN ==================== */
.app-header {
  height: 65px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 40;
}

.user-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.3);
}

.user-text small {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-version-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 1px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.user-text h3 {
  font-size: 14px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.btn-icon-head {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-main-content {
  flex: 1;
  padding: 18px 18px 90px;
  overflow-y: auto;
}


/* ==================== HOME TAB ==================== */
/* Wallet Card */
.wallet-card {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6 60%, #6366f1);
  border-radius: var(--radius-xl);
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.4);
  margin-bottom: 22px;
}

.card-glass-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.wallet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wallet-label-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #bfdbfe;
}

.wallet-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hide-bal {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-hide-bal:hover {
  background: rgba(255, 255, 255, 0.25);
}

.wallet-balance-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.currency-symbol {
  font-size: 22px;
  font-weight: 700;
  color: #93c5fd;
}

.balance-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.wallet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #dbeafe;
}

.wallet-id-tag {
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
}

.wallet-status-tag {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wallet-status-tag.error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.wallet-card.has-error {
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.25);
}

.balance-error-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.balance-error-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fee2e2;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
}

.balance-error-badge i {
  width: 18px;
  height: 18px;
  color: #f87171;
}

.balance-error-detail {
  font-size: 11px;
  color: #fecaca;
  opacity: 0.92;
  word-break: break-word;
  line-height: 1.4;
  max-width: 320px;
}

.api-error-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  color: #fca5a5;
  margin: 14px 0;
}

.api-error-card .api-error-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #ef4444;
}

.api-error-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fee2e2;
  margin-bottom: 6px;
}

.api-error-card p.api-error-message {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 16px;
  word-break: break-word;
}

.btn-retry-api {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-retry-api:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-error-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  color: #fca5a5;
  font-size: 12px;
  margin-bottom: 10px;
}

.home-error-inline .btn-text-retry {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fee2e2;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

/* Action Shortcuts Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.action-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.action-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition);
}

.action-btn:active .action-icon-box {
  transform: scale(0.92);
}

.scan-box { background: linear-gradient(135deg, #2563eb, #7c3aed); color: white; box-shadow: 0 4px 12px var(--primary-glow); }
.history-box { color: #38bdf8; }
.topup-box { color: #34d399; }
.user-box { color: #a78bfa; }

.action-btn span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.action-btn.highlight span {
  color: var(--text-main);
  font-weight: 600;
}

/* Active Order Banner */
.active-order-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  animation: pulse 2s infinite;
}

.order-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-pulse-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-text strong {
  font-size: 13px;
  display: block;
}

.order-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-track {
  background: var(--warning);
  color: #0f172a;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Recent List */
.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title-bar h4 {
  font-size: 14px;
  font-weight: 600;
}

.btn-see-all {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.recent-list,
.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.tx-item-card:hover {
  background: rgba(30, 41, 59, 0.9);
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bank-avatar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border-glass);
}

.tx-info h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.tx-info small {
  font-size: 11px;
  color: var(--text-dim);
}

.tx-right {
  text-align: right;
}

.tx-amount {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

.tx-status-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 2px;
  display: inline-block;
}

.tx-status-tag.completed { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.tx-status-tag.pending { background: rgba(245, 158, 11, 0.15); color: #fde047; }
.tx-status-tag.process { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.tx-status-tag.rejected { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

.tx-reason-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #fb923c;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  max-width: 100%;
  word-break: break-word;
  line-height: 1.3;
}

.tx-reason-tag i {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  stroke-width: 2.2px;
}

.text-reason-highlight {
  color: #fb923c !important;
  font-weight: 600;
  word-break: break-word;
}


/* ==================== 2. SCANNER VIEW ==================== */
.scanner-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: calc(100vh - 120px);
}

.scanner-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.btn-back-scanner,
.btn-flash {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.camera-viewport-box {
  width: 100%;
  height: 380px;
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
}

#camera-video-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-target-frame {
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #38bdf8;
  border-style: solid;
}

.corner.top-left { top: 0; left: 0; border-width: 4px 0 0 4px; border-top-left-radius: 8px; }
.corner.top-right { top: 0; right: 0; border-width: 4px 4px 0 0; border-top-right-radius: 8px; }
.corner.bottom-left { bottom: 0; left: 0; border-width: 0 0 4px 4px; border-bottom-left-radius: 8px; }
.corner.bottom-right { bottom: 0; right: 0; border-width: 0 4px 4px 0; border-bottom-right-radius: 8px; }

.scan-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  box-shadow: 0 0 10px #38bdf8;
  animation: scanLaser 2s infinite ease-in-out;
}

.camera-hint-text {
  position: absolute;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  color: #e2e8f0;
}

.scanner-controls-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.btn-capture-round {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-capture-round .inner-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: white;
  transition: transform 0.15s ease;
}

.btn-capture-round:active .inner-circle {
  transform: scale(0.85);
}

.gallery-upload-btn-wrap input {
  display: none;
}

.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
}


/* ==================== 3. HISTORY TAB ==================== */
.page-header-title {
  margin-bottom: 18px;
}

.page-header-title h3 {
  font-size: 18px;
  font-weight: 700;
}

.page-header-title p {
  font-size: 12px;
  color: var(--text-muted);
}

.filter-pills-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.pill-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.pill-filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.empty-box {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-dim);
}

.empty-box i {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}


/* ==================== 4. PROFILE TAB ==================== */
.profile-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  margin-bottom: 20px;
}

.profile-avatar-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 6px 20px var(--primary-glow);
}

.profile-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.profile-card p {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.profile-info-section {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row .label {
  color: var(--text-muted);
}

.profile-actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-menu-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  cursor: pointer;
}

.profile-menu-item .arrow {
  margin-left: auto;
  color: var(--text-dim);
}

.profile-menu-item.danger {
  color: #f87171;
}


/* ==================== BOTTOM NAVIGATION BAR ==================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 68px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 50;
}

.nav-tab-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
  transition: var(--transition);
}

.nav-tab-btn i {
  width: 20px;
  height: 20px;
}

.nav-tab-btn.active {
  color: var(--primary);
  font-weight: 600;
}

/* Floating Center Scan Button */
.nav-tab-btn.scan-center {
  position: relative;
  top: -14px;
}

.scan-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px var(--primary-glow);
  border: 4px solid var(--bg-dark);
  transition: transform 0.2s ease;
}

.nav-tab-btn.scan-center:active .scan-circle {
  transform: scale(0.9);
}


/* ==================== BOTTOM SHEETS & MODALS ==================== */
.bottom-sheet-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.2s ease-out;
}

.modal-backdrop {
  align-items: center;
  padding: 20px;
}

.bottom-sheet-card {
  width: 100%;
  max-width: 480px;
  background: #0f172a;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  padding: 16px 20px 28px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-float);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #334155;
  margin: 0 auto 16px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.sheet-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
}

.compressed-preview-box {
  width: 100%;
  height: 200px;
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.compressed-preview-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.img-meta-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hint-text {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
}

.wallet-balance-alert {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.sheet-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-sheet-cancel {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  cursor: pointer;
}

.btn-sheet-confirm {
  flex: 2;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.2s ease;
}

.btn-sheet-confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.6);
  box-shadow: none;
  background: #334155;
  color: #94a3b8;
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

/* Tracking Modal */
.tracking-dialog {
  width: 100%;
  max-width: 400px;
  background: #0f172a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-float);
  animation: scaleUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracking-status-anim {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waiting-operator-box {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0284c7 65%, #38bdf8);
  border: 2.5px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: operatorFloat 3s ease-in-out infinite alternate;
}

.operator-main-icon {
  width: 38px;
  height: 38px;
  color: #ffffff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.operator-corner-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b1329;
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fde047;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  animation: clockTick 2s ease-in-out infinite;
}

.corner-clock-icon {
  width: 15px;
  height: 15px;
  color: #fde047;
}

.operator-glow-pulse {
  position: absolute;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(2, 132, 199, 0) 70%);
  animation: gentlePulse 2.4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes operatorFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(0.92); opacity: 0.5; }
  50% { transform: scale(1.18); opacity: 0.95; }
}

@keyframes clockTick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.upload-done-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.upload-done-pill i {
  width: 15px;
  height: 15px;
  color: #34d399;
}

.spinner-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--primary);
  animation: spin 1s infinite linear;
}

.success-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--success-glow);
}

.failed-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--danger);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tracking-dialog h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tracking-dialog p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tracking-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.2);
  padding: 14px;
  border-radius: var(--radius-md);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.step-item.completed { color: #86efac; }
.step-item.completed .step-dot { background: var(--success); color: white; }

.step-item.active { color: #93c5fd; font-weight: 600; }
.step-item.active .step-dot { background: var(--primary); color: white; }

.tracking-details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 20px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
}

.detail-row span { color: var(--text-muted); }
.highlight-amt { color: #38bdf8; font-size: 14px; font-weight: 700; }

.track-txid-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 0 auto 16px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.track-txid-box:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15);
}

.track-txid-box .txid-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-txid-box .txid-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.track-txid-box .txid-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #38bdf8;
  font-family: monospace, inherit;
  letter-spacing: 0.5px;
  word-break: break-all;
}

.btn-copy-txid {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-copy-txid:hover {
  background: rgba(56, 189, 248, 0.25);
}

.btn-copy-txid i {
  width: 13px;
  height: 13px;
}

.highlight-txid {
  color: #38bdf8;
  font-family: monospace, inherit;
  font-size: 12.5px;
  font-weight: 700;
  word-break: break-all;
}

.active-txid-chip {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
  font-family: monospace, inherit;
}

/* Receipt Sheet */
.receipt-body {
  text-align: center;
}

.receipt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.receipt-amount-box {
  margin-bottom: 20px;
}

.receipt-amount-box span { font-size: 12px; color: var(--text-muted); }
.receipt-amount-box h2 { font-size: 32px; font-weight: 800; color: #38bdf8; }

.receipt-info-list {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.r-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.r-row span { color: var(--text-muted); }

.receipt-qr-preview img {
  max-width: 140px;
  max-height: 140px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  border: 1px solid var(--border-glass);
}

.receipt-qr-preview p {
  font-size: 11px;
  color: var(--text-dim);
}

/* QR Code & Transfer Proof in Receipt & Tracking */
.tracking-qr-preview,
.receipt-qr-preview {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  text-align: left;
}

.qr-preview-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 10px;
}

.qr-preview-badge i,
.qr-preview-badge svg {
  width: 16px;
  height: 16px;
  color: #38bdf8;
}

.tracking-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.tracking-dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-bright);
}

/* Transfer Proof Slip in Receipt & Tracking */
.receipt-slip-preview,
.tracking-slip-preview {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  text-align: left;
}

.slip-header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 10px;
}

.slip-header-badge i,
.slip-header-badge svg {
  width: 16px;
  height: 16px;
  color: #10b981;
}

.slip-img-card {
  width: 100%;
  max-height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slip-img-card img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.slip-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn-slip-view,
.btn-slip-download {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-slip-view {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}
.btn-slip-view:hover {
  background: var(--primary);
  color: white;
}

.btn-slip-download {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.btn-slip-download:hover {
  background: var(--success);
  color: white;
}

/* Lightbox Full-screen */
.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Topup Info Sheet */
.topup-instruction-box {
  text-align: center;
  padding: 20px;
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.topup-instruction-box h4 { font-size: 16px; margin-bottom: 6px; }
.topup-instruction-box p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.wallet-info-pill {
  background: var(--bg-input);
  border: 1px dashed var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--primary); }

/* Prominent Centered Toast Alert */
.toast-center-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.toast-center-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.toast-center-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.toast-center-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  padding: 28px 22px 22px;
  text-align: center;
  z-index: 2;
  animation: centerToastPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes centerToastPop {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.toast-center-card.success {
  background: radial-gradient(130% 120% at 50% -10%, rgba(16, 185, 129, 0.26) 0%, rgba(15, 23, 42, 0.96) 65%);
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 45px rgba(16, 185, 129, 0.4), 0 20px 45px rgba(0, 0, 0, 0.85);
}

.toast-center-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toast-center-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: rotate(90deg);
}

.toast-center-icon-glow {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-center-icon-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.55) 0%, rgba(16, 185, 129, 0) 70%);
  animation: iconPulseGlow 2s infinite ease-in-out;
}

@keyframes iconPulseGlow {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.toast-center-icon-circle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #047857);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.7);
}

.toast-center-icon-circle i,
.toast-center-icon-circle svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.5;
}

.toast-center-title {
  font-size: 18px;
  font-weight: 700;
  color: #f0fdf4;
  margin-bottom: 8px;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.toast-center-subtext {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 8px;
}

.toast-center-btn-ok {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.toast-center-btn-ok:hover {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6);
  transform: translateY(-1px);
}

.toast-center-btn-ok:active {
  transform: translateY(1px);
}

.btn-primary.btn-block {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* KYC Warning Banner */
.kyc-alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease;
}
.kyc-alert-banner .kyc-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kyc-alert-banner .kyc-text strong {
  display: block;
  font-size: 13px;
  color: #fde047;
  margin-bottom: 2px;
}
.kyc-alert-banner .kyc-text p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}
.pending-badge {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fde047 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}
.agent-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}

/* USDT Button & Card */
.action-btn.usdt-highlight .action-icon-box.usdt-box {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.profile-menu-item.usdt-menu {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}
.profile-menu-item.usdt-menu i:first-child {
  color: #10b981;
}

/* USDT Modal & Components */
.sheet-tall {
  max-height: 90vh;
  overflow-y: auto;
}
.sheet-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.usdt-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-rate-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 13px;
}
.live-rate-bar .rate-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6ee7b7;
  font-weight: 500;
}
.pulse-green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.5s infinite;
}
.live-rate-bar .rate-right strong {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.network-tabs-row {
  margin-bottom: 16px;
}
.net-pill-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.network-pills {
  display: flex;
  gap: 8px;
}
.net-pill {
  flex: 1;
  padding: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.net-pill.active {
  background: #0284c7;
  color: white;
  border-color: #38bdf8;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}
.deposit-address-card {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.deposit-address-card .addr-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.deposit-address-card .addr-val-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.deposit-address-card .addr-text {
  font-family: monospace;
  font-size: 12px;
  color: #38bdf8;
  word-break: break-all;
  user-select: all;
}
.btn-copy-addr {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.btn-copy-addr:hover {
  background: #38bdf8;
  color: #0f172a;
}
.crypto-prefix {
  position: absolute;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
}
.calc-preview-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
}
.calc-preview-card span {
  font-size: 12px;
  color: var(--text-muted);
}
.calc-preview-card h2 {
  font-size: 24px;
  color: #38bdf8;
  margin: 4px 0;
  font-family: 'Inter', sans-serif;
}
.calc-preview-card small {
  font-size: 11px;
  color: var(--text-dim);
}
.custom-file-input {
  width: 100%;
  padding: 8px;
  background: var(--bg-input);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 12px;
}

/* Utilities & Animations */
.hidden { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUp { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scanLaser { 0%, 100% { top: 0%; } 50% { top: 96%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }
