/* =========================================
   PAGE CREATION DE COMPTE - UMSE
========================================= */

.register-page {
    background: linear-gradient(135deg, #f4f7fb, #e9eef5);
    padding: 45px 0;
    min-height: 100vh;
}


/* CARTE PRINCIPALE */

.register-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}


/* EN-TÊTE */

.register-card .card-header {
    background: linear-gradient(135deg, #0b2d5c, #123f7a);
    color: white;
    padding: 28px 25px;
    border: none;
}


.register-card .card-header h2 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 8px;
}


.register-card .card-header h4 {
    color: #f5c542;
    font-weight: 600;
    margin-bottom: 12px;
}


.register-card .card-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}


/* CORPS DU FORMULAIRE */

.register-card .card-body {
    padding: 35px;
}


/* LABELS */

.register-card label {
    display: block;
    color: #263238;
    font-weight: 600;
    margin-bottom: 7px;
}


/* CHAMPS */

.register-card .form-control,
.register-card .form-select {
    min-height: 45px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 10px 13px;
    transition: all 0.3s ease;
}


.register-card .form-control:focus,
.register-card .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}


/* ZONE PHOTO */

.register-card input[type="file"] {
    background: #f8faff;
    cursor: pointer;
}


.register-card input[type="file"]:hover {
    border-color: #0d6efd;
}


/* BLOCS ETUDIANT / ENSEIGNANT */

#bloc-etudiant,
#bloc-enseignant {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    background: #f8faff;
    border-left: 4px solid #0d6efd;
}


/* APERCU PHOTO */

#apercu-photo {
    display: block;
    margin: 15px auto 0;
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}


/* BOUTON */

.register-card button[type="submit"] {
    min-width: 230px;
    padding: 13px 25px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}


.register-card button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .register-page {
        padding: 25px 10px;
    }

    .register-card .card-body {
        padding: 22px;
    }

    .register-card .card-header h2 {
        font-size: 20px;
    }

}