/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.container-login {
    height: 100%;
    overflow-y: hidden;
}

.container-login .col-left,
.container-login .col-right {
    min-height: 100vh;
    height: auto
}

.container-login .navbar-brand {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 100px;
}

.login-form-container {
    width: 70% !important;
    margin: 0 auto;
}

.button-toggle {
    position: absolute;
    transform: translateY(-50%);
    top: 60%;
    right: 10px;
    border: 0;
    background-color: transparent;
}

#togglePassword, #togglePassword2 {
    font-size: 1.5rem;
}

#togglePassword1, #togglePassword2  {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.8rem;
}

#SaveCheck {
    border-radius: 50%;
    border-color: #000;
}

.brand-login {
    position: relative;
    z-index: 2;
}

.img-login-form {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-page-1--container {
    position: relative;
    height: 100px;
    width: 100px;
    transform: translate(50%, 25%);
}

.img-login-page-1 {
    position: absolute;
    z-index: 1;
    top: 40%;
    left: 10%;
    width: 91px;
    height: 91px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #FFFDFB;
}

.login-page-2--container {
    position: relative;;
    height: 100px;
    width: 100px;
    transform: translate(0%, 280%);
}

.img-login-page-2 {
    position: absolute;
    z-index: 1;
    top: 40%;
    left: 16%;
    width: 73px;
    height: 73px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #FFFDFB;
}

.login-page-3--container {
    position: relative;
    height: 100px;
    width: 100px;
    transform: scale(-1, 1) translate(0%, 95%);
}

.img-login-page-3 {
    position: absolute;
    z-index: 1;
    top: 38%;
    left: 10%;
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #FFFDFB;
}

.login-page-4--container {
    position: relative;
    height: 100px;
    width: 100px;
    transform: scale(-1, 1) translate(46%, 226%);
}

.img-login-page-4 {
    position: absolute;
    z-index: 1;
    top: 35%;
    left: 20%;
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #FFFDFB;
}

.login-page-dragee-1 {
    position: absolute;
    left: -17%;
    top: 20%;
    width: 14px;
    height: 36px;            
    background-color: #02ACB6;
    z-index: 3;
    border-radius: 100px;
    transform: matrix(0.63, -0.66, 0.93, 0.6, 0, 0);
}

.login-page-dragee-2 {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 14px;
    height: 44px;  
    background-color: #FF8E00;
    z-index: 3;
    border-radius: 100px;
    transform: rotate(-30.3deg);
}

.login-page-dragee-3 {
    position: absolute;
    top: 8%;
    left: 21%;
    width: 14px;
    height: 19px;
    background-color: #9254D5;
    z-index: 3;
    border-radius: 100px;
    transform: matrix(0.99, -0.28, 0.1, 0.96, 0, 0);
}

.content-text-login {
    width: 80%;
    margin: auto;
    margin-top: 100px;
    z-index: 2;
    color: #fff;
    animation: appear 1s ease-out 1 both;
}

.content-text-login h1,
.content-text-login h2,
.content-text-login h3 {
    font-size: 2rem !important;
    line-height: 140% !important;
    font-weight: 600 !important;

}

.content-text-login p {
    font-size: 1rem !important;
    
}

.login-form-container .form-control::placeholder {
    color: transparent !important;
}

.login-page-links {
    font-family: 'Synonym';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #0E0F0F;
}

.login-page-links a {
    color: #0E0F0F;
    font-weight: 700;
    text-decoration: none;
    transition: 0.5;
}

@keyframes appear{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

.overlay-login {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: linear-gradient(0.59deg, rgba(0, 0, 0, 0.5) 18.42%, rgba(0, 0, 0, 0.218104) 64.13%, rgba(0, 0, 0, 0) 99.44%);
}

.login-info {
    padding: 1.25rem !important;
    position: absolute;
    top: 8%;
    left: 50%;
    width: auto !important;
    transform: translate(-50%,0vh);
    z-index: 1000;
    background: #FDFDFD;
    box-shadow: 0px 1px 8px rgb(194 186 219 / 40%);
    border-radius: 4px;
    animation: moveFromTop 500ms;
}

.login-info p {
    margin-bottom: 0 !important;
    color: #0E0E0E !important;
    font-size: 0.75rem !important;
}

.login-info .icon-error {
    font-size: 1.35rem !important;
    line-height: 0;
    color: red;
    margin-right: 10px;
    transform: translateY(2px);
    display: inline-block;

}

.login-info .icon-valid {
    font-size: 1.35rem !important;
    line-height: 0;
    color: #63DD68;
    margin-right: 10px;
    transform: translateY(2px);
    display: inline-block;

}

@keyframes moveFromTop{
    0% {
        transform: translate(-50%,-50vh);
        opacity: 0;
    }
    100% {
        transform: translate(-50%,0vh);
        opacity: 1;
    }
}

.container-login .progress {
    margin-top: 10px;
}


/*/////////////////////////////////////////////////////////////// Customed css */

input:-webkit-autofill {
    -webkit-box-shadow: transparent !important; /* This changes the background to white */
    box-shadow: transparent !important;
}

input:-webkit-autofill {
    -webkit-text-fill-color: black !important; /* Text color inside the input */
    transition: background-color 5000s ease-in-out 0s; /* Prevents flash of autofill color */
}


.form-logo {

    display: block;
    width: 137px;
    height: 48px;
    background-size: cover;
    background-position: center;
}

.login-form-container form {

    padding: 64px 0px 64px 0px;
}

.typo-pink {
    color: #883D67!important;
    text-decoration: underline!important;
    font-weight: 600!important;
    font-family: "Archivo", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

.contact-form-input {

    border: 0px;
    border-bottom: 1px solid #303336; /* Assurez-vous de définir la couleur appropriée */
    background-color: inherit;
    font-family: "Archivo", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    color: #303336;
    width: 100%;
    padding: 16px 0px 16px 0px;
    position: relative;
    overflow: hidden;

}

.contact-form-input::placeholder {

    font-family: 'Archivo', sans-serif!important;
    color: #777; /* Assurez-vous de définir la couleur appropriée */
    font-size: 16px!important;
    font-style: italic!important;
    font-weight: 400!important;
    line-height: 24px; 
    transition: transform 0.3s ease-in-out;

}

.contact-form-input:hover::placeholder {

    transform: translateX(16px);

}

.contact-form-input:focus,
.contact-form-input:focus-visible {

    outline: none;

}

.bi-eye-slash::before, 
.bi-eye::before {
    color: #B9D1D4;
}

.password-link {
    color: #60656A!important;
    text-decoration: underline!important;
    text-decoration-color: #60656A!important;
}

/* Password template */

.password-text {

    padding-top: 64px;

}

/* Left part div */

.login-div {

    background: linear-gradient(180deg, #612658 0%, #883D67 100%);

}

.login-bckg {

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../../../../themes/agape/images/logo-agape-bg-2.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0px 64px 0px 64px;

}

.login-bckg-img {

    text-align: center;

}

.login-bckg-img h1 {

    color: #F7F8F8 ;
}

/* Register form */

.underlined {
    text-decoration: underline!important;
}   

.login-form-container .custom-checkbox {
    position: relative;
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent; /* Default background */
    border: 1px solid #999;
    border-radius: 3px;
    cursor: pointer;

    align-self: center;
    margin-right: 8px;

  }

  /* Add styles for when the checkbox is checked */
.login-form-container .custom-checkbox:checked {
    background-color: #ffffff; /* Example color when checked */
    border-color: #ffffff;
}

/* Add a checkmark or custom icon when the checkbox is checked */
.login-form-container .custom-checkbox:checked::before {
    content: '✔'; /* Unicode checkmark */
    color: white;
    position: absolute;
    left: 0px; 
    top: 0px; 
    font-size: 12px;
}


  /* RESET PASSWORD */

 .reset-text {

    padding-top: 64px;

  }


/* PASSWORD STEP MAIL */

.div-password-step-logo {
    display: flex;
    justify-content: center;
}

.password-step-logo {
    padding: 64px 0px 64px 0px;
}

.password-text {
    padding-bottom: 64px;
}

/* PASSWORD STEP CONFIRMED */

.password-mail-confirmed-logo {
    padding: 64px 0px 64px 0px;
}

.password-mail-confirmed-text {
    padding-bottom: 64px;
}


/*//////////////////////////////////////////////////////////// Responsive */

@media (max-width : 992px) {
    
    .login-form-container {
        width: 100% !important;
    }

    .container-login,
    .container-login .col-left, 
    .container-login .col-right {
        width: 100%;
        /* height:; */
    }


/* @media (max-width: 576px) { */

    .login-bckg {

        height: inherit!important;
    }

    .container-login .col-left, .container-login .col-right {

        min-height: inherit;
        height: inherit;
    }

    .login-form-container {

        padding-top: 64px;
        padding-bottom: 32px;

    }

    .login-form-container form {

        padding-top: 24px;
        padding-bottom: 24px;

    }

    .div-logo {

        display: flex;
        justify-content: center;

    }

    .login-div {

        height: 350px!important;
    }

    .member-div {

        display: flex;
        justify-content: center;
    }

    .reset-text {

        text-align: center;
        
    }

    /* PASSWORD LOST */

    .password-text {
        padding-top: 24px;
    }

    .btn {
        width: 100%!important;
        margin-top: 16px;
    }

    /* PASSWORD RESET */

    .resest-text {
        padding-top: 24px;
    }

     /* PASSWORD STEP MAIL */

    .password-step-logo {
        padding: 24px 0px 24px 0px;
    }

     /* PASSWORD MAIL CONFIRMED MAIL */

     .password-confirmation-logo {
        padding: 24px 0px 24px 0px;
    }
}