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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

input,
select,
textarea {
    color: #0f172a;
    background-color: #ffffff;
    caret-color: var(--brand-orange);
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

.auth-page input,
.auth-page select,
.auth-page textarea {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: inset 0 0 0 1px #cbd5e1;
}

.auth-page input:focus,
.auth-page select:focus,
.auth-page textarea:focus {
    border-color: transparent !important;
    box-shadow: inset 0 0 0 2px var(--brand-orange), 0 0 0 4px rgba(255, 107, 0, 0.12) !important;
}

.auth-page input::placeholder,
.auth-page textarea::placeholder {
    color: #94a3b8 !important;
}

html[data-theme="dark"] body {
    background-color: #0f172a;
    color: #e2e8f0;
}

html[data-theme="light"] .app-navbar {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

html.is-backoffice .app-navbar,
html.is-backoffice[data-theme="light"] .app-navbar {
    background-color: #020617 !important;
    border-color: #1e293b !important;
}

html[data-theme="light"] .app-navbar a,
html[data-theme="light"] .app-navbar button,
html[data-theme="light"] .app-navbar span {
    color: #1e293b !important;
}

html.is-backoffice .app-navbar a,
html.is-backoffice .app-navbar button,
html.is-backoffice .app-navbar span,
html.is-backoffice[data-theme="light"] .app-navbar a,
html.is-backoffice[data-theme="light"] .app-navbar button,
html.is-backoffice[data-theme="light"] .app-navbar span {
    color: #e2e8f0 !important;
}

html[data-theme="light"] .app-navbar .text-brand-orange {
    color: #FF6B00 !important;
}

html.is-backoffice .app-navbar .text-brand-orange,
html.is-backoffice[data-theme="light"] .app-navbar .text-brand-orange {
    color: #FF6B00 !important;
}

html[data-theme="light"] .app-theme-toggle {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html.is-backoffice .app-theme-toggle,
html.is-backoffice[data-theme="light"] .app-theme-toggle {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.app-navbar #notif-dropdown,
.app-navbar #notif-dropdown span,
.app-navbar #notif-dropdown p,
.app-navbar #notif-dropdown div {
    color: #ffffff !important;
}

.app-navbar #notif-dropdown .text-slate-400,
.app-navbar #notif-dropdown .text-slate-300,
.app-navbar #notif-dropdown .text-slate-200 {
    color: #e2e8f0 !important;
}

.app-navbar #notif-dropdown button {
    color: #fed7aa !important;
}

.app-navbar #notif-dropdown button:hover {
    color: #ffffff !important;
}

html[data-theme="dark"] aside,
html[data-theme="dark"] main,
html[data-theme="dark"] footer,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-slate-50,
html[data-theme="dark"] .bg-slate-50\/50,
html[data-theme="dark"] .bg-slate-50\/20 {
    background-color: #111827 !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .bg-amber-50,
html[data-theme="dark"] .bg-amber-50\/50,
html[data-theme="dark"] .bg-blue-50,
html[data-theme="dark"] .bg-blue-50\/50,
html[data-theme="dark"] .bg-indigo-50,
html[data-theme="dark"] .bg-indigo-50\/50,
html[data-theme="dark"] .bg-emerald-50,
html[data-theme="dark"] .bg-emerald-50\/50,
html[data-theme="dark"] .bg-sky-50,
html[data-theme="dark"] .bg-sky-50\/50,
html[data-theme="dark"] .bg-pink-50,
html[data-theme="dark"] .bg-pink-50\/50,
html[data-theme="dark"] .bg-purple-50,
html[data-theme="dark"] .bg-purple-50\/50,
html[data-theme="dark"] .bg-orange-50,
html[data-theme="dark"] .bg-orange-50\/50,
html[data-theme="dark"] .bg-red-50,
html[data-theme="dark"] .bg-red-50\/50,
html[data-theme="dark"] .bg-slate-100,
html[data-theme="dark"] .bg-slate-100\/50,
html[data-theme="dark"] .bg-slate-200,
html[data-theme="dark"] .bg-slate-200\/50 {
    background-color: rgba(30, 41, 59, 0.78) !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .bg-amber-100,
html[data-theme="dark"] .bg-blue-100,
html[data-theme="dark"] .bg-indigo-100,
html[data-theme="dark"] .bg-emerald-100,
html[data-theme="dark"] .bg-sky-100,
html[data-theme="dark"] .bg-pink-100,
html[data-theme="dark"] .bg-purple-100,
html[data-theme="dark"] .bg-orange-100,
html[data-theme="dark"] .bg-red-100,
html[data-theme="dark"] .bg-slate-300 {
    background-color: rgba(51, 65, 85, 0.86) !important;
    border-color: #475569 !important;
}

html[data-theme="dark"] .bg-white {
    box-shadow: none !important;
}

html[data-theme="dark"] table,
html[data-theme="dark"] thead,
html[data-theme="dark"] tbody,
html[data-theme="dark"] tr {
    border-color: #334155 !important;
}

html[data-theme="dark"] tr:hover {
    background-color: rgba(30, 41, 59, 0.65) !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background-color: #0f172a !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .text-slate-750,
html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-slate-650,
html[data-theme="dark"] .text-slate-600 {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-450,
html[data-theme="dark"] .text-slate-400,
html[data-theme="dark"] .text-slate-300,
html[data-theme="dark"] .text-slate-200,
html[data-theme="dark"] .text-slate-655,
html[data-theme="dark"] .text-slate-650 {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .text-amber-600,
html[data-theme="dark"] .text-amber-700,
html[data-theme="dark"] .text-amber-800 {
    color: #fbbf24 !important;
}

html[data-theme="dark"] .text-indigo-600,
html[data-theme="dark"] .text-indigo-700,
html[data-theme="dark"] .text-indigo-800,
html[data-theme="dark"] .text-indigo-650 {
    color: #a5b4fc !important;
}

html[data-theme="dark"] .text-blue-500,
html[data-theme="dark"] .text-blue-600,
html[data-theme="dark"] .text-blue-700,
html[data-theme="dark"] .text-blue-800,
html[data-theme="dark"] .text-sky-500,
html[data-theme="dark"] .text-sky-600,
html[data-theme="dark"] .text-sky-700,
html[data-theme="dark"] .text-sky-800 {
    color: #93c5fd !important;
}

html[data-theme="dark"] .text-emerald-600,
html[data-theme="dark"] .text-emerald-700,
html[data-theme="dark"] .text-emerald-800,
html[data-theme="dark"] .text-brand-green {
    color: #6ee7b7 !important;
}

html[data-theme="dark"] .text-orange-500,
html[data-theme="dark"] .text-orange-600,
html[data-theme="dark"] .text-orange-700,
html[data-theme="dark"] .text-orange-800,
html[data-theme="dark"] .text-brand-orange {
    color: #fdba74 !important;
}

html[data-theme="dark"] .text-purple-600,
html[data-theme="dark"] .text-purple-700,
html[data-theme="dark"] .text-purple-800 {
    color: #d8b4fe !important;
}

html[data-theme="dark"] .text-pink-600,
html[data-theme="dark"] .text-pink-700,
html[data-theme="dark"] .text-pink-800 {
    color: #f9a8d4 !important;
}

html[data-theme="dark"] .text-red-600,
html[data-theme="dark"] .text-red-700,
html[data-theme="dark"] .text-red-800,
html[data-theme="dark"] .text-red-650,
html[data-theme="dark"] .text-red-750 {
    color: #fca5a5 !important;
}

html[data-theme="dark"] .divide-slate-100 > :not([hidden]) ~ :not([hidden]) {
    border-color: #334155 !important;
}

html[data-theme="dark"] .border-slate-100,
html[data-theme="dark"] .border-slate-150,
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-slate-250,
html[data-theme="dark"] .border-slate-300,
html[data-theme="dark"] .border-slate-350 {
    border-color: #334155 !important;
}

html[data-theme="dark"] .border-amber-100,
html[data-theme="dark"] .border-amber-200,
html[data-theme="dark"] .border-blue-100,
html[data-theme="dark"] .border-blue-200,
html[data-theme="dark"] .border-indigo-100,
html[data-theme="dark"] .border-indigo-200,
html[data-theme="dark"] .border-emerald-100,
html[data-theme="dark"] .border-emerald-200,
html[data-theme="dark"] .border-sky-100,
html[data-theme="dark"] .border-sky-200,
html[data-theme="dark"] .border-pink-100,
html[data-theme="dark"] .border-pink-200,
html[data-theme="dark"] .border-purple-100,
html[data-theme="dark"] .border-purple-200,
html[data-theme="dark"] .border-orange-100,
html[data-theme="dark"] .border-orange-200,
html[data-theme="dark"] .border-red-100,
html[data-theme="dark"] .border-red-200 {
    border-color: #475569 !important;
}

html[data-theme="dark"] .shadow-sm,
html[data-theme="dark"] .shadow,
html[data-theme="dark"] .shadow-md,
html[data-theme="dark"] .shadow-lg,
html[data-theme="dark"] .shadow-xl,
html[data-theme="dark"] .shadow-2xl {
    --tw-shadow-color: rgba(0, 0, 0, 0.45) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Signature Pad container */
.signature-container {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    position: relative;
    background: #ffffff;
    height: 200px;
    width: 100%;
}
.signature-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Custom micro-animations */
.hover-scale {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-scale:hover {
    transform: translateY(-3px) scale(1.01);
}

.footer-logo-badge {
    width: fit-content;
    max-width: 13rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.875rem;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.footer-logo-img {
    display: block;
    width: auto;
    height: 3rem;
    max-width: 11.5rem;
    object-fit: contain;
}

.footer-socials,
.footer-socials *,
#footer-cadenas-container,
#footer-cadenas-container button {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
}

.footer-social-link,
#footer-cadenas-container button,
.footer-lock-button {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover,
#footer-cadenas-container button:hover,
.footer-lock-button:hover {
    transform: translateY(-2px);
    background: #FF6B00 !important;
    border-color: #FF6B00 !important;
}

#footer-cadenas-container button,
.footer-lock-button {
    position: relative;
    font-size: 0 !important;
    opacity: 1 !important;
}

#footer-cadenas-container button::before,
.footer-lock-button::before {
    content: "\1F512";
    display: block;
    font-size: 0.95rem;
    line-height: 1;
}

#footer-cadenas-container button i,
.footer-lock-button i {
    display: none !important;
}

.pulsate {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Active links style */
.sidebar-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.16), rgba(255, 107, 0, 0.04));
    opacity: 0;
    transform: translateX(-18px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.sidebar-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0;
    border-radius: 999px;
    background: #FF6B00;
    transform: translateY(-50%);
    transition: height 0.24s ease;
}

.sidebar-link i {
    transition: transform 0.22s ease, color 0.22s ease, filter 0.22s ease;
}

.sidebar-link:hover {
    transform: translateX(5px);
    color: #FF6B00 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-link:hover::after,
.sidebar-link.active::after {
    height: 58%;
}

.sidebar-link:hover i {
    transform: translateX(2px) scale(1.12) rotate(-3deg);
    color: #FF6B00;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 0, 0.22));
}

.sidebar-link.active {
    background-color: rgba(255, 107, 0, 0.1);
    color: #FF6B00;
    border-left-color: #FF6B00;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.08);
}

.backoffice-sidebar,
html[data-theme="dark"] .backoffice-sidebar {
    background-color: #020617 !important;
    border-color: #1e293b !important;
}

.backoffice-sidebar .sidebar-link {
    color: #cbd5e1 !important;
}

.backoffice-sidebar .sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.backoffice-sidebar .sidebar-link::before {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.24), rgba(255, 255, 255, 0.04));
}

.backoffice-sidebar .sidebar-link.active {
    background-color: rgba(255, 107, 0, 0.16) !important;
    color: #FF6B00 !important;
}

#sidebar.sidebar-collapsed .sidebar-link:hover {
    transform: translateX(0) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-link,
    .sidebar-link::before,
    .sidebar-link::after,
    .sidebar-link i {
        transition: none !important;
    }

    .sidebar-link:hover,
    #sidebar.sidebar-collapsed .sidebar-link:hover {
        transform: none !important;
    }
}

.backoffice-sidebar .text-slate-400,
.backoffice-sidebar .text-slate-600,
.backoffice-sidebar .text-slate-800 {
    color: #94a3b8 !important;
}

.backoffice-sidebar .bg-slate-50\/50 {
    background-color: rgba(15, 23, 42, 0.75) !important;
}

/* --- Sidebar Collapse (desktop) --- */
#sidebar {
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-shrink: 0;
}

/* Collapsed state */
#sidebar.sidebar-collapsed {
    width: 4rem !important;
    min-width: 4rem !important;
}

/* Hide text labels in links via font-size trick (text nodes can't be targeted by CSS selectors) */
#sidebar.sidebar-collapsed .sidebar-link {
    font-size: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

#sidebar.sidebar-collapsed .sidebar-link i {
    font-size: 1rem !important;
}

/* Hide ALL sidebar section labels and sub-labels */
#sidebar.sidebar-collapsed .sidebar-section-label,
#sidebar.sidebar-collapsed span.sidebar-section-label,
#sidebar.sidebar-collapsed > div > div:first-child > .md\:hidden,
#sidebar.sidebar-collapsed p,
#sidebar.sidebar-collapsed .bg-slate-50\/50 > div > div {
    display: none !important;
}

/* Hide the section header div text but keep the burger button */
#sidebar.sidebar-collapsed [class*="sidebar-header-label"] span,
#sidebar.sidebar-collapsed .sidebar-section-label,
#sidebar.sidebar-collapsed span.text-xs.font-semibold.text-slate-400 {
    display: none !important;
}

/* Center the burger toggle button when collapsed */
#sidebar.sidebar-collapsed #sidebar-header-label,
#sidebar.sidebar-collapsed .flex.items-center.justify-between.px-3 {
    justify-content: center;
}

/* Center sidebar links and remove gap */
#sidebar.sidebar-collapsed .sidebar-link {
    justify-content: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    gap: 0 !important;
}

/* Make sure icon is centered */
#sidebar.sidebar-collapsed .sidebar-link i {
    margin: 0 !important;
    width: auto !important;
}

/* Hide support info at bottom */
#sidebar.sidebar-collapsed .border-t.border-slate-100 {
    display: none !important;
}

/* --- CODITRANS Style & Animations --- */

/* Variables de couleur */
:root {
    --brand-orange: #FF6B00;
    --brand-orange-hover: #E05E00;
    --brand-green: #1E5E3A;
    --brand-green-hover: #16462B;
    --brand-green-light: #28A745;
}

/* Animations d'entrée (Fade In Up) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.delay-reveal-1 {
    transition-delay: 80ms;
}

.scroll-reveal.delay-reveal-2 {
    transition-delay: 160ms;
}

.scroll-reveal.delay-reveal-3 {
    transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Menu public interactif */
.nav-link-public {
    position: relative;
    padding-bottom: 4px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link-public::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.nav-link-public:hover::after,
.nav-link-public.active::after {
    width: 100%;
}

.nav-link-public.active {
    color: var(--brand-orange) !important;
}

/* Carrousel d'arrière-plan du Hero */
.hero-carousel-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
}

/* Boutons premium */
.btn-brand-orange {
    background-color: var(--brand-orange);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-brand-orange:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.3);
}

.btn-brand-green {
    background-color: var(--brand-green);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-brand-green:hover {
    background-color: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 94, 58, 0.3);
}

/* Cadenas Dropdown Portal */
.cadenas-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    width: 14rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    animation: fadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cadenas-dropdown-menu.show {
    display: block;
}

html[data-theme="dark"] .cadenas-dropdown-menu {
    background-color: #111827;
    border-color: #334155;
}

.cadenas-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="dark"] .cadenas-item {
    color: #e2e8f0;
}

.cadenas-item:hover {
    background-color: #f3f4f6;
    color: var(--brand-orange);
}

html[data-theme="dark"] .cadenas-item:hover {
    background-color: #1f2937;
    color: var(--brand-orange);
}

/* Effets de cartes premium */
.card-premium {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] .card-premium {
    background-color: #111827;
    border-color: #334155;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 107, 0, 0.4);
}

/* --- Responsive amélioré --- */

.table-responsive-wrapper {
    -webkit-overflow-scrolling: touch;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        padding: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 1rem;
        background: #ffffff;
    }

    .responsive-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.5rem 0;
        border: none;
        text-align: right;
    }

    .responsive-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #94a3b8;
        text-align: left;
        flex-shrink: 0;
    }

    .responsive-table tbody td:first-child {
        padding-top: 0;
    }

    .responsive-table tbody td:last-child {
        padding-bottom: 0;
        justify-content: flex-end;
    }

    .responsive-table tbody td[colspan] {
        display: block;
        text-align: center;
    }

    .responsive-table tbody td[colspan]::before {
        display: none;
    }

    #public-mobile-menu {
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
    }

    .card-premium {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .btn-brand-green,
    .btn-brand-orange {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
