/* ============================================================
   ADMIN CONNEXION — Styles (CSP-safe, aucun inline)
   ============================================================ */

/* Conteneur principal (Wrapper) */
.login-page-wrapper {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
}

/* HEADER BLEU HARMONISE */
.blue-header-zone {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 0;
}
.blue-header-zone h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blue-header-zone p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 1em;
}

/* Conteneur de la carte */
.login-container {
    width: 100%;
    max-width: 450px;
    margin: -30px 15px 0;
    position: relative;
    z-index: 10;
}

/* Carte Blanche */
.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.card-body-content {
    padding: 40px 30px;
    text-align: center;
}

.section-title {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
}
.subtitle {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 30px;
    display: block;
}

/* Champs de formulaire */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 0.9em;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #3498db;
    outline: none;
}

/* Bouton */
.btn-connect-admin {
    width: 100%;
    padding: 14px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}
.btn-connect-admin:hover {
    background-color: #2980b9;
}

/* Messages */
.alert-info {
    background-color: #e8f4fc;
    color: #2980b9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #bce8f1;
    text-align: center;
    font-size: 0.95em;
}
.alert-info a {
    display: inline-block;
    margin-top: 15px;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}
.alert-info a:hover {
    background-color: #2980b9;
}

.alert-error {
    color: #e74c3c;
    margin-top: 15px;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .blue-header-zone { padding: 40px 15px; }
    .blue-header-zone h1 { font-size: 1.5rem; }
    .login-container { margin: -15px 10px 0; }
    .card-body-content { padding: 30px 20px; }
}