/* ============================================================
   VISION E-BANKING 2026 — PREMIUM FINTECH EDITION
   Inspired by Revolut · Qonto · N26 · Stripe
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Space+Grotesk:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    /* ── Palette principale ── */
    --bg-primary:       #F0F4FB;
    --bg-secondary:     #FFFFFF;
    --bg-dark:          #06142D;
    --text-primary:     #0F172A;
    --text-secondary:   #475569;
    --text-muted:       #94A3B8;
    --text-light:       #F8FAFC;

    /* ── Blues ── */
    --blue:             #3B82F6;
    --blue-dark:        #2563EB;
    --blue-deeper:      #1D4ED8;
    --blue-light:       #EFF6FF;
    --blue-glow:        rgba(59,130,246,0.18);
    --blue-glow-strong: rgba(59,130,246,0.35);
    --navy-1:           #06142D;
    --navy-2:           #0B1F4D;
    --navy-3:           #123D91;
    --electric:         #60A5FA;

    /* ── Accents ── */
    --green:            #10B981;
    --green-light:      #ECFDF5;
    --gray-100:         #F1F5F9;
    --gray-200:         #E2E8F0;
    --gray-300:         #CBD5E1;
    --red:              #EF4444;
    --red-light:        #FEF2F2;

    /* ── Ombres ── */
    --shadow-xs:  0 1px 2px  rgba(15,23,42,0.04);
    --shadow-sm:  0 1px 4px  rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md:  0 4px 12px rgba(15,23,42,0.06), 0 2px 4px  rgba(15,23,42,0.04);
    --shadow-lg:  0 8px 24px rgba(15,23,42,0.08), 0 4px 8px  rgba(15,23,42,0.04);
    --shadow-xl:  0 20px 40px rgba(15,23,42,0.10), 0 8px 16px rgba(15,23,42,0.04);
    --shadow-blue: 0 8px 32px rgba(59,130,246,0.20);

    /* ── Typo ── */
    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;

    /* ── Radii ── */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════ */
.ng-page {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ════════════════════════════════════════════════════════
   PANNEAU GAUCHE — Glassmorphic & Aura
   ════════════════════════════════════════════════════════ */
.ng-left {
    flex: 0 0 46% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem !important;
    height: 100vh !important;
    background: 
        radial-gradient(circle at 10% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.10) 0%, transparent 45%),
        linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Carte Default : légèrement plus large pour les rôles */
.ng-card--default {
    max-width: 520px !important;
}

.ng-card--default .ng-roles {
    gap: 1.25rem;
}

.ng-card--default .ng-role-card {
    padding: 1.75rem 1.25rem !important;
    min-height: 120px;
}

.ng-card--default .ng-role-icon {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
}

.ng-card--default .ng-role-label {
    font-size: 0.95rem;
}

.ng-card--default .ng-title {
    font-size: 1.95rem;
}

/* Grain premium très subtil */
.ng-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    pointer-events: none;
    z-index: 0;
}

/* Formes organiques décoratives */
.ng-left::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    background: radial-gradient(circle, rgba(147,197,253,0.25) 0%, transparent 65%);
    bottom: -160px;
    left: -120px;
    pointer-events: none;
    animation: morphBlob 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes morphBlob {
    0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; transform: rotate(0deg) scale(1);    }
    50%  { border-radius: 40% 60% 45% 55% / 60% 40% 55% 45%; transform: rotate(6deg)  scale(1.04); }
    100% { border-radius: 55% 45% 60% 40% / 45% 55% 50% 60%; transform: rotate(-4deg) scale(0.97);}
}

/* Cercle doux en haut à droite */
.ng-left > .ng-card {
    position: relative;
    z-index: 1;
}

.ng-left-centered {
    flex: unset;
    width: 100%;
    max-width: 520px;
    margin: auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* ── Carte Premium Glassmorphic ── */
.ng-card {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(32px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
    border-radius: 28px !important;
    padding: 2.25rem 2.5rem !important;
    width: 100%;
    max-width: 480px;
    box-shadow:
            0 20px 50px rgba(15, 23, 42, 0.06),
            0 1px 3px rgba(0, 0, 0, 0.01),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ng-card:hover {
    box-shadow:
            0 30px 80px rgba(59, 130, 246, 0.10),
            0 0 0 1px rgba(59, 130, 246, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* ── Brand ── */
.ng-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem !important;
}

.ng-brand-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.20);
    transition: all 0.4s ease;
}

.ng-brand:hover .ng-brand-icon {
    transform: scale(1.06) rotate(5deg);
}

.ng-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ng-brand:hover .ng-brand-logo {
    transform: scale(1.08) rotate(-3deg);
}

.ng-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ng-brand-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ── Typo ── */
.ng-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.ng-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.ng-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

/* ── Divider ── */
.ng-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ng-divider::before,
.ng-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

/* ── Role Cards ── */
.ng-roles {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem !important;
}

.ng-role-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem !important;
    padding: 1.25rem 1rem !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
    position: relative;
    overflow: hidden;
}

.ng-role-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(16,185,129,0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ng-role-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    background: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow:
            0 20px 32px rgba(59, 130, 246, 0.08),
            0 0 0 1px rgba(59, 130, 246, 0.1) !important;
}

.ng-role-card:hover::before { opacity: 1; }

.ng-role-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ng-role-card:hover .ng-role-icon {
    transform: translateY(-3px) scale(1.1);
}

.ng-role-card--agent .ng-role-icon {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    color: #2563eb !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.ng-role-card--agent:hover .ng-role-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: white !important;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.ng-role-card--client .ng-role-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #059669 !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.1);
}

.ng-role-card--client:hover .ng-role-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: white !important;
    box-shadow: 0 8px 16px rgba(5, 150, 105, 0.2);
}

.ng-role-label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}

.ng-role-sub {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

/* ── Formulaires ── */
.ng-form { margin-top: 1rem; }

.ng-field { margin-bottom: 1.25rem; }

.ng-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ng-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ng-input-icon       { position: absolute; left: 14px; color: var(--text-muted); font-size: 0.95rem; }
.ng-input-icon-right { position: absolute; right: 14px; color: var(--text-muted); font-size: 0.95rem; cursor: pointer; }

.ng-input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 42px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: rgba(241,245,249,0.7);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.2s ease;
}

.ng-input:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.10);
}

.ng-input:hover:not(:focus) {
    border-color: var(--gray-300);
    background: rgba(248,250,255,0.9);
}

/* Checkbox */
.ng-check-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.25rem 0;
}
.ng-check-row input   { width: 18px; height: 18px; accent-color: var(--blue); }
.ng-check-row label   { font-size: 0.85rem; color: var(--text-secondary); }

/* Boutons */
.ng-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.ng-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    padding: 0 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-sans);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    letter-spacing: 0.01em;
}

.ng-btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
    color: white;
    flex: 1;
    box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}

.ng-btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}

.ng-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59,130,246,0.20);
}

.ng-btn-secondary {
    background: rgba(241,245,249,0.8);
    color: var(--text-secondary);
    border: 1.5px solid var(--gray-200);
}

.ng-btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(239,246,255,0.7);
}

.ng-btn-full { width: 100%; }

/* Links */
.ng-bottom-links {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.ng-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.15s ease;
}
.ng-link:hover {
    color: var(--blue-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ng-register-row {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.ng-register-row .ng-link { margin-left: 0.25rem; }

/* ════════════════════════════════════════════════════════
   PANNEAU DROIT — Fintech Premium Dark
   ════════════════════════════════════════════════════════ */
.ng-right {
    flex: 0 0 54% !important;
    background: #F8FAFC !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem !important;
    height: 100vh !important;
    overflow: hidden;
    isolation: isolate;
}

/* Dégradé de fond mesh multicouche */
.ng-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
            radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 60%),
            linear-gradient(140deg, #EFF6FF 0%, #F8FAFC 60%, #F1F5F9 100%) !important;
    z-index: 0;
}

/* Halos animés tournants en arrière-plan */
.ng-right::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, rgba(16, 185, 129, 0.02) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulseHalo 8s ease-in-out infinite;
}

@keyframes pulseHalo {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95) rotate(0deg); }
    50%       { opacity: 0.9; transform: translate(-50%, -50%) scale(1.05) rotate(180deg); }
}

/* Grid futuriste */
.ng-right > .ng-hero-content::before {
    content: '';
    position: absolute;
    inset: -120px;
    background-image:
            linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Points lumineux décoratifs */
.ng-hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.ng-hero-content > *:first-child::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.05);
    top: -70px;
    right: -50px;
    pointer-events: none;
}

.ng-hero-content > *:first-child::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.03);
    top: -40px;
    right: -20px;
    pointer-events: none;
}

/* Badge "live" */
.ng-right-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem !important;
    background: rgba(59, 130, 246, 0.08) !important;
    border: 1px solid rgba(59, 130, 246, 0.18) !important;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1.25rem !important;
    font-size: 0.68rem !important;
    font-weight: 700;
    color: var(--blue-dark) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ng-right-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3B82F6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
    animation: blinkDot 2s ease-in-out infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px  rgba(59, 130, 246, 0.8); }
    50%       { opacity: 0.5; box-shadow: 0 0 4px rgba(59, 130, 246, 0.4); }
}

/* Hero title */
.ng-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem !important;
    font-weight: 800;
    color: #0F172A !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: none !important;
}

.ng-hero-title span {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Séparateur */
.ng-hero-separator {
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--electric) 100%);
    border-radius: 999px;
    margin: 1.5rem auto;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

/* Hero subtitle */
.ng-hero-subtitle {
    font-size: 0.95rem !important;
    color: #475569 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6 !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* ── Support & Utility Section (Replacing Stats) ── */
.ng-support-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem !important;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.ng-support-links {
    display: flex;
    gap: 0.75rem !important;
    justify-content: center;
    width: 100%;
}

.ng-support-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem !important;
    padding: 0.75rem 0.5rem !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.ng-support-link:hover {
    background: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.06) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
}

.ng-support-link i {
    color: var(--blue);
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.ng-support-link:hover i {
    transform: scale(1.1);
}

.ng-support-link span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.ng-security-note {
    font-size: 0.72rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem !important;
    background: rgba(255, 255, 255, 0.4);
    padding: 0.4rem 0.85rem !important;
    border-radius: 999px;
    border: 1px dashed rgba(226, 232, 240, 0.8);
}

.ng-security-note i {
    color: #10b981;
}

/* Features */
.ng-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem !important;
    max-width: 440px;
    margin: 0 auto;
    text-align: left;
}

.ng-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem !important;
    padding: 1rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    color: rgba(226, 232, 240, 0.8) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.ng-feature-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(96, 165, 250, 0.25) !important;
    color: #ffffff !important;
    transform: translateX(6px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
}

.ng-feature-item i {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

.ng-feature-item:nth-child(1) i {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
}
.ng-feature-item:nth-child(1):hover i {
    background: #2563eb !important;
    color: white !important;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.4) !important;
}

.ng-feature-item:nth-child(2) i {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
.ng-feature-item:nth-child(2):hover i {
    background: #10b981 !important;
    color: white !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4) !important;
}

.ng-feature-item:nth-child(3) i {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
.ng-feature-item:nth-child(3):hover i {
    background: #f59e0b !important;
    color: white !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.4) !important;
}

/* Particules d'arrière-plan animées */
.particle {
    position: absolute !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 0.6 !important;
    filter: blur(2px) !important;
    animation: floatBubble infinite linear !important;
}

@keyframes floatBubble {
    0% {
        transform: translateY(105vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1.3);
        opacity: 0;
    }
}

/* Coins lumineux */
.ng-right > span.corner-tl {
    position: absolute;
    top: 0; left: 0;
    width: 250px; height: 250px;
    background: radial-gradient(circle at top left, rgba(59,130,246,0.15), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.ng-right > span.corner-br {
    position: absolute;
    bottom: 0; right: 0;
    width: 250px; height: 250px;
    background: radial-gradient(circle at bottom right, rgba(16,185,129,0.10), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════ */
.ng-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,20,45,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ng-modal-overlay.show { display: flex; }
.ng-modal-dialog       { max-width: 420px; width: 90%; }

.ng-modal-content {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(226,232,240,0.6);
}

.ng-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
}

.ng-modal-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}

.ng-modal-titles { flex: 1; }

.ng-modal-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ng-modal-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ng-modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: background 0.2s ease;
}

.ng-modal-close:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}

.ng-modal-body   { padding: 1.25rem 1.5rem; }
.ng-modal-footer { padding: 0 1.5rem 1.5rem; }

/* ── Feedback ── */
.ng-feedback    { margin-bottom: 1rem; }
.feedbackPanel  { list-style: none; }

.feedbackPanel > li {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.feedbackPanelERROR {
    background: var(--red-light);
    color: var(--red);
    border-left: 3px solid var(--red);
}

.feedbackPanelSUCCESS {
    background: var(--green-light);
    color: var(--green);
    border-left: 3px solid var(--green);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .ng-hero-title { font-size: 2rem; }
}

@media (max-width: 991px) {
    .ng-page    { flex-direction: column; }

    .ng-left {
        flex: none;
        width: 100%;
        padding: 2rem 1.25rem;
        min-height: 100vh;
    }

    .ng-right {
        flex: none;
        width: 100%;
        padding: 2.5rem 1.5rem;
        order: -1;
    }

    .ng-hero-title { font-size: 1.85rem; }

    .ng-card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .ng-card    { padding: 1.5rem; }
    .ng-actions { flex-direction: column; }
    .ng-roles   { flex-direction: column; }

    .ng-stats {
        flex-direction: column;
        gap: 0;
    }

    .ng-stat + .ng-stat::before {
        top: 0; left: 20%;
        height: 1px; width: 60%;
    }

    .ng-hero-title { font-size: 1.65rem; }
    .ng-hero-subtitle { font-size: 0.85rem; }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ng-card {
    animation: fadeUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}

.ng-hero-content {
    animation: fadeUp 0.6s 0.1s cubic-bezier(0.4,0,0.2,1) both;
}

/* Scrollbar */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Eye toggle pointer */
.ng-input-icon-right {
    cursor: pointer !important;
    transition: color 0.2s ease;
}

.ng-input-icon-right:hover {
    color: var(--blue) !important;
}

.ng-check-row input[type="checkbox"] {
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.ng-check-row input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.20);
    border-radius: 4px;
}

.ng-input::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ng-btn-secondary {
    min-width: 100px;
}

.feedbackPanelERROR::before {
    content: '\f071';
    font-family: FontAwesome;
    margin-right: 0.5rem;
    opacity: 0.8;
}

.feedbackPanelSUCCESS::before {
    content: '\f058';
    font-family: FontAwesome;
    margin-right: 0.5rem;
    opacity: 0.8;
}

body > #passwordModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(6,20,45,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body > #passwordModal.show {
    display: flex !important;
}

/* ── Fintech SVG Animation Styles ── */
.ng-fintech-illustration {
    margin: 1.5rem auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.fintech-svg {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(0.5deg); }
}

.floating-card-group {
    transform-origin: center center;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes drawChart {
    from { stroke-dashoffset: 600; }
    to { stroke-dashoffset: 0; }
}

.animated-chart-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawChart 3s ease-out forwards;
}

@keyframes pulseDash {
    to { stroke-dashoffset: -40; }
}

#pulsePath {
    stroke-dasharray: 10 30;
    animation: pulseDash 2.5s linear infinite;
}

@keyframes bubbleFloat1 {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
    50% { transform: translateY(-4px) scale(1.02); opacity: 1; }
}

@keyframes bubbleFloat2 {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-6px) scale(0.98); opacity: 0.95; }
}

.bubble-1 { animation: bubbleFloat1 4s ease-in-out infinite; }
.bubble-2 { animation: bubbleFloat2 5s ease-in-out infinite; }

@keyframes coinSpin {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-3px) rotateY(180deg); }
}

.coin {
    transform-origin: center center;
    animation: coinSpin 5s ease-in-out infinite;
}

/* ── Canvas Background Animations & Styling ── */
.ng-canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Make sure hero content overlays the canvas */
.ng-hero-content {
    z-index: 2 !important;
    position: relative !important;
}

/* Current paths base dash style */
.flow-line {
    stroke-dasharray: 15 30;
    stroke-linecap: round;
    animation: flowMovement 12s linear infinite;
}

/* Blue current */
.line-blue {
    stroke: var(--blue);
    stroke-opacity: 0.55;
    animation-duration: 8s;
}

/* Green current */
.line-green {
    stroke: var(--green);
    stroke-opacity: 0.55;
    animation-duration: 10s;
}

/* Purple current */
.line-purple {
    stroke: #6366f1;
    stroke-opacity: 0.55;
    animation-duration: 9s;
}

/* Slow blue current */
.line-blue-slow {
    stroke: var(--blue);
    stroke-opacity: 0.45;
    animation-duration: 15s;
    animation-direction: reverse;
}

/* Slow green current */
.line-green-slow {
    stroke: var(--green);
    stroke-opacity: 0.4;
    animation-duration: 13s;
}

@keyframes flowMovement {
    to {
        stroke-dashoffset: -360;
    }
}

/* Glowing Neon outline devices */
.atm-device, .phone-device {
    transition: all 0.5s ease;
}

.atm-device:hover, .phone-device:hover {
    filter: drop-shadow(0 0 12px var(--blue-glow-strong));
}

/* User nodes (gens qui s'animent) styling */
.user-node {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.user-node:hover {
    transform: scale(1.15);
}

/* ── Bouton œil mot de passe (.ng-eye & .ng-input-icon-right) ── */
.ng-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted, #64748b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.ng-eye:hover,
.ng-input-icon-right:hover {
    color: var(--blue, #2563eb);
}

.ng-eye:focus-visible,
.ng-input-icon-right:focus-visible,
.ng-btn:focus-visible,
.ng-role:focus-visible,
.ng-link:focus-visible {
    outline: 2px solid var(--blue, #2563eb);
    outline-offset: 2px;
}

/* ── Neutralisation du conflit charte.css sur #passwordModal ── */
.modal.ng-modal-overlay,
#passwordModal.ng-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 1rem !important;
    background: rgba(6, 20, 45, 0.65) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 1055 !important;
    align-items: center !important;
    justify-content: center !important;
}

#passwordModal.ng-modal-overlay[style*="display: block"],
#passwordModal.ng-modal-overlay.show {
    display: flex !important;
}

#passwordModal .ng-modal-dialog {
    max-width: 440px !important;
    width: 100% !important;
    margin: auto !important;
}

.feedbackPanelWARNING,
.feedbackPanelINFO {
    background: #eff6ff;
    color: #1d4ed8;
    border-left: 3px solid #2563eb;
}

/* ════════════════════════════════════════════════════════════════════════
   SODEC TENANT LOGIN — MODERN FINTECH EDITION (Emerald & Gold)
   ════════════════════════════════════════════════════════════════════════ */

.sodec-login-body {
    --sodec-emerald: #14652D;
    --sodec-emerald-dark: #0D4A20;
    --sodec-emerald-light: #ECFDF3;
    --sodec-gold: #C68E40;
    --sodec-gold-light: #FEF7EC;
    background: #f1f5f9;
}

.sodec-page.ng-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* ── Colonne Gauche (Formulaire / Choix du profil) ── */
.sodec-page .ng-left {
    flex: 0 0 47% !important;
    min-height: 100vh !important;
    height: auto !important;
    padding: 1.5rem 2rem !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 101, 45, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 88% 85%, rgba(198, 142, 64, 0.10) 0%, transparent 45%),
        linear-gradient(135deg, #edf3f0 0%, #f8fafc 100%) !important;
}

.sodec-page .ng-left::after {
    background: radial-gradient(circle, rgba(20, 101, 45, 0.12) 0%, transparent 65%);
}

.sodec-page .sodec-card.ng-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 24px !important;
    padding: 1.85rem 2.1rem !important;
    max-width: 470px !important;
    width: 100% !important;
    border: 1px solid rgba(203, 213, 225, 0.75) !important;
    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.07),
        0 2px 6px rgba(15, 23, 42, 0.03) !important;
    position: relative;
    overflow: hidden;
}

.sodec-page .sodec-card.ng-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14652D 0%, #1F8A42 60%, #C68E40 100%);
}

.sodec-page .sodec-card.ng-card:hover {
    border-color: rgba(20, 101, 45, 0.28) !important;
    box-shadow:
        0 24px 55px rgba(20, 101, 45, 0.09),
        0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

/* ── En-tête Institutionnel dans la carte ── */
.sodec-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid #e2e8f0;
}

.sodec-brand-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.sodec-logo-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sodec-logo-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

.sodec-brand-meta {
    min-width: 0;
}

.sodec-brand-sigle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sodec-brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.01em;
}

.sodec-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #ecfdf3;
    color: #14652D;
    border: 1px solid rgba(20, 101, 45, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.sodec-portal-badge--agent {
    background: #fef7ec;
    color: #9a6319;
    border-color: rgba(198, 142, 64, 0.3);
}

/* ── Titres & Textes ── */
.sodec-title.ng-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    margin-bottom: 0.25rem !important;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

.sodec-title.ng-title span {
    color: #14652D !important;
    -webkit-text-fill-color: #14652D !important;
}

.sodec-inst-label,
.sodec-subtitle.ng-subtitle {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #14652D !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.85rem !important;
}

.sodec-desc.ng-desc {
    font-size: 0.84rem !important;
    color: #475569 !important;
    line-height: 1.55 !important;
    margin-bottom: 1.15rem !important;
}

.sodec-divider.ng-divider {
    margin: 1.1rem 0 !important;
    font-size: 0.68rem !important;
}

/* ── Cartes de sélection Agent / Client ── */
.sodec-roles.ng-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.1rem !important;
}

.sodec-role-card.ng-role-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.1rem 1rem !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    position: relative;
    gap: 0.65rem !important;
}

.sodec-role-card.ng-role-card:hover {
    background: #ffffff !important;
    border-color: #14652D !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(20, 101, 45, 0.10) !important;
}

.sodec-role-card--agent.ng-role-card:hover {
    border-color: #C68E40 !important;
    box-shadow: 0 12px 24px rgba(198, 142, 64, 0.14) !important;
}

.sodec-role-icon.ng-role-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    font-size: 1.15rem !important;
}

.sodec-role-card--agent .sodec-role-icon {
    background: linear-gradient(135deg, #fef7ec 0%, #fde8c8 100%) !important;
    color: #b47420 !important;
    box-shadow: none !important;
}

.sodec-role-card--agent:hover .sodec-role-icon {
    background: linear-gradient(135deg, #C68E40 0%, #a36f27 100%) !important;
    color: #ffffff !important;
}

.sodec-role-card--client .sodec-role-icon {
    background: linear-gradient(135deg, #ecfdf3 0%, #d1fae5 100%) !important;
    color: #14652D !important;
    box-shadow: none !important;
}

.sodec-role-card--client:hover .sodec-role-icon {
    background: linear-gradient(135deg, #14652D 0%, #0d4a20 100%) !important;
    color: #ffffff !important;
}

.sodec-role-body .ng-role-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.sodec-role-body .ng-role-sub {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.sodec-role-arrow {
    position: absolute;
    top: 1rem;
    right: 0.9rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.sodec-role-card:hover .sodec-role-arrow {
    background: #14652D;
    border-color: #14652D;
    color: #ffffff;
    transform: translateX(2px);
}

.sodec-role-card--agent:hover .sodec-role-arrow {
    background: #C68E40;
    border-color: #C68E40;
}

/* ── Carte Réclamation sans compte ── */
.sodec-reclamation-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    margin-top: 0.5rem;
}

.sodec-reclamation-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #14652D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.sodec-reclamation-content {
    display: flex;
    flex-direction: column;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
}

.sodec-reclamation-link {
    color: #14652D !important;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.1rem;
    transition: color 0.2s ease;
}

.sodec-reclamation-link:hover {
    color: #0d4a20 !important;
    text-decoration: underline !important;
}

/* ── Formulaire Client & Agent SODEC ── */
.sodec-form .ng-field {
    margin-bottom: 1rem;
}

.sodec-form .ng-input {
    height: 45px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.88rem;
}

.sodec-form .ng-input:focus {
    background: #ffffff;
    border-color: #14652D;
    box-shadow: 0 0 0 3.5px rgba(20, 101, 45, 0.12);
}

.sodec-form .ng-input-icon-right:hover {
    color: #14652D !important;
}

.sodec-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.85rem 0 1.15rem;
    flex-wrap: wrap;
}

.sodec-check-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin: 0 !important;
    user-select: none;
}

.sodec-checkbox {
    width: 17px !important;
    height: 17px !important;
    accent-color: #14652D !important;
    cursor: pointer;
    margin: 0 !important;
    flex-shrink: 0;
}

.sodec-forgot-link.ng-link {
    color: #14652D !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sodec-forgot-link.ng-link:hover {
    color: #0d4a20 !important;
}

.sodec-actions.ng-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.sodec-btn-back.ng-btn-secondary {
    height: 45px;
    border-radius: 12px;
    padding: 0 1.15rem;
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700;
}

.sodec-btn-back.ng-btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.sodec-btn-submit.ng-btn-primary {
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #14652D 0%, #0d4a20 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(20, 101, 45, 0.22) !important;
    font-weight: 700;
    flex: 1;
}

.sodec-btn-submit.ng-btn-primary:hover {
    background: linear-gradient(135deg, #187a36 0%, #14652D 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(20, 101, 45, 0.28) !important;
}

.sodec-register-footer {
    margin-top: 1.15rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
}

.sodec-register-link {
    color: #14652D !important;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.sodec-register-link:hover {
    color: #0d4a20 !important;
    text-decoration: underline;
}

/* ── Colonne Droite : Vitrine Digitale SODEC ── */
.sodec-page .sodec-right.ng-right {
    flex: 0 0 53% !important;
    min-height: 100vh !important;
    height: auto !important;
    padding: 2rem 2.75rem !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(198, 142, 64, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 18% 82%, rgba(16, 185, 129, 0.16) 0%, transparent 50%),
        linear-gradient(145deg, #072614 0%, #0d3d20 52%, #0f2936 100%) !important;
    color: #f8fafc;
}

.sodec-page .sodec-right.ng-right::before,
.sodec-page .sodec-right.ng-right::after {
    display: none !important;
}

.sodec-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sodec-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.sodec-hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
}

.sodec-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
}

.sodec-hero-title span {
    color: #eab308;
    background: linear-gradient(135deg, #fbbf24 0%, #C68E40 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sodec-hero-subtitle {
    font-size: 0.88rem;
    color: rgba(226, 232, 240, 0.82);
    line-height: 1.55;
    max-width: 440px;
    margin-bottom: 1.35rem;
}

/* ── Carte Photo Encadrée + Badges Flottants ── */
.sodec-showcase-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-bottom: 1.35rem;
}

.sodec-photo-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
    background: rgba(15, 23, 42, 0.4);
    aspect-ratio: 16 / 10;
    max-height: 280px;
    width: 100%;
}

.sodec-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.sodec-floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    text-align: left;
    z-index: 3;
}

.sodec-floating-chip--top {
    top: -14px;
    right: -12px;
}

.sodec-floating-chip--bottom {
    bottom: -14px;
    left: -12px;
}

.sodec-chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sodec-chip-icon--emerald {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.sodec-chip-icon--gold {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.sodec-chip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sodec-chip-text strong {
    font-size: 0.74rem;
    font-weight: 700;
    color: #ffffff;
}

.sodec-chip-text span {
    font-size: 0.66rem;
    color: rgba(226, 232, 240, 0.75);
}

/* ── Bandeau de réassurance bas ── */
.sodec-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.sodec-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(241, 245, 249, 0.88);
}

.sodec-trust-pill i {
    color: #34d399;
}

/* ── Modale Mot de passe oublié aux couleurs SODEC ── */
.sodec-login-body #passwordModal .ng-modal-icon-wrap {
    background: #ecfdf3;
    color: #14652D;
    box-shadow: 0 4px 12px rgba(20, 101, 45, 0.14);
}

.sodec-login-body #passwordModal .ng-input:focus {
    border-color: #14652D;
    box-shadow: 0 0 0 3.5px rgba(20, 101, 45, 0.12);
}

.sodec-login-body #passwordModal .ng-btn-primary {
    background: linear-gradient(135deg, #14652D 0%, #0d4a20 100%);
    box-shadow: 0 6px 16px rgba(20, 101, 45, 0.22);
}

/* ── Responsive SODEC ── */
@media (max-width: 991px) {
    .sodec-page .ng-left,
    .sodec-page .sodec-right.ng-right {
        flex: none !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 1.75rem 1.25rem !important;
    }

    .sodec-floating-chip--top {
        right: 8px;
        top: 8px;
    }

    .sodec-floating-chip--bottom {
        left: 8px;
        bottom: 8px;
    }
}

@media (max-width: 576px) {
    .sodec-roles.ng-roles {
        grid-template-columns: 1fr;
    }

    .sodec-brand-bar {
        flex-wrap: wrap;
    }
}
