﻿/* ===========================
   Liquid Glass Theme (Full)
   =========================== */

/* Scrollbar minimal */
::-webkit-scrollbar {
    width: 4px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Design tokens */
:root {
    --primary-hue: 250;
    --secondary-hue: 190;
    --accent-hue: 320;
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --ease-fluid: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);

    /* Light mode - Premium Liquid Base */
    --bg-color: #f0f4f8;
    --bg-gradient: radial-gradient(at 0% 0%, hsla(250, 80%, 96%, 1) 0, transparent 55%),
        radial-gradient(at 50% 0%, hsla(190, 80%, 94%, 1) 0, transparent 55%),
        radial-gradient(at 100% 0%, hsla(320, 80%, 96%, 1) 0, transparent 55%);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --accent-color: hsl(var(--accent-hue), 90%, 50%);
    --accent-hover: hsl(var(--accent-hue), 90%, 45%);

    /* Liquid glass surfaces - Enhanced clarity */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 12px 40px rgba(31, 38, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    /* Navbar & footer */
    --navbar-bg: rgba(255, 255, 255, 0.65);
    --footer-bg: linear-gradient(to top, rgba(255, 255, 255, 0.5), transparent);
    --footer-border: rgba(0, 0, 0, 0.03);

    /* Inputs */
    --input-bg: rgba(255, 255, 255, 0.4);
    --input-border: rgba(17, 24, 39, 0.1);

    /* Blobs - Subtle and elegant */
    --blob-opacity: 0.3;
    --blob-1: hsla(var(--primary-hue), 70%, 75%, 0.3);
    --blob-2: hsla(var(--accent-hue), 70%, 75%, 0.3);
    --blob-3: hsla(var(--secondary-hue), 70%, 75%, 0.25);

    /* Heading gradient */
    --heading-gradient: linear-gradient(135deg, #1e293b 0%, #475569 100%);
}


/* Base */
html,
body {
    font-family: 'Fahkwang', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 1rem;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color .6s var(--ease-fast), color .3s var(--ease-fast);
}

p {
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color .2s var(--ease-fast), text-shadow .2s var(--ease-fast);
}

a:hover {
    text-shadow: 0 0 10px var(--accent-glow);
    color: var(--accent-hover);
}

/* Layout */
.layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    width: 100%;
    padding: 0;
    z-index: 1;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 1rem 2rem;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.position-sticky {
    position: sticky;
}

.position-relative {
    position: relative;
}

/* Liquid blobs */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(8deg);
    }

    66% {
        transform: translate(-24px, 18px) rotate(-6deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: var(--blob-opacity);
    animation: float 22s infinite ease-in-out;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
    animation-delay: -12s;
}

/* Liquid glass surfaces - Enhanced effect */
.liquid-glass,
.glass-panel,
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .4s var(--ease-fluid),
        box-shadow .4s var(--ease-fluid),
        border-color .25s var(--ease-fast);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.glass-panel-light {
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced liquid shine effect */
.liquid-glass::before,
.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 45%,
            transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Inputs & Forms */
input,
select,
textarea,
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all .25s var(--ease-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
    background: rgba(255, 255, 255, 0.35);
}

::placeholder {
    color: var(--text-muted);
}

/* Navbar */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all var(--ease-fast);
    border-radius: 2px;
}

/* Responsive nav */
@media (max-width: 968px) {
    .navbar-container {
        padding: 1rem;
        position: relative;
    }

    .navbar-content {
        position: fixed;
        z-index: 1;
        width: 100%;
        left: 0;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s var(--ease-fast);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        max-height: max-content;
        padding: 25px;
        gap: 5px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        display: flex;
        background: var(--navbar-bg);
    }

    .nav-link:hover {
        background: var(--glass-bg);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem;
    }
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at center, var(--glass-bg) 0%, transparent 70%);
    padding: 8rem 1rem 6rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 15rem;
    top: 80px;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    font-family: 'Amita', sans-serif;
    margin-bottom: 1.5rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.container-objectif {
    margin-top: 280px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color .2s var(--ease-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Glass table */
.glass-table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    margin: 2rem 0;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.glass-table th {
    background: hsla(var(--accent-hue), 90%, 50%, 0.1);
    color: var(--accent-color);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.glass-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: background .2s var(--ease-fast), transform .2s var(--ease-fast);
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.002);
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.card-image {
    height: 320px;
    border-radius: 6px;
}

.btn-icon {
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s var(--ease-fast), box-shadow .3s var(--ease-fast), filter .25s var(--ease-fast);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: var(--space-xs);
}

/* Harmonisation des boutons outline avec les styles btn-color (dégradé, ombre, hover) */
.btn-outline-primary {
    border: 2px solid #1877f3;
    color: #1877f3;
    background: transparent;
    box-shadow: 0 4px 12px rgba(24,119,243,0.08);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border-color: #145db2;
    box-shadow: 0 8px 20px rgba(24,119,243,0.18);
}

.btn-outline-success {
    border: 2px solid #25d366;
    color: #25d366;
    background: transparent;
    box-shadow: 0 4px 12px rgba(37,211,102,0.08);
}
.btn-outline-success:hover, .btn-outline-success:focus {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-color: #1da851;
    box-shadow: 0 8px 20px rgba(37,211,102,0.18);
}

.btn-outline-danger {
    border: 2px solid #ea4335;
    color: #ea4335;
    background: transparent;
    box-shadow: 0 4px 12px rgba(234,67,53,0.08);
}
.btn-outline-danger:hover, .btn-outline-danger:focus {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: #b92d23;
    box-shadow: 0 8px 20px rgba(234,67,53,0.18);
}

.btn-outline-warning {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    background: transparent;
    box-shadow: 0 4px 12px #f59e0b22;
}
.btn-outline-warning:hover, .btn-outline-warning:focus {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-color: #b45309;
    box-shadow: 0 8px 20px #f59e0b44;
}

.btn-outline-info {
    border: 2px solid #1da1f2;
    color: #1da1f2;
    background: transparent;
    box-shadow: 0 4px 12px rgba(29,161,242,0.08);
}
.btn-outline-info:hover, .btn-outline-info:focus {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    border-color: #177bbd;
    box-shadow: 0 8px 20px rgba(29,161,242,0.18);
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn-outline-dark:hover, .btn-outline-dark:focus {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-color: #222;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Boutons texte (text only, sans fond ni bordure, couleur accentuée) */
.btn-text-primary {
    background: none;
    border: none;
    color: #1877f3;
    box-shadow: none;
}
.btn-text-primary:hover, .btn-text-primary:focus {
    text-decoration: underline;
    color: #145db2;
    background: rgba(24,119,243,0.08);
}

.btn-text-success {
    background: none;
    border: none;
    color: #25d366;
    box-shadow: none;
}
.btn-text-success:hover, .btn-text-success:focus {
    text-decoration: underline;
    color: #1da851;
    background: rgba(37,211,102,0.08);
}

.btn-text-danger {
    background: none;
    border: none;
    color: #ea4335;
    box-shadow: none;
}
.btn-text-danger:hover, .btn-text-danger:focus {
    text-decoration: underline;
    color: #b92d23;
    background: rgba(234,67,53,0.08);
}

.btn-text-warning {
    background: none;
    border: none;
    color: #f59e0b;
    box-shadow: none;
}
.btn-text-warning:hover, .btn-text-warning:focus {
    text-decoration: underline;
    color: #b45309;
    background: #f59e0b22;
}

.btn-text-info {
    background: none;
    border: none;
    color: #1da1f2;
    box-shadow: none;
}
.btn-text-info:hover, .btn-text-info:focus {
    text-decoration: underline;
    color: #177bbd;
    background: rgba(29,161,242,0.08);
}

.btn-text-dark {
    background: none;
    border: none;
    color: #000;
    box-shadow: none;
}
.btn-text-dark:hover, .btn-text-dark:focus {
    text-decoration: underline;
    color: #222;
    background: rgba(0,0,0,0.08);
}

/* Liquid blobs */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(8deg);
    }

    66% {
        transform: translate(-24px, 18px) rotate(-6deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: var(--blob-opacity);
    animation: float 22s infinite ease-in-out;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
    animation-delay: -12s;
}

/* Liquid glass surfaces - Enhanced effect */
.liquid-glass,
.glass-panel,
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .4s var(--ease-fluid),
        box-shadow .4s var(--ease-fluid),
        border-color .25s var(--ease-fast);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.glass-panel-light {
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced liquid shine effect */
.liquid-glass::before,
.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 45%,
            transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Inputs & Forms */
input,
select,
textarea,
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all .25s var(--ease-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
    background: rgba(255, 255, 255, 0.35);
}

::placeholder {
    color: var(--text-muted);
}

/* Navbar */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all var(--ease-fast);
    border-radius: 2px;
}

/* Responsive nav */
@media (max-width: 968px) {
    .navbar-container {
        padding: 1rem;
        position: relative;
    }

    .navbar-content {
        position: fixed;
        z-index: 1;
        width: 100%;
        left: 0;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s var(--ease-fast);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        max-height: max-content;
        padding: 25px;
        gap: 5px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        display: flex;
        background: var(--navbar-bg);
    }

    .nav-link:hover {
        background: var(--glass-bg);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem;
    }
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at center, var(--glass-bg) 0%, transparent 70%);
    padding: 8rem 1rem 6rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 15rem;
    top: 80px;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    font-family: 'Amita', sans-serif;
    margin-bottom: 1.5rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.container-objectif {
    margin-top: 280px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color .2s var(--ease-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Glass table */
.glass-table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    margin: 2rem 0;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.glass-table th {
    background: hsla(var(--accent-hue), 90%, 50%, 0.1);
    color: var(--accent-color);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.glass-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: background .2s var(--ease-fast), transform .2s var(--ease-fast);
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.002);
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.card-image {
    height: 320px;
    border-radius: 6px;
}

.btn-icon {
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s var(--ease-fast), box-shadow .3s var(--ease-fast), filter .25s var(--ease-fast);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: var(--space-xs);
}

/* Harmonisation des boutons outline avec les styles btn-color (dégradé, ombre, hover) */
.btn-outline-primary {
    border: 2px solid #1877f3;
    color: #1877f3;
    background: transparent;
    box-shadow: 0 4px 12px rgba(24,119,243,0.08);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border-color: #145db2;
    box-shadow: 0 8px 20px rgba(24,119,243,0.18);
}

.btn-outline-success {
    border: 2px solid #25d366;
    color: #25d366;
    background: transparent;
    box-shadow: 0 4px 12px rgba(37,211,102,0.08);
}
.btn-outline-success:hover, .btn-outline-success:focus {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-color: #1da851;
    box-shadow: 0 8px 20px rgba(37,211,102,0.18);
}

.btn-outline-danger {
    border: 2px solid #ea4335;
    color: #ea4335;
    background: transparent;
    box-shadow: 0 4px 12px rgba(234,67,53,0.08);
}
.btn-outline-danger:hover, .btn-outline-danger:focus {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: #b92d23;
    box-shadow: 0 8px 20px rgba(234,67,53,0.18);
}

.btn-outline-warning {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    background: transparent;
    box-shadow: 0 4px 12px #f59e0b22;
}
.btn-outline-warning:hover, .btn-outline-warning:focus {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-color: #b45309;
    box-shadow: 0 8px 20px #f59e0b44;
}

.btn-outline-info {
    border: 2px solid #1da1f2;
    color: #1da1f2;
    background: transparent;
    box-shadow: 0 4px 12px rgba(29,161,242,0.08);
}
.btn-outline-info:hover, .btn-outline-info:focus {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    border-color: #177bbd;
    box-shadow: 0 8px 20px rgba(29,161,242,0.18);
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn-outline-dark:hover, .btn-outline-dark:focus {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-color: #222;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Boutons texte (text only, sans fond ni bordure, couleur accentuée) */
.btn-text-primary {
    background: none;
    border: none;
    color: #1877f3;
    box-shadow: none;
}
.btn-text-primary:hover, .btn-text-primary:focus {
    text-decoration: underline;
    color: #145db2;
    background: rgba(24,119,243,0.08);
}

.btn-text-success {
    background: none;
    border: none;
    color: #25d366;
    box-shadow: none;
}
.btn-text-success:hover, .btn-text-success:focus {
    text-decoration: underline;
    color: #1da851;
    background: rgba(37,211,102,0.08);
}

.btn-text-danger {
    background: none;
    border: none;
    color: #ea4335;
    box-shadow: none;
}
.btn-text-danger:hover, .btn-text-danger:focus {
    text-decoration: underline;
    color: #b92d23;
    background: rgba(234,67,53,0.08);
}

.btn-text-warning {
    background: none;
    border: none;
    color: #f59e0b;
    box-shadow: none;
}
.btn-text-warning:hover, .btn-text-warning:focus {
    text-decoration: underline;
    color: #b45309;
    background: #f59e0b22;
}

.btn-text-info {
    background: none;
    border: none;
    color: #1da1f2;
    box-shadow: none;
}
.btn-text-info:hover, .btn-text-info:focus {
    text-decoration: underline;
    color: #177bbd;
    background: rgba(29,161,242,0.08);
}

.btn-text-dark {
    background: none;
    border: none;
    color: #000;
    box-shadow: none;
}
.btn-text-dark:hover, .btn-text-dark:focus {
    text-decoration: underline;
    color: #222;
    background: rgba(0,0,0,0.08);
}

/* Liquid blobs */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(8deg);
    }

    66% {
        transform: translate(-24px, 18px) rotate(-6deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: var(--blob-opacity);
    animation: float 22s infinite ease-in-out;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
    animation-delay: -12s;
}

/* Liquid glass surfaces - Enhanced effect */
.liquid-glass,
.glass-panel,
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .4s var(--ease-fluid),
        box-shadow .4s var(--ease-fluid),
        border-color .25s var(--ease-fast);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.glass-panel-light {
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced liquid shine effect */
.liquid-glass::before,
.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 45%,
            transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Inputs & Forms */
input,
select,
textarea,
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all .25s var(--ease-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
    background: rgba(255, 255, 255, 0.35);
}

::placeholder {
    color: var(--text-muted);
}

/* Navbar */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all var(--ease-fast);
    border-radius: 2px;
}

/* Responsive nav */
@media (max-width: 968px) {
    .navbar-container {
        padding: 1rem;
        position: relative;
    }

    .navbar-content {
        position: fixed;
        z-index: 1;
        width: 100%;
        left: 0;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s var(--ease-fast);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        max-height: max-content;
        padding: 25px;
        gap: 5px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        display: flex;
        background: var(--navbar-bg);
    }

    .nav-link:hover {
        background: var(--glass-bg);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem;
    }
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at center, var(--glass-bg) 0%, transparent 70%);
    padding: 8rem 1rem 6rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 15rem;
    top: 80px;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    font-family: 'Amita', sans-serif;
    margin-bottom: 1.5rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.container-objectif {
    margin-top: 280px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color .2s var(--ease-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Glass table */
.glass-table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    margin: 2rem 0;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.glass-table th {
    background: hsla(var(--accent-hue), 90%, 50%, 0.1);
    color: var(--accent-color);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.glass-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: background .2s var(--ease-fast), transform .2s var(--ease-fast);
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.002);
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.card-image {
    height: 320px;
    border-radius: 6px;
}

.btn-icon {
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s var(--ease-fast), box-shadow .3s var(--ease-fast), filter .25s var(--ease-fast);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: var(--space-xs);
}

/* Harmonisation des boutons outline avec les styles btn-color (dégradé, ombre, hover) */
.btn-outline-primary {
    border: 2px solid #1877f3;
    color: #1877f3;
    background: transparent;
    box-shadow: 0 4px 12px rgba(24,119,243,0.08);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border-color: #145db2;
    box-shadow: 0 8px 20px rgba(24,119,243,0.18);
}

.btn-outline-success {
    border: 2px solid #25d366;
    color: #25d366;
    background: transparent;
    box-shadow: 0 4px 12px rgba(37,211,102,0.08);
}
.btn-outline-success:hover, .btn-outline-success:focus {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-color: #1da851;
    box-shadow: 0 8px 20px rgba(37,211,102,0.18);
}

.btn-outline-danger {
    border: 2px solid #ea4335;
    color: #ea4335;
    background: transparent;
    box-shadow: 0 4px 12px rgba(234,67,53,0.08);
}
.btn-outline-danger:hover, .btn-outline-danger:focus {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: #b92d23;
    box-shadow: 0 8px 20px rgba(234,67,53,0.18);
}

.btn-outline-warning {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    background: transparent;
    box-shadow: 0 4px 12px #f59e0b22;
}
.btn-outline-warning:hover, .btn-outline-warning:focus {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-color: #b45309;
    box-shadow: 0 8px 20px #f59e0b44;
}

.btn-outline-info {
    border: 2px solid #1da1f2;
    color: #1da1f2;
    background: transparent;
    box-shadow: 0 4px 12px rgba(29,161,242,0.08);
}
.btn-outline-info:hover, .btn-outline-info:focus {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    border-color: #177bbd;
    box-shadow: 0 8px 20px rgba(29,161,242,0.18);
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn-outline-dark:hover, .btn-outline-dark:focus {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-color: #222;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Boutons texte (text only, sans fond ni bordure, couleur accentuée) */
.btn-text-primary {
    background: none;
    border: none;
    color: #1877f3;
    box-shadow: none;
}
.btn-text-primary:hover, .btn-text-primary:focus {
    text-decoration: underline;
    color: #145db2;
    background: rgba(24,119,243,0.08);
}

.btn-text-success {
    background: none;
    border: none;
    color: #25d366;
    box-shadow: none;
}
.btn-text-success:hover, .btn-text-success:focus {
    text-decoration: underline;
    color: #1da851;
    background: rgba(37,211,102,0.08);
}

.btn-text-danger {
    background: none;
    border: none;
    color: #ea4335;
    box-shadow: none;
}
.btn-text-danger:hover, .btn-text-danger:focus {
    text-decoration: underline;
    color: #b92d23;
    background: rgba(234,67,53,0.08);
}

.btn-text-warning {
    background: none;
    border: none;
    color: #f59e0b;
    box-shadow: none;
}
.btn-text-warning:hover, .btn-text-warning:focus {
    text-decoration: underline;
    color: #b45309;
    background: #f59e0b22;
}

.btn-text-info {
    background: none;
    border: none;
    color: #1da1f2;
    box-shadow: none;
}
.btn-text-info:hover, .btn-text-info:focus {
    text-decoration: underline;
    color: #177bbd;
    background: rgba(29,161,242,0.08);
}

.btn-text-dark {
    background: none;
    border: none;
    color: #000;
    box-shadow: none;
}
.btn-text-dark:hover, .btn-text-dark:focus {
    text-decoration: underline;
    color: #222;
    background: rgba(0,0,0,0.08);
}

/* Liquid blobs */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(8deg);
    }

    66% {
        transform: translate(-24px, 18px) rotate(-6deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: var(--blob-opacity);
    animation: float 22s infinite ease-in-out;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
    animation-delay: -12s;
}

/* Liquid glass surfaces - Enhanced effect */
.liquid-glass,
.glass-panel,
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .4s var(--ease-fluid),
        box-shadow .4s var(--ease-fluid),
        border-color .25s var(--ease-fast);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.glass-panel-light {
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced liquid shine effect */
.liquid-glass::before,
.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 45%,
            transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Inputs & Forms */
input,
select,
textarea,
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all .25s var(--ease-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
    background: rgba(255, 255, 255, 0.35);
}

::placeholder {
    color: var(--text-muted);
}

/* Navbar */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all var(--ease-fast);
    border-radius: 2px;
}

/* Responsive nav */
@media (max-width: 968px) {
    .navbar-container {
        padding: 1rem;
        position: relative;
    }

    .navbar-content {
        position: fixed;
        z-index: 1;
        width: 100%;
        left: 0;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s var(--ease-fast);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        max-height: max-content;
        padding: 25px;
        gap: 5px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        display: flex;
        background: var(--navbar-bg);
    }

    .nav-link:hover {
        background: var(--glass-bg);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem;
    }
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at center, var(--glass-bg) 0%, transparent 70%);
    padding: 8rem 1rem 6rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 15rem;
    top: 80px;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    font-family: 'Amita', sans-serif;
    margin-bottom: 1.5rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.container-objectif {
    margin-top: 280px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color .2s var(--ease-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Glass table */
.glass-table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    margin: 2rem 0;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.glass-table th {
    background: hsla(var(--accent-hue), 90%, 50%, 0.1);
    color: var(--accent-color);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.glass-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: background .2s var(--ease-fast), transform .2s var(--ease-fast);
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.002);
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.card-image {
    height: 320px;
    border-radius: 6px;
}

.btn-icon {
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s var(--ease-fast), box-shadow .3s var(--ease-fast), filter .25s var(--ease-fast);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: var(--space-xs);
}

/* Harmonisation des boutons outline avec les styles btn-color (dégradé, ombre, hover) */
.btn-outline-primary {
    border: 2px solid #1877f3;
    color: #1877f3;
    background: transparent;
    box-shadow: 0 4px 12px rgba(24,119,243,0.08);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border-color: #145db2;
    box-shadow: 0 8px 20px rgba(24,119,243,0.18);
}

.btn-outline-success {
    border: 2px solid #25d366;
    color: #25d366;
    background: transparent;
    box-shadow: 0 4px 12px rgba(37,211,102,0.08);
}
.btn-outline-success:hover, .btn-outline-success:focus {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-color: #1da851;
    box-shadow: 0 8px 20px rgba(37,211,102,0.18);
}

.btn-outline-danger {
    border: 2px solid #ea4335;
    color: #ea4335;
    background: transparent;
    box-shadow: 0 4px 12px rgba(234,67,53,0.08);
}
.btn-outline-danger:hover, .btn-outline-danger:focus {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: #b92d23;
    box-shadow: 0 8px 20px rgba(234,67,53,0.18);
}

.btn-outline-warning {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    background: transparent;
    box-shadow: 0 4px 12px #f59e0b22;
}
.btn-outline-warning:hover, .btn-outline-warning:focus {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-color: #b45309;
    box-shadow: 0 8px 20px #f59e0b44;
}

.btn-outline-info {
    border: 2px solid #1da1f2;
    color: #1da1f2;
    background: transparent;
    box-shadow: 0 4px 12px rgba(29,161,242,0.08);
}
.btn-outline-info:hover, .btn-outline-info:focus {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    border-color: #177bbd;
    box-shadow: 0 8px 20px rgba(29,161,242,0.18);
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn-outline-dark:hover, .btn-outline-dark:focus {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-color: #222;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Boutons texte (text only, sans fond ni bordure, couleur accentuée) */
.btn-text-primary {
    background: none;
    border: none;
    color: #1877f3;
    box-shadow: none;
}
.btn-text-primary:hover, .btn-text-primary:focus {
    text-decoration: underline;
    color: #145db2;
    background: rgba(24,119,243,0.08);
}

.btn-text-success {
    background: none;
    border: none;
    color: #25d366;
    box-shadow: none;
}
.btn-text-success:hover, .btn-text-success:focus {
    text-decoration: underline;
    color: #1da851;
    background: rgba(37,211,102,0.08);
}

.btn-text-danger {
    background: none;
    border: none;
    color: #ea4335;
    box-shadow: none;
}
.btn-text-danger:hover, .btn-text-danger:focus {
    text-decoration: underline;
    color: #b92d23;
    background: rgba(234,67,53,0.08);
}

.btn-text-warning {
    background: none;
    border: none;
    color: #f59e0b;
    box-shadow: none;
}
.btn-text-warning:hover, .btn-text-warning:focus {
    text-decoration: underline;
    color: #b45309;
    background: #f59e0b22;
}

.btn-text-info {
    background: none;
    border: none;
    color: #1da1f2;
    box-shadow: none;
}
.btn-text-info:hover, .btn-text-info:focus {
    text-decoration: underline;
    color: #177bbd;
    background: rgba(29,161,242,0.08);
}

.btn-text-dark {
    background: none;
    border: none;
    color: #000;
    box-shadow: none;
}
.btn-text-dark:hover, .btn-text-dark:focus {
    text-decoration: underline;
    color: #222;
    background: rgba(0,0,0,0.08);
}

/* Liquid blobs */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(8deg);
    }

    66% {
        transform: translate(-24px, 18px) rotate(-6deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: var(--blob-opacity);
    animation: float 22s infinite ease-in-out;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
    animation-delay: -12s;
}

/* Liquid glass surfaces - Enhanced effect */
.liquid-glass,
.glass-panel,
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .4s var(--ease-fluid),
        box-shadow .4s var(--ease-fluid),
        border-color .25s var(--ease-fast);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.glass-panel-light {
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced liquid shine effect */
.liquid-glass::before,
.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 45%,
            transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Inputs & Forms */
input,
select,
textarea,
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: all .25s var(--ease-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
    background: rgba(255, 255, 255, 0.35);
}

::placeholder {
    color: var(--text-muted);
}

/* Navbar */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-secondary);
    transition: all var(--ease-fast);
    border-radius: 2px;
}

/* Responsive nav */
@media (max-width: 968px) {
    .navbar-container {
        padding: 1rem;
        position: relative;
    }

    .navbar-content {
        position: fixed;
        z-index: 1;
        width: 100%;
        left: 0;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s var(--ease-fast);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        max-height: max-content;
        padding: 25px;
        gap: 5px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        display: flex;
        background: var(--navbar-bg);
    }

    .nav-link:hover {
        background: var(--glass-bg);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-links.open~.mobile-menu-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem;
    }
}

/* Hero */
.hero-section {
    background: radial-gradient(circle at center, var(--glass-bg) 0%, transparent 70%);
    padding: 8rem 1rem 6rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 15rem;
    top: 80px;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    font-family: 'Amita', sans-serif;
    margin-bottom: 1.5rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.container-objectif {
    margin-top: 280px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color .2s var(--ease-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Glass table */
.glass-table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    margin: 2rem 0;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.glass-table th {
    background: hsla(var(--accent-hue), 90%, 50%, 0.1);
    color: var(--accent-color);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.glass-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: background .2s var(--ease-fast), transform .2s var(--ease-fast);
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.002);
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.card-image {
    height: 320px;
    border-radius: 6px;
}

.btn-icon {
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Variantes de couleur pour les boutons outline (ex: réseaux sociaux) */
.btn-outline-primary {
    border-color: #1877f3;
    color: #1877f3;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: #1877f3;
    color: #fff;
    border-color: #145db2;
}

.btn-outline-success {
    border-color: #25d366;
    color: #25d366;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background: #25d366;
    color: #fff;
    border-color: #1da851;
}

.btn-outline-danger {
    border-color: #ea4335;
    color: #ea4335;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background: #ea4335;
    color: #fff;
    border-color: #b92d23;
}

.btn-outline-warning {
    border: 1px solid #f59e0b;
    color: #f59e0b;
    box-shadow: 0 4px 12px #f59e0b;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-outline-info {
    border-color: #1da1f2;
    color: #1da1f2;
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    background: #1da1f2;
    color: #fff;
    border-color: #177bbd;
}

.btn-outline-dark {
    border-color: #000;
    color: #000;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background: #000;
    color: #fff;
    border-color: #222;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 14px;
}

.btn-md {
    padding: 1.2rem 2.6rem;
    font-size: 24px;
}

.btn-lg {
    padding: 2rem 3rem;
    font-size: 36px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--text-muted);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    color: white;
}

.btn-white {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(0.95);
    color: var(--text-primary);
}

.btn-dark {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
    color: white;
}

.btn-liquid {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all .25s var(--ease-fast);
}

.btn-liquid:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Button Link Style */
.btn-link {
    background: transparent;
    border: none;
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    transition: all 0.2s var(--ease-fast);
    text-transform: none;
    letter-spacing: normal;
}

.btn-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
    background: transparent;
    transform: none;
    box-shadow: none;
    filter: none;
    opacity: 0.8;
}

.btn-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn-link.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--ease-fast);
}

.badge-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

/* Layout utilities */
.footer-grid {
    flex: 1;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: start;
}

.justify-end {
    justify-content: end;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-space-around {
    justify-content: space-around;
}

.align-center {
    align-items: center;
}

.align_content-center {
    align-content: center;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: var(--space-xs);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.card-transparent {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* Search & Filters */
.search-container {
    position: relative;
    display: flex;
    flex: 1;
}

.bloc-list {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.bloc-list h1 {
    margin: 0;
    padding: 0;
    font-size: 2.6rem;
}

.search-input {
    padding-left: 3rem !important;
}

.search-input input {
    width: 100%
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.search-clear {
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.btn-search {
    border-radius: 4px;
    padding: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Empty State */
.empty-state-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.empty-state-description {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* Form utilities */
.form-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Loading states */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Grid utilities */
.grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 968px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Spacing utilities */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-xs {
    margin-bottom: 0.5rem;
}

.mb-sm {
    margin-bottom: 1rem;
}

.mb-md {
    margin-bottom: 1.5rem;
}

.mb-lg {
    margin-bottom: 3rem;
}

.mt-sm {
    margin-top: 1rem;
}

.mt-md {
    margin-top: 1.5rem;
}

.mt-lg {
    margin-top: 3rem;
}

.my-sm {
    margin: 1rem 0;
}

.my-md {
    margin: 1.5rem 0;
}

.my-lg {
    margin: 3rem 0;
}

.p-xm {
    padding: .5rem;
}

.p-sm {
    padding: 1rem;
}

.p-md {
    padding: 2rem;
}

.p-lg {
    padding: 3rem;
}

.ml-lg {
    margin-left: 3rem;
}

.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

/* Typography & colors */
.text-danger {
    color: #ef4444;
}

.text-info {
    color: #06b6d4;
}

.text-success {
    color: #10b981;
}

.text-warning {
    color: #f59e0b;
}

.text-blue {
    color: #0b17f5;
}

.text-white {
    color: #e2e2eb;
}

.text-black {
    color: #000;
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-light {
    color: var(--text-light);
}

.fw-bold {
    font-weight: bold;
}

.p {
    font-size: 16px;
}

.span {
    font-size: 12px;
}

.h6 {
    font-size: 22px;
}

.h5 {
    font-size: 30px;
}

.h4 {
    font-size: 40px;
}

.h3 {
    font-size: 50px;
}

.h2 {
    font-size: 60px;
}

.h1 {
    font-size: 70px;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-card {
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.6s ease-out;
}

.w-100 {
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Branding */
.waeses-logo {
    font-family: Amita, Courier, monospace;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    transition: all 0.6s var(--ease-fluid);
}

.waeses-logo span:first-child {
    color: rgb(179, 4, 141);
    transition: all 0.6s var(--ease-fluid);
}

.waeses-logo span:last-child {
    color: rgb(8, 238, 131);
    transition: all 0.6s var(--ease-fluid);
}

.waeses-logo:hover {
    transform: scale(1.06);
    cursor: pointer;
    transition: all 0.6s var(--ease-fluid);
}

.waeses-logo:hover span:first-child {
    color: rgb(8, 238, 131);
    text-shadow: 0 0 10px rgb(8, 238, 131);
    transition: all 0.6s var(--ease-fluid);
}

.waeses-logo:hover span:last-child {
    color: rgb(179, 4, 141);
    text-shadow: 0 0 10px rgb(179, 4, 141);
    transition: all 0.6s var(--ease-fluid);
}

@media screen and (max-width:791px) {
    .waese-text {
        font-size: 16px;
        display: flex;
    }

    .bloc-list {
        flex-direction: column;
        align-content: center;
        gap: var(--space-xs);
    }

    .bloc-list h1 {
        font-size: 2rem;
    }

    .p {
        font-size: 14px;
    }

    .span {
        font-size: 12px;
    }

    .h6 {
        font-size: 16px;
    }

    .h5 {
        font-size: 22px;
    }

    .h4 {
        font-size: 28px;
    }

    .h3 {
        font-size: 34px;
    }

    .h2 {
        font-size: 40px;
    }

    .h1 {
        font-size: 46px;
    }
}

/* Admin layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: transparent;
}

.admin-drawer {
    width: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid var(--glass-border);
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform .28s var(--ease-fast);
    z-index: 1100;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow: hidden;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 300px;
}

.admin-appbar {
    height: 70px;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-content-body {
    flex: 1;
    padding: 0 2rem;
    overflow-y: auto;
    height: calc(100vh - 70px);
}

.drawer-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.drawer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
}

.drawer-nav::-webkit-scrollbar {
    width: 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .22s var(--ease-fast);
    font-weight: 500;
}

.drawer-link:hover {
    background: hsla(var(--primary-hue), 100%, 60%, 0.08);
    color: var(--accent-color);
    padding-left: 2.2rem;
}

.drawer-link.active {
    background: hsla(var(--accent-hue), 90%, 50%, 0.10);
    color: var(--accent-color);
    border-right: 3px solid var(--accent-color);
    padding-left: 2.2rem;
}

.admin-user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all .25s var(--ease-fast);
}

.admin-user-badge:hover {
    background: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.appbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drawer-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 968px) {
    .admin-drawer {
        position: fixed;
        left: -300px;
        height: 100vh;
        transform: translateX(0);
    }

    .nav-user-info {
        flex-direction: column;
        align-items: end;
        padding: var(--space-lg);
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .admin-drawer.open {
        transform: translateX(300px);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
    }

    .admin-main {
        margin-left: 0;
    }

    .drawer-toggle-btn {
        display: block;
    }

    .admin-appbar {
        padding: 0 1rem;
    }

    .drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(8px);
        z-index: 1050;
        display: none;
    }

    .drawer-overlay.open {
        display: block;
    }

    .admin-content-body {
        height: calc(100vh - 70px);
    }
}

/* User menu dropdown */
.user-menu-dropdown {
    animation: slideInDown 0.6s ease-out;
    position: absolute;
    top: 75px;
    right: 1rem;
    width: 100%;
    max-width: 360px;
    min-width: auto;
    padding: 1rem;
    z-index: 2001;
    gap: var(--space-xs);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s ease;
}

.user-menu-dropdown-content {
    position: fixed;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    left: 0;
    top: 0;
    z-index: 1200;
    width: 100%;
    height: 100vh;
}

.user-menu-dropdown::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}

/* MessageBox / Modal */
.messagebox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn .2s ease-out;
}

.messagebox {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-width: auto;
    max-width: 560px;
    max-height: 90vh;
    padding: 0.5rem 1.5rem;
    overflow-y: auto;
    animation: slideUp .28s var(--ease-fast);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.messagebox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.messagebox-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--accent-color);
}

.messagebox-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.messagebox-content {
    padding: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.messagebox-actions {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    justify-content: flex-end;
}

.messagebox-actions .btn {
    min-width: 100px;
}

@media (max-width: 640px) {
    .messagebox {
        width: 95%;
    }

    .messagebox-footer {
        flex-direction: column;
    }

    .messagebox-footer .btn {
        width: 100%;
        min-width: auto;
    }
}

/* ===========================
   Toast 3D Styles
   Liquid Glass Effect
   =========================== */

/* Container avec perspective 3D */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 400px;
    pointer-events: auto;
}

/* Toast item avec effet 3D */
.toast-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 4px;
    transform-style: preserve-3d;
    transform: translateZ(0) rotateX(0deg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.1);


    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    animation: slideInRight .28s var(--ease-fast);
}

/* Effet de survol 3D */
.toast-item:hover {
    transform: translateZ(20px) rotateX(2deg) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 6px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Reflet liquid glass sur les toasts */
.toast-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 200%;
    }
}

/* Barre de progression avec effet 3D */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
    animation: progress linear forwards;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
    transform: translateZ(5px);
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Icônes avec effet 3D et couleurs par type */
.toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateZ(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s var(--ease-fluid);
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-item:hover .toast-icon {
    transform: translateZ(25px) scale(1.1);
}

.toast-success .toast-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast-error .toast-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.toast-warning .toast-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.toast-info .toast-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

/* Contenu du toast */
.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.toast-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Bouton de fermeture avec effet 3D */
.toast-close,
.messagebox-close {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.25s var(--ease-fast);
    transform: translateZ(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.toast-close:hover,
.messagebox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transform: translateZ(15px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Animation d'entrée avec effet 3D */
@keyframes slideInRight3D {
    from {
        transform: translateX(400px) translateZ(-50px) rotateY(15deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateZ(0) rotateY(0deg);
        opacity: 1;
    }
}

.fade-in {
    animation: slideInRight3D .4s var(--ease-fluid);
}

/* Animation de sortie avec effet 3D */
@keyframes slideOutRight3D {
    to {
        transform: translateX(400px) translateZ(-50px) rotateY(-15deg);
        opacity: 0;
    }
}

.toast-item.exit {
    animation: slideOutRight3D .3s var(--ease-fast) forwards;
}

/* Responsive */
@media (max-width: 640px) {
    .toast-item {
        padding: 0.875rem;
    }
}

@media (max-width: 640px) {
    .toast-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 1rem;
        max-width: none;
    }
}

/* Icons */
.icon {
    display: inline-block;
    vertical-align: middle;
    color: inherit;
    margin: 0;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    user-select: none;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    transition: all .2s var(--ease-fast);
    font-weight: 500;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--glass-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.news-icon {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card {
    width: 100%;
    max-width: 350px;
    min-width: 260px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all .5s var(--ease-fast);
}

.news-card:hover {
    transform: scale(1.03);
    transition: all .5s var(--ease-fast);
}

.news-image-wrapper {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-fluid);
    border-radius: 8px;
    cursor: pointer;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-comment-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

.comment-item {
    border-left: 3px solid var(--accent-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-btn-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    z-index: 10;
}

.modal-body-wrapper {
    margin-top: 1.5rem;
    position: relative;
    width: 100%;
}

.bloc-image-detail {
    overflow: hidden;
    max-height: 400px;
}

.bloc-image-detail img {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
}

.bloc-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.bloc-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.bloc-author-1 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bloc-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bloc-author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.bloc-author-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.separator {
    border: none;
    height: 1px;
    background: var(--glass-border);
    margin: 2rem 0;
}

.comment-nbre {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Account pages */
.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.avatar-large.warning {
    color: #fca5a5;
}

.input-glass {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    border: 1px solid var(--blob-1);
    cursor: default;
    padding: 10px 20px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.avatar-large-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.avatar-edit-overlay {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    transition: transform .2s var(--ease-fast), background .2s var(--ease-fast);
    z-index: 10;
}

.avatar-edit-overlay:hover {
    transform: scale(1.1);
    background: var(--accent-hover);
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-left: 1rem;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}


/*Dashboard */

.dashboard-container {
    padding: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: var(--spacing-xl);
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Cartes de Statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

/* Grille Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.dashboard-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.btn-link:hover {
    opacity: 0.8;
}

.card-body {
    padding: var(--space-md);
}

/* Liste de Vérifications */
.verification-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.verification-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    transition: background 0.2s;
}

.verification-item:hover {
    background: var(--bg-tertiary);
}

.verification-icon {
    color: #10b981;
    font-size: 1.5rem;
}

.verification-info {
    flex: 1;
}

.verification-period {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.verification-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Graphique Progress */
.chart-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-bar-container {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: width 0.3s ease;
}

/* Liste de Missions */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mission-item {
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    transition: background 0.2s;
}

.mission-item:hover {
    background: var(--bg-tertiary);
}

.mission-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.mission-structure {
    font-weight: 600;
    color: var(--text-primary);
}

.mission-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Activités */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background: var(--accent-color);
}

.activity-icon.success {
    background: #10b981;
}

.activity-icon.warning {
    background: #f59e0b;
}

.activity-icon.danger {
    background: #ef4444;
}

.activity-content {
    flex: 1;
}

.activity-title {
    margin: 0 0 4px 0;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.activity-time {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Liens Rapides */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s, box-shadow 0.2s;
    gap: var(--spacing-sm);
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: var(--accent-color);
}

.quick-link-card svg {
    font-size: 2rem;
}

/* État vide */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

.empty-state svg {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: var(--spacing-sm);
}

.token-refresh-metrics {
    margin: var(--space-lg) 0;
}

.token-refresh-metrics .card-header h5 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.token-refresh-metrics .stats-grid {
    margin-bottom: 0;
}

.token-refresh-metrics .stat-value {
    font-size: 1.8rem;
}

.token-refresh-metrics .glass-card {
    padding: var(--space-md);
    min-height: 120px;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em;
}

.me-1 {
    margin-right: 0.25rem;
}

/* Animation pulsation pour le bouton en cours */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.token-refresh-metrics button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: pulse 1.5s infinite;
}

.token-refresh-metrics {
    margin: var(--space-lg) 0;
}

.token-refresh-metrics .card-header h5 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    flex-wrap: wrap;
}

.token-refresh-metrics .stats-grid {
    margin-bottom: 0;
}

.token-refresh-metrics .stat-value {
    font-size: 1.8rem;
}

.token-refresh-metrics .glass-card {
    padding: var(--space-md);
    min-height: 120px;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em;
}

.me-1 {
    margin-right: 0.25rem;
}

/* Badge réseau en ligne avec animation */
.network-online-badge {
    animation: pulse-online 2s infinite;
}

@keyframes pulse-online {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Alerte personnalisée */
.alert {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.alert-warning {
    border-left-color: #f59e0b;
    color: var(--text-secondary);
}

.alert strong {
    color: var(--text-primary);
    margin-right: var(--space-xs);
}

.alert p {
    margin: 0;
    font-size: 0.9rem;
}

/* Animation pulsation pour le bouton en cours */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.token-refresh-metrics button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: pulse 1.5s infinite;
}

.metrics-dashboard {
    padding: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.stat-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.25rem 0;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.event-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--glass-border);
    transition: all 0.2s var(--ease-fast);
}

.event-item:hover {
    transform: translateX(4px);
    box-shadow: var(--glass-shadow);
}

.event-item.event-success {
    border-left-color: #10b981;
}

.event-item.event-error {
    border-left-color: #ef4444;
}

.event-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.event-content {
    flex: 1;
}

.event-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 0.25rem;
}

.event-duration {
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.85rem;
}

.event-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.event-status {
    flex-shrink: 0;
}

.tooltip {
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: var(--bg-color);
    position: absolute;
    z-index: 1;
    top: 100%;
    /* Position au-dessus de l'image */
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ===========================
   Global Responsive Overrides
   =========================== */

@media (max-width: 768px) {
    :root {
        --space-lg: 2rem;
        --space-md: 1rem;
        --radius-lg: 16px;
    }

    .container {
        padding: 1rem;
    }

    .hero-section {
        padding: 6rem 1rem 4rem;
        margin-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .dashboard-container {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .glass-table th,
    .glass-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }

    .news-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .card,
    .liquid-glass {
        padding: 1.5rem;
    }

    .login-card {
        padding: 1rem;
    }

    .card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .stat-icon {
        margin-bottom: 0.5rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .bloc-title {
        font-size: 1.5rem;
    }

    .toast-container {
        width: auto;
        left: 1rem;
        right: 1rem;
    }
}
.span-point {
    color: var(--accent-color);
    font-size: 1.5rem;
    min-width: 24px;
}
.span-carre {
    background: var(--accent-color); 
    width: 12px; 
    height: 12px; 
    min-width: 12px; 
    border-radius: var(--radius-lg); 
    box-shadow: 0 0 15px var(--accent-color);
}
.icon-activity {
    font-size: 3.5rem;
    margin: var(--space-md);
    filter: drop-shadow(0 0 10px var(--accent-hover));
}
.span-carre {
    background: var(--accent-color); 
    width: 12px; 
    height: 12px; 
    min-width: 12px; 
    border-radius: var(--radius-lg); 
    box-shadow: 0 0 15px var(--accent-color);
}
.icon-activity {
    font-size: 3.5rem;
    margin: var(--space-md);
    filter: drop-shadow(0 0 20px var(--accent-hover));
}

/* ===========================
   Calendary 3D Styles
   Liquid Glass Effect
   =========================== */
.calendar {
    height: max-content;
    width: max-content;
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px;
}

.calendar-body {
    padding: 10px;
}

.calendar-week-day {
    height: 50px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: 600;
}

    .calendar-week-day div {
        display: grid;
        place-items: center;
        color: var(--text-muted);
    }

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    color: var(--text-primary);
}

    .calendar-days div {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        position: relative;
        cursor: pointer;
        animation: to-top 1s forwards;
    }

        /* Hover effects for span elements simulating borders */
        .calendar-days div span {
            position: absolute;
        }

        .calendar-days div:hover span {
            transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
        }

        .calendar-days div span:nth-child(1),
        .calendar-days div span:nth-child(3) {
            width: 2px;
            height: 0;
            background-color: var(--text-primary);
        }

        .calendar-days div:hover span:nth-child(1),
        .calendar-days div:hover span:nth-child(3) {
            height: 100%;
        }

        .calendar-days div span:nth-child(1) {
            bottom: 0;
            left: 0;
        }

        .calendar-days div span:nth-child(3) {
            top: 0;
            right: 0;
        }

        .calendar-days div span:nth-child(2),
        .calendar-days div span:nth-child(4) {
            width: 0;
            height: 2px;
            background-color: var(--text-primary);
        }

        .calendar-days div:hover span:nth-child(2),
        .calendar-days div:hover span:nth-child(4) {
            width: 100%;
        }

        .calendar-days div span:nth-child(2) {
            top: 0;
            left: 0;
        }

        .calendar-days div span:nth-child(4) {
            bottom: 0;
            right: 0;
        }

        .calendar-days div:hover span:nth-child(2) {
            transition-delay: 0.2s;
        }

        .calendar-days div:hover span:nth-child(3) {
            transition-delay: 0.4s;
        }

        .calendar-days div:hover span:nth-child(4) {
            transition-delay: 0.6s;
        }

        .calendar-days div.curr-date,
        .calendar-days div.curr-date:hover {
            background-color: #0a54b4;
            color: white;
            border-radius: 50%;
        }

            .calendar-days div.curr-date span {
                display: none;
            }

        .calendar-days div.selected,
        .calendar-days div.selected:hover {
            background-color: #09a772;
            color: white;
            border-radius: 50%;
        }

            .calendar-days div.selected span {
                display: none;
            }

.year-picker {
    display: flex;
    align-items: center;
}

.year-change {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 10px;
    cursor: pointer;
}

    .year-change:hover {
        background-color: rgb(187, 180, 180);
    }

.calendar-footer {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.datetime-picker {
    position: relative;
    width: fit-content;
    width: 100%;
    outline: none;
    /* Focus outline validation managed custom */
}
.input-glass.invalid {
    border-color: #e50000;
}

.input-glass.valid {
    border-color: #26b050;
}

.calendar-wrapper {
    position: sticky;
    top: calc(100% + 5px);
    left: 0;
    z-index: 1000;
    animation: fade-in 0.5s ease-out;
}

.calendar-days div.disabled {
    color: var(--text-muted);
    /* Greyed out */
    cursor: default;
    background-color: transparent;
    opacity: 0.5;
}

    .calendar-days div.disabled:hover {
        background-color: transparent;
        width: 50px;
        /* Reset hover expansion if any */
    }

/* Footer Actions */
.calendar-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-top: 1px solid var(--accent-hover);
    margin-top: 10px;
}

@keyframes to-top {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 450px) {
    .calendar {
        padding: 10px;
    }

    .calendar-days div {
        width: 35px;
        height: 35px;
    }

    .calendar-week-day {
        height: 30px;
    }

    .calendar-header {
        font-size: 20px;
        padding: 5px;
    }
}

/* TimePicker Styles */
.time-picker-body {
    display: flex;
    justify-content: center;
    gap: 10px;
    height: 250px;
    overflow: hidden;
}

.time-list {
    display: flex;
    flex-direction: column;
    width: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
    max-height: 100%;
}

.time-list-header {
    text-align: center;
    font-weight: 600;
    padding: 5px;
    background-color: var(--glass-bg);
    position: sticky;
    top: 0;
    z-index: 1;
}

.time-item {
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}

    .time-item:hover {
        background-color: rgb(187, 180, 180);
    }

    .time-item.selected {
        background-color: #09a772;
        color: white;
    }
.drawer-section-title {
    padding: 1.5rem 2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agent-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: var(--bg-color);
    transition: background 0.3s ease;
}

    .agent-card:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.agent-info {
    flex: 1;
}

.agent-name {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.agent-times,
.agent-fonction {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.agent-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

/* ===========================
   Classes Manquantes pour Formulaires
   =========================== */

/* Form Check - Checkboxes et Radio buttons */
.form-check {
    display: block;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.3rem;
    margin-left: -1.5rem;
    cursor: pointer;
    accent-color: var(--accent-color);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-xs);
    transition: all .25s var(--ease-fast);
}

.form-check-input:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}

/* Border utilities */
.border-primary {
    border-color: var(--accent-color) !important;
}

.border-secondary {
    border-color: rgba(17, 24, 39, 0.15) !important;
}

/* Background color utilities */
.bg-light-primary {
    background-color: hsla(var(--primary-hue), 90%, 50%, 0.1) !important;
}

/* Height utilities */
.h-100 {
    height: 100% !important;
}

/* Bootstrap Grid utilities */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.col-md-6 {
    flex: 0 0 50%;
    padding: 0.5rem;
}

.col-lg-4 {
    flex: 0 0 33.33333333%;
    padding: 0.5rem;
}

.g-3 {
    gap: 1rem !important;
}

/* Alert info variant */
.alert-info {
    border-left-color: #3b82f6;
    background: var(--glass-bg);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-info strong {
    color: #3b82f6;
}

/* Margin end utilities (Bootstrap equivalent) */
.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
    }
    .btn-sm, .btn-md, .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .col-lg-4 {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-4 {
        flex: 0 0 100%;
    }

    .form-check {
        padding-left: 1.2rem;
    }

    .row {
        margin-right: -0.25rem;
        margin-left: -0.25rem;
    }

    .col-md-6,
    .col-lg-4 {
        padding: 0.25rem;
    }
}