
body {
    background: radial-gradient(circle at 50% 0%, var(--nebulapurple) -100%, var(--background) 50%);
    height: auto;


}

header {
    height: 80px;
    width: 100%;
}

.header-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    height: 100%;
    align-items: center;
}

.header-container img {
    width: 30px;
    height: 30px;
}

h1 {
    font-size: 1.5rem;
    color: var(--nebulapurple);
    font-family: "League Spartan", sans-serif;

}


/*div qui permet de donne rles dimenssions de la page*/

.global-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh;
}

h2 {
    text-align: center;
    font-size: 1.875rem;
    margin-top: 5.5rem;
}

form {
    margin-top: 2.5rem;
    width: 32rem;
}

input {
    padding: 13px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid transparent;
    margin: 1rem 0;
    transition: border-color 0.3s ease;
    background: #27272a;
    color: #fff;
}

input:focus {
    border-color: var(--nebulapurple);
    outline: none;
}
.mdp-container input:focus{
    border-color: var(--nebulapurple) !important;
    outline: none;

}
.mdp-flex-btn{
    display: flex;
    justify-content: space-between;
}




.mdp-container {
    position: relative;
    width: 100%;
}

#mdp {
    width: 100%;
    padding-right: 50px; /* Space on the right for the "check" link */
    padding: 13px;
    border-radius: 5px;
    border: 2px solid transparent;
    margin: 1rem 0;
    transition: border-color 0.3s ease;
    background: #27272a;
    color: #fff;
}

#see-mdp {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #686870;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.875rem;
}

#see-mdp:hover {
    color: var(--nebulapurple);
}
.ri-eye-close-line{
    font-size: 24px;
}

input:focus {
    border-color: var(--nebulapurple);
    outline: none;
}

.mdp-flex-btn a{
    color: #686870;
    cursor: pointer;
    text-decoration: none;
}
.error-message{
    margin-bottom: 2rem;
    color: #f67070;
    display: none;
}

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 5px;
    background-color: var(--nebulapurple);
    color: #fff;
    transition: all .3s;
    cursor: pointer;
    margin-top: 1rem;
}
button:hover{
    background-color: #6e18b9;
}

.register-flex{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.register-flex p{
    color: #686870;
    text-align: center;
}
.register-flex a{
    color: #a1a1aa;
    transition: all .5s;
    cursor: pointer;
    margin-left: 10px;
}
.register-flex a:hover{
    color: #fff;
}





.remember-me-container {
    display: flex;
    align-items: center;
}

.remember-me-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 8px;
    background-color: transparent;
    border: 2px solid #fff;
    position: relative;
    transition: 0.3s ease;
}

input[type="checkbox"]:checked + .checkbox-custom {
    
    border-color: var(--nebulapurple);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 10px;
    border: solid var(--nebulapurple);
      border-top-width: medium;
      border-right-width: medium;
      border-bottom-width: medium;
      border-left-width: medium;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: .3s ease;
}

/* Coche visible quand la case est cochée */
input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
}








.star {
    position: absolute;
    background: #9f35fc;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    box-shadow: 0px 4px 6px rgba(159, 53, 252, 0.5);
    /* Ombre légère */
}

/* Positionnement aléatoire et tailles pour les étoiles */
.star:nth-child(1) {
    top: 10%;
    left: 15%;
    transform: rotate(45deg);
    width: 15px;
    height: 15px;
}

.star:nth-child(2) {
    top: 30%;
    left: 83%;
    width: 18px;
    height: 18px;
}

.star:nth-child(3) {
    top: 79%;
    left: 43%;
    width: 22px;
    height: 22px;
}

.star:nth-child(4) {
    top: 70%;
    left: 20%;
    transform: rotate(60deg);
    width: 16px;
    height: 16px;
}

.star:nth-child(5) {
    top: 80%;
    left: 80%;
    width: 12px;
    height: 12px;
}

.star:nth-child(6) {
    top: 90%;
    left: 60%;
    transform: rotate(30deg);
    width: 20px;
    height: 20px;
}

.star:nth-child(7) {
    top: 40%;
    left: 12%;
    transform: rotate(13deg);
    width: 16px;
    height: 16px;
}

.star:nth-child(8) {
    top: 8%;
    left: 80%;
    width: 14px;
    height: 14px;
}

.star:nth-child(9) {
    top: 20%;
    left: 20%;
    transform: rotate(90deg);
    width: 17px;
    height: 17px;
}

.star:nth-child(10) {
    top: 60%;
    left: 75%;
    width: 19px;
    height: 19px;
}

@media (max-width: 1024px) {
    form{
        width: 95%;
    }
    .star{
        display: none;
    }

}