        @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Poppins", sans-serif;
        }

        .show-popup {
            /* padding: 18px 40px;
            background: #6e78ff;
            border: none;
            outline: none;
            border-radius: 6px;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
            cursor: pointer;
            font-size: 18px;
            color: #f2f2f2;
            font-weight: 500;

            position: relative;
            z-index: 1; */

            z-index: 1;

            /* Button will stay below popup when opened */
        }

        .popup-container {
            position: fixed;
            /* Ensure it covers the entire screen */
            top: 55%;
            left: 50%;
            width: 98%;
            /* min-height: 500px; */
            max-height: 540px;
            height: 100%;
            transform: translate(-50%,-50%);
            background: rgba(0, 0, 0, 0.6);
            /* Dark overlay */
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            z-index: 40;
            border-radius: 20px;
            box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
            /* Higher than button */
        }

        .popup-container.active {
            opacity: 1;
            pointer-events: auto;
            transition: 0.4s ease;
        }

        .popup-container .popup-box {
            width: 100%;
            height: 100%;
            background: #fff;
            position: relative;
            transform: scale(0);
            border-radius: 20px;

        }

        .popup-container.active .popup-box {
            transform: scale(1);
            transition: 0.4s ease;
            transition-delay: 0.25s;
        }



        .popup-box .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background: none;
            border: none;
            outline: none;
            font-size: 24px;
            font-weight: bold;
            color: #333;
            cursor: pointer;
            line-height: 1;
            z-index: 99;
        }

        .popup-box .close-btn:hover {
            color: #000000;
        }
        @media (max-width:570px) {
            .popup-container {
                top: 29%;
                max-height: 400px;
                height: 100%;
                z-index: 99;
            }
        }



      
/* General Styles for Forgot Password Popup */
.forgot-password-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 90%;
    height: max-content;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 10000; /* Ensure it's above other popups */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* Forgot Password Popup Box Styling */
.forgot-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.forgot-box h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.forgot-box p {
    font-size: 14px;
    /* margin-bottom: 10px; */
    color: #555;
}

.forgot-box .input-field {
    max-width: 400px;
    width: 100%;
    padding: 8px 10px;
    /* margin: 10px 0; */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.forgot-box .input-field:focus {
    border-color: #007bff;
}

.forgot-box .sign-btn-forget  {
    background-color: #007bff;
    color: white;
    border: none;
    width: 140px;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.forgot-box .sign-btn-forget:hover {
    background-color: #0056b3;
}
#verify-otp-btn{
    background-color: #007bff;
    color: white;
    border: none;
    width: 140px;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}
.forgot-box .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
}
#otp-section{
    margin-top: 8px;
}
#otp-section h3{
    font-size: 16px;
    color: #333;

}
.otp-v{
    display: flex;
    width: 100%;
    /* justify-content: space-between; */
    align-items: center;
    gap: 10px;
}
.inputfototp{
    width: 100%;
}
.inputfototp #otp-input{
    width: 100%;
}
.otp-v .buttonforverify{
    width: 100%;
}
#reset-password-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    margin-top: 10px;
}
.reset-content{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
#reset-password-section .input-field{
    max-width: 400px;
    width: 100%;
}
.otpmes{
    display: flex;
    flex-direction: column;
}
.error {
    color: red;
    display: none;
    font-size: 0.9em;
}
.success {
    color: green;
    display: none;
    font-size: 0.9em;
}
#forgot-password-popup {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
}
.hidden {
    display: none;
}
/* Fade-in Animation for Popup */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


/* .otp-section{
    display: flex;
    flex-direction: row;
    border: 1px solid black;
    max-width: 380px;
    width: 100%;
}
.otp-input-group{
    display: flex;
    width: 100%;
    border: 1px solid red;
} */

.otp-section {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: 10px 0; */
  }
  
  .otp-input-group {
    display: flex;
    align-items: center;
    gap: 2px; /* No space between input and buttons */
    max-width: 400px;
    width: 100%;
    flex-direction: column;
  }
  
  .otpshowcontent {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    width: 100%;
    gap: 10px; 
    /* padding-top: 4px; */
    /* padding-bottom: 8px; */
    padding-left: 0; 
    padding-right: 0; 
  }
  
  .otp-input {
    height: 36px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 180px;
    width: 100%;
  }
  
  
  .otp-btn {
    height: 36px;
    padding: 5px 6px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
  }
  
  .otp-btn:hover {
    background-color: #0056b3;
  }
  
  /* #email-timer{
    font-size: 8px;
  } */
  #resend-email-otp, #resend-mobile-otp{
    width:130px ;
  }