/* ===== Variables CSS ===== */
:root {
    /* Couleurs de base */
    --theme-color: #3b82f6;
    --theme-mode: light;
    
    /* Couleurs claires - Design moderne */
    --bg-primary-light: #ffffff;
    --bg-secondary-light: #f5f7fa;
    --bg-tertiary-light: #e8ecf1;
    --text-primary-light: #1a202c;
    --text-secondary-light: #64748b;
    --border-light: rgba(203, 213, 225, 0.5);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --glass-bg-light: rgba(255, 255, 255, 0.75);
    --glass-border-light: rgba(255, 255, 255, 0.3);
    
    /* Couleurs sombres - Design moderne */
    --bg-primary-dark: #0f1419;
    --bg-secondary-dark: #1a1f2e;
    --bg-tertiary-dark: #252b3b;
    --text-primary-dark: #f1f5f9;
    --text-secondary-dark: #94a3b8;
    --border-dark: rgba(51, 65, 85, 0.5);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --glass-bg-dark: rgba(26, 31, 46, 0.75);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    
    /* Application des couleurs selon le thème */
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --bg-tertiary: var(--bg-tertiary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --border-color: var(--border-light);
    --shadow-color: var(--shadow-light);
    --glass-bg: var(--glass-bg-light);
    --glass-border: var(--glass-border-light);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--theme-color), #6366f1);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-mesh: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Z-index */
    --z-loader: 9999;
    --z-modal-base: 1050;
    --z-toast: 10000;
    --z-bottom-sheet: 1050;
    
    /* Espacements modernes */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Bordures arrondies */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Thème sombre */
[data-theme="dark"] {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --bg-tertiary: var(--bg-tertiary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --border-color: var(--border-dark);
    --shadow-color: var(--shadow-dark);
    --glass-bg: var(--glass-bg-dark);
    --glass-border: var(--glass-border-dark);
}

/* ===== Styles de base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Loader Global ===== */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: var(--z-loader);
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-loader.active {
    display: flex;
}

.global-loader .spinner-border {
    width: 3.5rem;
    height: 3.5rem;
    border-width: 4px;
    border-color: var(--theme-color);
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Navigation ===== */
.navbar-themed {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: 0 4px 24px var(--shadow-color);
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-themed .navbar-brand {
    color: var(--theme-color);
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-themed .navbar-brand:hover {
    transform: scale(1.03);
}

.navbar-themed .navbar-brand i {
    font-size: 1.5rem;
}

.navbar-themed .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-themed .nav-link.active {
    color: var(--theme-color);
    background: var(--bg-secondary);
}

.navbar-themed .nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar-themed .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--theme-color);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-themed .nav-link:hover {
    color: var(--theme-color);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.navbar-themed .nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar-themed .user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-themed .user-info:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.navbar-themed .user-avatar {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px var(--shadow-color));
}

.navbar-themed .user-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Navigation Mobile (Bottom Bar) ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 24px var(--shadow-color);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item span {
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-nav-item.active {
    color: var(--theme-color);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

.mobile-nav-item:not(.active):active {
    transform: scale(0.95);
}

.mobile-user-avatar {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px var(--shadow-color));
}

/* Menu utilisateur mobile */
.mobile-user-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
}

.mobile-user-menu.active {
    display: block;
}

.mobile-user-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.mobile-user-menu-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    border-bottom: none;
    padding: 2rem 1.5rem;
    animation: slideUpScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-user-avatar-large {
    font-size: 3rem;
    filter: drop-shadow(0 2px 8px var(--shadow-color));
}

.mobile-user-header h5 {
    margin: 0;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.mobile-user-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.mobile-user-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-user-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-user-action:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.mobile-user-action i {
    font-size: 1.25rem;
}

.mobile-user-action.text-danger {
    color: #ef4444;
}

.mobile-user-action.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===== Contenu principal ===== */
.main-content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    min-height: calc(100vh - 80px);
}

.main-content.has-nav {
    min-height: calc(100vh - 80px);
}

@media (max-width: 991px) {
    .main-content.has-nav {
        padding-bottom: 6rem; /* Espace pour la bottom bar mobile */
        min-height: calc(100vh - 80px);
    }
}

/* ===== Modal System ===== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal-base);
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal.active {
    display: flex;
}

.modal-content-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUpScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header-custom {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
}

.modal-title-custom {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-close-btn {
    background: var(--bg-secondary);
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close-btn:hover {
    background: var(--theme-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.modal-body-custom {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body-custom::-webkit-scrollbar {
    width: 8px;
}

.modal-body-custom::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.modal-body-custom::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.modal-body-custom::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color);
}

.modal-footer-custom {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
}

/* ===== Bottom Sheet (Mobile) ===== */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-bottom: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: var(--z-bottom-sheet);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.bottom-sheet.active {
    transform: translateY(0);
}

.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: calc(var(--z-bottom-sheet) - 1);
}

.bottom-sheet-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet-handle {
    width: 48px;
    height: 5px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    margin: 1rem auto 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-sheet:active .bottom-sheet-handle {
    width: 56px;
    background: var(--theme-color);
}

.bottom-sheet-header {
    padding: 0.75rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.bottom-sheet-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.bottom-sheet-body {
    padding: 1.75rem;
    overflow-y: auto;
    flex: 1;
}

.bottom-sheet-body::-webkit-scrollbar {
    width: 6px;
}

.bottom-sheet-body::-webkit-scrollbar-track {
    background: transparent;
}

.bottom-sheet-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

/* ===== Toast Notifications ===== */
.toast-custom {
    min-width: 320px;
    max-width: 420px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid var(--theme-color);
    position: relative;
    overflow: hidden;
}

.toast-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--theme-color), transparent);
    animation: slideDown 2s ease-in-out infinite;
}

@keyframes slideDown {
    0%, 100% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
}

.toast-custom.success {
    border-left-color: #10b981;
}

.toast-custom.success::before {
    background: linear-gradient(180deg, transparent, #10b981, transparent);
}

.toast-custom.error {
    border-left-color: #ef4444;
}

.toast-custom.error::before {
    background: linear-gradient(180deg, transparent, #ef4444, transparent);
}

.toast-custom.warning {
    border-left-color: #f59e0b;
}

.toast-custom.warning::before {
    background: linear-gradient(180deg, transparent, #f59e0b, transparent);
}

.toast-custom.info {
    border-left-color: #3b82f6;
}

.toast-custom.info::before {
    background: linear-gradient(180deg, transparent, #3b82f6, transparent);
}

.toast-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.toast-custom.success .toast-icon {
    color: #10b981;
}

.toast-custom.error .toast-icon {
    color: #ef4444;
}

.toast-custom.warning .toast-icon {
    color: #f59e0b;
}

.toast-custom.info .toast-icon {
    color: #3b82f6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.toast-close {
    background: var(--bg-secondary);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.125rem;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--theme-color);
    color: white;
    transform: scale(1.1) rotate(90deg);
}

/* ===== Confirmation Dialog ===== */
.confirm-dialog {
    text-align: center;
    padding: 1rem;
}

.confirm-dialog-icon {
    font-size: 4rem;
    color: var(--theme-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3));
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.confirm-dialog-icon.warning {
    color: #f59e0b;
    filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.3));
}

.confirm-dialog-icon.danger {
    color: #ef4444;
    filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.3));
}

.confirm-dialog-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.confirm-dialog-message {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== Boutons ===== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--theme-color);
    transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { 
        opacity: 0;
    }
    to { 
        opacity: 1;
    }
}

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

@keyframes slideUpScale {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Mobile ===== */
@media (max-width: 768px) {
    .custom-modal {
        display: none !important;
    }
    
    .main-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .navbar-themed .user-name {
        display: none;
    }
    
    .toast-custom {
        min-width: auto;
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
    }
    
    .navbar-themed {
        padding: 0.75rem 0;
    }
    
    .navbar-themed .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

/* ===== Utilitaires ===== */
.page-header {
    margin-bottom: 2.5rem;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cartes modernes */
.card-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px var(--shadow-color);
}

/* Effet de survol pour liens et boutons */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color);
}

/* Selection de texte */
::selection {
    background: var(--theme-color);
    color: white;
}

::-moz-selection {
    background: var(--theme-color);
    color: white;
}
