/* ############################ */
/* ##                        ## */
/* ###   Authentification   ### */
/* ##                        ## */
/* ############################ */

.auth-double {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4vi;
    padding: 4vi 5vi;
}

.auth-block {
    background: #fff;
    border-radius: 1.2vi;
    box-shadow: 0 2px 24px #0001;
    padding: 2.5vi 2vi 2vi 2vi;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1vi;
    border: 2px solid #d7d8e6;
}

.auth-block h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2vi;
    font-weight: 700;
    color: #23305a;
    margin-bottom: 0.2vi;
    letter-spacing: 0.04vi;
    text-align: center;
    border-bottom: 2px solid #23305a;
    padding-bottom: 0.5vi;
    width: 100%;
}

.auth-subtitle {
    font-size: 1.1vi;
    color: #23305a;
    font-family: 'Poppins', Arial, sans-serif;
    margin-bottom: 1.5vi;
    text-align: center;
    font-style: italic;
}

.auth-subtitle.bleu {
    color: #455B94;
}

.auth-block form {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 0.7vi;
}

.auth-block label {
    font-size: 1vi;
    color: #23305a;
    font-weight: 600;
    margin-bottom: 0.2vi;
}

.auth-block input[type="radio"] {
    width: 1.5vi;
    height: 1.5vi;
}

.auth-block input[type="text"],
.auth-block input[type="email"],
.auth-block input[type="password"],
.auth-block select {
    padding: 0.7vi 0.3vi;
    border: 1px solid #b7c3e0;
    border-radius: 0.5vi;
    font-size: 1vi;
    background: #f4f7fb;
    color: #23305a;
    margin-bottom: 0.5vi;
    transition: border 0.2s;
}

.auth-block input[type="text"]:focus,
.auth-block input[type="email"]:focus,
.auth-block input[type="password"]:focus,
.auth-block select:focus {
    border-color: #455B94;
    outline: none;
}

.auth-actions {
    display: flex;
    gap: 1vi;
    margin-top: 1vi;
    justify-content: space-between;
}

.auth-btn {
    border: none;
    border-radius: 0.4vi;
    padding: 0.7vi 1.7vi;
    font-size: 1vi;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Poppins', Arial, sans-serif;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 6px #0001;
    text-align: center;
    text-decoration: none;
    margin-bottom: 0;
    margin-top: 0;
    display: inline-block;
}

.auth-btn.blue:hover {
    background: #23305a;
    color: #fff;
}

.auth-btn.grey {
    margin-top: 1vi;
    background: #888;
    color: #fff;
}

.auth-btn.grey:hover {
    background: #23305a;
    color: #fff;
}

.auth-btn.bleu {
    background: #455B94;
    color: #fff;
    margin-top: 1vi;
}

.auth-btn.bleu:hover {
    background: #23305a;
    color: #fff;
}

.auth-civilite {
    display: flex;
    align-items: center;
    gap: 1vi;
    margin-bottom: 0.5vi;
    font-size: 1vi;
    color: #23305a;
}

.auth-date {
    display: flex;
    gap: 0.7vi;
    margin-bottom: 0.5vi;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7vi;
    font-size: 0.95vi;
    color: #23305a;
    margin: 0.7vi 0 0.7vi 0;
}

.legal {
    font-size: 0.7vi !important;
    color: #23305a;
    margin-top: 1vi;
}

@media (max-width: 1100px) {
    .auth-double {
        flex-direction: column;
        align-items: center;
        gap: 2vi;
        padding: 2vi 0;
    }
}

.auth-error {
    color: #c00;
    background: #fff0f0;
    border: 1px solid #c00;
    padding: 0.5em 1em;
    margin: 1em 0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    font-size: 1.5vi;
}

.auth-success {
    color: rgb(108, 193, 39);
    background: #f6fff0;
    border: 1px solid rgb(136, 206, 32);
    padding: 0.5em 1em;
    margin: 1em 0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    font-size: 1.5vi;
}

.auth-pending  {
    color: rgb(193, 157, 39);
    background: #fffdf0;
    border: 1px solid rgb(206, 165, 32);
    padding: 0.5em 1em;
    margin: 1em 0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    font-size: 1.5vi;
}

/* Responsive */
@media (max-width: 800px) {
    .auth-success {
        font-size: 2vi;
    }
    .auth-error {
        font-size: 2vi;
    }
    .auth-block input[type="radio"] {
    width: 3vi;
    height: 3vi;
}

}

@media (min-width: 1600px) {
    .auth-btn {
        font-size: 0.8vi;
    }
}