/* --- PAHEKO 2026 : BLUE EDITION (FULL CODE) --- */

:root {
    --gMainColor: 0, 102, 204; /* Bleu Profond */
    --gSecondColor: 135, 206, 250; /* Bleu Ciel */
    --radius-lg: 16px;
    --radius-md: 10px;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Structure de la page */
body {
    background-attachment: fixed !important;
    background-size: cover !important;
    display: flex !important;
    margin: 0 !important;
    min-height: 100vh;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Menu Latéral (Sidebar) - Passage au Bleu Profond */
#menu {
    position: sticky;
    top: 0;
    height: 100vh;
    min-width: 260px;
    background: linear-gradient(180deg, #004488 0%, #0066cc 100%) !important;
    backdrop-filter: blur(15px);
    border-right: 1px solid var(--glass-border);
    padding: 25px 15px !important;
    flex-shrink: 0;
}

#menu ul li a {
    border-radius: var(--radius-md);
    padding: 12px 15px !important;
    transition: all 0.2s ease;
    display: block;
    color: rgba(255, 255, 255, 0.9) !important;
}

#menu ul li.current a, #menu ul li a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(5px);
}

/* Zone de Contenu Principale */
main#content {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin: 20px !important;
    padding: 35px !important;
    box-shadow: var(--shadow);
    max-width: calc(100vw - 320px);
    overflow-y: auto;
}

/* Titres */
h1.main {
    font-weight: 800;
    color: #0066cc;
    font-size: 2rem;
    margin-top: 0;
}

/* Onglets (Tabs) - Utilisation du Bleu Ciel */
nav.tabs ul {
    border: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

nav.tabs ul li a {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-size: 0.9rem;
    color: #555 !important;
}

nav.tabs ul li.current a {
    background: #87CEFA !important; /* Bleu Ciel */
    color: #004488 !important;
    border-color: #87CEFA !important;
    font-weight: bold;
}

/* Tableaux */
table.list td, table.list th {
    background: white;
    padding: 15px !important;
    border: none !important;
}

table.list tr td:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
table.list tr td:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* Boutons & RàZ */
button.main {
    background: #0066cc !important;
    border-radius: var(--radius-md) !important;
    color: white !important;
    padding: 10px 20px !important;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.resetButton {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #999 !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    padding: 4px 12px !important;
    margin-left: 10px;
    box-shadow: none !important;
    transition: 0.2s;
}

.resetButton:hover {
    background: #fff !important;
    color: #ff4444 !important;
    border-color: #ff4444 !important;
}

/* Correction Inputs Couleur */
input[type="color"] {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    height: 40px;
    width: 60px;
    cursor: pointer;
    background: white;
}