@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1e1e2f;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.wrapper {
    width: 420px;
    background: transparent;
    border: 2px solid rgba(73, 5, 151, 0.699);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(199, 6, 224, 0.37);
    color: #535251b6;
    border-radius: 10px;
    padding: 30px 40px;
    animation: fadeIn 1s ease-in-out;

}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: 0 0 10px rgba(199, 6, 224, 0.37);
    border: 2px solid rgba(73, 5, 151, 0.699);
    border-radius: 40px;
    font-size: 16px;
    color: #f3eeeeb4;
    padding: 20px 45px 20px 20px;
}          

.input-box input::placeholder {
    color: #535153b6;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.wrapper .remember-forgot {
    display: flex;
    justify-content:  space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.remember-forgot label input {
    accent-color: #fff;
    margin-right: 3px;
}

.remember-forgot a {
    color: #535153b6;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background-color: #222121b4;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #535153b6;
    font-weight: 600;
}

.wrapper .sensoria {
    position: center;
    transform: translateX(calc(100% + 15px));
    transform: ;
    width: 30%;
    height: 25px;
    border: center;
    text-align: center;
    top: 50%;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px;
    color:  #561185;
    background-color: #222121b4;
    cursor: pointer;
    font-size: medium;
    font-weight: 600;
}

.wrapper p:hover {
    text-decoration: underline;
}

.input-box {
    position: relative;
}

.input-box .eye-icon {
    position: absolute;
    right: 50px; /* Ajustez cette valeur pour décaler l'icône à gauche */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #999
}

.eye-icon:hover {
    color: #fff
}

.wrapper .register-link {
    font-size: 14px;
    text-align: center;
    margin: 25px 0 15px;
}

.register-link p a {
    color: #561185;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader-text {
    position: absolute; /* Absolute position permet de centrer plus facilement */
    top: 50%; /* Positionne l'élément au milieu de l'écran */
    left: 50%; /* Positionne l'élément au milieu de l'écran */
    transform: translate(-50%, -50%); /* Centre parfaitement l'élément */
    width: 100%; /* Prend 75% de la largeur de l'écran */
    height: 450px; /* Hauteur automatique, s'adapte à son contenu */
    text-align: center; /* Centrer le texte à l'intérieur */
    color: rgb(7, 243, 184); /* La couleur du texte */
    overflow: hidden; /* Cache les débordements */
    font-size: 35; /* Taille de police en fonction de la largeur de l'écran */
}

/* #preloader-text {
    position: relative;
    top: 0;
    left: 350px;
    width: 75%;
    height: 8%;
    justify-content: center;
    align-items: center;
    color: rgb(7, 243, 184);
    overflow: hidden;
} */

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(134, 129, 129, 0.3); 
    border-top: 5px solid rgb(4, 180, 250); 
    border-radius: 50%;
    animation: spin 1s linear infinite; 
    margin-bottom: 35px; 
}

.progress-bar {
    width: 80%;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.301); 
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: rgb(7, 243, 184); 
    width: 0;
    transition: width 0.3s; 
}

#content {
    display: none;
    text-align: center;
    padding: 20px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1e1e2f;
    color: rgb(7, 243, 184);
    overflow: hidden;
}  */

.toast {
    position: absolute;
    top: 25px;
    right: 35px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #4070f4;
    overflow: hidden;
    transform: translateX(calc(100% + 35px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
} 

.toast.active {
    transform: translateX(0%);
}

.toast .toast-content {
    display: flex;
    align-items: center;
} 

.toast-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    background-color: #4070f4;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
} 

.toast-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
} 

.toast .close {
   position: absolute; 
   top: 10px;
   right: 15px;
   padding: 5px;
   cursor: pointer;
   opacity: 0.4;
}

.toast .close:hover {
   opacity: 1;
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px; 
    width: 100%;
    background: #ddd;
}

.progress.active:before {
    animation: progress 5s linear forwards;
}

.toast .progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: var(--progress-color, #4070f4); /* Défaut : #4070f4 */
}


/* .toast .progress:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #4070f4;
} */

@keyframes progress {
    100%{
        right: 100%;
    }
} 

@keyframes close {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.message .text {
    font-size: 20px;
    font-weight: 400;
    color: #666666;
}

.message .text.text-1 {
    font-weight: 600;
    color: #333;
}

/* button {
    padding: 10px 20px;
    font-size: 20px;
    outline: none;
    border: none;
    background-color: #4070f4;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0e4bf1;
} */