/* Variables globales et styles de base */
:root {
    /* Couleurs primaires */
    --primary-blue-dark: #0E2356;
    --primary-blue-medium: #1B2B65;
    --primary-blue-light: #00A3BE;
    --primary-blue-lightest: #4CBFD1;
    
    /* Couleurs secondaires */
    --secondary-blue-light: #00AFCB;
    --secondary-blue-lightest: #ECF3F9;
    
    /* Nuances de gris */
    --grey-lightest: #FCFCFC;
    --grey-lighter: #F1F8FB;
    --grey-light: #F3F4F7;
    --grey-medium-light: #EFF0F0;
    --grey-medium: #CFD3DD;
    --grey-dark: #8691AA;
    --grey-darker: #566589;
    
    /* Couleurs de base */
    --white: #FFFFFF;
    --black: #000000;
    
    /* Espacement */
    --spacing-xs: 8px;
    --spacing-s: 16px;
    --spacing-m: 24px;
    --spacing-l: 32px;
    --spacing-xl: 48px;
    
    /* Tailles de police */
    --font-size-xs: 12px;
    --font-size-s: 14px;
    --font-size-m: 16px;
    --font-size-l: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 34px;
    --font-size-xxxl: 48px;
    
    /* Rayons de bordure */
    --border-radius-xs: 4px;
    --border-radius-s: 8px;
    --border-radius-m: 16px;
    --border-radius-l: 24px;
    --border-radius-full: 50px;
    
    /* Transitions */
    --transition-default: all 0.2s ease;
    
    /* Z-index */
    --z-index-base: 1;
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal: 1040;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
}

/* Styles de base */
* {
    font-family: Avenir, sans-serif;
    box-sizing: border-box;
}

body {
    color: var(--primary-blue-dark);
    font-family: Avenir, sans-serif;
    font-size: var(--font-size-m);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary-blue-dark);
    text-decoration: none;
    transition: var(--transition-default);
}

a:hover {
    color: var(--primary-blue-medium);
}

hr {
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
    border: none;
    height: 1px;
    background-color: var(--grey-medium);
    width: 100%;
}

/* Titres */
.page-title {
    font-weight: 600;
    font-size: var(--font-size-xxxl);
    line-height: 1.25;
    color: var(--primary-blue-dark);
    margin-bottom: var(--spacing-l);
}

.page-subtitle {
    font-weight: 600;
    font-size: var(--font-size-xl);
    line-height: 1.25;
    color: var(--primary-blue-dark);
    margin-bottom: var(--spacing-m);
}

.sub-title {
    font-weight: 600;
    font-size: var(--font-size-l);
    line-height: 1.25;
    color: var(--primary-blue-dark);
    margin-bottom: var(--spacing-s);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px var(--spacing-xs);
    border-radius: var(--border-radius-xs);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.badge--success {
    background-color: rgba(0, 175, 203, 0.1);
    color: var(--secondary-blue-light);
}

.badge--warning {
    background-color: rgba(255, 175, 0, 0.1);
    color: #FFA500;
}

.badge--danger {
    background-color: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

/* Navigation */
.tab-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--grey-medium);
    margin-bottom: var(--spacing-m);
}

.tab {
    padding: 10px var(--spacing-s);
    color: var(--primary-blue-dark);
    text-decoration: none;
}

.tab--active {
    font-weight: 600;
    border-bottom: 4px solid var(--primary-blue-lightest);
}

/* Centre les conteneurs */
.center-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--grey-medium);
    border-radius: var(--border-radius-m);
    overflow: hidden;
    margin-bottom: var(--spacing-l);
}

.table thead th {
    padding: 11px 12px;
    background-color: var(--grey-medium);
    font-weight: 600;
    text-align: left;
    color: var(--primary-blue-dark);
    border-right: 1px solid var(--white);
}

.table thead th:last-child {
    border-right: none;
}

.table tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--grey-medium);
    border-right: 1px solid var(--grey-medium);
}

.table tbody td:last-child {
    border-right: none;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:nth-child(odd) {
    background-color: var(--white);
}

.table tbody tr:nth-child(even) {
    background-color: var(--grey-lighter);
}

/* Media queries */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: var(--font-size-xxl);
    }
    
    .page-subtitle {
        font-size: var(--font-size-l);
    }
    
    .table thead th, 
    .table tbody td {
        padding: var(--spacing-xs);
        font-size: var(--font-size-xs);
    }
    
    .button--large {
        padding: 8px var(--spacing-s);
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: var(--font-size-xl);
    }
    
    .page-subtitle {
        font-size: var(--font-size-m);
    }
    
    .button {
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }
} 