/* ──────────────────────────────
   🌐 Structure globale
──────────────────────────────── */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    user-select: none;
    background-color: #000;
}

/* 🔥 Image de fond */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.75) contrast(1.1) saturate(1.2);
}

/* ──────────────────────────────
   🖋️ Titre principal animé
──────────────────────────────── */
.site-title, .site-subtitle  {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 12px 24px;

    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;

    background: linear-gradient(90deg, #ffae00, #ff4e00, #ffae00);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: glowGradient 5s linear infinite;

    text-shadow:
            0 0 8px rgba(255, 255, 255, 0.2),
            0 0 14px rgba(255, 174, 0, 0.5),
            0 0 28px rgba(255, 78, 0, 0.3);
    z-index: 1000;
}

.site-subtitle {
    position: fixed;
    top: 120px;
    font-size: 20px;
}

/* 🌈 Dégradé animé pour le titre */
@keyframes glowGradient {
    to {
        background-position: -200% center;
    }
}

/* ──────────────────────────────
   🔥 Logos animés
──────────────────────────────── */

.logo-site {
    position: fixed;
    bottom: 12px;
    right: 12px;
    height: 160px;
    width: auto;
    border-radius: 50%;
    z-index: 1000;
}

.logo-sdis40 {
    position: absolute;
    bottom: 12px;
    top: 12px;
    right: 12px;
    height: 180px;
    width: auto;
    z-index: 1000;
}

.logo-evotech {
    position: absolute;
    top: 44px;
    left: 12px;
    height: 80px;
    width: auto;
    z-index: 1000;
}

/* ──────────────────────────────
   🧊 Formulaire de connexion
──────────────────────────────── */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    padding: 35px 30px;

    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 100, 0, 0.2),
    0 0 60px rgba(255, 100, 0, 0.1);
    text-align: center;
    z-index: 900;
}


.login-container h2 {
    margin-bottom: 24px;
    font-size: 26px;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000;
}

/* 🧾 Champs & labels */
.login-container label {
    color: #f0f0f0;
    text-align: left;
    display: block;
    margin-top: 12px;
    font-size: 14px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    outline: none;
}

/* 🧲 Bouton stylé */
.login-container button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff7e00, #ff2e00);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.4);
}

.login-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 80, 0, 0.6);
}

/* ❌ Erreur login */
#error-msg {
    color: #ff3b3b;
    margin-top: 10px;
    font-size: 14px;
}

/* 🧾 Crédits */
.text {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #EEEEEE;
    background-color: rgba(0, 0, 0, 0.35);
    border-left: 3px solid #EEEEEE;
    padding: 6px 6px 4px 10px;
    border-radius: 0 6px 6px 0;
}
