/* =========================================
   Variables
   ========================================= */
:root {
    /* Palette de couleurs */
    --primary: #2563eb;         /* Bleu plus */
    --primary-light: #60a5fa;   /* Bleu clair */
    --secondary: #7c3aed;       /* Violet pour accent */
    --success: #059669;         /* Vert plus sombre */
    --warning: #d97706;         /* Orange ajusté */
    --info: #0284c7;            /* Bleu info */
    --dark: #1e293b;            /* Gris foncé */
    --light: #f8fafc;           /* Blanc cassé */
    --border: #e2e8f0;          /* Gris clair */
    --text-primary: #334155;    /* Texte principal */
    --text-secondary: #64748b;  /* Texte secondaire */
    --background: #f1f5f9;      /* Fond principal */
    --card-bg: #ffffff;         /* Fond des cartes */

    /* Typographie */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --transition-speed: 0.2s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Rayons de bordure */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;

    /* Espacement */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}


.table th {
    background-color: #f8fafc;
    color: var(--text-primary);
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-pills {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    border: 1px solid var(--border);
    list-style: none;
}


.btn-disconnect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
