/****************************************/
/***************  USER CONNECT **************/

/* ✅ MODAL FULLSCREEN */
.bg-purple {
    background-color: var(--ialla_yellow)!important; /* Fond violet */
    color: white;
}


/* Header */
.modal-header {
background-color: var(--p3_violet_hard);
}



/* ✅ CENTRER LE CONTENU */
.modal-body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ✅ CONTAINER BLANC AU CENTRE */
.login-container {
    display: flex;
    background: white;
    width: 60%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    height: 500px; /* 🔹 Assure une hauteur fixe */
}


.create_compte_pro {
    display: flex;
    background: white;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    height: 650px; /* 🔹 Assure une hauteur fixe */
}


.create_compte_candidat {
    display: flex;
    background: white;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    height: 500px; /* 🔹 Assure une hauteur fixe */
}

/* ✅ PARTIE GAUCHE (IMAGE) */
.login-image {
    flex: 1; /* 🔹 Prend automatiquement la moitié de la largeur */
    height: 100%; /* 🔹 Prend toute la hauteur du parent */
    overflow: hidden;
}

/* ✅ IMAGE EN MODE COVER */
.login-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}


/* ✅ PARTIE DROITE (FORMULAIRE) */
.login-form {
    width: 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: black;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #2A0953;
}

/* ✅ BOUTON FERMETURE BLANC */
.btn-close {
    filter: invert(1); /* Passe le bouton de fermeture en blanc */
    opacity: 1 !important;
    color: red !important;
    font-size: 18px !important;
    padding-right: 40px !important;
    padding-top: 14px !important;
}

/* ✅ FORMULAIRE */
.login-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--p3_violet_hard);;
    border: none;
}

.btn-primary:hover {
    background-color: var(--p3_violet_hard);;
}

/* ✅ LIENS */
.modal-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-links a {
    text-decoration: none;
    font-weight: bold;
    color: #2A0953;
}

.modal-links a:hover {
    text-decoration: underline;
}


.form-label_connect{
    font-size: 12px;
    color: gray;
    margin: 0px;
}

.link_connect{
    font-size: 12px;
    color: gray !important;
}

#modal_connect_user .modal-content {
    border-radius: 0 !important;
}


.cta_p3{
    background-color: var(--ialla_yellow) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    border: none !important;
    color: var(--ialla_black_hard) !important;
}
.cta_p3:hover{
    color: white !important;
    }

.font_form_p3{
    font-size: 14px !important;
    border: 1px solid #ddd !important;         /* Filet gris léger */
    border-radius: 10px !important;            /* Coins arrondis */
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}



/****************************************/
/***************  NEW USER **************/

#modal_connect_new_user .modal-content {
    border-radius: 0 !important;
}


.form_label_new_user{
color: red;
font-size: 14;
padding-top: 10px;
padding-bottom: 25px;
text-align: center;
}