/* -------------------- HEADER / MENU -------------------- */
.header {
    background: #1e88e5;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 70px; /* ajuster selon la hauteur du menu */
}

.header-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 9999;
}

body {
    padding-top: 70px;
}


[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .table th,
[dir="rtl"] .table td {
    text-align: right;
}


.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.menu a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* -------------------- SLIDER -------------------- */
#slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* derrière le contenu */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

/* Bannière texte sur slider */
.slider-banner-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    z-index: 10;
}


/* -------------------- FORMULAIRE -------------------- */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 420px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}

button {
    width: 100%;
    padding: 12px;
    background: #003366;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover { background: #00224d; }

/* -------------------- TABLE -------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

table th, table td {
    border: 1px solid #bdc3c7;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #34495e;
    color: white;
}
table tr:nth-child(even) { background-color: #f2f2f2; }
/* ===== MENU MOBILE PREMIUM ===== */
@media (max-width: 768px) {

    /* Offcanvas largeur */
    .offcanvas {
        width: 85%;
        max-width: 320px;
        background: linear-gradient(180deg, #0d1117, #1f2933);
        color: #fff;
    }

    /* Titre */
    .offcanvas-title {
        font-size: 1.4rem;
        font-weight: bold;
    }
    .navbar {
    position: relative;
    }

    /* Liens */
    .navbar-nav .nav-link {
        font-size: 1.15rem;
        padding: 14px 18px;
        border-radius: 10px;
        margin-bottom: 6px;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.12);
    }

    /* Dropdown */
    .dropdown-menu {
        background: transparent;
        border: none;
        padding-left: 15px;
    }

    .dropdown-item {
        font-size: 1.05rem;
        color: #ddd;
        padding: 10px 15px;
    }

    .dropdown-item:hover {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

    /* Bouton burger */
    .navbar-toggler {
        padding: 10px 14px;
        border: 2px solid rgba(255,255,255,0.6);
    }
}

    /* Offcanvas largeur */
    .offcanvas {
        width: 85%;
        max-width: 320px;
        background: linear-gradient(180deg, #0d1117, #1f2933);
        color: #fff;
    }

    /* Titre */
    .offcanvas-title {
        font-size: 1.4rem;
        font-weight: bold;
    }
    .navbar {
    position: relative;
    }

    /* Liens */
    .navbar-nav .nav-link {
        font-size: 1.15rem;
        padding: 14px 18px;
        border-radius: 10px;
        margin-bottom: 6px;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.12);
    }

    /* Dropdown */
    .dropdown-menu {
        background: transparent;
        border: none;
        padding-left: 15px;
    }

    .dropdown-item {
        font-size: 1.05rem;
        color: #ddd;
        padding: 10px 15px;
    }

    .dropdown-item:hover {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

    /* Bouton burger */
    .navbar-toggler {
        padding: 10px 14px;
        border: 2px solid rgba(255,255,255,0.6);
    }






