/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Hello Elementor Child est un thème enfant pour Hello Elementor, idéal pour ajouter vos personnalisations CSS et fonctions PHP en toute sécurité.
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ==========================================================================
   Styles personnalisés du thème enfant / Custom Child Theme Styles
   ========================================================================== */

:root {
    /* Colors - Design System */
    --color-primary-dark: #278864;
    --color-primary: #39c491;
    --color-primary-light: #9de2c9;
    --color-bg-light: #f5f3fe;
    --color-text-dark: #110e34;
    --color-gray-dark: #97a3b6;
    --color-gray-base: #cdd5e0;
    --color-gray-light: #e3e8ef;
    
    /* Typography Base */
    --font-primary: 'Inter', sans-serif;
}

/* ==========================================================================
   Typography Guide
   ========================================================================== */
h1, .h1 {
    font-family: var(--font-primary);
    font-size: 4rem; /* ~64px */
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem;
}

h2, .h2 {
    font-family: var(--font-primary);
    font-size: 3rem; /* ~48px */
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h3, .h3 {
    font-family: var(--font-primary);
    font-size: 2rem; /* ~32px */
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.body-20 { font-size: 20px; line-height: 1.6; font-family: var(--font-primary); }
.body-18 { font-size: 18px; line-height: 1.6; font-family: var(--font-primary); }
.body-16 { font-size: 16px; line-height: 1.6; font-family: var(--font-primary); }
.body-14 { font-size: 14px; line-height: 1.6; font-family: var(--font-primary); }

.btn-text {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
}

/* 
 * 1. Global Background (Deep Purple Gradient) 
 * Application sur le body pour simuler l'arrière-plan du design original
 */
*, *::before, *::after, a, button, input, select, textarea, div, li, [role="button"] {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
}

body, html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    /* Base color matching the bottom of the hero section */
    background-color: #2a5f4c;
    font-family: var(--font-primary);
    color: #ffffff;
}

/*
 * 2. Header Styles
 */
.custom-site-header {
    width: 100%;
    padding: 24px 0;
    position: absolute; /* Float over hero */
     
    left: 0;
    z-index: 10;
}

.inner-page-header {
    position: relative;
    background-color: #2a5f4c; /* Brand purple */
}

.header-container {
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

/* Header Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.header-logo:hover {
    color: #ffffff;
}

.header-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Menu Toggle Button (Mobile Only) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

/* Menu Wrapper (Desktop layout) */
.header-menu-wrapper {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* 
 * 3. Navigation Links 
 */
.header-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.header-navigation li {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    word-break: keep-all !important;
    line-height: 1.2;
}

.header-navigation a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Élément Actif (Pilule) */
.header-navigation li.active > a {
    background: rgba(255, 255, 255, 0.2); 
}

.header-navigation .has-dropdown svg {
    margin-top: 1px;
    flex-shrink: 0;
}

/* Dropdown Menu Styles */
.header-navigation .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 100;
    margin-top: 6px;
    border: 1px solid #e2e8f0;
}

.header-navigation .dropdown-menu li {
    width: 100%;
}

.header-navigation .dropdown-menu a {
    color: #1e293b !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: block !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-navigation .dropdown-menu a:hover {
    background: #f8fafc !important;
    color: #4c957a !important;
}

.header-navigation .has-dropdown:hover .dropdown-menu,
.header-navigation .has-dropdown:focus-within .dropdown-menu {
    display: flex;
}

/*
 * 4. Call to Action Button & Language Selector
 */
.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.fc-lang-selector-wrapper {
    position: relative;
}

.fc-lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.fc-lang-dropdown li a:hover {
    background-color: #f1f5f9 !important;
    color: #4338ca !important;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .header-logo {
        flex: 1; /* Keep logo visible */
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-menu-wrapper {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 24px 6vw;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        z-index: 99;
    }
    
    .header-menu-wrapper.is-open {
        display: flex;
    }
    
    .header-navigation {
        width: 100%;
        margin-bottom: 24px;
    }
    
    .header-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .header-navigation a {
        justify-content: center;
        width: 100%;
        padding: 14px 24px;
        color: #38765f !important;
    }
    .header-navigation li.active > a {
        background: #38765f !important;
        color: #ffffff !important;
    }
    .header-navigation a:hover {
        background: rgba(17,74,59, 0.05) !important;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px !important;
    }
    .header-actions .btn-login {
        color: #38765f !important;
        border-color: #38765f !important;
        white-space: nowrap;
    }
    .header-actions .btn-primary {
        background: #38765f !important;
        color: #ffffff !important;
    }
    .header-actions .fc-lang-toggle-btn {
        color: #38765f !important;
        border-color: #38765f !important;
        background: transparent !important;
    }
}

.header-actions .btn-primary {
    background: #ffffff;
    color: var(--color-text-dark); /* Utilisation de la couleur sombre du Style Guide */
    padding: 12px 24px;
    border-radius: 30px; /* Forme Pilule */
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    /* Styles typographiques du bouton alignés avec le Style Guide */
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
}

.header-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.site-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

.hero-section {
    padding: 130px 0 120px 0 !important;
    margin-left: 0 !important;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    z-index: 5;
    width: 100%;
    /* Nouveau background Paynext */
    background: radial-gradient(
        120% 120% at 100% 0%,
        #7db9a3 0%,
        #4c957a 30%,
        #38765f 55%,
        #2a5f4c 100%
    );
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 6vw !important;
    padding-right: 6vw;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    justify-content: start;
    justify-items: start;
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        justify-items: center;
        padding-top: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Left Content Area */
.hero-content {
    max-width: 800px;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--color-gray-light);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-cta {
    margin-bottom: 80px;
}

/* Re-using .btn-primary base style but adjusting for hero */
.hero-cta .btn-primary {
    background: #ffffff;
    color: var(--color-text-dark);
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 16px 32px; /* Un peu plus grand dans le Hero */
    font-size: 18px;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Partners Area */
.hero-partners {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    opacity: 0.8; /* Légèrement transparent pour ne pas voler la vedette */
}

.partner-logo svg {
    opacity: 0.9;
}

/* Right Content Visual (Image) */
.hero-visual-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual-wrapper {
    position: relative;
    max-width: 520px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-visual-img:hover {
    transform: translateY(-4px);
}

/* Hero Simulator Component */
.hero-simulator-wrapper {
    width: 100%;
    max-width: 480px;
    justify-self: end;
    position: relative;
    z-index: 10;
}

@media (max-width: 991px) {
    .hero-simulator-wrapper {
        justify-self: center;
        margin: 20px auto 0;
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .hero-visual-container {
        margin-top: 30px;
    }
    .hero-visual-img {
        max-width: 360px;
    }
}

/* Dynamic Island / Speaker notch */
.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 18px;
    background: #000000;
    border-radius: 20px;
    z-index: 40;
}

/* The screen inside the phone */
.phone-screen.phone-dash-screen {
    background-color: #f8fafc;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    padding: 0;
    color: #0f172a;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary, 'Sora', sans-serif);
}

/* Status Bar */
.phone-status-bar {
    height: 38px;
    padding: 10px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    z-index: 30;
    background: #f8fafc;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.battery-icon {
    width: 16px;
    height: 9px;
    border: 1.5px solid #0f172a;
    border-radius: 2.5px;
    position: relative;
    padding: 1px;
}

.battery-icon::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    width: 70%;
    background: #0f172a;
    border-radius: 1px;
}

/* Dashboard App Header inside phone */
.dash-phone-topbar {
    padding: 8px 16px 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 20;
}

.dash-phone-logo {
    color: #4c957a;
    display: flex;
    align-items: center;
}

.dash-phone-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-user-tag {
    font-size: 10px;
    font-weight: 700;
    color: #4c957a;
    background: #ede9fe;
    padding: 2px 7px;
    border-radius: 6px;
}

.phone-user-avatar { display: block; 
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #4c957a;
    display: block;
}

/* Scrollable Container inside phone */
.dash-phone-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 70px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none;
}

.dash-phone-scrollable::-webkit-scrollbar {
    display: none;
}

/* Welcome inside phone */
.dash-phone-welcome {
    display: flex;
    flex-direction: column;
    margin-bottom: 2px;
}

.phone-welcome-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.phone-welcome-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

/* Flucredit Mobile Balance Card */
.dash-phone-balance-card {
    background: linear-gradient(135deg, #4c957a 0%, #2a5f4c 100%);
    border-radius: 16px;
    padding: 14px 14px 12px 14px;
    color: #ffffff;
    box-shadow: 0 10px 20px -3px rgba(29,90,72, 0.4);
    position: relative;
    overflow: hidden;
}

.dash-phone-balance-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.dp-card-type {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 500;
}

.dp-card-status {
    font-size: 9.5px;
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dp-status-dot {
    width: 5px;
    height: 5px;
    background: #4ade80;
    border-radius: 50%;
}

.dp-card-amount {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    color: #ffffff;
}

.dp-card-iban {
    font-size: 9px;
    opacity: 0.75;
    font-family: monospace;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.dp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 8px;
}

.dp-card-chip {
    width: 24px;
    height: 17px;
    background: linear-gradient(135deg, #fcd34d 0%, #b45309 100%);
    border-radius: 3.5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dp-card-brand {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    opacity: 0.9;
}

/* Quick Action Buttons */
.dash-phone-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dp-action-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.02);
    transition: transform 0.2s ease;
}

.dp-action-btn:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.dp-action-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dp-action-icon.action-transfer {
    background: #ede9fe;
    color: #3bc693;
}

.dp-action-icon.action-rib {
    background: #e0f2fe;
    color: #0284c7;
}

.dp-action-icon.action-loan {
    background: #fef3c7;
    color: #d97706;
}

.dp-action-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

/* Tracker Widget */
.dash-phone-tracker {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.dp-tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.dp-tracker-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #0f172a;
}

.dp-tracker-badge {
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
}

.dp-tracker-badge.in-progress {
    background: #e0f2fe;
    color: #0369a1;
}

.dp-tracker-bar {
    height: 4px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.dp-tracker-fill {
    height: 100%;
    background: linear-gradient(90deg, #4c957a 0%, #38bdf8 100%);
    border-radius: 4px;
}

.dp-tracker-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9.5px;
    color: #64748b;
}

.dp-tracker-val {
    color: #0f172a;
    font-weight: 700;
}

/* Transactions in Phone */
.dash-phone-tx-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.dp-tx-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.dp-tx-title {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
}

.dp-tx-see-all {
    font-size: 9.5px;
    color: #4c957a;
    font-weight: 600;
}

.dash-phone-tx-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dp-tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dp-tx-icon-wrapper {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dp-tx-icon-wrapper.tx-in {
    background: #dcfce7;
    color: #16a34a;
}

.dp-tx-icon-wrapper.tx-out {
    background: #fee2e2;
    color: #dc2626;
}

.dp-tx-info {
    flex: 1;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
}

.dp-tx-name {
    font-size: 10px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.dp-tx-date {
    font-size: 8.5px;
    color: #94a3b8;
}

.dp-tx-val {
    font-size: 10.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.dp-tx-val.positive {
    color: #16a34a;
}

.dp-tx-val.negative {
    color: #0f172a;
}

/* Bottom Navigation */
.dash-phone-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px 6px 8px;
    z-index: 30;
}

.dp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #94a3b8;
    font-size: 8.5px;
    font-weight: 600;
    cursor: pointer;
}

.dp-nav-item.active {
    color: #4c957a;
    font-weight: 700;
}

/* Floating Outside Widgets */
.floating-widget {
    position: absolute;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 25;
    color: #111827;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.left-widget {
    top: 90px;
    left: -70px;
    animation: floatWidgetLeft 7s ease-in-out infinite alternate;
}

.right-widget {
    bottom: 120px;
    right: -70px;
    animation: floatWidgetRight 8s ease-in-out infinite alternate;
}

@keyframes floatWidgetLeft {
    0% { transform: translate(0, 0); }
    100% { transform: translate(6px, -12px); }
}

@keyframes floatWidgetRight {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-6px, 12px); }
}

.widget-icon {
    width: 44px;
    height: 44px;
    background: #f3f0ff;
    color: #4c957a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.widget-val {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.1;
    color: #0f172a;
}

.widget-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Avatar Group in Floating Widget */
.widget-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.widget-avatars > div {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    object-fit: cover !important;
    margin-left: -10px !important;
    display: block !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-avatars > div:first-child {
    margin-left: 0 !important;
}

.avatar-more {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #4c957a !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-left: -10px !important;
    border: 2px solid #ffffff !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    /* Adjust floating widgets so they don't get cut off on medium screens */
    .left-widget { left: -40px; }
    .right-widget { right: -40px; }
}

@media (max-width: 991px) {
    .hero-mockup-placeholder {
        margin-top: 40px;
    }
    
    .floating-widget {
        display: none; /* Hide floating widgets on mobile/tablet to avoid overflow issues */
    }
}

/* ==========================================================
   Services Section (Loan Types)
   ========================================================== */

.services-section {
    padding: 100px 6vw;
    background-color: #ffffff;
    color: #111827;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-badge {
    display: inline-block;
    background-color: #f3f0ff;
    color: #4c957a;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.services-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    /* To center the bottom two cards gracefully if possible */
    justify-content: center;
}

.service-card {
    background-color: #f8f9fc;
    border-radius: 32px;
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29,90,72, 0.08);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c957a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

.service-card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-title {
        font-size: 32px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
}

/* ==========================================================
   Process Section (Timeline)
   ========================================================== */

.process-section {
    position: relative;
    padding: 120px 6vw;
    background: radial-gradient(120% 120% at 0% 100%, #4c957a 0%, #38765f 40%, #2a5f4c 100%);
    color: #ffffff;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.process-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.process-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.process-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.process-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 40px 0;
}

.process-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #111827;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-btn:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

.process-right {
    position: relative;
}

.process-timeline {
    position: relative;
    /* padding-left: 24px; removed to keep it flush left */
}

/* The vertical connecting line */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 23px; /* 48px/2 = 24px, minus half of 2px width = 23px for perfect center */
    top: 24px; /* start slightly down so it doesn't poke out above the first icon */
    bottom: 24px; /* end slightly up so it doesn't poke out below the last icon */
    width: 2px;
    background-color: rgba(255, 255, 255, 0.15);
    z-index: 0;
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #7b61ff; /* Matching the lighter purple in the image */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.process-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.process-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .process-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .process-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 80px 6vw;
    }
    
    .process-title {
        font-size: 32px;
    }
    
    .process-step {
        gap: 20px;
    }
}

/* ==========================================================
   Why Choose Us Section (Pourquoi Nous Choisir)
   ========================================================== */
.why-section {
    position: relative;
    padding: 110px 6vw;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-top: 1px solid #f0f0f5;
    overflow: hidden;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.why-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px auto;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background-color: #f5f3ff;
    color: #4c957a;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 20px;
    border: 1px solid rgba(29,90,72, 0.15);
    box-shadow: 0 2px 4px rgba(29,90,72, 0.04);
}

.why-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #111827;
    margin: 0 0 18px 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.why-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

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

.why-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -4px rgba(29,90,72, 0.08);
    border-color: rgba(29,90,72, 0.25);
}

.why-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.why-card-icon.purple {
    background: rgba(29,90,72, 0.1);
    color: #4c957a;
}

.why-card-icon.emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.why-card-icon.blue {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.why-card-icon.amber {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.why-card-icon.indigo {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

.why-card-icon.teal {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.why-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.why-card-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 70px 6vw;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 26px 22px;
    }
}

/* ==========================================================
   Stats Section
   ========================================================== */
.stats-section {
    padding: 100px 6vw;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6; /* Subtle border to separate from testimonials */
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-value {
    font-size: 56px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
    .stat-value {
        font-size: 48px;
    }
}

@media (max-width: 576px) {
    .stats-container {
        gap: 40px 20px;
    }
    .stat-value {
        font-size: 40px;
    }
    .stat-label {
        font-size: 16px;
    }
}

/* ==========================================================
   Testimonials Section
   ========================================================== */

.testimonials-section {
    padding: 120px 6vw;
    background-color: #ffffff;
}

.testi-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.testi-badge {
    display: inline-block;
    background-color: #f3f0ff;
    color: #4c957a;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.testi-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827; /* Dark blue/black */
    margin: 0;
}

.testi-slides {
    position: relative;
    min-height: 200px;
}

.testi-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testi-slide.active {
    display: block;
}

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

.testi-text {
    font-size: 20px;
    line-height: 1.6;
    color: #6b7280; /* Gray */
    margin: 0 0 32px 0;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.testi-controls {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: flex-end;
}

.testi-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testi-btn:hover {
    border-color: #111827;
    background: #f9fafb;
}

@media (max-width: 991px) {
    .testi-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .testi-title {
        font-size: 40px;
    }
    .testi-controls {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 6vw;
    }
    .testi-title {
        font-size: 32px;
    }
    .testi-text {
        font-size: 18px;
    }
}

/* ==========================================================
   About Us Preview Section (Aperçu À Propos)
   ========================================================== */
.about-preview-section {
    padding: 110px 6vw;
    background: #fafafa;
    border-top: 1px solid #f0f0f5;
    position: relative;
    overflow: hidden;
}

.about-preview-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.about-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background-color: #ede9fe;
    color: #387861;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(11,59,46, 0.12);
}

.about-preview-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #111827;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-preview-desc {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 16px 0;
}

.about-preview-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 32px 0 36px 0;
}

.about-preview-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-preview-point-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f5f3ff;
    color: #4c957a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.about-preview-point-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.about-preview-point-desc {
    font-size: 0.925rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

.about-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #4c957a;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(29,90,72, 0.25);
}

.about-preview-btn:hover {
    background-color: #38765f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29,90,72, 0.35);
}

/* Card Visual Right Side */
.about-preview-visual {
    position: relative;
}

.about-preview-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 2;
}

.about-preview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.about-preview-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.about-preview-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f3f4f6;
}

.about-preview-stat-box {
    background: #f9fafb;
    border-radius: 16px;
    padding: 18px 16px;
    text-align: center;
}

.about-preview-stat-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: #4c957a;
    line-height: 1;
    margin-bottom: 6px;
}

.about-preview-stat-text {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    margin: 0;
}

.about-preview-quote {
    font-size: 1rem;
    font-style: italic;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 16px 0;
}

.about-preview-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

@media (max-width: 991px) {
    .about-preview-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .about-preview-section {
        padding: 70px 6vw;
    }
    .about-preview-card {
        padding: 28px 20px;
    }
}

/* ==========================================================
   Blog Section
   ========================================================== */
.blog-section {
    padding: 120px 6vw;
    background-color: #ffffff;
    border-top: 1px solid #f3f4f6; /* Subtle border to separate from testimonials */
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 60px;
}

.blog-header-left {
    flex: 1;
    max-width: 600px;
}

.blog-badge {
    display: inline-block;
    background-color: #f3f0ff;
    color: #4c957a;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.blog-title {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.blog-header-right {
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.blog-desc {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.blog-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.blog-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 24px;
}

.blog-category {
    color: #4c957a; /* Deep purple */
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.blog-date {
    color: #6b7280;
    font-size: 16px;
}

@media (max-width: 991px) {
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 80px 6vw;
    }
    .blog-title {
        font-size: 36px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   CTA Section
   ========================================================== */
.cta-section {
    padding: 0 6vw 120px 6vw; /* No top padding, only bottom to sit above footer */
    background-color: #ffffff;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    background: radial-gradient(100% 200% at 50% 100%, #4c957a 0%, #38765f 50%, #2a5f4c 100%);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Add some noise texture overlay to match the design */
.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-container > * {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.cta-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 24px auto;
    max-width: 800px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 40px auto;
    max-width: 600px;
    line-height: 1.5;
}

.cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #111827;
    padding: 18px 40px;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .cta-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .cta-container {
        padding: 60px 24px;
        border-radius: 24px;
    }
    .cta-title {
        font-size: 32px;
    }
    .cta-desc {
        font-size: 18px;
    }
}

/* ==========================================================
   Footer Styles
   ========================================================== */
.custom-footer {
    background-color: #ffffff;
    padding: 80px 6vw 40px;
    color: #334155;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1.8fr 1.8fr 3.9fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col-logo, .footer-col-subscribe {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col-logo, .footer-col-subscribe {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #2a5f4c !important;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2a5f4c !important;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4c957a;
}

.footer-desc {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.subscribe-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 6px 6px 6px 16px;
    background-color: #ffffff;
}

.subscribe-input-wrapper .mail-icon {
    color: #9ca3af;
    margin-right: 8px;
    flex-shrink: 0;
}

.subscribe-input-wrapper input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #4b5563;
    background: transparent;
    min-width: 0;
}

.subscribe-btn {
    background-color: #4c957a;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #38765f;
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-feedback {
    margin-top: 10px;
    font-size: 13px;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.newsletter-feedback.is-success {
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: block !important;
}

.newsletter-feedback.is-error {
    background-color: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    background-color: #4c957a;
    color: #ffffff;
}



/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-page-wrapper {
    background-color: #f9fafb;
    padding: 100px 6vw;
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

/* Left Column */
.contact-info-col {
    padding-top: 20px;
}

.contact-heading {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 60px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.contact-val {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    line-height: 1.5;
}

.contact-val:hover {
    color: #4c957a;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.social-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f0ff;
    color: #4c957a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-wrapper:hover {
    background-color: #4c957a;
    color: #ffffff;
}

/* Right Column Form */
.contact-box {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

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

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4c957a;
    box-shadow: 0 0 0 3px rgba(29,90,72, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    background-color: #4c957a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #38765f;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 576px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-heading {
        font-size: 36px;
    }
    
    .contact-page-wrapper {
        padding: 60px 6vw;
    }
    
    .contact-box {
        padding: 24px;
    }
}

/* ==========================================================================
   FAQ Section (Contact Page)
   ========================================================================== */
.faq-section {
    padding: 100px 6vw 120px;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-badge {
    display: inline-block;
    background-color: #ffffff;
    color: #4c957a;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 9999px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    color: #110e34;
    line-height: 1.2;
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
}

.faq-item {
    display: flex;
    flex-direction: column;
}

.faq-question {
    font-size: 22px;
    font-weight: 700;
    color: #4c957a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.faq-answer {
    font-size: 16px;
    color: #111827;
    line-height: 1.6;
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-title {
        font-size: 32px;
    }
    
    .faq-section {
        padding: 60px 6vw 80px;
    }
}

/* ==========================================================================
   Contact Banner Section
   ========================================================================== */
.contact-banner-section {
    padding: 0 6vw 100px;
}

.contact-banner-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-banner-box {
    background: linear-gradient(135deg, #4c957a 0%, #2a5f4c 100%);
    border-radius: 24px;
    padding: 60px 80px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-left {
    max-width: 500px;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.banner-desc {
    font-size: 18px;
    color: #e3e8ef;
    margin-bottom: 40px;
    line-height: 1.5;
}

.btn-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #111827;
}

.banner-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.banner-info-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.banner-info-text {
    font-size: 16px;
    color: #e3e8ef;
    line-height: 1.6;
    margin: 0;
}

.banner-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.banner-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e3e8ef;
}

.banner-contact-list a {
    color: #e3e8ef;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.banner-contact-list a:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .contact-banner-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .contact-banner-box {
        padding: 32px 24px;
    }
    .banner-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   Loan Application Page Styles
   ========================================================================== */
.loan-page-wrapper {
    background-color: #f9fafb;
    padding: 120px 6vw 100px;
    min-height: 100vh;
}

.loan-container {
    max-width: 800px;
    margin: 0 auto;
}

.loan-form-box {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid #f3f4f6;
}

.loan-header {
    text-align: center;
    margin-bottom: 40px;
}

.loan-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #4c957a;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f0ff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group.full-width {
    margin-bottom: 24px;
}

/* Inherit input styles from contact form where possible, but add specific if needed */
.loan-summary-box {
    background-color: #f3f0ff;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid #e9e4ff;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #2a5f4c;
    margin-bottom: 24px;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.summary-value.highlight {
    font-size: 24px;
    color: #4c957a;
}

.form-actions {
    display: flex;
    margin-top: 40px;
    gap: 16px;
}

.form-actions.right {
    justify-content: flex-end;
}

.form-actions.space-between {
    justify-content: space-between;
}

.btn-next, .btn-submit {
    background-color: #4c957a;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-next:hover, .btn-submit:hover {
    background-color: #38765f;
    transform: translateY(-2px);
}

.btn-prev {
    background-color: #ffffff;
    color: #4c957a;
    border: 2px solid #e9e4ff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev:hover {
    background-color: #f3f0ff;
    border-color: #4c957a;
}

@media (max-width: 768px) {
    .form-grid, .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .loan-form-box {
        padding: 32px 24px;
    }
    
    .loan-page-wrapper {
        padding-top: 100px;
    }
}

/* Secondary Button for Bank Hero */
.hero-cta .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 14px 30px; /* 14px to match 16px of primary minus 2px border */
    font-size: 18px;
}

.hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* ==========================================================================
   Auth Pages (Login & Register)
   ========================================================================== */
.auth-page-wrapper {
    background-color: #f9fafb;
    padding: 140px 6vw 100px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.register-container {
    max-width: 800px; /* Wider for the grid layout */
}

.auth-form-box {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid #f3f4f6;
    width: 100%;
}

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

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.auth-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.auth-form-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 32px;
}

.auth-form-actions.space-between {
    flex-direction: row;
    justify-content: space-between;
}

.auth-forgot-link {
    color: #4c957a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-end;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
}

.auth-form-actions.space-between .auth-btn {
    width: auto;
}

.auth-footer-link {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.auth-footer-link a {
    color: #4c957a;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

/* Info Alert for Register Page */
.register-alert {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.alert-icon {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-title {
    font-size: 18px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 8px 0;
}

.alert-desc {
    font-size: 15px;
    color: #15803d;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.alert-link {
    display: inline-block;
    color: #166534;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.alert-link:hover {
    text-decoration: underline;
}

/* Intent Selection Grid */
.intent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.intent-card {
    background-color: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intent-card:hover {
    border-color: #4c957a;
    background-color: #f9f8ff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(29,90,72, 0.1);
}

.intent-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f3f0ff;
    color: #4c957a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.intent-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.intent-desc {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .intent-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-form-box {
        padding: 32px 24px;
    }
    
    .register-alert {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==========================================================================
   Dashboard Styles
   ========================================================================== */
/* Hide standard header/footer on dashboard */
.page-template-page-dashboard .custom-site-header,
.page-template-page-dashboard .custom-footer {
    display: none !important;
}

.page-template-page-dashboard .site-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.dash-layout {
    display: flex;
    height: 100vh;
    background-color: #f9fafb;
    font-family: var(--font-primary);
    overflow: hidden;
}

/* Sidebar */
.dash-sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.dash-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-sidebar-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.dash-sidebar-close:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.dash-logo {
    color: #2a5f4c;
    text-decoration: none;
}

.dash-nav {
    flex-grow: 1;
    padding: 24px 0;
    overflow-y: auto;
}

.dash-nav ul, .dash-sidebar-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dash-nav li a, .dash-sidebar-footer li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dash-nav li a:hover, .dash-sidebar-footer li a:hover {
    background-color: #f3f0ff;
    color: #4c957a;
}

.dash-nav li.active a {
    background-color: #f3f0ff;
    color: #4c957a;
    border-left-color: #4c957a;
}

.dash-sidebar-footer {
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
}

/* Main Content */
.dash-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-topbar {
    height: 72px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
}

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

.dash-burger-btn {
    display: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dash-burger-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.dash-mobile-logo {
    display: none;
    color: #2a5f4c;
    text-decoration: none;
}

.dash-overlay {
    display: none;
}

.demo-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f3f0ff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e9e4ff;
}

.demo-label {
    font-size: 14px;
    color: #4c957a;
    font-weight: 600;
}

.demo-switcher select {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    color: #111827;
    outline: none;
}

.dash-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-greeting {
    font-size: 15px;
    color: #4b5563;
}

.user-greeting strong {
    color: #111827;
}

.btn-dash-logout {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-dash-logout:hover {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #ef4444;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4c957a;
}

.dash-content-area {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
}

/* Widgets & Cards */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.dash-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
}

.balance-card {
    background: linear-gradient(135deg, #4c957a 0%, #2a5f4c 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: none;
}

.balance-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.card-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.balance-amount {
    font-size: 36px;
    font-weight: 700;
    margin: 12px 0;
}

.account-number {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 24px;
    font-family: monospace;
}

.btn-quick-transfer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #2a5f4c;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-quick-transfer:hover {
    transform: translateY(-2px);
}

.loan-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.loan-stat {
    background-color: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loan-stat span {
    font-size: 12px;
    color: #6b7280;
}

.loan-stat strong {
    font-size: 15px;
    color: #111827;
}

/* Loan Progress Bar */
.loan-status-widget {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #111827;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    width: 80px;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.progress-step.completed .step-circle {
    background-color: #10b981;
    border-color: #10b981;
}

.progress-step.active .step-circle {
    border-color: #4c957a;
    border-width: 4px;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.progress-step.active .step-label {
    color: #4c957a;
}

/* Transactions */
.dash-section {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #111827;
}

.tx-list {
    display: flex;
    flex-direction: column;
}

.tx-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.tx-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.tx-icon.in {
    background-color: #dcfce7;
    color: #16a34a;
}

.tx-icon.out {
    background-color: #fee2e2;
    color: #ef4444;
}

.tx-details {
    flex-grow: 1;
}

.tx-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.tx-date {
    font-size: 13px;
    color: #6b7280;
}

.tx-amount {
    font-weight: 700;
    font-size: 16px;
}

.tx-amount.positive {
    color: #16a34a;
}

.tx-amount.negative {
    color: #111827;
}

/* Transfer Form Specifics */
.dash-form {
    max-width: 800px;
}
.dash-form .form-grid {
    margin-bottom: 24px;
}

/* RIB Styles */
.rib-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid #f3f4f6;
    overflow: hidden;
}

.rib-header {
    background: linear-gradient(135deg, #4c957a 0%, #2a5f4c 100%);
    padding: 32px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rib-logo {
    color: #ffffff;
}

.rib-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.rib-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rib-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.rib-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rib-col.full {
    flex: 100%;
}

.rib-label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.rib-val {
    font-size: 16px;
    color: #111827;
}

.rib-val.large {
    font-size: 20px;
    letter-spacing: 0.05em;
    font-family: monospace;
}

.rib-footer {
    background-color: #f9fafb;
    padding: 24px 32px;
    border-top: 1px solid #f3f4f6;
    text-align: right;
}

.btn-rib-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #4c957a;
    border: 1px solid #4c957a;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-rib-download:hover {
    background-color: #4c957a;
    color: #ffffff;
}

@media print {
    /* Hide all dashboard UI, navigation, sidebars, headers, floating widgets, buttons */
    .site-header,
    .site-footer,
    header,
    footer,
    .dash-sidebar,
    .dash-topbar,
    .dash-mobile-bottom-nav,
    .dash-burger-btn,
    .demo-switcher,
    .fc-modal-overlay,
    .btn-rib-download,
    .dash-filter-bar,
    .btn-primary,
    .dash-btn-secondary,
    button,
    #wpadminbar,
    .loan-status-widget,
    .analytics-chart-container,
    #fc-live-chat-bubble,
    #fc-chat-box {
        display: none !important;
    }

    /* Page and container resets */
    html, body {
        height: auto !important;
        min-height: 100% !important;
        overflow: visible !important;
        background: #ffffff !important;
        color: #111827 !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .dash-layout, .dash-main, .dash-content-area {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* When printing a specific receipt or statement via #printable-receipt-area */
    #printable-receipt-area {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        color: #111827 !important;
        box-sizing: border-box !important;
        z-index: 999999 !important;
    }

    body.is-printing-receipt .dash-view,
    body.is-printing-receipt .dash-content-area > *:not(#printable-receipt-area) {
        display: none !important;
    }

    .rib-card {
        box-shadow: none !important;
        border: 1px solid #d1d5db !important;
        margin: 0 auto !important;
    }

    table {
        page-break-inside: auto;
    }
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    thead {
        display: table-header-group;
    }
}

.dash-view { display: none; }
.dash-view.active { display: block; }


.rib-company-info {
    padding: 0 32px 32px 32px;
    margin-top: -8px;
    color: #4b5563;
    font-size: 14px;
}
.rib-company-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 8px;
}
.rib-company-info p {
    margin: 4px 0;
}
#rib-content-to-pdf {
    background: #ffffff;
}

/* ==========================================================================
   Dashboard Advanced Views (Loan, History, Beneficiaries, Modals)
   ========================================================================== */

/* Shared Section Headers & Search */
.dash-page-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
.dash-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
}
.dash-page-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Filter & Search Bar */
.dash-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.dash-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
}
.dash-search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}
.dash-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.2s;
    outline: none;
}
.dash-search-input:focus {
    border-color: #4c957a;
    box-shadow: 0 0 0 3px rgba(29,90,72, 0.12);
}
.dash-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.dash-filter-pill {
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}
.dash-filter-pill:hover {
    background: #f3f4f6;
    color: #111827;
}
.dash-filter-pill.active {
    background: #4c957a;
    color: #ffffff;
    border-color: #4c957a;
}

/* Clickable History Rows */
.op-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.op-row:hover {
    border-color: #c4eedf;
    box-shadow: 0 4px 12px rgba(29,90,72, 0.08);
    transform: translateY(-1px);
}
.op-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.op-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.op-icon.debit {
    background: #fee2e2;
    color: #dc2626;
}
.op-icon.credit {
    background: #dcfce7;
    color: #16a34a;
}
.op-details h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.op-meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.op-ref-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    color: #4b5563;
}
.op-right {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 14px;
}
.op-amount {
    font-size: 16px;
    font-weight: 700;
}
.op-amount.debit {
    color: #111827;
}
.op-amount.credit {
    color: #16a34a;
}
.op-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}
.op-status.validated {
    background: #dcfce7;
    color: #16a34a;
}
.op-status.pending {
    background: #fef3c7;
    color: #d97706;
}
.op-status.blocked, .op-status.rejected {
    background: #fee2e2;
    color: #dc2626;
}
.op-chevron {
    color: #9ca3af;
    transition: transform 0.2s;
}
.op-row:hover .op-chevron {
    color: #4c957a;
    transform: translateX(3px);
}

/* Beneficiaries Grid */
.ben-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.ben-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ben-card:hover {
    border-color: #c4eedf;
    box-shadow: 0 4px 14px rgba(29,90,72, 0.08);
}
.ben-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.ben-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4c957a 0%, #2a5f4c 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ben-title h4 {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}
.ben-bank {
    font-size: 13px;
    color: #6b7280;
}
.ben-iban-box {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: monospace;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.btn-copy-iban {
    background: none;
    border: none;
    color: #4c957a;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
}
.btn-copy-iban:hover {
    background: #f3f0ff;
}
.ben-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}
.btn-ben-transfer {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #4c957a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-ben-transfer:hover {
    background: #397962;
}
.btn-ben-delete {
    padding: 9px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #ef4444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-ben-delete:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

/* Loan View Styles */
.loan-hero-card {
    background: linear-gradient(135deg, #2a5f4c 0%, #4c957a 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px -5px rgba(8,40,31, 0.3);
}
.loan-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.loan-hero-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
}
.loan-badge-active {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
}
.loan-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.loan-metric-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
}
.loan-metric-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.loan-metric-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}
.loan-amort-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.loan-table-wrapper {
    overflow-x: auto;
    margin-top: 16px;
}
.fc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}
.fc-table th {
    background: #f9fafb;
    padding: 12px 16px;
    font-weight: 600;
    color: #4b5563;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}
.fc-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.fc-table tr:hover td {
    background: #faf5ff;
}

/* Modal System (Client Dashboard) */
.fc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.fc-modal-overlay.show,
.fc-modal-overlay.active {
    display: flex;
}
.fc-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: fcModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fcModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.fc-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fc-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.fc-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.fc-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}
.fc-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 14px;
}
.fc-modal-footer {
    padding: 18px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

/* Operation Detail Layout Inside Modal */
.op-hero-banner {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #f3f4f6;
}
.op-hero-amount {
    font-size: 32px;
    font-weight: 800;
    margin: 8px 0;
}
.op-hero-amount.debit { color: #111827; }
.op-hero-amount.credit { color: #16a34a; }
.op-detail-table {
    width: 100%;
    margin-bottom: 20px;
}
.op-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}
.op-detail-row:last-child {
    border-bottom: none;
}
.op-detail-label {
    color: #6b7280;
    font-weight: 500;
}
.op-detail-val {
    color: #111827;
    font-weight: 600;
    text-align: right;
    max-width: 65%;
    word-break: break-word;
}
.op-account-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
}
.op-account-box-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #4c957a;
    margin-bottom: 6px;
}

/* Printable Official Receipt */
@media print {
    body * {
        visibility: hidden;
    }
    #printable-receipt-area, #printable-receipt-area * {
        visibility: visible;
    }
    #printable-receipt-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 40px;
        background: white;
    }
}

/* ==========================================================================
   Dashboard Responsive Styles (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 991px) {
    body.dash-noscroll {
        overflow: hidden !important;
    }

    .dash-layout {
        position: relative;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    /* Mobile Sidebar Drawer */
    .dash-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 290px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background-color: #ffffff !important;
        z-index: 1050 !important;
        border-right: 1px solid #e5e7eb;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none;
        display: flex !important;
        flex-direction: column;
    }

    .dash-sidebar.mobile-open {
        transform: translateX(0) !important;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.08) !important;
    }

    .dash-sidebar-header {
        padding: 16px 20px;
    }

    .dash-sidebar-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid #f3f4f6;
        background: #f9fafb;
    }

    /* Mobile Backdrop Overlay */
    .dash-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        background-color: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .dash-overlay.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Main Container takes 100% full width */
    .dash-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-grow: 1;
        overflow-x: hidden;
    }

    /* Topbar */
    .dash-topbar {
        height: 60px;
        padding: 0 14px;
        gap: 8px;
    }

    .dash-burger-btn {
        display: flex !important;
    }

    .dash-mobile-logo {
        display: flex !important;
    }

    .dash-content-area {
        padding: 16px 12px;
        overflow-x: hidden;
    }

    /* Cards & Grid */
    .dash-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin-bottom: 20px;
    }

    .dash-card, .loan-status-widget, .dash-section {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .balance-card {
        padding: 20px 16px;
    }

    .balance-amount {
        font-size: 30px;
        margin: 8px 0;
    }

    .account-number {
        font-size: 12px;
        word-break: break-all;
        margin-bottom: 16px;
    }

    /* Loan Timeline Progress Track */
    .progress-track {
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 4px;
    }

    .progress-track::before {
        top: 14px;
        left: 10%;
        right: 10%;
    }

    .progress-step {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        text-align: center;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
        margin: 0 auto;
    }

    .step-label {
        font-size: 11px;
        line-height: 1.25;
        margin-top: 6px;
        word-break: normal;
        white-space: normal;
        padding: 0 2px;
    }

    .loan-info-grid {
        gap: 10px;
    }

    .loan-stat {
        padding: 10px 8px;
    }

    .loan-stat span {
        font-size: 11px;
    }

    .loan-stat strong {
        font-size: 14px;
    }

    /* RIB & Transfers */
    .rib-card {
        padding: 0;
        border-radius: 14px;
        overflow: hidden;
    }

    .rib-body {
        padding: 18px 14px;
        gap: 16px;
    }

    .rib-header {
        padding: 16px 14px;
    }

    .rib-footer {
        padding: 14px;
    }

    .rib-company-info {
        padding: 0 14px 18px 14px;
    }
}

@media (max-width: 640px) {
    .dash-topbar {
        height: 56px;
        padding: 0 10px;
    }

    .dash-topbar-left {
        gap: 8px;
    }

    .dash-burger-btn {
        padding: 6px;
        width: 36px;
        height: 36px;
    }

    .demo-label {
        display: none !important;
    }

    .demo-switcher {
        padding: 3px 6px;
        gap: 4px;
    }

    .demo-switcher select {
        font-size: 12px;
        padding: 2px 4px;
    }

    .greeting-prefix {
        display: none !important;
    }

    .user-greeting {
        font-size: 13px;
    }

    .user-greeting strong {
        max-width: 85px;
        display: inline-block;
        vertical-align: middle;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logout-text {
        display: none !important;
    }

    .btn-dash-logout {
        padding: 6px 8px;
    }

    .progress-track::before {
        top: 13px;
        left: 8%;
        right: 8%;
    }

    .step-circle {
        width: 26px;
        height: 26px;
    }

    .step-label {
        font-size: 10px;
        line-height: 1.15;
    }

    .rib-row {
        flex-direction: column;
        gap: 14px;
    }

    .rib-col {
        min-width: 0;
        width: 100%;
    }

    .rib-val.large {
        font-size: 14px;
        word-break: break-all;
    }

    .btn-rib-download {
        width: 100%;
        justify-content: center;
    }

    .btn-quick-transfer {
        width: 100%;
        justify-content: center;
    }

    /* Form elements */
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Dropdown Menu Styles */
.header-navigation .has-dropdown {
    position: relative;
}

.header-navigation .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    z-index: 100;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
    border: 1px solid #f3f4f6;
}

/* Arrow for dropdown */
.header-navigation .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-left: 1px solid #f3f4f6;
}

.header-navigation .has-dropdown:hover .dropdown-menu,
.header-navigation .has-dropdown:focus-within .dropdown-menu {
    display: flex;
}

.header-navigation .dropdown-menu li {
    width: 100%;
}

.header-navigation .dropdown-menu a {
    color: #4b5563;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
    width: 100%;
    display: block;
    text-align: left;
    transition: background-color 0.2s, color 0.2s;
}

.header-navigation .dropdown-menu a:hover {
    background-color: #f9fafb;
    color: #3bc693;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .header-navigation .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 16px;
        margin-top: 8px;
        display: none;
    }
    
    .header-navigation .dropdown-menu::before {
        display: none;
    }
    
    .header-navigation .has-dropdown:hover .dropdown-menu {
        display: flex;
    }
    
    .header-navigation .dropdown-menu a {
        color: rgba(17,74,59, 0.8) !important;
        padding: 8px 12px;
    }
    
    .header-navigation .dropdown-menu a:hover {
        background-color: rgba(17,74,59, 0.05) !important;
        color: #38765f !important;
        border-radius: 8px;
    }
}

/* ==========================================================================
   Active Transfer Live Progression Tracker - Traditional Minimalist Banking Style
   ========================================================================== */
.active-virement-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    padding: 20px 24px;
    margin-bottom: 24px;
    position: relative;
    font-family: var(--inst-font-sans, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.active-virement-card.is-blocked {
    border-color: #e2e8f0;
    border-left: 4px solid #387861;
    background: #ffffff;
}

.active-virement-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.active-virement-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.active-virement-pulse-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #387861;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.active-virement-pulse-icon.blocked {
    background: #f5f3ff;
    border-color: #def6ed;
    color: #387861;
}

.active-virement-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    background: #f5f3ff;
    color: #387861;
    border: 1px solid #def6ed;
    white-space: nowrap;
}

.active-virement-badge.blocked {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa;
}

.active-virement-progress-wrapper {
    margin: 16px 0 12px 0;
}

.active-virement-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.active-virement-progress-bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.active-virement-progress-bar-fill {
    height: 100%;
    background: #387861;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.active-virement-progress-bar-fill.blocked {
    background: #387861;
}

.active-virement-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 12px;
}

.active-virement-step-item {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    position: relative;
    padding: 4px 2px;
}

.active-virement-step-item.is-done {
    color: #10b981;
    font-weight: 600;
}

.active-virement-step-item.is-current {
    color: #387861;
    font-weight: 600;
}

/* Security Code Unlock Box - Traditional Minimalist Banking Style */
.active-virement-unlock-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.active-virement-unlock-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.active-virement-unlock-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s ease;
}

.active-virement-unlock-input::placeholder {
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
    color: #94a3b8;
}

.active-virement-unlock-input:focus {
    outline: none;
    border-color: #387861;
    box-shadow: 0 0 0 2px rgba(11,59,46, 0.12);
}

.active-virement-unlock-btn {
    background: #387861;
    color: #ffffff;
    border: 1px solid #387861;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.active-virement-unlock-btn:hover:not(:disabled) {
    background: #2a5f4c;
    border-color: #2a5f4c;
}

.active-virement-unlock-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.active-virement-unlock-feedback {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    line-height: 1.4;
}

/* ==========================================================================
   Bank Page - Features Bento Grid Showcase (Synchronized with Client Portal)
   ========================================================================== */
.bank-features-section {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(29,90,72, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 85%, rgba(29,90,72, 0.04) 0%, transparent 40%);
    padding: 90px 24px;
    position: relative;
    border-top: 1px solid #e2e8f0;
}

.bank-features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bank-features-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px auto;
}

.bank-features-badge {
    display: inline-block;
    background: #ede9fe;
    color: #4c957a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 18px;
    border-radius: 9999px;
    margin-bottom: 18px;
    border: 1px solid rgba(29,90,72, 0.18);
}

.bank-features-title {
    font-family: var(--font-primary, 'Sora', sans-serif);
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.bank-features-subtitle {
    font-size: 17px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Bento Grid */
.bank-bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.bank-bento-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    grid-column: span 2;
}

.bank-bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -4px rgba(29,90,72, 0.08);
    border-color: #cbd5e1;
}

.bank-bento-card.bento-span-wide {
    grid-column: span 3;
}

/* Card Titles & Descriptions */
.bento-card-title {
    font-family: var(--font-primary, 'Sora', sans-serif);
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.bento-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Preview Box Generic */
.bento-preview-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
}

/* Card 1: Security Preview */
.preview-security {
    padding: 16px;
    margin-top: 22px;
}

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

.sec-user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-avatar { display: block; 
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.sec-name {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: #0f172a;
}

.sec-phone {
    display: block;
    font-size: 11.5px;
    color: #64748b;
}

.sec-lock-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ede9fe;
    color: #3bc693;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 11px;
}

.sec-dots {
    letter-spacing: 2px;
}

.sec-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sec-stat-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sec-stat-pill.income .sec-stat-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-stat-pill.expense .sec-stat-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-stat-label {
    display: block;
    font-size: 10.5px;
    color: #64748b;
    font-weight: 500;
}

.sec-stat-val {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

/* Card 2: Analytics Preview */
.preview-analytics {
    padding: 16px 16px 12px 16px;
    margin-bottom: 20px;
}

.analytics-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.analytics-dropdown-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
}

.analytics-bars-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 96px;
    padding: 0 4px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.bar-track {
    width: 20px;
    height: 70px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bar-fill {
    width: 100%;
    border-radius: 5px 5px 3px 3px;
    background: #e2e8f0;
    transition: height 0.4s ease;
}

.bar-fill.highlight {
    background: linear-gradient(180deg, #4c957a 0%, #35755e 100%);
    box-shadow: 0 4px 10px rgba(29,90,72, 0.3);
}

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

.bar-col.active .bar-label {
    color: #4c957a;
    font-weight: 700;
}

/* Card 3: Global Currencies Preview */
.preview-global {
    padding: 12px 14px;
    margin-top: 20px;
}

.currency-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.currency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
}

.currency-meta {
    display: flex;
    align-items: center;
    gap: 9px;
}

.flag-icon svg {
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: block;
}

.currency-code {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.currency-name {
    font-size: 10.5px;
    color: #64748b;
    display: block;
}

.currency-values {
    text-align: right;
}

.currency-amount {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.currency-sub {
    font-size: 10.5px;
    color: #94a3b8;
    display: block;
}

/* Card 4: Collab & Instant Transfers (Wide) */
.preview-collab {
    padding: 18px 20px;
    margin-bottom: 20px;
}

.stacked-tx-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stacked-tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.tx-card-1 {
    opacity: 0.78;
    transform: scale(0.97);
}

.tx-card-2 {
    opacity: 0.9;
    transform: scale(0.985);
}

.tx-card-3 {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 6px 16px -2px rgba(29,90,72, 0.12);
    border-color: #cbd5e1;
}

.st-avatar { display: block; 
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.st-icon-wallet {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ede9fe;
    color: #3bc693;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-info {
    flex: 1;
    margin-left: 0;
}

.st-title {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.st-sub {
    display: block;
    font-size: 10.5px;
    color: #64748b;
}

.st-amount {
    font-size: 13px;
    font-weight: 700;
}

.st-amount.positive {
    color: #16a34a;
}

.st-amount.negative {
    color: #0f172a;
}

/* Card 5: Alerts & Schedule (Wide) */
.preview-alerts {
    padding: 16px 18px;
    margin-top: 20px;
}

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

.schedule-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.schedule-bell-icon {
    position: relative;
    width: 32px;
    height: 32px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.bell-wave {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid #fff;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sched-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
}

.sched-icon-pill {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sched-icon-pill.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.sched-icon-pill.icon-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.sched-icon-pill.icon-purple {
    background: #ede9fe;
    color: #3bc693;
}

.sched-details {
    flex: 1;
    margin-left: 10px;
}

.sched-name {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.sched-freq {
    display: block;
    font-size: 10.5px;
    color: #64748b;
}

.sched-amount {
    font-size: 12.5px;
    font-weight: 700;
}

.sched-amount.positive {
    color: #16a34a;
}

.sched-amount.negative {
    color: #dc2626;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .bank-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bank-bento-card {
        grid-column: span 1;
    }
    .bank-bento-card.bento-span-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bank-features-section {
        padding: 60px 16px;
    }
    .bank-features-title {
        font-size: 28px;
    }
    .bank-features-subtitle {
        font-size: 15px;
    }
    .bank-bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bank-bento-card,
    .bank-bento-card.bento-span-wide {
        grid-column: span 1;
        padding: 22px;
    }
}

/* ==========================================================
   Dashboard Mobile Bottom Navigation Bar
   ========================================================== */
.dash-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    z-index: 999;
    padding: 0 4px calc(env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 900px) {
    .dash-mobile-bottom-nav {
        display: flex;
    }
    body.fc-modal-open .dash-mobile-bottom-nav,
    body.modal-open .dash-mobile-bottom-nav {
        display: none !important;
    }
    /* Hide floating chat or move it above bottom nav on dashboard mobile */
    .dash-layout ~ #fc-floating-chat,
    body.fc-modal-open #fc-floating-chat,
    body.modal-open #fc-floating-chat {
        display: none !important;
    }
    .fc-floating-chat-container {
        bottom: 80px !important;
    }
    /* Add bottom padding to dashboard content so it is not obscured by bottom nav */
    .dash-content-area {
        padding-bottom: 84px !important;
    }
}

.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    padding: 6px 2px;
    color: #64748b;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mob-nav-item svg {
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.mob-nav-item:active svg {
    transform: scale(0.9);
}

.mob-nav-item.active {
    color: #4c957a;
}

.mob-nav-item.active svg {
    stroke: #4c957a;
    transform: translateY(-1px);
}

.mob-nav-item.active::after {
    content: '';
    position: absolute;
    top: 2px;
    width: 20px;
    height: 3px;
    background: #4c957a;
    border-radius: 3px;
}

/* ==========================================================
   Card Management View Styles
   ========================================================== */
.card-mgmt-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: flex-start;
}

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

.fc-credit-card-visual {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c957a 100%);
    border-radius: 20px;
    padding: 26px 28px;
    color: #ffffff;
    box-shadow: 0 20px 35px -10px rgba(29,90,72, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.fc-credit-card-visual.card-locked {
    filter: grayscale(0.85) contrast(0.9);
    opacity: 0.85;
}

.fc-credit-card-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.card-vis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.card-vis-bank-brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-vis-chip-nfc {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 14px 0;
    position: relative;
    z-index: 2;
}

.card-vis-chip {
    width: 44px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    position: relative;
}

.card-vis-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
}

.card-vis-nfc {
    color: rgba(255, 255, 255, 0.7);
}

.card-vis-number {
    font-family: monospace;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 10px 0 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.card-vis-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.card-vis-holder-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.card-vis-holder-val {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-vis-expiry-group {
    text-align: right;
}

.card-vis-scheme-logo {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Security Toggle Switches */
.dash-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

.dash-toggle-row:hover {
    background: #f1f5f9;
}

.toggle-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.toggle-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* iOS Style Switch */
.fc-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.fc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fc-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.fc-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .fc-slider {
    background-color: #10b981;
}

input:checked + .fc-slider.slider-danger {
    background-color: #ef4444;
}

input:checked + .fc-slider:before {
    transform: translateX(22px);
}

/* Range Sliders */
.limit-range-slider {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    margin: 10px 0;
}

.limit-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4c957a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(29,90,72, 0.4);
    border: 2px solid #ffffff;
}

/* ==========================================================
   Multi-Currency Accounts Styles
   ========================================================== */
.currency-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.currency-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.currency-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.currency-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.currency-flag-code {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-flag {
    font-size: 24px;
    line-height: 1;
}

.currency-code {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.currency-name {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.currency-tag-main {
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.currency-amount {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.currency-rate-info {
    font-size: 12px;
    color: #64748b;
}

.converter-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
}

.converter-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}

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

.converter-swap-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.2s;
}

.converter-swap-btn:hover {
    background: #4c957a;
    color: #ffffff;
    border-color: #4c957a;
    transform: rotate(180deg);
}

/* ==========================================================
   Scheduled Payments & Direct Debits Styles
   ========================================================== */
.schedule-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    gap: 16px;
    flex-wrap: wrap;
}

.schedule-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.schedule-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 240px;
}

.schedule-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.schedule-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.schedule-subtitle {
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.schedule-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.schedule-badge.active {
    background: #dcfce7;
    color: #166534;
}

.schedule-badge.paused {
    background: #fef3c7;
    color: #92400e;
}

.schedule-amount-col {
    text-align: right;
    min-width: 110px;
}

.schedule-amt {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.schedule-amt.credit {
    color: #16a34a;
}

.schedule-amt.debit {
    color: #0f172a;
}

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

.btn-sched-action {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-sched-action:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.btn-sched-action.danger:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

/* ==========================================================
   Dynamic Financial Analytics Chart
   ========================================================== */
.analytics-chart-container {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.analytics-tabs {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
}

.analytics-tab-btn {
    background: transparent;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.analytics-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.analytics-bars-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 180px;
    padding: 35px 12px 0 12px;
    border-bottom: 1px solid #e2e8f0;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.analytics-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.analytics-bars-pair {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.analytics-bar {
    width: 18px;
    max-width: 28px;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s, transform 0.2s;
    position: relative;
    cursor: pointer;
}

.analytics-bar.income {
    background: #10b981;
}

.analytics-bar.expense {
    background: #4c957a;
}

.analytics-bar:hover {
    filter: brightness(1.12);
    transform: scaleY(1.03);
    transform-origin: bottom;
    z-index: 20;
}

.analytics-bar:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 30;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.analytics-col-label {
    font-size: 11px;
    color: #64748b;
    margin-top: 8px;
    font-weight: 600;
    text-align: center;
}

/* ==========================================================================
   Home Page - Bank Online Showcase Section
   ========================================================================== */
.home-bank-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, #fafbfc 0%, #f1f3f7 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
}

.home-bank-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.home-bank-content {
    display: flex;
    flex-direction: column;
}

.home-bank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ede9fe;
    color: #387861;
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 9999px;
    margin-bottom: 22px;
    align-self: flex-start;
    letter-spacing: 0.02em;
    border: 1px solid rgba(11,59,46, 0.15);
}

.home-bank-title {
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 20px 0;
}

.home-bank-desc {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 36px 0;
    max-width: 600px;
}

.home-bank-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.home-bank-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-bank-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11,59,46, 0.08);
    border-color: #cbd5e1;
}

.home-bank-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: #ede9fe;
    color: #387861;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-bank-feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.home-bank-feature-desc {
    font-size: 0.93rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.home-bank-cta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.home-bank-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #387861;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(11,59,46, 0.3);
    transition: all 0.3s ease;
}

.home-bank-btn:hover {
    background: #2a5f4c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11,59,46, 0.38);
}

.home-bank-pill-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-bank-pill-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 9999px;
}

.home-bank-pill-stat svg {
    color: #10b981;
}

/* Right Mockup Showcase */
.home-bank-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-bank-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    display: flex;
    justify-content: center;
}

@media (max-width: 991px) {
    .home-bank-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .home-bank-visual {
        margin-top: 10px;
    }
}







/* ==========================================================================
   DESIGN SYSTEM INSTITUTIONNEL HAUTE FINANCE - HEADER ÉPURÉ SUR FOND BLANC
   ========================================================================== */

/* 1. Header Global & Navigation */
.custom-site-header {
    width: 100%;
    padding: 16px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.inner-page-header {
    position: relative !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.header-container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Header Logo */
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #0f172a !important;
    transition: opacity 0.2s ease;
}

.header-logo:hover {
    opacity: 0.85;
}

/* Navigation Links */
.header-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-navigation li {
    position: relative;
    white-space: nowrap;
}

.header-navigation a {
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 8px 14px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.header-navigation a:hover {
    color: #387861 !important;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.header-navigation li.active > a {
    color: #387861 !important;
    background: #f5f3ff !important;
    border-color: #def6ed !important;
    font-weight: 600;
}

/* Dropdown Menu Haute Finance en Blanc */
.header-navigation .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    padding: 8px 0;
    min-width: 240px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.header-navigation .dropdown-menu a {
    color: #334155 !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    display: block !important;
    border-radius: 0 !important;
    border: none !important;
    transition: all 0.15s ease;
}

.header-navigation .dropdown-menu a:hover {
    background: #f5f3ff !important;
    color: #387861 !important;
    padding-left: 22px !important;
}

.header-navigation .has-dropdown:hover .dropdown-menu,
.header-navigation .has-dropdown:focus-within .dropdown-menu {
    display: flex;
}

/* Actions du Header (Connexion & Ouverture) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

.inst-btn-header-login {
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.inst-btn-header-login:hover {
    background: #f8fafc !important;
    border-color: #387861 !important;
    color: #387861 !important;
}

.inst-btn-header-register {
    background: #387861 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 9999px !important;
    border: 1px solid #2a5f4c !important;
    box-shadow: 0 4px 14px rgba(11,59,46, 0.25) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.inst-btn-header-register:hover {
    background: #2a5f4c !important;
    box-shadow: 0 6px 18px rgba(11,59,46, 0.35) !important;
    transform: translateY(-1px);
}

@media (min-width: 992px) and (max-width: 1350px) {
    .header-container {
        padding: 0 12px !important;
        gap: 8px !important;
    }
    .header-navigation a {
        padding: 6px 8px !important;
        font-size: 13px !important;
    }
    .header-actions {
        gap: 6px !important;
    }
    .inst-btn-header-login,
    .inst-btn-header-register {
        padding: 7px 12px !important;
        font-size: 12.5px !important;
    }
}

/* Sélecteur de Langue */
.fc-lang-toggle-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
}

.fc-lang-toggle-btn:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #387861 !important;
}

.fc-lang-dropdown {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1) !important;
}

.fc-lang-dropdown li a {
    color: #334155 !important;
}

.fc-lang-dropdown li a:hover {
    background: #f5f3ff !important;
    color: #387861 !important;
}

/* Mobile Header */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block !important;
        background: transparent;
        border: none;
        color: #0f172a !important;
        cursor: pointer;
        padding: 8px;
    }

    .header-menu-wrapper {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff !important;
        padding: 28px 24px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        border-bottom: 1px solid #e2e8f0;
        z-index: 999;
    }

    .header-menu-wrapper.is-open {
        display: flex;
    }

    .header-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .header-navigation a {
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
        color: #334155 !important;
        border: 1px solid #e2e8f0;
    }

    .header-navigation li.active > a {
        background: #f5f3ff !important;
        color: #387861 !important;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }

    .header-actions a {
        width: 100%;
        text-align: center;
    }
}


/* ==========================================================================
   MENU MOBILE INSTITUTIONNEL PRESTIGE HAUTE BANQUE (FLUIDE & MODERNE)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #0f172a;
    cursor: pointer;
    padding: 6px;
    align-items: center;
    justify-content: center;
    z-index: 10001 !important;
    min-width: 44px;
    min-height: 44px;
}

.mobile-toggle-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover .mobile-toggle-box,
.mobile-menu-toggle[aria-expanded="true"] .mobile-toggle-box {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #387861;
}

.mobile-submenu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-item-has-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.fc-lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-lang-toggle-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Version Mobile (Max-width: 991px) */
@media screen and (max-width: 991px) {
    .custom-site-header {
        padding: 12px 0 !important;
        background: #ffffff !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #e2e8f0 !important;
        z-index: 10000 !important;
    }

    .header-container {
        padding: 0 16px !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-submenu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-menu-wrapper {
        display: none !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
        background-color: #ffffff !important;
        padding: 20px 20px 48px 20px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2) !important;
        z-index: 99999 !important;
    }

    .header-menu-wrapper.is-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-navigation {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 20px !important;
    }

    .header-navigation ul {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
        align-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .header-navigation li {
        width: 100% !important;
        border-radius: 10px !important;
    }

    .header-navigation a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 13px 16px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        background: #f8fafc !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .header-navigation a:hover,
    .header-navigation a:active {
        background: #f1f5f9 !important;
        color: #387861 !important;
        border-color: #e2e8f0 !important;
    }

    .header-navigation li.active > a,
    .header-navigation li.active > .nav-item-has-dropdown > a {
        background: #f5f3ff !important;
        color: #387861 !important;
        border-color: #def6ed !important;
    }

    /* Sous-menu Prêts accordéon */
    .header-navigation .has-dropdown {
        background: #f8fafc !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 10px !important;
    }

    .header-navigation .has-dropdown > .nav-item-has-dropdown > a {
        background: transparent !important;
        border: none !important;
    }

    .header-navigation .has-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        padding: 8px 10px 12px 10px !important;
        margin: 0 !important;
        border-radius: 0 0 10px 10px !important;
        display: none !important;
        min-width: 100% !important;
        gap: 6px !important;
    }

    .header-navigation .has-dropdown.submenu-open .dropdown-menu {
        display: flex !important;
    }

    .header-navigation .has-dropdown.submenu-open .mobile-submenu-toggle {
        transform: rotate(180deg);
        color: #387861;
    }

    .header-navigation .dropdown-menu a {
        padding: 10px 14px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #475569 !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
    }

    .header-navigation .dropdown-menu a:hover {
        background: #f5f3ff !important;
        color: #387861 !important;
        border-color: #def6ed !important;
    }

    /* Actions et boutons du bas du menu */
    .header-actions {
        width: 100% !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding-top: 16px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .fc-lang-selector-wrapper {
        width: 100% !important;
    }

    .fc-lang-toggle-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        font-size: 14px !important;
    }

    .fc-lang-dropdown {
        width: 100% !important;
        position: static !important;
        margin-top: 8px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    }

    .inst-btn-header-login,
    .inst-btn-header-register {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }

    .inst-btn-header-register {
        background: #387861 !important;
        color: #ffffff !important;
        border: 1px solid #2a5f4c !important;
        font-weight: 700 !important;
    }

    .inst-btn-header-login {
        background: #f8fafc !important;
        color: #0f172a !important;
        border: 1px solid #cbd5e1 !important;
    }
}

/* ==========================================================================
   DESIGN SYSTEM HAUTE BANQUE FLUCREDIT - ESPACE CLIENT DASHBOARD HARMONISÉ
   ========================================================================== */
.page-template-page-dashboard .custom-site-header,
.page-template-page-dashboard .custom-footer {
    display: none !important;
}

.page-template-page-dashboard .site-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.dash-layout {
    display: flex !important;
    height: 100vh !important;
    background-color: #f8fafc !important;
    font-family: var(--inst-font-sans, 'Plus Jakarta Sans', -apple-system, sans-serif) !important;
    color: #0f172a !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Grille subtile d'arrière-plan */
.dash-layout::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0 !important;
    background-image: 
        linear-gradient(to right, rgba(11,59,46, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,59,46, 0.025) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Sidebar Haute Finance */
.dash-sidebar {
    width: 270px !important;
    background-color: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 20 !important;
    box-shadow: 2px 0 16px rgba(15, 23, 42, 0.02) !important;
}

.dash-sidebar-header {
    padding: 22px 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dash-logo {
    color: #0f172a !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

.dash-nav {
    flex-grow: 1 !important;
    padding: 20px 14px !important;
    overflow-y: auto !important;
}

.dash-nav ul, .dash-sidebar-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.dash-nav li a, .dash-sidebar-footer li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    transition: all 0.15s ease !important;
    border-left: none !important;
    background: transparent !important;
}

.dash-nav li a:hover, .dash-sidebar-footer li a:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.dash-nav li.active a {
    background-color: #f5f3ff !important;
    color: #387861 !important;
    font-weight: 700 !important;
    border: 1px solid #def6ed !important;
}

.dash-sidebar-footer {
    padding: 16px 14px 20px 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

/* Topbar Haute Finance */
.dash-main {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 5 !important;
}

.dash-topbar {
    height: 70px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 32px !important;
    z-index: 15 !important;
}

.dash-topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.dash-burger-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    border-radius: 9px !important;
    padding: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.dash-burger-btn:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.dash-user-info {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.user-greeting {
    font-size: 14.5px !important;
    color: #475569 !important;
}

.user-greeting strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.btn-dash-logout {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9999px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

.btn-dash-logout:hover {
    background-color: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}

/* Zone de Contenu */
.dash-content-area {
    flex-grow: 1 !important;
    padding: 32px 36px !important;
    overflow-y: auto !important;
}

/* Cartes & Widgets */
.dash-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
}

.dash-card, .dash-section, .loan-status-widget {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.dash-card:hover, .dash-section:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

/* Carte de Solde Flucredit Prestige */
.balance-card {
    background: linear-gradient(135deg, #387861 0%, #2a5f4c 100%) !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid #4b9b7e !important;
    box-shadow: 0 12px 30px rgba(11,59,46, 0.25) !important;
}

.balance-card::after {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 180px !important;
    height: 180px !important;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.card-subtitle {
    font-size: 13.5px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

.balance-amount {
    font-size: 36px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin: 10px 0 14px 0 !important;
}

.account-number {
    font-size: 13px !important;
    opacity: 0.85 !important;
    font-family: monospace !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 24px !important;
}

.btn-quick-transfer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #ffffff !important;
    color: #387861 !important;
    padding: 10px 22px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
}

.btn-quick-transfer:hover {
    background-color: #f8fafc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    color: #2a5f4c !important;
}

/* Titres de sections */
.section-title, .widget-title, .dash-header-title {
    font-family: var(--inst-font-serif, 'Newsreader', serif) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    letter-spacing: -0.01em !important;
}

/* Filtres & Pilules */
.dash-filter-pill {
    padding: 8px 16px !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.dash-filter-pill:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.dash-filter-pill.active {
    background: #387861 !important;
    color: #ffffff !important;
    border-color: #387861 !important;
    box-shadow: 0 2px 8px rgba(11,59,46, 0.25) !important;
}

/* Lignes d'opérations & Historique */
.op-row, .tx-row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    margin-bottom: 8px !important;
    transition: all 0.15s ease !important;
}

.op-row:hover {
    border-color: #c4eedf !important;
    background: #faf5ff !important;
    box-shadow: 0 4px 12px rgba(11,59,46, 0.05) !important;
}

.op-amount.debit {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.op-amount.credit {
    color: #059669 !important;
    font-weight: 700 !important;
}

/* Cartes Bénéficiaires */
.ben-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    transition: all 0.2s ease !important;
}

.ben-card:hover {
    border-color: #c4eedf !important;
    box-shadow: 0 8px 20px rgba(11,59,46, 0.08) !important;
    transform: translateY(-2px) !important;
}

.ben-avatar {
    background: linear-gradient(135deg, #387861 0%, #2a5f4c 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.btn-ben-transfer {
    background: #387861 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.btn-ben-transfer:hover {
    background: #2a5f4c !important;
}

/* Bannière de Prêt dans le Dashboard */
.loan-hero-card {
    background: linear-gradient(135deg, #387861 0%, #235442 100%) !important;
    border-radius: 16px !important;
    border: 1px solid #4b9b7e !important;
    box-shadow: 0 12px 32px rgba(7,34,26, 0.28) !important;
}

.loan-metric-box {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
}

/* Barre de progression de dossier */
.progress-step.completed .step-circle {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

.progress-step.active .step-circle {
    border-color: #387861 !important;
}

.progress-step.active .step-label {
    color: #387861 !important;
    font-weight: 700 !important;
}

/* Modales & Dialogues */
.dash-modal-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
}

.dash-modal-header {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 20px 24px !important;
}

/* Overlay d'arrière-plan Mobile Client Dashboard */
.dash-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.dash-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dash-sidebar-close {
    display: none !important;
}

body.dash-noscroll {
    overflow: hidden !important;
}

/* Responsive Dashboard Mobile & Tablette */
@media (max-width: 991px) {
    .dash-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background-color: #ffffff !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 10px 0 30px rgba(15, 23, 42, 0.3) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .dash-sidebar.mobile-open,
    .dash-sidebar.open {
        left: 0 !important;
    }

    .dash-sidebar-close {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f1f5f9 !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 6px !important;
        cursor: pointer !important;
        color: #0f172a !important;
    }
    
    .dash-burger-btn {
        display: flex !important;
    }
    
    .dash-mobile-logo {
        display: flex !important;
        color: #0f172a !important;
    }
    
    .dash-topbar {
        padding: 0 16px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #ffffff !important;
    }
    
    .dash-content-area {
        padding: 20px 16px 80px 16px !important;
    }
    
    .greeting-prefix {
        display: none !important;
    }
}

/* ==========================================================================
   SUPPRESSION COMPLÈTE DU FOND ROSE/MAGENTA SUR MOBILE & HARMONISATION ACTIVE
   ========================================================================== */
*, *::before, *::after, a, button, input, select, textarea, div, li, [role="button"] {
    -webkit-tap-highlight-color: transparent !important;
    outline-color: transparent !important;
}

/* Navigation Basse Mobile (Client Dashboard Bottom Nav) */
.dash-mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 8px !important;
    z-index: 9990 !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
}

.dash-mobile-bottom-nav .mob-nav-item,
.dash-mobile-bottom-nav .mob-nav-item.active,
.dash-mobile-bottom-nav button,
.dash-mobile-bottom-nav button.active,
button.mob-nav-item,
button.mob-nav-item.active,
.mob-nav-item,
.mob-nav-item.active {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #64748b !important;
    -webkit-tap-highlight-color: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    gap: 3px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.dash-mobile-bottom-nav .mob-nav-item.active,
button.mob-nav-item.active,
.mob-nav-item.active {
    background-color: #f1f5f9 !important;
    background: #f1f5f9 !important;
    color: #387861 !important;
    font-weight: 700 !important;
}

.dash-mobile-bottom-nav .mob-nav-item svg,
button.mob-nav-item.active svg,
.mob-nav-item.active svg {
    stroke: currentColor !important;
}

.dash-mobile-bottom-nav .mob-nav-item.active svg,
button.mob-nav-item.active svg,
.mob-nav-item.active svg {
    stroke: #387861 !important;
    color: #387861 !important;
}

.dash-mobile-bottom-nav .mob-nav-item span,
button.mob-nav-item.active span,
.mob-nav-item.active span {
    color: inherit !important;
}

.dash-mobile-bottom-nav .mob-nav-item.active span,
button.mob-nav-item.active span,
.mob-nav-item.active span {
    color: #387861 !important;
    font-weight: 700 !important;
}

/* Nav Bar Admin (Fond sombre #111827) */
.admin-nav li a {
    color: #9ca3af !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    -webkit-tap-highlight-color: transparent !important;
}

.admin-nav li a:hover,
.admin-nav li a:focus,
.admin-nav li a:active {
    background-color: #1f2937 !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.admin-nav li.active a {
    background-color: #374151 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid #4b5563 !important;
}

/* Nav Bar Client Sidebar (Fond clair) */
.dash-nav li a {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.dash-nav li.active a {
    background-color: #f1f5f9 !important;
    color: #387861 !important;
    font-weight: 700 !important;
    border: 1px solid #cbd5e1 !important;
}

