* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* =========================
   BASE
========================= */
body {
    background-color: #0f0f0f;
    color: #bdbdbd;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================
   HEADER
========================= */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #222;
    background-color: #111;
}

header img {
    height: 50px;
}

/* =========================
   MENU LATÉRAL
========================= */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background-color: #111;
    padding-top: 100px;
    transition: left 0.3s ease;
    z-index: 1000;
    border-right: 1px solid #222;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 15px 20px;
    transition: background 0.2s ease;
}

.sidebar ul li a {
    color: #bdbdbd;
    text-decoration: none;
}

.sidebar ul li:hover {
    background-color: #1a1a1a;
}

.sidebar ul li:hover a {
    color: #ffffff;
}

/* =========================
   BOUTON MENU
========================= */
.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1100;
    color: #bdbdbd;
}

/* =========================
   CONTENU
========================= */
main {
    flex: 1;
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

main h1 {
    margin-bottom: 20px;
    font-size: 2rem;
}

main p {
    line-height: 1.6;
    color: #bdbdbd;
    margin-bottom: 15px;
}

/* =========================
   FORMULAIRES
========================= */
form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* =========================
   INPUT / TEXTAREA / SELECT
========================= */
input,
textarea,
select {
    width: 100%;
    max-width: 520px;
    padding: 12px 14px;
    background-color: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    font-size: 14px;

    /* couleur uniforme */
    color: #bdbdbd;

    outline: none;
    transition: all 0.2s ease;
}

/* FOCUS */
input:focus,
textarea:focus,
select:focus {
    border-color: #555;
    background-color: #1b1b1b;
}

/* TEXTAREA */
textarea {
    min-height: 120px;
    resize: vertical;
}

/* =========================
   SELECT (FIX COMPLET)
========================= */
select {
    cursor: pointer;

    color: #bdbdbd;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* options dropdown */
select option {
    background-color: #151515;
    color: #bdbdbd;
}

/* option sélectionnée */
select option:checked {
    background-color: #1b1b1b;
    color: #bdbdbd;
}

/* =========================
   BOUTONS
========================= */
button {
    width: 520px;
    max-width: 960px;
    padding: 12px 14px;
    border: none;
    background-color: #f1f1f1;
    color: #0f0f0f;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.2s ease;
}

button:hover {
    background-color: #dcdcdc;
    transform: translateY(-1px);
}

/* =========================
   LIENS
========================= */
a {
    color: #bdbdbd;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffffff;
}

/* =========================
   LISTES
========================= */
ul {
    margin-top: 20px;
    list-style: none;
}

ul li {
    margin: 10px 0;
}

/* =========================
   FOOTER
========================= */
footer {
    height: 60px;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    font-size: 14px;
    color: #888;
}