* {
    box-sizing: border-box;
}

:root {
    --bg: #0f1115;
    --panel: #171a21;
    --text: #e8ebf0;
    --muted: #aab3c0;
    --accent: #1e6bf1;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: var(--panel);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

.site-header {
    background: #10131a;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.topnav a {
    color: var(--text);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
    opacity: .9;
}

.topnav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.btn, button {
    display: inline-block;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.btn:hover, button:hover {
    filter: brightness(.9);
}

h1, h2 {
    margin: .2em 0 .6em;
}

form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 700;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #2a2f3a;
    border-radius: 10px;
    background: #0f1115;
    color: #e8ebf0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 10px;
    border: 1px solid #2a2f3a;
    text-align: left;
    vertical-align: top;
}

th {
    background: #111520;
}

.alert {
    padding: 10px;
    border-radius: 10px;
    margin: 10px 0;
}

.alert-success {
    background: #15341b;
    color: #8ae58d;
}

.alert-danger {
    background: #341515;
    color: #ff9b9b;
}

.alert-warning {
    background: #342d15;
    color: #ffd27a;
}

.site-footer {
    background: #10131a;
    color: var(--muted);
    text-align: center;
    padding: 18px;
    margin-top: 30px;
}

.icons-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}

.icons-row img {
    height: 26px;
    opacity: .9;
    transition: transform .2s;
}

.icons-row img:hover {
    transform: scale(1.08);
}

/* Bandeau urgent */
.urgent-banner {
    background: #d90429;
    color: white;
    padding: 10px;
    font-weight: bold;
    font-size: 15px;
    animation: clignote 1.5s infinite alternate;
}

/* Définition de l'animation */
@keyframes clignote {
    0% {
        opacity: 1; /* Visible */
    }
    50% {
        opacity: 0; /* Invisible */
    }
    100% {
        opacity: 1; /* Visible */
    }
}

/* curseur patte (si fichier présent) */
/* body { cursor: url('../img/cursor.cur'), auto; } */
