
:root {
    --green1: #172062;
    --green2: #0a0f35;
    --green3: #17206259;
    --green4: #c1c4eb;
    --gris1: #5D5D5D;
    --gris2: #E3E3E3;
    --gris3: #f1f2f5;
    --rose1: #d40064;
    --rose2: #FDDCE3;
    --rose3: #9C243C;
    --rose4: #f1bed6;
    --orange1: #F2A532;
    --orange2: #FCEBD2;
    --orange3: #de5d10;
    --blue: #6d78a3;
    --vert1: #29b360;
    --vert2: #d4f5e1;
}

input[type="text"],
input[type="password"],
textarea,
select {
    background-image: none !important;
    background-color: #fff !important;
    border: 1px solid #878787 !important;
}

.rf-inp,
.rf-txt,
.rf-txtarea {
    background-image: none !important;
    border: 1px solid #878787 !important;
}

.form-control-custom {
    background-image: none !important; !important;
    border: 1px solid #878787 !important; !important;
}
* {
    font-family: "Poppins", sans-serif !important;
    box-sizing: border-box;
}

body {
    background-color: var(--gris3) !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ZONE HAUTE */
.colorArea.login {
    height: 550px;
    background-image: url("../css/bglogin.svg");
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

/* LOGO */
.navbar-brand {
    padding: 20px 0;
}

.navbar-brand img {
    height: 60px;
}

/* TITRES */
.loginTitle {
    font-size: 24px;
    font-weight: 600;
/*    margin-top: 80px;*/
    text-align: left;
   /* margin-bottom: 15px;*/
    max-width: 600px;
    margin: 0 auto;
}

.loginSubTitle {
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;

}

/* CONTAINER FORMULAIRE ÉTROIT */
.login-container {
    display: flex;
    justify-content: center;
    margin-top: -260px;
    padding: 0 20px;
}

/* FORMULAIRE ÉTROIT - 400px max */
.loginForm {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loginForm label.labelinput {
    color: var(--gris1);
    font-size: 12px;
    background-color: #fff;
    position: relative;
    top: 12px;
    left: 8px;
    padding: 0 9px;
    z-index: 9;
}

input,
textarea,
select,
input:focus,
textarea:focus,
select:focus,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.ui-inputfield,
.ui-inputfield:focus,
.ui-inputfield.ui-state-focus,
.ui-inputfield.ui-state-error {
    box-shadow: none !important;
    outline: none !important;
    border-top-width: 1px !important;
}

/* Chrome autofill RED/YELLOW shadow FIX */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    border: 1px solid var(--green3) !important;
}



.form-control-custom {
    height: 43px;
    font-size: 14px;
    border: 1px solid var(--green3) !important;
    border-radius: 6px;
    padding: 10px 15px;
    width: 100%;
    margin-bottom: 20px;
    background: #fff;
}



/* BOUTON */
/*.seconnecter {
    width: 100%;
    height: 57px;
    background-color: #172062 !important;
    background-image: url("../css/btnbg.svg") !important;
    border-radius: 12px;
    color: #fff;
    margin-top: 10px;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}*/
			input.seconnecter[type="submit"],
			button.seconnecter {
				width: 100% !important;
				height: 57px !important;
				background-color: #172062 !important;
				background-image: url("../css/btnbg.svg") !important;
				border-radius: 12px !important;
				color: #fff !important;
				margin-top: 30px !important;
				border: 0 !important;
				font-size: 16px !important;
				font-weight: 600 !important;
				cursor: pointer !important;
				transition: background 0.3s !important;
				font-family: "Poppins", sans-serif !important;
			}


.seconnecter:hover{
    background-color: var(--green2);
    transition: 0.3s;
}
/* LIENS */
.loginLinks {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}

.loginLink a {
    color: var(--green1);
    text-decoration: none;
    font-size: 14px;
}

.loginLink a:hover {
    text-decoration: underline;
}
.loginForm input:not([type="checkbox"]) {
    height: 43px;
    font-size: 14px;
    border-color: #878787;
}
/* ASSISTANCE */
.renseigne {
    color: var(--gris1);
    font-size: 16px;
    text-align: center;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;

}

.renseigne a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

/* COPYRIGHT */
.loginCopyRight {
    color: var(--gris1);
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
}

/* CHECKBOX */
.form-check-input:checked {
    background-color: var(--green1) !important;
    border-color: var(--green1) !important;
}

.form-check-label {
    color: #555;
    font-size: 14px;
}

/* UTILITAIRES */
.text-center {
    text-align: center !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .colorArea.login {
        height: 450px;
        padding: 0 15px;
    }

    .loginTitle {
        margin-top: 60px;
        font-size: 20px;
    }

    .loginSubTitle {
        font-size: 14px;
    }

    .login-container {
        margin-top: -200px;
        padding: 0 15px;
    }

    .loginForm {
        padding: 30px 25px;
        margin-top: 41px;
    }

    .loginLinks {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .loginForm {
        padding: 25px 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .colorArea.login {
        height: 400px;
    }

}

