/* ========================================
   GABS SECURITE
   AUTHENTIFICATION
======================================== */


/* ========================================
   PAGE
======================================== */

.auth-page {
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(5, 15, 30, 0.78),
            rgba(5, 15, 30, 0.78)
        ),
        url("images/securite.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* ========================================
   CONTENEUR
======================================== */

.auth-container {

    min-height: calc(100vh - 90px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 60px 20px;

}


/* ========================================
   CARTE
======================================== */

.auth-card {

    width: 100%;

    max-width: 500px;

    background: rgba(255, 255, 255, 0.97);

    padding: 40px;

    border-radius: 20px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    animation: apparition 0.7s ease;

}


.inscription-card {

    max-width: 550px;

}


/* ========================================
   ANIMATION
======================================== */

@keyframes apparition {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* ========================================
   ICONE
======================================== */

.auth-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #1d5fd1;

    color: white;

    font-size: 32px;

}


/* ========================================
   TITRE
======================================== */

.auth-card h1 {

    text-align: center;

    margin-bottom: 10px;

    color: #101b3f;

}


.auth-subtitle {

    text-align: center;

    color: #777;

    margin-bottom: 30px;

}


/* ========================================
   FORMULAIRE
======================================== */

.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

    color: #17213f;

}


/* ========================================
   INPUT
======================================== */

.input-icon {

    position: relative;

    display: flex;

    align-items: center;

}


.input-icon > i {

    position: absolute;

    left: 15px;

    color: #1d5fd1;

    z-index: 2;

}


.input-icon input,
.input-icon select {

    width: 100%;

    height: 50px;

    padding: 0 45px;

    border: 1px solid #d5d9e2;

    border-radius: 10px;

    outline: none;

    font-size: 15px;

    background: white;

    transition: 0.3s;

}


.input-icon input:focus,
.input-icon select:focus {

    border-color: #1d5fd1;

    box-shadow:
        0 0 0 3px rgba(29, 95, 209, 0.12);

}


/* ========================================
   BOUTON MOT DE PASSE
======================================== */

.password-toggle {

    position: absolute;

    right: 10px;

    border: none;

    background: transparent;

    cursor: pointer;

    color: #777;

    font-size: 16px;

}


/* ========================================
   OPTIONS
======================================== */

.auth-options {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 15px 0 25px;

    font-size: 14px;

}


.auth-options a {

    color: #1d5fd1;

    text-decoration: none;

}


.remember {

    display: flex;

    gap: 7px;

    align-items: center;

}


/* ========================================
   CONDITIONS
======================================== */

.conditions {

    display: flex;

    gap: 10px;

    align-items: flex-start;

    font-size: 13px;

    color: #555;

    margin-bottom: 25px;

}


.conditions input {

    margin-top: 3px;

}


/* ========================================
   BOUTON CONNEXION
======================================== */

.auth-button {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 10px;

    background: #1d5fd1;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

}


.auth-button:hover {

    background: #1249a8;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(29, 95, 209, 0.3);

}


/* ========================================
   FOOTER CARTE
======================================== */

.auth-footer {

    text-align: center;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eee;

}


.auth-footer p {

    margin-bottom: 8px;

    color: #666;

}


.auth-footer a {

    color: #1d5fd1;

    font-weight: bold;

    text-decoration: none;

}


.auth-footer a:hover {

    text-decoration: underline;

}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 700px) {

    .auth-card {

        padding: 30px 20px;

    }

}