/* ######################## */
/* ##                    ## */
/* ###   Récuperation   ### */
/* ##                    ## */
/* ######################## */

.recover-section {
    width: 30%;
    margin: 4vi auto 8vi auto;
    background: #fff;
    border-radius: 1vi;
    box-shadow: 0 2px 16px #0001;
    padding: 2.5vi 2vi 2vi 2vi;
    text-align: center;
}

.recover-section h1 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.5vi;
    color: #23305a;
    margin-bottom: 1.5vi;
    font-weight: 700;
}

/* Formulaire */
#recover-form {
    margin-top: 1vi;
}

.form-group {
    margin-bottom: 1.5vi;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 0.9vi 0;
    font-size: 1vi;
    border: 1px solid #b7c3e0;
    border-radius: 0.5vi;
    background: #f8f8ff;
    font-family: 'Poppins', Arial, sans-serif;
    transition: border 0.2s;
}

.form-control:focus {
    border-color: #455B94;
    outline: none;
}

.float-label {
    position: absolute;
    left: 1.1vi;
    top: 0.9vi;
    color: #888;
    font-size: 0.95vi;
    pointer-events: none;
    transition: 0.2s;
    background: #fff;
    padding: 0 0.2vi;
}

.form-control:focus + .form-highlight + .form-bar + .float-label,
.form-control:not(:placeholder-shown):not(:focus):valid + .form-highlight + .form-bar + .float-label {
    top: -1.1vi;
    left: 0.7vi;
    font-size: 0.8vi;
    color: #455B94;
    background: #fff;
}

.form-highlight, .form-bar {
    display: none;
}

/* Bouton */
#submit {
    width: 100%;
    background: #455B94;
    color: #fff;
    border: none;
    border-radius: 0.5vi;
    padding: 0.9vi 0;
    font-size: 1.1vi;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5vi;
}

#submit:hover {
    background: #23305a;
}

/* Message d'alerte */
.alert {
    color: #bc2b23;
    font-weight: 700;
    font-size: 1.2vi;
}

.alert_success {
    color: #27b127;
    font-weight: 700;
    font-size: 1.2vi;
}

/* Responsive */
@media (max-width: 800px) {
    .alert_success {
        font-size: 2vi;
    }
    .alert {
        font-size: 2vi;
    }
}
