/* ==========================================================================
   STABLEFOLLOWERS - TECHTROBOOST CLEAN LIGHT DESIGN SYSTEM
   Exact Techtroboost colors, typography, cards, and responsiveness
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --app-bg: #f8fafc;
  --app-bg-soft: #ffffff;
  --app-bg-green-soft: #f0fdf4;

  --app-card: #ffffff;
  --app-card-soft: #f8fafc;

  --app-text: #1e293b;
  --app-heading: #0f172a;
  --app-muted: #64748b;
  --app-muted-2: #94a3b8;
  --app-border: #e2e8f0;
  --app-border-soft: #edf2f7;

  --brand-green: #22c55e;
  --brand-green-tech: #4ebd11;
  --brand-green-dark: #16a34a;
  --brand-green-hover: #3aa10d;

  --app-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.07);
  --app-shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.04);
  --app-shadow-hover: 0 10px 30px -5px rgba(34, 197, 94, 0.18);

  --sf-radius-sm: 8px;
  --sf-radius-md: 12px;
  --sf-radius-lg: 18px;
  --sf-radius-pill: 9999px;
}

body {
  background-color: var(--app-bg) !important;
  color: var(--app-text) !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--app-heading) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p, span, label {
  color: var(--app-text);
}

a {
  color: var(--brand-green-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--brand-green-hover);
}

/* ==========================================================================
   HEADER / NAVBAR (NO PHONE NUMBERS, CLEAN TECHTROBOOST WHITE NAVBAR)
   ========================================================================== */
.header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--app-border) !important;
  padding: 14px 0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .logo img, .navbar-brand.logo img {
  max-height: 42px;
}
.header-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.header-brand-text span {
  color: var(--brand-green-tech) !important;
}
.header .nav-link {
  color: #475569 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: var(--sf-radius-sm);
  transition: all 0.2s ease;
}
.header .nav-link:hover, .header .nav-item.active .nav-link {
  color: var(--brand-green-dark) !important;
  background: var(--app-bg-green-soft);
}

/* ==========================================================================
   HOMEPAGE (STUDY PROJECT DESIGN WA0013(1) - TECHTROBOOST LIGHT THEME)
   ========================================================================== */
.sf-hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #dcfce7 0%, #f0fdf4 35%, #f8fafc 70%);
  padding: 50px 0 60px;
  overflow: hidden;
}

/* Removed pulsing circle - was causing scroll bounce/layout reflow */
/* Static decorative arc instead - no animation, no overflow */
.hero-circle {
  display: none !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid #bbf7d0;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.hero-subtitle {
  color: #475569;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==========================================================================
   HOMEPAGE 2 MAIN OVAL TABS (EXACTLY PER PAPER DESIGN WA0013(1))
   Clicking directly leads to Register or Login
   ========================================================================== */
.sf-paper-oval-link {
  display: block;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  padding: 22px 36px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .sf-paper-oval-link {
    border-radius: 24px;
    padding: 16px 20px;
  }
}
.sf-paper-oval-link:hover {
  border-color: var(--brand-green);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.16);
}
.sf-paper-oval-link:active {
  transform: translateY(-1px);
}
.sf-oval-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .sf-oval-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

.sf-tab-icon-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 68px;
}
.sf-tab-img {
  height: 64px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sf-paper-oval-link:hover .sf-tab-img {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .sf-tab-icon-img-wrap {
    min-width: 50px;
  }
  .sf-tab-img {
    height: 50px;
    max-width: 70px;
  }
}
@media (max-width: 480px) {
  .sf-tab-icon-img-wrap {
    min-width: 44px;
  }
  .sf-tab-img {
    height: 44px;
    max-width: 60px;
  }
}
.sf-oval-heading {
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.38;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .sf-oval-heading {
    font-size: 0.98rem;
  }
}
.sf-oval-sub {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 500;
  display: block;
}
.sf-oval-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  transition: all 0.25s ease;
}
.sf-paper-oval-link:hover .sf-oval-arrow {
  background: var(--brand-green);
  color: #ffffff;
  transform: translateX(4px);
}

.sf-clean-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.sf-form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.sf-clean-input {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}
.sf-clean-input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

/* Techtroboost Bright Green Action Button */
.sf-btn-green {
  background: linear-gradient(135deg, #4ebd11 0%, #22c55e 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(78, 189, 17, 0.35) !important;
  transition: all 0.25s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.sf-btn-green:hover {
  background: linear-gradient(135deg, #3aa10d 0%, #16a34a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 189, 17, 0.45) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   USER DASHBOARD (STUDY PROJECT DESIGN WA0007, WA0008, WA0012, WA0016)
   ========================================================================== */
.dashboard-section {
  background: var(--app-bg) !important;
  min-height: 88vh;
}

/* Override the legacy sidebar squeezing issue */
.dashboard {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.dashboard__inner {
  display: flex !important;
}
/* Hide sidebar on desktop for clean Techtroboost look, keep on mobile via toggle */
@media screen and (min-width: 992px) {
  .dashboard .sidebar-menu {
    width: 220px !important;
    min-width: 220px !important;
    flex-shrink: 0;
    border-right: 1px solid #e2e8f0;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    overflow: hidden;
  }
  .dashboard__right {
    width: calc(100% - 236px) !important;
    flex: 1;
    min-width: 0;
  }
}

@media screen and (max-width: 991px) {
  .dashboard__right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .dashboard .dashboard-body {
    padding: 12px 6px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* Clean card wrapper for dashboard content */
.dashboard-body {
  padding: 20px !important;
}
.dashboard-wrapper {
  background: transparent !important;
  box-shadow: none !important;
}
.dashboard .dashboard-body {
  background: transparent !important;
}

/* Sidebar styling fix for Techtroboost look */
.sidebar-menu {
  background: #ffffff !important;
  border-radius: 16px;
  padding: 12px 0 !important;
}
.sidebar-menu-list__item {
  border-radius: 0 !important;
}
.sidebar-menu-list__link {
  padding: 11px 18px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  border-radius: 8px !important;
  margin: 2px 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.sidebar-menu-list__link:hover,
.sidebar-menu-list__item.active .sidebar-menu-list__link {
  background: #f0fdf4 !important;
  color: #15803d !important;
}
.sidebar-menu-list__link .icon { color: #94a3b8; font-size: 1.1rem; }
.sidebar-menu-list__item.active .sidebar-menu-list__link .icon { color: #22c55e !important; }

/* Top Row: Balance & Add Funds Bar (WA0008, WA0012, WA0016) */
.sf-dash-balance-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.sf-balance-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin: 0;
}
.sf-balance-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #15803d;
  margin: 0;
}

/* The 3 Main Dashboard Tabs / Buttons (WA0007) */
.sf-3tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}
.sf-3tab-item {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.sf-3tab-item:hover {
  border-color: #4ebd11;
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(78, 189, 17, 0.12);
}
.sf-3tab-item.active {
  background: #f0fdf4;
  border-color: #22c55e;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.22);
}
.sf-3tab-item .tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}
.sf-3tab-item.active .tab-title {
  color: #15803d;
}

/* Techtroboost Vertical Downdrop Box (WA0008, WA0012, WA0016) */
.sf-downdrop-box {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a !important;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.2em !important;
  appearance: none;
  -webkit-appearance: none;
}
.sf-downdrop-box:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12) !important;
}

/* Price Calculation Summary Box */
.sf-calc-summary-card {
  background: #f8fafc;
  border: 1.5px dashed #86efac;
  border-radius: 12px;
  padding: 16px 20px;
}

/* Aged Accounts Cards Grid (WA0016) */
.sf-aged-account-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.sf-aged-account-card:hover {
  border-color: #22c55e;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
}

/* Techtroboost Light Footer */
.sf-tech-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 35px 0 25px;
  text-align: center;
}
.sf-tech-footer a {
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
}
.sf-tech-footer a:hover {
  color: var(--brand-green-dark);
}

/* ============================================================
   MOBILE RESPONSIVENESS - No horizontal shift on small screens
   ============================================================ */

/* Prevent horizontal overflow on all pages */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Hero section - auto height on mobile, content visible at once */
@media (max-width: 991px) {
  .sf-hero-section {
    padding: 36px 0 44px !important;
    min-height: auto !important;
  }
  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
  }
  .sf-paper-oval-link {
    padding: 16px 18px !important;
  }
  .sf-oval-heading {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 576px) {
  .sf-hero-section {
    padding: 24px 0 32px !important;
  }
  .hero-title {
    font-size: 1.5rem !important;
    letter-spacing: -0.01em !important;
  }
  .hero-subtitle {
    font-size: 0.92rem !important;
    padding: 0 8px;
  }
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .sf-paper-oval-link {
    padding: 14px 14px !important;
    border-radius: 16px !important;
  }
  .sf-oval-heading {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }
  .sf-oval-sub {
    font-size: 0.78rem !important;
  }
  .sf-oval-icon-circle {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }
  .sf-tech-footer {
    padding: 24px 0 16px !important;
  }
  .sf-tech-footer ul {
    flex-wrap: wrap;
    gap: 12px !important;
  }
}

/* Dashboard mobile */
@media (max-width: 768px) {
  .sf-3tabs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sf-3tab-item {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }
  .sf-3tab-item .tab-title {
    font-size: 0.9rem !important;
  }
  .sf-home-pill-btn {
    font-size: 0.92rem;
    padding: 14px 20px;
  }
  .sf-dash-balance-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .sf-balance-val {
    font-size: 1.4rem !important;
  }
}

/* Tablet: 2-column tabs on medium screens */
@media (min-width: 769px) and (max-width: 991px) {
  .sf-3tabs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Header responsive */
@media (max-width: 991px) {
  .header {
    padding: 10px 0 !important;
  }
  .header-brand-text {
    font-size: 1.25rem !important;
  }
}

/* Account pages (login/register) - no horizontal shift */
@media (max-width: 576px) {
  .account-form .row {
    margin: 0 !important;
  }
  .account-form [class*="col-"] {
    padding: 0 !important;
  }
  .account-logo {
    padding: 16px 0 !important;
  }
}

/* Contact page */
@media (max-width: 768px) {
  .sf-contact-info-card {
    margin-bottom: 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   TECHTROBOOST ADD FUNDS (DEPOSIT) STYLING
───────────────────────────────────────────────────────────── */
.af-page {
  padding: 8px 0 48px;
  color: #1e293b;
}

.af-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.af-page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.af-page-sub {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.af-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dc2626;
  color: #ffffff !important;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.af-watch-btn:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.af-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
}

.af-notice-icon {
  color: var(--brand-green);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.af-notice p {
  margin: 0;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.5;
}

.af-notice strong {
  color: #15803d;
}

.af-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 30px;
}

.af-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.af-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.af-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f0fdf4;
  color: var(--brand-green);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.af-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.af-card-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.af-field {
  margin-bottom: 20px;
}

.af-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

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

.af-select-icon {
  position: absolute;
  left: 14px;
  color: var(--brand-green);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.af-select-arrow {
  position: absolute;
  right: 16px;
  color: #94a3b8;
  font-size: 0.85rem;
  pointer-events: none;
}

.af-select {
  width: 100%;
  padding: 12px 40px 12px 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s;
}

.af-select:focus {
  border-color: var(--brand-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.af-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.af-quick-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.af-quick-btn:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  background: #f0fdf4;
}

.af-quick-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
}

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

.af-input-prefix {
  position: absolute;
  left: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-green);
  pointer-events: none;
}

.af-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
}

.af-input:focus {
  border-color: var(--brand-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.af-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.af-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 6px;
}

.af-summary-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.af-pay-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #ffffff;
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.af-pay-btn:hover:not(:disabled) {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.af-pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.af-pay-btn.loading {
  background: #15803d !important;
  opacity: 0.85 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.af-spinner {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: -0.15em;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: af-spin 0.7s linear infinite;
  margin-right: 8px;
}

@keyframes af-spin {
  to { transform: rotate(360deg); }
}

.af-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.af-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.af-info-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.af-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.af-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.af-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.af-step p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  padding-top: 3px;
}

.af-video-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.af-video-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.af-trusted {
  margin-bottom: 28px;
}

.af-trusted-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: center;
}

.af-marquee-wrap {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.af-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.af-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

.af-txn-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.af-txn-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .af-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ & ACCORDION LIGHT THEME FIX - NEVER BLACK, HIGH CONTRAST & READABLE
   ========================================================================== */
.custom--accordion .accordion-item {
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
}

.custom--accordion .accordion-button {
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 18px 24px !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.custom--accordion .accordion-button:hover {
  background-color: #f8fafc !important;
}

.custom--accordion .accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

.custom--accordion .accordion-button:not(.collapsed) {
  background-color: #f0fdf4 !important; /* Soft mint green */
  color: #15803d !important; /* Deep forest green */
  border-bottom: 1px solid #dcfce7 !important;
}

.custom--accordion .accordion-button:not(.collapsed) * {
  color: #15803d !important;
}

.custom--accordion .accordion-button:not(.collapsed) .badge {
  background-color: #16a34a !important;
  color: #ffffff !important;
}

.custom--accordion .accordion-button:not(.collapsed)::after {
  color: #16a34a !important;
}

.custom--accordion .accordion-button.collapsed::after {
  color: #64748b !important;
}

.custom--accordion .accordion-body {
  background-color: #ffffff !important;
  color: #475569 !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  padding: 18px 24px 22px 24px !important;
}


