/* ================================
   PAGE AUTHENTIFICATION
================================ */

.auth-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f5f7fb;

    padding: 20px;
}


/* ================================
   CARTE
================================ */

.auth-card {
    width: 100%;

    max-width: 430px;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    padding: 35px;

    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}


/* ================================
   LOGO
================================ */

.auth-logo {
    text-align: center;

    font-size: 35px;

    font-weight: bold;

    margin-bottom: 10px;

    color: #0f172a;
}

.auth-logo span {
    color: #2563eb;
}


/* ================================
   TITRE
================================ */

.auth-title {
    text-align: center;

    margin-bottom: 28px;
}

.auth-title h1 {
    font-size: 24px;

    margin-bottom: 7px;
}

.auth-title p {
    color: #64748b;

    font-size: 14px;
}


/* ================================
   FORMULAIRE
================================ */

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 7px;
}

.auth-form input {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    font-size: 14px;

    outline: none;

    transition: 0.2s;
}

.auth-form input:focus {
    border-color: #2563eb;

    box-shadow: 0 0 0 3px #dbeafe;
}


/* ================================
   BOUTON
================================ */

.auth-button {
    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.auth-button:hover {
    background: #1d4ed8;
}


/* ================================
   LIEN BAS DE PAGE
================================ */

.auth-footer {
    text-align: center;

    margin-top: 22px;

    color: #64748b;

    font-size: 14px;
}

.auth-footer a {
    color: #2563eb;

    text-decoration: none;

    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 500px) {

    .auth-card {
        padding: 25px 20px;
    }
}


.alert-error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 15px;
}