@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


.loginContainer {
    height: 450px;
    width: 350px;
    position: fixed;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.493);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.527);
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    z-index: 200;
    overflow: hidden;
    display: none;
    animation: fadeInDrop 0.6s ease-out forwards;
}
@keyframes fadeInDrop {
    0% {
      opacity: 0;
      transform: translate(-50%, -60%);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
}


.resetPasswordLink{
    cursor: pointer;
    transition: all 0.3s ease;
}
.resetPasswordLink:hover{
    color: white;
   }
.resetPasswordHeading{
    position: relative;
    left: 60px;
   }
.resetPasswordParagraph{
    position: relative;
    left: 60px;
}
#returnToLogin{
    position: relative;
  
    left: 30px;
    background-color: black;
}
#forgotPasswordEmail{
    width: 60%;
}
#forgotPasswordForm{
    position: relative;
    left: 60px;
}
#loginPopup {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    text-align: center;
    position: relative;
    left: -15px;
    text-align: left;
}

#loginPopup h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

#loginPopup h5 {
    font-size: 14px;
    margin-top: -10px;
    color: rgba(255, 255, 255, 0.7);
}

#closeLoginPopUp, #closeResetPassword, #returnToLogin {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    background-color: black;
    padding-top: 15px;
    padding-right: 16px;
    padding-left: 13px;
    padding-bottom: 5px;
    border-bottom-left-radius: 30px;
    transition: background-color 0.3s ease transform 0.3s ease;
}
#returnToLogin{
    left: -66px;
    height: 40px;
    width: 50px;
    transform: rotate(-90deg);
    top: -165px;
    transition: all 0.3s ease;
}
#returnToLogin:hover{
    background-color: #8a0101;
   
}
#returnToLogin svg{
    transform: rotate(-90deg);
    height: 30px;
    width: 30px;
    fill: white;
}
#closeResetPassword:hover, #closeLoginPopUp:hover #returnToLogin:hover{
    background-color: #8a0101;
}

#closeLoginPopUp:hover {
    transform: scale(1.2);
    color: #ff5c5c;
}


.loginInput {
    background-color: rgba(255, 255, 255, 0.596);
    color: white;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 15px;
    width: 100%;
    outline: none;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.loginInput:focus {
    border-color: #01438a;
    background-color: rgba(255, 255, 255, 0.2);
}

.input-group {
    width: 100%;
}

#loginPopup button {
    background: linear-gradient(90deg, #8a0101, #f15e5e);
    background-size: 200% 100%;
    color: white;
    width: 120px;
    height: 40px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-position 0.3s ease, transform 0.2s ease;
}

#loginPopup button:hover {
    background-position: 100% 0; /* Shift the gradient */
    transform: translateY(-2px);
}



@media (max-width: 400px) {
    .loginContainer {
        width: 90%;
        height: auto;
        padding: 15px;
    }

    #loginPopup h2 {
        font-size: 20px;
    }

    #loginPopup button {
        width: 100%;
    }
}
