* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f1f4f8;
  color: #1e293b;
  min-height: 100vh;
  padding-bottom: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hidden {
  display: none !important;
}

/* Hide Netlify Badge completely */
iframe[title*="Netlify"],
div[data-netlify-deploy-badge],
.netlify-identity-button,
a[href*="netlify.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

/* ================= TOPBAR (DARK NAVY & GOLD) ================= */
.topbar {
  background: #0b1f38;
  padding: 14px 18px;
  border-bottom: 2px solid #f5b935;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #09192d;
  color: #f5b935;
  border: 1.5px solid #f5b935;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.gold-text {
  color: #f5b935;
}

.brand-text p {
  font-size: 11px;
  font-weight: 500;
  color: #cbd5e1;
}

.notif-bell-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  color: #cbd5e1;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-dot {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #f5b935;
  border-radius: 50%;
  border: 1.5px solid #0b1f38;
}

.main-content {
  padding: 16px;
  flex: 1;
}

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  border: 1px solid #eef2f6;
  margin-bottom: 16px;
}

/* ================= 1. HOME SCREEN: CAROUSEL BANNER ================= */
.carousel-container {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  background: #0f172a;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  height: 195px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  background-size: cover;
  background-position: center;
}

.slide-1 {
  background-image: linear-gradient(to top, rgba(11, 31, 56, 0.92) 0%, rgba(11, 31, 56, 0.5) 50%, rgba(11, 31, 56, 0.1) 100%),
    url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=700&q=80');
}

.slide-2 {
  background-image: linear-gradient(to top, rgba(11, 31, 56, 0.92) 0%, rgba(11, 31, 56, 0.5) 50%, rgba(11, 31, 56, 0.1) 100%),
    url('https://images.unsplash.com/photo-1578916171728-46686eac8d58?auto=format&fit=crop&w=700&q=80');
}

.slide-3 {
  background-image: linear-gradient(to top, rgba(11, 31, 56, 0.92) 0%, rgba(11, 31, 56, 0.5) 50%, rgba(11, 31, 56, 0.1) 100%),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=700&q=80');
}

.slide-tag {
  display: inline-block;
  background: #f5b935;
  color: #0b1f38;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
  width: fit-content;
}

.slide-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 4px;
}

.slide-desc {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.35;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: #f5b935;
  width: 18px;
  border-radius: 10px;
}

/* ================= LOAN CALCULATOR ================= */
.loan-card-top-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.loan-category-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.badge-limit {
  font-size: 11px;
  font-weight: 700;
  color: #0b1f38;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

.loan-section-h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 14px;
}

.borrow-amount-display {
  margin-bottom: 12px;
}

.borrow-amount-display small {
  display: block;
  font-size: 12.5px;
  color: #64748b;
}

.borrow-amount-display h3 {
  font-size: 32px;
  font-weight: 900;
  color: #0b1f38;
  letter-spacing: -0.5px;
}

.loan-slider {
  width: 100%;
  accent-color: #0b1f38;
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.preset-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.preset-pill {
  padding: 9px 4px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.preset-pill.active {
  background: #0b1f38;
  color: #f5b935;
  border-color: #0b1f38;
}

.repayment-h4 {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.term-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.term-btn {
  padding: 12px 6px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0b1f38;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.term-btn .term-num {
  font-size: 16px;
  font-weight: 800;
  display: block;
}

.term-btn .term-unit {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.term-btn.active {
  background: #0b1f38;
  border-color: #0b1f38;
}

.term-btn.active .term-num {
  color: #f5b935;
}

.term-btn.active .term-unit {
  color: #cbd5e1;
}

.estimated-payment-bar {
  background: #0b1f38;
  border-radius: 16px;
  padding: 18px 20px;
  color: #ffffff;
  margin-top: 10px;
  box-shadow: 0 4px 18px rgba(11, 31, 56, 0.25);
}

.ep-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ep-amount {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
}

.btn-gold-main {
  width: 100%;
  background: #f5b935;
  color: #0b1f38;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-gold-main:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ================= LIVE WITHDRAWAL TICKER ================= */
.live-ticker-card {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.ticker-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
}

.live-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.live-badge-title {
  font-size: 11px;
  font-weight: 800;
  color: #0b1f38;
  letter-spacing: 0.6px;
}

.live-badge-sub {
  font-size: 10.5px;
  color: #64748b;
  margin-left: auto;
}

.ticker-viewport {
  height: 110px;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 12.5px;
  min-height: 36px;
}

.ticker-item:last-child {
  border-bottom: none;
}

.ticker-phone {
  font-weight: 700;
  color: #0b1f38;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ticker-phone::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
}

.ticker-action {
  color: #15803d;
  font-weight: 700;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
}

.ticker-time {
  font-size: 10.5px;
  color: #94a3b8;
}

/* ================= 2. WALLET SCREEN ================= */
.wallet-review-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  text-align: center;
  margin-bottom: 14px;
}

.wallet-navy-card {
  background: #0b1f38;
  border-radius: 18px;
  padding: 22px 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 31, 56, 0.28);
  margin-bottom: 16px;
  border: 1px solid #162f52;
}

.wallet-navy-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 22px solid rgba(245, 185, 53, 0.08);
  pointer-events: none;
}

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

.wnc-label {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

.eye-toggle-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
}

.wnc-amount {
  font-size: 36px;
  font-weight: 900;
  color: #f5b935;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.wnc-status-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.check-icon {
  color: #22c55e;
  font-weight: 800;
}

.btn-gold-withdraw {
  width: 100%;
  background: #f5b935;
  color: #0b1f38;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 185, 53, 0.35);
  transition: opacity 0.2s;
}

.btn-gold-withdraw:hover {
  opacity: 0.94;
}

.wallet-loan-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

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

.wlc-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wlc-val {
  font-size: 26px;
  font-weight: 900;
  color: #0b1f38;
}

.badge-active-loan {
  background: #0b1f38;
  color: #f5b935;
  border: 1px solid #f5b935;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.6px;
}

.wlc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.wlc-col {
  display: flex;
  flex-direction: column;
}

.wlc-sub-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.wlc-col strong {
  font-size: 15px;
  color: #0b1f38;
  font-weight: 800;
}

.wlc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-approved {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #16a34a;
}

.btn-navy-contract {
  background: #0b1f38;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-navy-contract:hover {
  opacity: 0.9;
}

.transactions-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e2e8f0;
}

.tx-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tx-header-row h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0b1f38;
}

.btn-link-all {
  background: transparent;
  border: none;
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tx-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.wti-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.wti-info {
  flex: 1;
}

.wti-title {
  font-size: 14px;
  font-weight: 700;
  color: #0b1f38;
}

.wti-date {
  font-size: 11px;
  color: #64748b;
}

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

.wti-amount {
  font-size: 14.5px;
  font-weight: 800;
  color: #dc2626;
}

.wti-badge-pending {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
}

/* ================= 2.1 ALL TRANSACTIONS SUBPAGE ================= */
.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.subpage-back-btn {
  background: #f1f5f9;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  color: #0b1f38;
  cursor: pointer;
  font-size: 14px;
}

.subpage-edit-btn {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subpage-edit-btn.active-editing {
  background: #fde047;
  box-shadow: 0 0 0 2px #ca8a04;
}

.all-tx-hero {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.all-tx-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 8px;
}

.all-tx-hero-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
}

.all-tx-hero h2 {
  font-size: 28px;
  font-weight: 900;
  color: #0b1f38;
  margin: 2px 0 10px;
}

.all-tx-hero-info {
  display: flex;
  justify-content: space-around;
  font-size: 12.5px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

/* ================= 4. VERIFICATION HUB (The 4 Step Buttons) ================= */
.verification-hub-card {
  padding: 24px 20px;
}

.hub-user-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 18px;
}

.hub-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.hub-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-avatar-fallback {
  font-size: 32px;
  color: #94a3b8;
}

.hub-user-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 2px;
}

.hub-user-header p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
}

.badge-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #16a34a;
}

.hub-list-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

/* 4 Big Blue Action Rows matching Video */
.kyc-step-item {
  background: #0284c7;
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.2);
}

.kyc-step-item:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.ksi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ksi-info {
  flex: 1;
}

.ksi-info h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.ksi-info p {
  font-size: 11.5px;
  color: #e0f2fe;
}

.ksi-status-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.ksi-status-check.pending {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.ksi-status-check.complete {
  animation: kyc-check-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes kyc-check-pop {
  0% {
    opacity: 0.35;
    transform: scale(0.45) rotate(-24deg);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  65% {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.16);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Form Styles for Steps */
.step-subhead {
  font-size: 15px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-subhead::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  background: #0284c7;
  border-radius: 2px;
}

.doc-photos-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 10px;
}

.doc-photos-header-row h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0b1f38;
}

.doc-photos-header-row span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.doc-upload-card {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  margin-bottom: 14px;
  position: relative;
}

.doc-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doc-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.doc-upload-empty h5 {
  font-size: 14px;
  font-weight: 700;
  color: #0b1f38;
  margin-bottom: 3px;
}

.doc-upload-empty p {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.btn-select-photo {
  background: #ffffff;
  color: #0b1f38;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.doc-upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.preview-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
}

.badge-upload-success {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

.btn-retake {
  background: #ffffff;
  color: #0b1f38;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.upload-guidelines-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 18px;
  font-size: 12px;
}

.ug-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 6px;
}

.upload-guidelines-box ul {
  padding-left: 18px;
  color: #475569;
  line-height: 1.45;
}

.btn-navy-submit {
  width: 100%;
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-navy-submit:hover {
  background: #0369a1;
}

/* Step 4 Signature Draw */
.sig-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.btn-clear-sig {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  cursor: pointer;
}

.signature-canvas-wrap {
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 8px;
}

#signatureCanvas {
  width: 100%;
  height: 200px;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

.sig-hint {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 14px;
}

/* ================= 3. ACCOUNT SCREEN ================= */
.profile-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #eef2f6;
  margin-bottom: 14px;
}

.profile-top-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.profile-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0b1f38;
  color: #f5b935;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #f5b935;
}

.profile-details h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 2px;
}

.profile-details p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 5px;
}

.badge-verify {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.badge-verify.verified {
  background: #dcfce7;
  color: #15803d;
}

.credit-score-widget {
  background: #f1f6fc;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
}

.credit-score-meter {
  position: relative;
  width: min(250px, 100%);
}

.credit-score-meter svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.credit-score-track,
.credit-score-progress {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}

.credit-score-track {
  stroke: #cfe0f5;
}

.credit-score-progress {
  stroke: #2786d8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.05s linear;
}

.credit-score-value {
  position: absolute;
  right: 0;
  bottom: 11px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.credit-score-value strong {
  color: #0b1f38;
  font-size: 26px;
  font-weight: 800;
}

.credit-score-value span {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.credit-score-caption {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 10px;
  text-align: center;
}

.notice-verify-blue {
  background: #0b1f38;
  color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  cursor: pointer;
  border: 1px solid #f5b935;
}

.nv-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: #f5b935;
  margin-bottom: 3px;
}

.nv-content p {
  font-size: 12px;
  color: #cbd5e1;
}

.nv-arrow {
  font-size: 18px;
  color: #f5b935;
}

.account-menu-list {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eef2f6;
  overflow: hidden;
  margin-bottom: 14px;
}

.account-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  background: transparent;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
}

.account-menu-item:last-child {
  border-bottom: none;
}

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

.ami-icon {
  font-size: 18px;
  color: #64748b;
  width: 24px;
  display: flex;
  justify-content: center;
}

.ami-texts strong {
  display: block;
  font-size: 14px;
  color: #0b1f38;
}

.ami-texts span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
}

.ami-arrow {
  color: #94a3b8;
  font-size: 14px;
}

.support-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid #eef2f6;
}

.support-box h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 4px;
}

.support-box p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* ================= AUTH SECTION ================= */
.auth-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.auth-tab {
  padding: 11px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.auth-tab.active {
  background: #0b1f38;
  color: #f5b935;
  border-color: #0b1f38;
}

.auth-title {
  font-size: 20px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.auth-msg {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
}

.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 14px;
}

.auth-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}

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

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: #1e293b;
}

.form-group input:disabled,
.form-group select:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

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

.password-wrap input {
  padding-right: 40px;
}

.password-strength {
  margin-top: 6px;
}

.password-strength-bars {
  display: flex;
  gap: 4px;
}

.password-strength-segment {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.password-strength-segment.active {
  transform: scaleY(1.2);
}

.password-strength[data-strength="weak"] .password-strength-segment.active {
  background: #dc2626;
}

.password-strength[data-strength="fair"] .password-strength-segment.active {
  background: #f97316;
}

.password-strength[data-strength="good"] .password-strength-segment.active {
  background: #eab308;
}

.password-strength[data-strength="strong"] .password-strength-segment.active {
  background: #16a34a;
}

.password-strength-label {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.password-strength[data-strength="weak"] .password-strength-label {
  color: #dc2626;
}

.password-strength[data-strength="fair"] .password-strength-label {
  color: #ea580c;
}

.password-strength[data-strength="good"] .password-strength-label {
  color: #a16207;
}

.password-strength[data-strength="strong"] .password-strength-label {
  color: #15803d;
}

.password-match-message {
  display: none;
  margin: 5px 0 0;
  font-size: 10px;
  font-weight: 600;
}

.password-match-message.visible {
  display: block;
}

.password-match-message.match {
  color: #16a34a;
}

.password-match-message.mismatch {
  color: #dc2626;
}

.password-wrap input[aria-invalid="true"] {
  border-color: #dc2626;
}

.password-wrap input[aria-invalid="false"] {
  border-color: #16a34a;
}

.toggle-eye {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  font-size: 15px;
}

/* ================= BOTTOM NAVIGATION BAR (3 BUTTONS) ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px 12px;
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.05);
}

.bnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

.bnav-btn svg {
  width: 22px;
  height: 22px;
}

.bnav-btn.active {
  color: #0b1f38;
  font-weight: 800;
}

/* ================= MODALS ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 56, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  animation: popIn 0.25s ease-out;
}

@keyframes popIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modal-close-x {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
}

.modal-balance-banner {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.modal-balance-banner small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.modal-balance-banner strong {
  font-size: 24px;
  font-weight: 900;
  color: #0b1f38;
}

.modal-disabled-input {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 14px;
}

.modal-disabled-input span {
  font-weight: 800;
  color: #64748b;
  margin-right: 6px;
}

.modal-disabled-input input {
  border: none;
  background: transparent;
  padding: 12px 0;
  font-weight: 700;
  font-size: 15px;
}

.modal-code-input {
  letter-spacing: 2px;
}

.btn-modal-withdraw {
  width: 100%;
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
}

.success-modal-box {
  text-align: center;
  padding: 30px 24px;
}

.success-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #16a34a;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: success-check-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.success-check-svg {
  width: 68px;
  height: 68px;
  overflow: visible;
}

.success-check-ring,
.success-check-mark {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-check-ring {
  stroke-width: 2.5;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: success-check-draw 0.55s ease-out 0.12s forwards;
}

.success-check-mark {
  stroke-width: 4;
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  animation: success-check-draw 0.32s ease-out 0.5s forwards;
}

@keyframes success-check-pop {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }
  65% {
    opacity: 1;
    transform: scale(1.14);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes success-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-check-circle,
  .success-check-ring,
  .success-check-mark,
  .ksi-status-check.complete {
    animation-duration: 0.01ms;
    animation-delay: 0ms;
  }

  .password-strength-segment {
    transition: none;
  }
}

.success-modal-box h3 {
  font-size: 22px;
  font-weight: 900;
  color: #0b1f38;
  margin-bottom: 8px;
}

.success-modal-box p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 22px;
}

.btn-success-ok {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 11px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.contract-modal-box {
  max-width: 450px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.contract-scrollable-content {
  overflow-y: auto;
  padding-right: 4px;
  flex: 1;
}

.contract-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 8px;
}

.contract-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 14px;
}

.contract-info-table td {
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
}

.contract-info-table td:first-child {
  background: #f8fafc;
  font-weight: 600;
  color: #64748b;
  width: 48%;
}

.contract-info-table td:last-child {
  font-weight: 700;
  color: #0b1f38;
}

.contract-text {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 8px;
}

.contract-signature-block {
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  text-align: center;
}

.contract-signature-block small {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-bottom: 4px;
}

.sig-image-container {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sig-display-img {
  max-height: 65px;
  max-width: 220px;
}

.contract-signature-block strong {
  display: block;
  font-size: 14px;
  color: #0b1f38;
  border-top: 1px solid #cbd5e1;
  padding-top: 4px;
  width: 200px;
  margin: 0 auto;
}


.status-under-review {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #359565;
}

.status-rejected {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #dc2626;
}

.doc-upload-card.locked-upload .btn-select-photo,
.doc-upload-card.locked-upload .btn-retake {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.subpage-edit-btn.locked-forever {
  opacity: 0.45;
  cursor: not-allowed;
}


/* Empty Loan Application State Card in Wallet */
.wallet-empty-loan-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 22px;
  border: 1.5px solid #cbd5e1;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.welc-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.welc-title {
  font-size: 19px;
  font-weight: 800;
  color: #0b1f38;
  margin-bottom: 8px;
}

.welc-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-gold-withdraw.disabled-withdraw {
  background: #475569;
  color: #1e293b;
  box-shadow: none;
  opacity: 0.75;
}


/* ================= V6 LIVELY FINTECH UI UPGRADES ================= */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(245, 185, 53, 0.35), 0 0 0 0 rgba(245, 185, 53, 0.4); }
  50% { box-shadow: 0 6px 25px rgba(245, 185, 53, 0.55), 0 0 0 6px rgba(245, 185, 53, 0); }
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bellSwing {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(12deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(6deg); }
  80% { transform: rotate(-4deg); }
}

body {
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
}

.app-container {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 45%, #eef2f6 100%);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.45);
}

.topbar {
  background: linear-gradient(135deg, #071527 0%, #0b1f38 55%, #132f54 100%);
  border-bottom: 2px solid #f5b935;
  box-shadow: 0 4px 20px rgba(7, 21, 39, 0.35);
}

.brand-icon-box {
  background: linear-gradient(135deg, #0d2544 0%, #071527 100%);
  box-shadow: 0 0 14px rgba(245, 185, 53, 0.35);
  animation: floatSlow 3.5s ease-in-out infinite;
}

.notif-bell-btn:hover svg {
  animation: bellSwing 0.8s ease;
  color: #f5b935;
}

.notif-dot {
  box-shadow: 0 0 8px #f5b935;
  animation: pulseDot 1.5s infinite;
}

.page-section {
  animation: cardFadeUp 0.32s ease-out;
}

.card, .auth-card, .profile-card, .wallet-loan-card, .transactions-box {
  border-radius: 22px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 10px 28px -6px rgba(11, 31, 56, 0.08), 0 2px 6px rgba(11, 31, 56, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slide-4 {
  background-image: linear-gradient(to top, rgba(11, 31, 56, 0.92) 0%, rgba(11, 31, 56, 0.5) 50%, rgba(11, 31, 56, 0.1) 100%),
    url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=700&q=80');
}

.carousel-container {
  border: 1px solid rgba(245, 185, 53, 0.35);
  box-shadow: 0 10px 26px rgba(11, 31, 56, 0.2);
}

.badge-limit {
  background: linear-gradient(135deg, #0b1f38 0%, #17365e 100%);
  color: #f5b935;
  border: 1px solid rgba(245, 185, 53, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(11, 31, 56, 0.15);
}

.borrow-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.range-hint-pill {
  font-size: 10.5px;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 999px;
}

.borrow-amount-display h3 {
  font-size: 35px;
  font-weight: 900;
  background: linear-gradient(90deg, #0b1f38 0%, #1e40af 55%, #0b1f38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.6px;
  transition: transform 0.15s ease;
}

.slider-wrapper {
  margin-bottom: 16px;
}

.loan-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5b935 0%, #0b1f38 0%);
  outline: none;
  margin-bottom: 6px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.loan-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5b935;
  border: 3px solid #0b1f38;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(11, 31, 56, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.loan-slider::-webkit-slider-thumb:hover,
.loan-slider::-webkit-slider-thumb:active {
  transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(245, 185, 53, 0.25);
}

.slider-minmax-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.preset-pill {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0b1f38;
  font-size: 12.5px;
  font-weight: 800;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
}

.preset-pill:hover {
  border-color: #f5b935;
  transform: translateY(-2px);
}

.preset-pill.active {
  background: linear-gradient(135deg, #0b1f38 0%, #16365f 100%);
  color: #f5b935;
  border-color: #f5b935;
  box-shadow: 0 5px 14px rgba(11, 31, 56, 0.25);
  transform: translateY(-2px);
}

.term-btn {
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
}

.term-btn:hover {
  border-color: #f5b935;
  transform: translateY(-2px);
}

.term-btn.active {
  background: linear-gradient(135deg, #0b1f38 0%, #16365f 100%);
  border-color: #f5b935;
  box-shadow: 0 6px 15px rgba(11, 31, 56, 0.25);
  transform: translateY(-2px);
}

.estimated-payment-bar {
  background: linear-gradient(135deg, #071629 0%, #0b1f38 55%, #16365f 100%);
  border: 1px solid rgba(245, 185, 53, 0.45);
  box-shadow: 0 10px 28px rgba(11, 31, 56, 0.32);
  position: relative;
  overflow: hidden;
}

.ep-amount {
  color: #f5b935;
  text-shadow: 0 2px 10px rgba(245, 185, 53, 0.25);
}

.btn-gold-main, .btn-gold-withdraw {
  background: linear-gradient(90deg, #f5b935 0%, #ffd269 50%, #f5b935 100%);
  background-size: 200% auto;
  color: #071629;
  font-weight: 900;
  letter-spacing: 0.3px;
  animation: goldShimmer 4.5s linear infinite, glowPulse 2.8s infinite;
  transition: transform 0.18s ease;
}

.btn-gold-main:active, .btn-gold-withdraw:active {
  transform: scale(0.98);
}

.wallet-navy-card {
  background: linear-gradient(135deg, #071629 0%, #0b1f38 55%, #173863 100%);
  border: 1.5px solid rgba(245, 185, 53, 0.5);
  box-shadow: 0 12px 30px rgba(11, 31, 56, 0.35);
}

.bottom-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 -6px 24px rgba(11, 31, 56, 0.08);
}

.bnav-btn {
  transition: all 0.2s ease;
  position: relative;
}

.bnav-btn.active {
  color: #0b1f38;
  transform: translateY(-2px);
}

.bnav-btn.active svg {
  stroke: #f5b935;
  fill: rgba(245, 185, 53, 0.15);
  filter: drop-shadow(0 2px 4px rgba(245, 185, 53, 0.35));
}


/* ==========================================================================
   VERSION 7 (V7) — 3D HERO, INTERACTIVE 3D SLIDER, NEON GLOW & BANK CARD UI
   Matching image_e541a5.jpg & image_e540c9.png
   ========================================================================== */

@keyframes floatCoinLeft {
  0%, 100% { transform: translateY(0px) rotate(-12deg) scale(1); }
  50% { transform: translateY(-7px) rotate(-4deg) scale(1.05); }
}

@keyframes floatCoinRight {
  0%, 100% { transform: translateY(0px) rotate(14deg) scale(1); }
  50% { transform: translateY(-6px) rotate(6deg) scale(1.06); }
}

@keyframes floatStore3D {
  0%, 100% { transform: translateY(0px) rotate(5deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes check3DPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 10px rgba(34, 197, 94, 0.38); }
  50% { transform: scale(1.08); box-shadow: 0 6px 14px rgba(34, 197, 94, 0.58); }
}

.main-content {
  padding: 18px 16px 28px;
}

/* --- 1. V7 3D Out-of-Bound Hero Banner --- */
.hero-v7-outer {
  position: relative;
  margin-top: 14px;
  margin-bottom: 22px;
  padding-top: 10px;
}

.v7-carousel-box {
  border-radius: 22px;
  background: linear-gradient(125deg, #071930 0%, #0d2b4e 52%, #15456b 100%);
  border: 1.5px solid rgba(245, 185, 53, 0.35);
  box-shadow: 0 14px 32px rgba(7, 25, 48, 0.28), 0 0 22px rgba(2, 132, 199, 0.15);
  overflow: hidden;
  margin-bottom: 0;
}

.v7-carousel-box .carousel-slide {
  height: 205px;
  padding: 20px 18px;
  justify-content: center;
  background-blend-mode: overlay;
}

.slide-text-zone {
  max-width: 60%;
  position: relative;
  z-index: 4;
}

.v7-carousel-box .slide-tag {
  background: rgba(245, 185, 53, 0.18);
  color: #fde047;
  border: 1px solid rgba(245, 185, 53, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
}

.v7-carousel-box .slide-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.v7-carousel-box .slide-desc {
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.4;
  font-weight: 500;
}

/* Out-of-bounds smiling person portrait on right side */
.hero-person-popout {
  position: absolute;
  right: 10px;
  top: -12px;
  bottom: 0;
  width: 44%;
  z-index: 6;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero-person-img {
  width: 152px;
  height: 196px;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px 26px 18px 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: -8px 10px 26px rgba(7, 21, 39, 0.48), 0 0 18px rgba(245, 185, 53, 0.35);
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
}

.cash-fan-badge {
  position: absolute;
  bottom: 26px;
  left: -10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid #bae6fd;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.45);
  transform: rotate(-5deg);
}

/* Floating 3D Coins & Store */
.floating-3d-coin {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.38));
}

.coin-left {
  top: 26px;
  left: 50%;
  animation: floatCoinLeft 3.4s ease-in-out infinite;
}

.coin-right {
  top: 42px;
  right: 6px;
  animation: floatCoinRight 3.8s ease-in-out infinite;
}

.floating-3d-store {
  position: absolute;
  right: -4px;
  bottom: 36px;
  z-index: 9;
  pointer-events: none;
  animation: floatStore3D 4s ease-in-out infinite;
}

.store-3d-card {
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 3px 7px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(11, 31, 56, 0.38);
}

.store-roof {
  display: block;
  font-size: 7.5px;
  font-weight: 900;
  color: #ffffff;
  background: #d97706;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.store-body {
  font-size: 19px;
  line-height: 1.1;
  margin-top: 2px;
}

/* --- 2. V7 Main Loan Card & 3D Slider --- */
.v7-main-loan-card {
  padding: 22px 20px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(11, 31, 56, 0.08);
}

.v7-slider-wrap {
  margin-top: 8px;
  margin-bottom: 20px;
}

.slider-track-3d-box {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.v7-range-input {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  margin: 0;
  position: relative;
  z-index: 3;
  cursor: pointer;
}

.v7-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fffbeb 0%, #f5b935 55%, #b47b0f 100%);
  border: 3px solid #ffffff;
  box-shadow: 0 5px 14px rgba(180, 123, 15, 0.55), 0 0 14px rgba(245, 185, 53, 0.75);
  cursor: grab;
}

.slider-3d-thumb-badge {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff3b0 0%, #f5b935 58%, #b47b0f 100%);
  border: 2.5px solid #ffffff;
  box-shadow: 0 5px 14px rgba(11, 31, 56, 0.35), 0 0 12px rgba(245, 185, 53, 0.65);
  color: #0b1f38;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  transition: left 0.04s linear;
}

/* --- 3. V7 Preset Pills with 3D Icons & Gold Glow Active States --- */
.v7-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.v7-pills-grid .preset-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 6px;
  border-radius: 13px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #0b1f38;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.pill-3d-icon {
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
}

.v7-pills-grid .preset-pill.active {
  background: linear-gradient(135deg, #0b2239 0%, #173f66 60%, #1d527d 100%);
  color: #f5b935;
  border: 1.5px solid #f5b935;
  box-shadow: 0 6px 16px rgba(11, 31, 56, 0.28), 0 0 12px rgba(245, 185, 53, 0.38);
}

.loan-manual-amount {
  margin: -8px 0 18px;
}

.loan-manual-amount label {
  display: block;
  margin-bottom: 5px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.loan-manual-amount input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1f38;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.loan-manual-amount input:focus {
  border-color: #f5b935;
  outline: 2px solid rgba(245, 185, 53, 0.2);
}

.loan-manual-amount small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
}

.v7-terms-grid {
  gap: 10px;
  margin-bottom: 22px;
}

.v7-terms-grid .term-btn {
  padding: 13px 6px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.v7-terms-grid .term-btn.active {
  background: linear-gradient(135deg, #0b2239 0%, #173f66 100%);
  border: 1.5px solid #f5b935;
  box-shadow: 0 6px 16px rgba(11, 31, 56, 0.28), 0 0 12px rgba(245, 185, 53, 0.35);
}

/* --- 4. V7 Side-by-Side Neon Glow Estimated Monthly Payment Bar --- */
.v7-ep-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 20px;
  background: linear-gradient(125deg, #08182e 0%, #102a4c 52%, #183d68 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 28px rgba(11, 31, 56, 0.38), 0 0 24px rgba(99, 102, 241, 0.32);
  margin-top: 6px;
  margin-bottom: 20px;
}

.v7-ep-left {
  flex: 1;
  min-width: 0;
}

.v7-ep-bar .ep-header {
  color: #cbd5e1;
  font-size: 10px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.v7-ep-bar .ep-amount {
  font-size: 27px;
  font-weight: 900;
  color: #f5b935;
  margin-bottom: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(245, 185, 53, 0.35);
}

.v7-ep-right {
  flex-shrink: 0;
}

.v7-apply-btn {
  width: auto;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #ffe07d 0%, #f5b935 55%, #d99b16 100%);
  color: #0b1f38;
  border: 1.5px solid #fef08a;
  box-shadow: 0 6px 20px rgba(245, 185, 53, 0.55), 0 0 16px rgba(245, 185, 53, 0.45);
  white-space: nowrap;
}

.apply-chevron {
  font-size: 13px;
  font-weight: 900;
}

/* --- 5. V7 Rounded Dual-Card Live Withdrawal Activity Feed --- */
.v7-live-feed-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 12px;
  box-shadow: inset 0 1px 4px rgba(15, 23, 42, 0.03);
}

.v7-ticker-header {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.v7-ticker-viewport {
  height: 136px;
  overflow: hidden;
}

.v7-ticker-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
  min-height: 58px;
}

.v7-feed-pill-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.v7-feed-pill-card.green-tint {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
}

.v7-check-3d {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4ade80 0%, #16a34a 70%, #15803d 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35);
  animation: check3DPulse 2.6s infinite;
}

.v7-feed-text {
  font-size: 11px;
  line-height: 1.3;
  color: #0f172a;
  font-weight: 700;
  overflow: hidden;
}

.v7-feed-text .amt-green {
  color: #15803d;
  font-weight: 800;
}

/* --- 6. V7 Wallet Bank Card with EMV Gold Chip & Mastercard Circles --- */
.v7-bank-card {
  padding: 22px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #061325 0%, #0b213f 55%, #123460 100%);
  border: 1.5px solid rgba(245, 185, 53, 0.45);
  box-shadow: 0 16px 34px rgba(6, 19, 37, 0.38);
}

.v7-card-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 16px;
  position: relative;
  z-index: 2;
}

.emv-gold-chip {
  width: 46px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #a16207 100%);
  border: 1px solid #fde047;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.chip-line-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(120, 53, 15, 0.45);
}

.chip-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(120, 53, 15, 0.45);
}

.chip-core {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 11px;
  right: 11px;
  border: 1px solid rgba(120, 53, 15, 0.5);
  border-radius: 4px;
}

.mastercard-circles {
  display: flex;
  align-items: center;
  position: relative;
  height: 30px;
}

.mc-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
}

.mc-left {
  background: rgba(217, 119, 6, 0.85);
}

.mc-right {
  background: rgba(245, 185, 53, 0.88);
  margin-left: -11px;
}

.v7-empty-loan-card {
  border-radius: 22px;
  padding: 30px 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.v7-complete-verify-btn {
  box-shadow: 0 8px 22px rgba(245, 185, 53, 0.45);
}


/* ================= PIXEL-PERFECT MATCH FOR image_87b2e4.jpg ================= */

/* 1. ផ្ទាំងបដា 3D ផុសក្បាលមនុស្សជាន់លើបន្ទាត់មាសរបស់ Topbar */
.hero-v7-exact-wrap {
  position: relative;
  margin: -22px -6px 14px -6px;
  z-index: 105;
  pointer-events: none;
}

.hero-v7-exact-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(11, 31, 56, 0.22));
}

/* 2. លាក់តួលេខធំពីលើ Slider ដើម្បីឱ្យ "You'll borrow" និង "₱50,000.00 – ₱5,000,000.00" នៅជិតរបារ 3D ដូចរូបគំរូ */
#borrowAmountText {
  display: none !important;
}

.borrow-amount-display {
  margin-bottom: 6px !important;
}

.borrow-label-row small {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

.range-hint-pill {
  background: #e0f2fe !important;
  color: #0b2239 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
}

/* 3. របារអូស 3D ពណ៌មាស */
.slider-track-3d-box {
  height: 32px !important;
  margin-top: 2px !important;
}

.slider-3d-thumb-badge {
  width: 34px !important;
  height: 34px !important;
  background: radial-gradient(circle at 35% 30%, #fffbeb 0%, #f5b935 60%, #c28109 100%) !important;
  border: 2.5px solid #fde68a !important;
  box-shadow: 0 4px 12px rgba(180, 123, 15, 0.55), 0 0 12px rgba(245, 185, 53, 0.65) !important;
  color: #0b1f38 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

/* 4. ប្រអប់ ESTIMATED MONTHLY PAYMENT ពណ៌ទឹកប៊ិចដិត + ពន្លឺស្វាយ Neon Glow */
.v7-ep-bar {
  background: linear-gradient(135deg, #091931 0%, #102a4e 55%, #173b69 100%) !important;
  border: 1.5px solid rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.35), 0 0 25px rgba(139, 92, 246, 0.3) !important;
  border-radius: 20px !important;
  padding: 18px 18px !important;
}

.v7-ep-bar .ep-amount {
  font-size: 31px !important;
  color: #f5b935 !important;
  font-weight: 900 !important;
}

.v7-apply-btn {
  background: linear-gradient(180deg, #ffe285 0%, #f5b935 55%, #df9c14 100%) !important;
  color: #0b1f38 !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(245, 185, 53, 0.55) !important;
}

/* 5. របារម៉ឺនុយខាងក្រោម (Bottom Navigation Bar) ពណ៌ទឹកប៊ិចដិត និងរូបតំណាងពណ៌មាស */
.bottom-nav {
  background: #0b1f38 !important;
  border-top: 1px solid rgba(245, 185, 53, 0.28) !important;
  padding: 10px 12px 14px !important;
  box-shadow: 0 -6px 24px rgba(7, 21, 39, 0.35) !important;
}

.bnav-btn {
  color: #cbd5e1 !important;
}

.bnav-btn svg {
  stroke: #e2e8f0 !important;
}

.bnav-btn.active {
  color: #f5b935 !important;
  transform: none !important;
}

.bnav-btn.active svg {
  stroke: #f5b935 !important;
  fill: rgba(245, 185, 53, 0.25) !important;
}


/* ================= V7-v3: 4-SLIDE 3D ANIMATED HERO & LOGIN PROMO BANNER ================= */

/* 1. Login Bottom Promotional Image Card (Matching image_873072.jpg) */
.auth-promo-banner-wrap {
  margin-top: 16px;
  padding: 0 18px;
  display: flex;
  justify-content: center;
  animation: cardFadeUp 0.45s ease-out;
}

.auth-promo-banner-img {
  width: 100%;
  max-width: 390px;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 10px 28px rgba(11, 31, 56, 0.12);
  border: 3px solid #ffffff;
}

/* 2. 4-Slide 3D Animated Hero Carousel */
@keyframes hero3DBreathe {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

@keyframes emblem3DFloat {
  0%, 100% { transform: translateY(0px) rotate(-4deg) scale(1); }
  50% { transform: translateY(-8px) rotate(4deg) scale(1.07); }
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(45deg); }
}

.hero-v7-carousel-outer {
  position: relative;
  margin: -22px -6px 14px -6px;
  z-index: 105;
  overflow: hidden;
  touch-action: pan-y;
}

.v7-4slide-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.v7-3d-slide {
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.v7-slide1-img-holder {
  width: 100%;
  position: relative;
  animation: hero3DBreathe 4s ease-in-out infinite;
}

.v7-sparkle {
  position: absolute;
  color: #fde047;
  font-size: 16px;
  text-shadow: 0 0 10px #f5b935;
  pointer-events: none;
  animation: sparkleTwinkle 2.4s ease-in-out infinite;
}

.v7-sparkle.sp-1 {
  top: 24%;
  left: 52%;
}

.v7-sparkle.sp-2 {
  top: 38%;
  right: 9%;
  animation-delay: 1.1s;
}

/* Custom 3D Slides 2, 3, 4 matching Slide 1 geometry & height */
.v7-custom-3d-card {
  width: calc(100% - 12px);
  margin: 34px 6px 4px 6px;
  min-height: 184px;
  border-radius: 22px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(11, 31, 56, 0.24);
  border: 1px solid rgba(245, 185, 53, 0.35);
  background-size: cover;
  background-position: center;
}

.slide-bg-2 {
  background: radial-gradient(circle at 82% 45%, rgba(245, 185, 53, 0.32) 0%, transparent 55%),
              linear-gradient(125deg, #071930 0%, #0d2e52 55%, #1d4d7a 100%);
}

.slide-bg-3 {
  background: radial-gradient(circle at 82% 45%, rgba(56, 189, 248, 0.28) 0%, transparent 55%),
              linear-gradient(125deg, #081c36 0%, #0f385c 55%, #155e75 100%);
}

.slide-bg-4 {
  background: radial-gradient(circle at 82% 45%, rgba(168, 85, 247, 0.28) 0%, transparent 55%),
              linear-gradient(125deg, #09152b 0%, #172a54 55%, #312e81 100%);
}

.v7-s-text {
  max-width: 64%;
  z-index: 3;
}

.v7-s-tag {
  display: inline-block;
  color: #f5b935;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.v7-s-title {
  font-size: 25px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.v7-s-desc {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.38;
}

.v7-s-3d-visual {
  position: relative;
  width: 34%;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.v7-3d-main-emblem {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
  animation: emblem3DFloat 3.2s ease-in-out infinite;
}

.v7-float-coin {
  position: absolute;
  font-size: 24px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.v7-float-coin.c-top {
  top: -4px;
  left: 4px;
  animation: floatCoinLeft 3s ease-in-out infinite;
}

.v7-float-coin.c-mid {
  bottom: 24px;
  right: 0px;
  animation: floatCoinRight 3.4s ease-in-out infinite;
}

.v7-3d-mini-badge {
  margin-top: 6px;
  background: linear-gradient(180deg, #ffe285 0%, #f5b935 100%);
  color: #0b1f38;
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Interactive 4 Dots Overlay */
.v7-live-dots {
  position: absolute !important;
  bottom: 14px !important;
  right: 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 120 !important;
  pointer-events: auto !important;
}

.v7-live-dots .carousel-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.v7-live-dots .carousel-dot.active {
  width: 22px !important;
  border-radius: 999px !important;
  background: #f5b935 !important;
  box-shadow: 0 0 8px rgba(245, 185, 53, 0.8) !important;
}


/* ==========================================================================
   EXACT E-WALLET DESIGN MATCHING index_2.html (#007DFE BLUE & POPPINS THEME)
   ========================================================================== */

body.wallet-tab-active .topbar {
  display: none !important;
}

body.wallet-tab-active .main-content {
  padding: 0 !important;
}

.ew-page-section {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  min-height: calc(100vh - 70px);
  padding-bottom: 30px;
}

/* 1. Sticky #007DFE Header with Loan Number & US Flag */
.ew-top-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #007DFE;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f1f5f9;
}

.ew-header-title {
  font-size: 24px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 2px 0;
}

.ew-loan-num-group p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
}

.ew-flag-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 12px;
  transition: transform 0.2s ease;
}

.ew-flag-btn:hover {
  transform: scale(1.2);
}

.ew-body-pad {
  padding: 0;
}

/* 2. Total Available Balance Card (#007DFE rounded-[2rem]) */
.ew-balance-card {
  margin: 16px 24px;
  background: #007DFE;
  border-radius: 32px;
  padding: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.ew-blur-circle-top {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 192px;
  height: 192px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
}

.ew-blur-circle-bottom {
  position: absolute;
  bottom: -48px;
  left: -48px;
  width: 128px;
  height: 128px;
  background: rgba(96, 165, 250, 0.24);
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
}

.ew-bal-inner {
  position: relative;
  z-index: 2;
}

.ew-bal-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ew-bal-label {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(219, 234, 254, 0.85);
  margin: 0 0 4px 0;
}

.ew-bal-amount {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  margin: 0;
  line-height: 1.1;
}

.ew-wallet-icon-box {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 14px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ew-avail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: rgba(239, 246, 255, 0.9);
  font-size: 13.5px;
  font-weight: 700;
}

.ew-avail-check-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  font-size: 14px;
  flex-shrink: 0;
}

/* 3. Standalone Blue "+ Withdraw" Button */
.ew-withdraw-btn-wrap {
  padding: 0 24px;
  margin-bottom: 16px;
}

.ew-btn-withdraw-main {
  width: 100%;
  background: #007DFE;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-size: 15.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.ew-btn-withdraw-main:hover {
  background: #1d4ed8;
}

.ew-btn-withdraw-main:active {
  transform: scale(0.98);
}

/* 4. Active Loan Card (#007DFE rounded-3xl) + 2-Column Status & Contract Row */
.ew-active-loan-wrap {
  padding: 0 24px;
  margin-bottom: 20px;
}

.ew-loan-blue-card {
  background: #007DFE;
  padding: 18px 18px;
  border-radius: 24px;
  color: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2);
  margin-bottom: 14px;
}

.ew-lbc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.ew-lbc-label {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(219, 234, 254, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
}

.ew-lbc-amount {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0 0 0;
  line-height: 1.15;
}

.ew-active-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.ew-lbc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid #3b82f6;
  padding-top: 16px;
}

.ew-lbc-sub {
  font-size: 10px;
  font-weight: 700;
  color: #bfdbfe;
  text-transform: uppercase;
  margin: 0;
}

.ew-lbc-val {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 0 0;
}

.ew-status-contract-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ew-status-white-card {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.ew-swc-label {
  font-size: 11.5px;
  color: #475569;
  font-weight: 500;
}

.ew-swc-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #dc2626;
}

.ew-swc-val.status-approved-green {
  color: #16a34a;
}

.ew-btn-view-contract {
  width: 100%;
  background: #007DFE;
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 16px;
  font-size: 13.5px;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease;
}

.ew-btn-view-contract:active {
  transform: scale(0.98);
}

.ew-empty-loan-box {
  margin: 0 24px 20px 24px;
  background: #ffffff;
  border-radius: 24px;
  padding: 26px 20px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

/* 5. Recent Transaction Section & Empty Box-Open State */
.ew-tx-section {
  padding: 0 24px;
}

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

.ew-tx-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: #334155;
  margin: 0;
}

.ew-tx-all-link {
  background: transparent;
  border: none;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.ew-empty-tx-state {
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ew-empty-box-circle {
  width: 128px;
  height: 128px;
  background: #f8fafc;
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 46px;
  margin-bottom: 26px;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.ew-empty-tx-title {
  font-size: 20px;
  font-weight: 900;
  color: #334155;
  letter-spacing: -0.3px;
  margin: 0 0 10px 0;
}

.ew-empty-tx-sub {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

/* 6. Click to Withdraw Modal & Loan Contract Modal (#007DFE Style) */
.ew-modal-backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ew-withdraw-sheet {
  border-radius: 32px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  background: #ffffff;
}

.ew-modal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ew-modal-top-bar h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
}

.ew-modal-close-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
}

.ew-modal-close-circle:hover {
  color: #475569;
}

.ew-modal-bal-box {
  background: #eff6ff;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(0, 125, 254, 0.45);
  text-align: center;
  margin-bottom: 22px;
}

.ew-modal-bal-box p {
  font-size: 11px;
  font-weight: 900;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 4px 0;
}

.ew-modal-bal-box h4 {
  font-size: 30px;
  font-weight: 900;
  color: #1e3a8a;
  letter-spacing: -0.8px;
  margin: 0;
}

.ew-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.ew-modal-field-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 8px;
  padding-left: 6px;
}

.ew-modal-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ew-peso-prefix {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 15px;
}

.ew-modal-amount-wrap input {
  width: 100%;
  background: #f8fafc;
  border: none;
  border-radius: 16px;
  padding: 15px 16px 15px 38px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  outline: none;
}

.ew-modal-code-inp {
  width: 100%;
  background: #f8fafc;
  border: none;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #0f172a;
  outline: none;
}

.ew-modal-submit-btn {
  width: 100%;
  background: #007DFE;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 125, 254, 0.25);
}

/* Contract Modal Styles matching index_2.html */
.ew-contract-modal-box {
  max-width: 460px;
  width: 100%;
  border-radius: 24px;
  padding: 18px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}

.ew-contract-scroll {
  overflow-y: auto;
  padding-right: 6px;
  flex: 1;
}

.ew-contract-sec-head {
  font-size: 14px;
  font-weight: 900;
  color: #2563eb;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ew-blue-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #007DFE;
  display: inline-block;
}

.ew-borrower-info-card {
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  margin-bottom: 18px;
}

.ew-bi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff;
}

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

.ew-bi-row span {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}

.ew-bi-row strong {
  font-size: 13.5px;
  font-weight: 900;
  color: #1e293b;
}

.ew-legal-prose {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.ew-legal-prose h1 {
  font-size: 14.5px;
  color: #334155;
  margin: 12px 0 6px;
}

.ew-legal-prose h2 {
  font-size: 13px;
  color: #334155;
  margin: 12px 0 4px;
}

.ew-legal-prose p {
  margin: 0 0 8px 0;
}

.ew-sig-dashed-card {
  margin-top: 16px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 24px;
  border: 1.5px dashed #e2e8f0;
  text-align: center;
}

.ew-sig-label {
  font-size: 12px;
  font-weight: 900;
  color: #94a3b8;
  margin: 0 0 12px 0;
}

.ew-sig-name {
  margin: 12px 0 0 0;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
  display: inline-block;
  padding-left: 18px;
  padding-right: 18px;
}

.ew-contract-ok-btn {
  width: 100%;
  background: #007DFE;
  color: #ffffff;
  border: none;
  padding: 15px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
  cursor: pointer;
}


/* ==========================================================================
   V7-v5 FIXES:
   1. 5 Equal-Height 3D Banners (No Portrait Stretch / No White Space)
   2. Dark Navy & Gold EMV Chip + Mastercard E-Wallet Theme (image_502f11.png)
   3. Floating Zoom In / Zoom Out Controls (+ / - / 100%)
   ========================================================================== */

/* Keep Topbar visible on Wallet Tab so it matches image_e540c9.png */
body.wallet-tab-active .topbar {
  display: block !important;
}

body.wallet-tab-active .main-content {
  padding: 18px 16px 28px !important;
}

/* 1. 5-Slide Equal Height 3D Hero Carousel */
.hero-v7-carousel-outer {
  position: relative !important;
  margin: 0 0 18px 0 !important;
  z-index: 10 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
}

.v7-5slide-track {
  display: flex !important;
  width: 100% !important;
  align-items: stretch !important;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.v7-3d-slide {
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.v7-custom-3d-card {
  width: 100% !important;
  margin: 0 !important;
  height: 192px !important;
  min-height: 192px !important;
  max-height: 192px !important;
  border-radius: 22px !important;
  padding: 20px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 12px 28px rgba(11, 31, 56, 0.25) !important;
  border: 1.5px solid rgba(245, 185, 53, 0.4) !important;
}

.slide-bg-1 {
  background: radial-gradient(circle at 82% 45%, rgba(245, 185, 53, 0.35) 0%, transparent 58%),
              linear-gradient(125deg, #061529 0%, #0b2545 52%, #17426b 100%) !important;
}

.slide-bg-2 {
  background: radial-gradient(circle at 82% 45%, rgba(234, 179, 8, 0.32) 0%, transparent 55%),
              linear-gradient(125deg, #071930 0%, #0f3156 55%, #1e4e79 100%) !important;
}

.slide-bg-3 {
  background: radial-gradient(circle at 82% 45%, rgba(56, 189, 248, 0.3) 0%, transparent 55%),
              linear-gradient(125deg, #081c36 0%, #0f385c 55%, #155e75 100%) !important;
}

.slide-bg-4 {
  background: radial-gradient(circle at 82% 45%, rgba(168, 85, 247, 0.3) 0%, transparent 55%),
              linear-gradient(125deg, #09152b 0%, #172a54 55%, #312e81 100%) !important;
}

.slide-bg-5 {
  background: radial-gradient(circle at 82% 45%, rgba(16, 185, 129, 0.3) 0%, transparent 55%),
              linear-gradient(125deg, #071a2e 0%, #0d3b4c 55%, #0f5156 100%) !important;
}

/* 2. Dark Navy & Gold E-Wallet Card matching image_502f11.png & image_e540c9.png */
.v7-navy-review-banner {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
  border-radius: 14px !important;
  padding: 11px 16px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}

.v7-premium-navy-card {
  background: radial-gradient(circle at 88% 50%, #103362 0%, #081b36 55%, #051124 100%) !important;
  border-radius: 22px !important;
  padding: 22px 22px !important;
  border: 1.5px solid rgba(245, 185, 53, 0.42) !important;
  box-shadow: 0 16px 36px rgba(5, 17, 36, 0.42) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
}

.v7-navy-arc-ring {
  position: absolute !important;
  right: -55px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 230px !important;
  height: 230px !important;
  border-radius: 50% !important;
  border: 22px solid rgba(255, 255, 255, 0.08) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.v7-navy-active-loan-card {
  background: linear-gradient(135deg, #07172c 0%, #0c2544 58%, #133966 100%) !important;
  border: 1.5px solid rgba(245, 185, 53, 0.45) !important;
  border-radius: 22px !important;
  padding: 20px !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(7, 23, 44, 0.3) !important;
  margin-bottom: 18px !important;
}

.v7-navy-active-loan-card .wlc-label,
.v7-navy-active-loan-card .wlc-sub-label {
  color: #94a3b8 !important;
}

.v7-navy-active-loan-card .wlc-val {
  color: #f5b935 !important;
  font-size: 28px !important;
}

.v7-navy-active-loan-card .wlc-col strong {
  color: #ffffff !important;
}

.v7-navy-active-loan-card .wlc-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.v7-gold-border-btn {
  background: linear-gradient(180deg, #ffe285 0%, #f5b935 60%, #d99b16 100%) !important;
  color: #0b1f38 !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  box-shadow: 0 4px 14px rgba(245, 185, 53, 0.35) !important;
}

/* Dark Navy & Gold Theme for Withdraw & Contract Modals */
.ew-modal-bal-box {
  background: linear-gradient(135deg, #07172c 0%, #0d2747 100%) !important;
  border: 1.5px solid #f5b935 !important;
}

.ew-modal-bal-box p {
  color: #cbd5e1 !important;
}

.ew-modal-bal-box h4 {
  color: #f5b935 !important;
}

.ew-modal-submit-btn,
.ew-contract-ok-btn {
  background: linear-gradient(90deg, #f5b935 0%, #ffd269 50%, #f5b935 100%) !important;
  color: #0b1f38 !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 20px rgba(245, 185, 53, 0.38) !important;
}

.ew-contract-sec-head {
  color: #0b1f38 !important;
}

.ew-blue-dot {
  background: #f5b935 !important;
}

/* 3. Floating Zoom In / Zoom Out Controls */
.v7-zoom-controls {
  position: fixed;
  bottom: 84px;
  right: 14px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(11, 31, 56, 0.92);
  border: 1.5px solid rgba(245, 185, 53, 0.65);
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.v7-zoom-btn {
  width: 32px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #f5b935;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.1s ease;
}

.v7-zoom-btn:hover {
  background: rgba(245, 185, 53, 0.25);
}

.v7-zoom-btn:active {
  transform: scale(0.92);
}

.v7-zoom-pct {
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  padding: 2px 0;
  cursor: pointer;
  user-select: none;
}


/* ==========================================================================
   V7-v6 CUSTOMIZATION:
   1. Exact DevTools Royal Blue E-Wallet Cards, "WITHDRAW MONEY" (#2b515b)
   2. 4-Slide Animated Login Promo Carousel (No Chinese Text)
   ========================================================================== */

/* 1. Royal Blue Card 1 (Total Available Balance) matching image_4ed215.jpg & image_4ed212.jpg */
.v7-premium-navy-card {
  background: radial-gradient(circle at 82% 48%, #0284ff 0%, #0066db 52%, #0051b5 100%) !important;
  border-radius: 22px !important;
  padding: 22px 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 14px 30px rgba(0, 88, 196, 0.32) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
}

.v7-premium-navy-card .wnc-label {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

.v7-premium-navy-card #walletLoanNumberDisplay {
  color: #e0f2fe !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
}

.v7-premium-navy-card #walletBalDisplay {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.v7-premium-navy-card .eye-toggle-btn {
  color: #0b1f38 !important;
  opacity: 0.85 !important;
}

.v7-premium-navy-card .wnc-status-row {
  color: #e0f2fe !important;
  font-weight: 600 !important;
}

.v7-premium-navy-card .check-icon {
  color: #38bdf8 !important;
}

/* White "WITHDRAW MONEY" button with #2b515b text color from DevTools */
.v7-devtools-withdraw-btn,
.v7-premium-navy-card .btn-gold-withdraw,
.v7-premium-navy-card .btn-gold-withdraw.disabled-withdraw {
  background: #ffffff !important;
  color: #2b515b !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  box-shadow: 0 6px 18px rgba(0, 36, 92, 0.18) !important;
  animation: none !important;
  opacity: 1 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.v7-devtools-withdraw-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 22px rgba(0, 36, 92, 0.25) !important;
}

/* 2. Royal Blue Card 2 (No Active Loan Application & Active Loan Card) matching image_4ed215.jpg & image_4ed212.jpg */
.v7-empty-loan-card {
  background: linear-gradient(145deg, #0072e8 0%, #005bc4 58%, #004ca8 100%) !important;
  border-radius: 22px !important;
  padding: 30px 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 30px rgba(0, 81, 181, 0.28) !important;
  color: #ffffff !important;
}

.v7-empty-loan-card .welc-icon-wrap svg {
  stroke: #071930 !important;
}

.v7-empty-loan-card .welc-title {
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.v7-empty-loan-card .welc-desc {
  color: #e0f2fe !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

/* Gold "Complete Verification & Apply Now ->" button with #2b515b text color from DevTools */
.v7-complete-verify-btn {
  background: linear-gradient(90deg, #f5b935 0%, #facc15 50%, #f5b935 100%) !important;
  color: #2b515b !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  box-shadow: 0 8px 22px rgba(245, 185, 53, 0.45) !important;
}

/* Active Loan Card in matching Royal Blue */
.v7-navy-active-loan-card {
  background: linear-gradient(145deg, #0072e8 0%, #005bc4 58%, #004ca8 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 14px 30px rgba(0, 81, 181, 0.28) !important;
}

.v7-navy-active-loan-card .wlc-label,
.v7-navy-active-loan-card .wlc-sub-label {
  color: #bfdbfe !important;
}

.v7-navy-active-loan-card .wlc-val {
  color: #ffffff !important;
}

.v7-gold-border-btn {
  color: #2b515b !important;
}

/* 3. 4-Slide Animated Login Promo Carousel (Below Login / Create Account) */
@keyframes kenBurnsSlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.auth-promo-banner-wrap {
  margin-top: 18px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.auth-promo-carousel {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 32px rgba(11, 31, 56, 0.16);
  border: 3px solid #ffffff;
  background: #0b1f38;
}

.auth-promo-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-promo-slide {
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
}

.auth-promo-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: kenBurnsSlow 9s ease-in-out infinite;
}

.auth-promo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 26px 18px;
  background: linear-gradient(to top, rgba(7, 21, 39, 0.92) 0%, rgba(7, 21, 39, 0.55) 58%, transparent 100%);
  color: #ffffff;
  text-align: left;
}

.apc-badge {
  display: inline-block;
  background: #f5b935;
  color: #0b1f38;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.auth-promo-caption h4 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.auth-promo-caption p {
  font-size: 12px;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.35;
}

.auth-promo-dots {
  position: absolute;
  bottom: 10px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.auth-promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-promo-dot.active {
  width: 22px;
  border-radius: 999px;
  background: #f5b935;
  box-shadow: 0 0 8px rgba(245, 185, 53, 0.85);
}


/* ==========================================================================
   V8 UPGRADE:
   1. Vibrant Animated 3D Hero Banners (Orbs, Light Shimmer, Hover Arrows)
   2. Company Policy & Trust Section on Home Screen
   3. Full Mobile-First Responsive Layout (320px -> 768px -> 1024px -> 1920px+)
      Single Codebase, Bottom Nav Preserved Across All Devices
   ========================================================================== */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, svg, canvas, video {
  max-width: 100%;
}

/* --- 1. VIBRANT ANIMATED 3D HERO BANNER EFFECTS --- */
@keyframes v8ShimmerSweep {
  0% { transform: translateX(-140%) skewX(-24deg); opacity: 0; }
  20% { opacity: 0.45; }
  50% { transform: translateX(220%) skewX(-24deg); opacity: 0; }
  100% { transform: translateX(220%) skewX(-24deg); opacity: 0; }
}

@keyframes v8OrbDriftA {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(16px, -12px) scale(1.16); }
}

@keyframes v8OrbDriftB {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-14px, 10px) scale(1.12); }
}

@keyframes v8BadgePulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(245, 185, 53, 0.35); transform: scale(1); }
  50% { box-shadow: 0 6px 20px rgba(245, 185, 53, 0.7); transform: scale(1.04); }
}

.v8-alive-banner {
  position: relative !important;
  overflow: hidden !important;
}

.v8-banner-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(26px);
  z-index: 1;
}

.v8-banner-orb.orb-a {
  width: 145px;
  height: 145px;
  top: -35px;
  right: 12%;
  background: rgba(245, 185, 53, 0.35);
  animation: v8OrbDriftA 5.5s ease-in-out infinite;
}

.v8-banner-orb.orb-b {
  width: 120px;
  height: 120px;
  bottom: -40px;
  left: -15px;
  background: rgba(56, 189, 248, 0.28);
  animation: v8OrbDriftB 6.5s ease-in-out infinite;
}

.v8-banner-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.26) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  animation: v8ShimmerSweep 4.8s ease-in-out infinite;
}

.v8-alive-banner .v7-3d-mini-badge {
  animation: v8BadgePulse 2.8s ease-in-out infinite;
}

.v8-hero-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(7, 21, 39, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f5b935;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 125;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.v8-hero-arrow:hover {
  background: rgba(245, 185, 53, 0.95);
  color: #0b1f38;
  transform: translateY(-50%) scale(1.08);
}

.v8-arrow-prev { left: 10px; }
.v8-arrow-next { right: 10px; }

/* --- 2. COMPANY POLICY & TRUST SECTION ON HOME SCREEN --- */
.v8-policy-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 18px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 10px 26px rgba(11, 31, 56, 0.06);
  margin-top: 16px;
  margin-bottom: 16px;
}

.v8-policy-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.v8-policy-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #0b1f38;
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f5b935;
  padding: 4px 10px;
  border-radius: 999px;
}

.v8-policy-verified {
  font-size: 11px;
  font-weight: 800;
  color: #16a34a;
}

.v8-policy-title {
  font-size: 17px;
  font-weight: 900;
  color: #0b1f38;
  line-height: 1.3;
  margin-bottom: 6px;
}

.v8-policy-subtitle {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 16px;
}

.v8-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.v8-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 11px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.v8-trust-item:hover {
  transform: translateY(-2px);
  border-color: #f5b935;
}

.v8-trust-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.v8-trust-item strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #0b1f38;
  line-height: 1.2;
}

.v8-trust-item small {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  margin-top: 2px;
}

.v8-policy-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.v8-policy-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.v8-policy-item[open] {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.v8-policy-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0b1f38;
  user-select: none;
}

.v8-policy-item summary::-webkit-details-marker {
  display: none;
}

.v8-pi-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v8-pi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b935;
  flex-shrink: 0;
}

.v8-pi-chevron {
  font-size: 14px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.v8-policy-item[open] .v8-pi-chevron {
  transform: rotate(180deg);
  color: #0b1f38;
}

.v8-pi-body {
  padding: 0 14px 13px 29px;
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
}

.v8-policy-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 13px;
  text-align: center;
}

.v8-policy-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.v8-policy-link-btn {
  background: transparent;
  border: none;
  color: #0284c7;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v8-policy-link-btn:hover {
  color: #0b1f38;
}

.v8-copyright {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

/* --- 3. MOBILE-FIRST RESPONSIVE BREAKPOINTS (320px TO 1920px+) --- */

/* Base Mobile (320px - 767px) */
.app-container {
  width: 100%;
  max-width: 100%;
  transition: max-width 0.25s ease;
}

.bottom-nav {
  width: 100%;
  max-width: 100%;
  transition: all 0.25s ease;
}

.resp-auth-grid,
.resp-home-grid,
.resp-wallet-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Ultra-Small Mobile Screens (320px - 374px) - Zero Horizontal Overflow */
@media (max-width: 374px) {
  .topbar {
    padding: 12px 12px !important;
  }
  .brand-text h1 {
    font-size: 11.5px !important;
  }
  .main-content {
    padding: 12px 10px 24px !important;
  }
  .v7-main-loan-card,
  .card,
  .v8-policy-card {
    padding: 16px 12px !important;
  }
  .v7-custom-3d-card {
    height: 176px !important;
    min-height: 176px !important;
    max-height: 176px !important;
    padding: 14px 14px !important;
  }
  .v7-s-title {
    font-size: 19px !important;
  }
  .v7-s-desc {
    font-size: 10.5px !important;
  }
  .v7-3d-main-emblem {
    font-size: 48px !important;
  }
  .v7-pills-grid {
    gap: 6px !important;
  }
  .v7-pills-grid .preset-pill {
    font-size: 11px !important;
    padding: 9px 4px !important;
  }
  .v7-ep-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 14px 12px !important;
  }
  .v7-ep-bar .ep-header {
    justify-content: center !important;
  }
  .v7-ep-bar .ep-amount {
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }
  .v7-apply-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .v7-ticker-row-pair {
    grid-template-columns: 1fr !important;
  }
  .v8-trust-grid {
    grid-template-columns: 1fr !important;
  }
  .range-hint-pill {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
  }
}

/* Standard Mobile Fine-tuning (375px - 425px) */
@media (min-width: 375px) and (max-width: 425px) {
  .v7-ep-bar .ep-amount {
    font-size: 25px !important;
  }
  .v7-apply-btn {
    padding: 12px 16px !important;
    font-size: 13.5px !important;
  }
}

/* Tablet Layout (768px - 1023px) */
@media (min-width: 768px) {
  body {
    padding-bottom: 92px;
  }
  .app-container {
    max-width: 760px;
    margin: 14px auto 0;
    border-radius: 24px;
    overflow-x: clip;
    min-height: calc(100vh - 106px);
  }
  .topbar {
    padding: 16px 24px;
    border-radius: 24px 24px 0 0;
  }
  .brand-text h1 {
    font-size: 15px;
  }
  .main-content {
    padding: 22px 24px 32px !important;
  }
  .v8-hero-arrow {
    display: flex;
  }
  .v7-custom-3d-card {
    height: 215px !important;
    min-height: 215px !important;
    max-height: 215px !important;
    padding: 24px 44px !important;
  }
  .v7-s-title {
    font-size: 28px !important;
  }
  .v7-s-desc {
    font-size: 13.5px !important;
  }
  .v7-3d-main-emblem {
    font-size: 70px !important;
  }
  .bottom-nav {
    max-width: 520px;
    bottom: 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(245, 185, 53, 0.45) !important;
    padding: 9px 18px 10px !important;
    box-shadow: 0 10px 28px rgba(7, 21, 39, 0.45) !important;
  }
  .auth-promo-carousel {
    max-width: 100%;
  }
  .auth-promo-slide {
    height: 360px;
  }
}

/* Laptop Layout (1024px - 1366px) - True 2-Column Adaptive Web App */
@media (min-width: 1024px) {
  body {
    padding: 18px 24px 100px;
  }
  .app-container {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 28px;
    min-height: calc(100vh - 118px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  }
  .topbar {
    padding: 16px 32px;
    border-radius: 28px 28px 0 0;
  }
  .brand-text h1 {
    font-size: 16.5px;
  }
  .brand-text p {
    font-size: 12px;
  }
  .main-content {
    padding: 26px 32px 36px !important;
  }

  /* Auth 2-Column Side-by-Side */
  .resp-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 980px;
    margin: 10px auto;
  }
  .resp-auth-grid .auth-card {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .resp-auth-grid .auth-promo-banner-wrap {
    margin-top: 0 !important;
    height: 100%;
  }
  .resp-auth-grid .auth-promo-carousel,
  .resp-auth-grid .auth-promo-track,
  .resp-auth-grid .auth-promo-slide {
    height: 100%;
    min-height: 440px;
  }

  /* Home 2-Column Grid: Left (Vibrant 3D Banner + Company Policy), Right (Sticky Loan Calculator + Live Feed) */
  .resp-home-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    grid-template-areas:
      "banner calc"
      "policy calc";
    gap: 22px 26px;
    align-items: start;
  }
  .resp-home-banner-col {
    grid-area: banner;
    min-width: 0;
  }
  .resp-home-policy-col {
    grid-area: policy;
    min-width: 0;
  }
  .resp-home-calc-col {
    grid-area: calc;
    min-width: 0;
    position: sticky;
    top: 90px;
  }
  .hero-v7-carousel-outer {
    margin-bottom: 0 !important;
  }
  .v8-policy-card {
    margin-top: 0 !important;
  }

  /* Wallet 2-Column Grid: Left (Royal Blue Balance & Loan Card), Right (Recent Transactions) */
  .resp-wallet-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
  }
  .resp-wallet-left,
  .resp-wallet-right {
    min-width: 0;
  }
  .resp-wallet-right .transactions-box {
    min-height: 460px;
  }

  /* Account, Verification Hub, KYC Steps centered nicely on Laptop/Desktop */
  #accountSection,
  #verificationHubSection,
  #step1IdSection,
  #step2PersonalSection,
  #step3BankSection,
  #step4SignatureSection,
  #allTransactionsSubpage {
    max-width: 760px;
    margin: 0 auto;
  }

  /* Floating Centered Bottom Nav preserved at Bottom */
  .bottom-nav {
    max-width: 480px;
    bottom: 16px;
    padding: 10px 24px !important;
  }
  .v7-zoom-controls {
    right: 22px;
    bottom: 22px;
  }
}

/* Large Desktop Layout (1440px - 1920px+) */
@media (min-width: 1440px) {
  .app-container {
    max-width: 1320px;
  }
  .main-content {
    padding: 32px 40px 44px !important;
  }
  .resp-home-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 26px 32px;
  }
  .v7-custom-3d-card {
    height: 236px !important;
    min-height: 236px !important;
    max-height: 236px !important;
    padding: 28px 48px !important;
  }
  .v7-s-title {
    font-size: 31px !important;
  }
  .v7-s-desc {
    font-size: 14px !important;
  }
  .v7-3d-main-emblem {
    font-size: 78px !important;
  }
  .v8-policy-card {
    padding: 24px 24px;
  }
  .v8-policy-title {
    font-size: 19px;
  }
}

/* ================= CONTACT / HELP SCREEN ================= */
.contact-page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 4px 0 30px;
}

.contact-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(120deg, #0b1f38, #17365b);
  border-radius: 16px;
}

.contact-heading-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #f5b935;
  background: rgba(245, 185, 53, 0.14);
  border: 1px solid rgba(245, 185, 53, 0.45);
  border-radius: 50%;
}

.contact-heading-icon svg {
  width: 23px;
  height: 23px;
}

.contact-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.contact-heading p {
  margin: 3px 0 0;
  color: #cbd5e1;
  font-size: 12px;
}

.contact-service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 13px 16px;
  color: #0b1f38;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.contact-service-card:hover {
  border-color: #f5b935;
}

.contact-service-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: #229ed9;
  border-radius: 50%;
}

.contact-service-icon svg {
  width: 28px;
  height: 28px;
}

.contact-service-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.contact-service-copy small {
  color: #8190a4;
  font-size: 9px;
  font-weight: 700;
}

.contact-service-copy strong {
  font-size: 14px;
  font-weight: 800;
}

.contact-service-copy > span {
  color: #64748b;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.contact-service-arrow {
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
}

.contact-faq-heading {
  margin: 26px 0 9px;
  color: #8190a4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-faq-list {
  display: grid;
  gap: 5px;
}

.contact-faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}

.contact-faq-item summary {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: #0b1f38;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-faq-item summary::after {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #8190a4;
  background: #f5f8fb;
  border-radius: 7px;
  content: "⌄";
  font-size: 14px;
  font-weight: 500;
}

.contact-faq-item[open] summary::after {
  content: "⌃";
}

.contact-faq-item p {
  margin: 0 16px;
  padding: 13px 0 15px;
  color: #52657e;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  line-height: 1.65;
}

.contact-faq-item p a {
  color: #1268b3;
  font-weight: 600;
}

.contact-footer-note {
  margin: 28px 8px 0;
  color: #8d6c08;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
}
