/* ==========================================================================
   IDFC FIRST BANK FASTAG PORTAL - CORPORATE WEB STYLESHEET (V4 UPDATED)
   Supports Root, Login/, and Dashboard pages with edge-to-edge screen-fitting.
   ========================================================================== */

/* 1. DESIGN SYSTEM VARIABLES */
:root {
    --brand-maroon: #801424;         /* Official IDFC First Maroon Crimson */
    --brand-maroon-dark: #660e1b;    /* Deeper maroon for card headers */
    --brand-maroon-light: #fbebee;   /* Warm soft alert panels */
    --brand-gold: #f4a100;           /* Radiant gold accent */
    --brand-gold-dark: #d58c00;      /* Hover Gold shade */
    --brand-gold-light: #fffcf0;     /* Soft warm gold background */
    --navy-footer: #0c192a;          /* Charcoal Navy for the main footer */
    --success-green: #0a8455;        /* Forest success green */
    --success-light: #e6f6f0;        /* Success background tint */
    --warning-orange: #d97706;       /* Warning orange */
    --warning-light: #fef3c7;        /* Warning background tint */
    --danger-red: #b91c1c;           /* Critical danger red */
    --danger-light: #fee2e2;         /* Critical background tint */
    
    --bg-page: #f5f7fa;              /* Standard portal page gray */
    --bg-card: #ffffff;              /* Pure white card background */
    --text-main: #1e293b;            /* High-contrast headings */
    --text-copy: #475569;            /* Slate-gray body copy */
    --text-muted: #94a3b8;           /* Light gray details */
    --border-color: #e2e8f0;         /* Dividing lines */
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. BASE GLOBAL REFRESH */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Avoid any horizontal scrolls and force screen fit */
    font-family: var(--font-family);
    background-color: var(--bg-page);
    color: var(--text-copy);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Layout centering container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--brand-maroon);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--brand-maroon-dark);
}

/* 3. BUTTONS */
.btn-primary {
    background-color: var(--brand-maroon);
    color: white !important;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.btn-primary:hover {
    background-color: var(--brand-maroon-dark);
    box-shadow: 0 4px 10px rgba(128, 20, 36, 0.15);
}

.btn-accent {
    background-color: var(--brand-gold);
    color: var(--navy-footer);
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.btn-accent:hover {
    background-color: var(--brand-gold-dark);
    box-shadow: 0 4px 10px rgba(244, 161, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--brand-maroon);
    color: var(--brand-maroon);
    padding: 9px 19px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.btn-outline:hover {
    background-color: var(--brand-maroon-light);
}

.btn-outline-white {
    background-color: transparent;
    border: 1.5px solid white;
    color: white;
    padding: 9px 19px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background-color: var(--danger-red);
    color: white;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.btn-danger:hover {
    background-color: #991b1b;
}

.btn-success {
    background-color: var(--success-green);
    color: white;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.btn-success:hover {
    background-color: #047857;
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--brand-maroon);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.btn-text:hover {
    color: var(--brand-maroon-dark);
}

.btn-block {
    display: flex;
    width: 100%;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}
.btn-icon {
    width: 18px;
    height: 18px;
}

/* Utilities classes */
.mt-medium { margin-top: 16px; }
.mt-large { margin-top: 24px; }

/* 4. ANNOUNCEMENT HEADER & BRAND BAR */
.top-announcement {
    background-color: var(--brand-maroon-dark);
    color: white;
    font-size: 12px;
    padding: 8px 0;
    width: 100%;
}

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

.announcement-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.badge-new {
    background-color: var(--brand-gold);
    color: var(--brand-maroon-dark);
    padding: 1px 6px;
    font-weight: 800;
    font-size: 10px;
    border-radius: 4px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-phone {
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.phone-icon {
    width: 14px;
    height: 14px;
    color: var(--brand-gold);
}

.top-nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}
.top-nav-link:hover {
    color: var(--brand-gold);
}
.top-nav-link.active {
    color: var(--brand-gold);
    font-weight: 700;
}

.main-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    width: 100%;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.idfc-logo-box {
    background-color: var(--brand-maroon);
    color: white;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 4px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.logo-bold-part {
    text-transform: uppercase;
    font-size: 14px;
}
.logo-sub-part {
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-divider {
    height: 35px;
    width: 1.5px;
    background-color: var(--border-color);
}

.portal-tag {
    display: flex;
    flex-direction: column;
}
.portal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}
.portal-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logged-in-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}
.welcome-text {
    font-size: 14px;
    color: var(--text-main);
}
.welcome-text strong {
    color: var(--brand-maroon);
}

/* 5. HOMEPAGE RED HERO BACKGROUND FIT - FIX SYSTEM */
.hero-section {
    background-color: var(--brand-maroon);
    color: white;
    padding: 64px 0;
    width: 100%;
    /* No edge margins, guarantees red color spans edge-to-edge seamlessly */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.partner-badge {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 11px;
}
.badge-icon {
    width: 14px;
    height: 14px;
    color: var(--brand-gold);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}
.text-highlight {
    color: var(--brand-gold);
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-gold);
}
.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}
.stat-divider {
    height: 40px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* 6. QUICK RECHARGE CARD */
.quick-recharge-card {
    background-color: var(--bg-card);
    color: var(--text-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--border-color);
}

.recharge-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.recharge-header h2 {
    font-size: 20px;
    font-weight: 700;
}
.recharge-header p {
    font-size: 13px;
    color: var(--text-muted);
}
.flash-badge {
    background-color: var(--brand-maroon-light);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}
.flash-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-maroon);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-copy);
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background-color: #f8fafc;
    color: var(--text-main);
    outline: none;
    transition: all var(--transition-fast);
}
.form-input:focus {
    border-color: var(--brand-maroon);
    background-color: white;
    box-shadow: 0 0 0 4px var(--brand-maroon-light);
}

.preset-amount-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.preset-btn {
    background-color: white;
    border: 1.5px solid var(--border-color);
    color: var(--text-copy);
    padding: 10px 0;
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.preset-btn:hover {
    border-color: var(--brand-maroon);
    color: var(--brand-maroon);
}
.preset-btn.active {
    background-color: var(--brand-maroon-light);
    border-color: var(--brand-maroon);
    color: var(--brand-maroon);
    font-weight: 700;
}

.custom-amount-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.currency-indicator {
    position: absolute;
    left: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-copy);
}
.amount-input {
    padding-left: 36px !important;
}

.supported-payment-methods {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* 7. FEATURES & TRANSPARENT FEES */
.landing-section {
    padding: 64px 0;
    width: 100%;
}
.bg-white {
    background-color: white;
}
.pb-large {
    padding-bottom: 96px;
}

.section-header-centered {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px auto;
}
.section-title-dark {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 15px;
    color: var(--text-copy);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-page);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background-color: white;
}
.benefit-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-maroon-light);
    display: block;
    margin-bottom: 16px;
}
.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}
.benefit-card p {
    font-size: 14px;
    line-height: 1.6;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fee-card {
    background-color: white;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.fee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-maroon-light);
}

.fee-class {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-maroon);
    background-color: var(--brand-maroon-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.fee-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fee-divider {
    height: 1.5px;
    background-color: var(--border-color);
    margin-bottom: 16px;
}
.fee-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}
.fee-row:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

/* 8. FAQ ACCORDION */
.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}
.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}
.faq-trigger:hover {
    color: var(--brand-maroon);
    background-color: #f1f5f9;
}
.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
    background-color: white;
}
.faq-panel p {
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
}
.faq-item.expanded {
    border-color: var(--brand-maroon-light);
    box-shadow: var(--shadow-md);
}
.faq-item.expanded .faq-trigger {
    color: var(--brand-maroon);
    background-color: var(--brand-maroon-light);
}
.faq-item.expanded .faq-chevron {
    transform: rotate(180deg);
    color: var(--brand-maroon);
}

/* ========================================== */
/* 9. STANDALONE LOGIN PAGE CLASSES           */
/* ========================================== --> */
.login-page-body {
    background-color: var(--brand-maroon-dark);
}

.login-main-container {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.login-wrapper {
    width: 100%;
    max-width: 500px;
}

.login-card-container {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.login-card-header {
    background-color: var(--brand-maroon-dark);
    color: white;
    padding: 32px;
    text-align: center;
}

.login-badge-circle {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}
.login-badge-lock {
    width: 24px;
    height: 24px;
    color: var(--brand-gold);
}
.login-card-header h2 {
    font-size: 22px;
    font-weight: 800;
}
.login-card-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.login-tabs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1.5px solid var(--border-color);
}
.login-tab {
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-copy);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 3px solid transparent;
}
.login-tab:hover {
    color: var(--brand-maroon);
}
.login-tab.active {
    color: var(--brand-maroon);
    border-bottom-color: var(--brand-maroon);
    background-color: var(--brand-maroon-light);
}

.login-form {
    padding: 32px;
}

.login-card-footer {
    padding: 18px 32px;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.back-home-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-copy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.login-otp-alert {
    background-color: var(--brand-gold-light);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 32px;
    text-align: center;
    font-size: 13px;
}
.otp-large-input {
    font-size: 28px !important;
    text-align: center !important;
    letter-spacing: 12px !important;
    font-weight: 800 !important;
}
.split-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.resend-otp-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-maroon);
}

/* ========================================== */
/* 10. AUTHENTICATED DASHBOARD PORTAL SYSTEM  */
/* ========================================== */
.dashboard-page-body {
    background-color: var(--bg-page);
}

.dashboard-wrapper {
    padding: 40px 24px;
}

.dashboard-hero-banner {
    background-color: #f1f5f9;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.banner-text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.secure-tag {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    color: var(--brand-maroon);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}
.secure-icon {
    width: 12px;
    height: 12px;
}
.banner-text-content h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.portal-tabs {
    display: flex;
    border-bottom: 1.5px solid var(--border-color);
    margin-bottom: 32px;
    gap: 12px;
}
.tab-btn {
    background: none;
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-copy);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 3px solid transparent;
}
.tab-btn:hover {
    color: var(--brand-maroon);
}
.tab-btn.active {
    color: var(--brand-maroon);
    border-bottom-color: var(--brand-maroon);
    font-weight: 700;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* My Vehicles Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Accommodate the 4 vehicles requested beautifully */
    gap: 20px;
}

.vehicle-portal-card {
    background-color: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 230px;
    transition: all var(--transition-normal);
}
.vehicle-portal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-maroon-light);
}

.card-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.card-vehicle-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vehicle-icon-box {
    width: 38px;
    height: 38px;
    background-color: var(--brand-maroon-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vehicle-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--brand-maroon);
}
.vehicle-tag-details h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}
.vehicle-class-tag {
    font-size: 11px;
    color: var(--text-muted);
}
.bank-logo-badge {
    font-size: 9px;
    font-weight: 800;
    color: var(--brand-maroon);
    background-color: var(--brand-maroon-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.card-middle-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 16px 0;
}
.card-stat-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.card-stat-line .lbl {
    color: var(--text-muted);
}
.card-stat-line .val {
    font-weight: 600;
    color: var(--text-main);
}
.card-stat-line .val.active-status {
    color: var(--success-green);
    font-weight: 700;
}
.card-stat-line .val.balance-figure {
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-maroon);
}

.card-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1.5px solid var(--border-color);
    padding-top: 14px;
}

.link-vehicle-banner {
    background-color: var(--navy-footer);
    color: white;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.link-banner-text h3 {
    font-size: 18px;
    font-weight: 700;
}
.link-banner-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* 11. DATA TABLES LEDGER */
.table-container-card {
    background-color: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.table-card-header h3 {
    font-size: 16px;
    font-weight: 700;
}
.table-card-header p {
    font-size: 12px;
    color: var(--text-muted);
}
.table-filters-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.table-filters-row.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
}
.filter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.table-date-filter {
    padding: 7px 12px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background-color: white;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-copy);
    outline: none;
}
.table-date-filter:focus, .table-select-filter:focus {
    border-color: var(--brand-maroon);
}
.align-self-end {
    align-self: flex-end;
}

.table-select-filter {
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background-color: white;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-copy);
    outline: none;
    cursor: pointer;
}

.responsive-table-wrapper {
    overflow-x: auto;
}
.portal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}
.portal-table th, .portal-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
}
.portal-table th {
    font-weight: 700;
    color: var(--text-copy);
    background-color: #f8fafc;
    font-size: 11px;
    text-transform: uppercase;
}

.badge-table-pill {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}
.pill-debit { background-color: var(--brand-maroon-light); color: var(--brand-maroon); }
.pill-credit { background-color: var(--success-light); color: var(--success-green); }
.pill-pending { background-color: var(--warning-light); color: var(--warning-orange); }

.text-debit { color: var(--danger-red); font-weight: 700; }
.text-credit { color: var(--success-green); font-weight: 700; }
.tx-subtext {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* 12. DISPUTES PAGE */
.disputes-action-banner {
    background-color: var(--brand-maroon-light);
    border: 1.5px solid rgba(128, 20, 36, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.disputes-action-banner h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-maroon);
}

/* 13. KYC PROFILE */
.profile-container-card {
    background-color: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
}
.profile-card-header {
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 24px;
}
.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.profile-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.profile-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}
.profile-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}
.kyc-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--success-green);
    font-size: 14px;
}
.kyc-success-icon {
    width: 18px;
    height: 18px;
}
.profile-actions-footer {
    padding-top: 24px;
    border-top: 1.5px solid var(--border-color);
}

/* 14. APP FOOTER */
.app-footer {
    background-color: var(--navy-footer);
    color: white;
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
    width: 100%;
}
.footer-columns {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-title {
    font-size: 18px;
    font-weight: 800;
}
.footer-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-gold);
}
.footer-description {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
.footer-links-list, .footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}
.footer-links-list a:hover {
    color: var(--brand-gold);
}
.footer-contact-list li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}
.foot-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-gold);
}
.footer-bottom-copyright {
    border-top: 1.5px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
}

/* 15. POPUP MODALS */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}
.modal-backdrop.active {
    display: flex;
}
.modal-dialog {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.modal-header-block {
    background-color: var(--brand-maroon);
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.modal-header-block h3 {
    font-size: 18px;
    font-weight: 700;
}
.modal-header-block p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.modal-close-trigger {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}
.modal-body-content {
    padding: 24px;
}

.form-select-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background-color: #f8fafc;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
}
.payment-modes-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.payment-mode-btn {
    background-color: white;
    border: 1.5px solid var(--border-color);
    color: var(--text-copy);
    padding: 12px 0;
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.payment-mode-btn.active {
    background-color: var(--brand-maroon-light);
    border-color: var(--brand-maroon);
    color: var(--brand-maroon);
    font-weight: 700;
}

/* 16. TOAST BANNER NOTIFICATION */
.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    display: none;
}
.toast-notification.active {
    display: block;
    animation: toastSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.toast-box {
    background-color: var(--navy-footer);
    border-left: 5px solid var(--success-green);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
}
.toast-icon {
    width: 20px;
    height: 20px;
    color: var(--success-green);
}

/* 17. RESPONSIVENESS MEDIA BREAKPOINTS */
@media (max-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .benefits-grid, .fees-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .announcement-flex {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .top-links {
        justify-content: center;
    }
    .header-flex {
        flex-direction: column;
        gap: 16px;
    }
    .hero-title {
        font-size: 30px;
    }
    .benefits-grid, .fees-grid, .vehicles-grid {
        grid-template-columns: 1fr;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .link-vehicle-banner, .disputes-action-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .dashboard-hero-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .table-card-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .table-filters-row {
        width: 100%;
        justify-content: space-between;
    }
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
    .flex-column-mobile {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .mt-medium-mobile {
        margin-top: 16px !important;
    }
}
