/* ============================================================
   VOLDEO — DESIGN SYSTEM GLOBAL
   ============================================================ */

/* ==============================
   VARIABLES GLOBALES
============================== */

:root {
    --bleu-principal: #002147;
    --bleu-hover: #001b36;

    --vert-club: #2d7b2d;
    --vert-hover: #1e5d1e;

    --jaune-dgac: #ffcc00;
    --jaune-hover: #e6b800;

    --gris-clair: #f5f5f5;
    --blanc: #ffffff;
    --ombre: rgba(0, 0, 0, 0.1);
}

/* ==============================
   TYPOGRAPHIE & BASE
============================== */

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

/* Fond par interface */

.body-pilote {
    background: linear-gradient(to bottom, #dde8f0, #f5f5f5);
}

.body-club {
    background: linear-gradient(to bottom, #d6ecd6, #f5f5f5);
}

.body-fede {
    background: linear-gradient(to bottom, #fff2cc, #f5f5f5);
}

/* ==============================
   TITRES & LIENS
============================== */

h1, h2, h5, h6 {
    color: var(--bleu-principal);
}

h3, h4 {
    color: #ff0000;
}

a {
    color: var(--bleu-principal);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==============================
   CONTAINER CENTRAL
============================== */

.container-center {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 8px var(--ombre);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* ==============================
   LOGO
============================== */

.logo-title-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo-voldeo {
    max-width: 220px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-voldeo:hover {
    transform: scale(1.03);
}

.img-footer {
    max-height: 40px;
    height: auto;
}

/* ==============================
   FORMULAIRES
============================== */

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
}

/* ==============================
   BOUTON PRINCIPAL (Login & autres)
============================== */

.btn-primary {
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

/* Couleur selon interface */

.body-pilote .btn-primary {
    background-color: var(--bleu-principal);
}

.body-pilote .btn-primary:hover {
    background-color: var(--bleu-hover);
}

.body-club .btn-primary {
    background-color: var(--vert-club);
}

.body-club .btn-primary:hover {
    background-color: var(--vert-hover);
}

.body-fede .btn-primary {
    background-color: var(--jaune-dgac);
    color: black;
}

.body-fede .btn-primary:hover {
    background-color: var(--jaune-hover);
}

/* ==============================
   TEXTE DE FOND (CARD BACKGROUND)
============================== */

.card-bg-text {
    position: relative;
    text-align: center;
    font-size: 3.3rem;
    font-weight: 900;
    opacity: 0.1;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    margin-bottom: -10px;
}

.body-pilote .card-bg-text {
    color: var(--bleu-principal);
}

.body-club .card-bg-text {
    color: var(--vert-club);
}

.body-fede .card-bg-text {
    color: var(--jaune-dgac);
}

/* ==============================
   FOOTER NAVIGATION
============================== */

.footer-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    background: #f9f9f9;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 15px;
}

.footer-link {
    color: #666;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease-in-out;
}

.footer-link i {
    font-size: 14px;
    margin-bottom: 3px;
}

.footer-link.active {
    color: var(--bleu-principal);
    border-bottom: 2px solid var(--bleu-principal);
}

/* ==============================
   ACCESSIBILITY BUTTON
============================== */

.accessibility-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: var(--bleu-principal);
    background: none;
    border: none;
    cursor: pointer;
}

.accessibility-btn:hover {
    color: #ff0000;
}

/* ==============================
   HR DESIGN
============================== */

hr {
    border: none;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(0, 33, 71, 0.2),
        rgba(0, 33, 71, 0.7),
        rgba(0, 33, 71, 0.2)
    );
    margin: 10px auto;
    width: 50%;
    border-radius: 10px;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 768px) {
    .container-center {
        padding: 1.5rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        font-size: 11px;
        padding: 6px 0;
    }

    .footer-link i {
        font-size: 13px;
    }

    .card-bg-text {
        font-size: 3.5rem;
    }
}

body.theme-club {
    background: linear-gradient(
        180deg,
        #e8f3ec 0%,
        #f5faf7 100%
    );
}

/* ==============================
   BADGES ROLE UTILISATEUR
============================== */

.badge-role {
    font-size: 0.75rem;
    padding: 5px 8px;
    border-radius: 6px;
    margin-left: 6px;
}

/* Pilote */

.badge-role-pilote {
    background: #3498db;
    color: white;
}

/* Instructeur */

.badge-role-instructeur {
    background: #8e44ad;
    color: white;
}

/* Gestionnaire */

.badge-role-gestionnaire {
    background: #f1c40f;
    color: #000;
}

/* DGAC */

.badge-role-dgac {
    background: #e74c3c;
    color: white;
}

/* Administrateur */

.badge-role-admin {
    background: #2c3e50;
    color: white;
}