@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Cedarville+Cursive&family=Concert+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rokkitt:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');




* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins';
  margin: 0;  
  
}

/* Modal overlay (background blur) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* dark overlay */
    backdrop-filter: blur(6px); /* blur background */
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


/* Show modal when active */
.modal-overlay.active {
    display: flex;
}



.login-modal {
    position: relative;
    max-width: 320px;
    margin: 50px auto;
    padding: 30px 20px;
    background: rgba(25, 25, 25, 0.95);
    border-radius: 12px;
    text-align: center;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

/* Close button */
.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 25px;
    background: none;
    border: none;
    color: #086ca2;
    cursor: pointer;
}


/* Title & subtitle */
.modal-title {

    font-size: 16px;
    font-weight: 500;
    font-family: "Poppins";
    margin: 1rem 0 1rem 0;
    color: #086ca2;
}

/* Input field */
.modal-input-group {
    text-align: left;
    margin-bottom: 2rem;
    margin-left: 1rem;
    font-weight: 400;
    font-family: "Poppins";
    font-size: 14px;
    color: white;
}
.modal-input-group label {
    display: block;
    font-size: 14px;
    margin: 2rem 0 0.7rem 0.3rem;
    font-weight: 200;
    font-family: "Poppins";
    color: rgb(255, 255, 255);
}
.modal-input-group input {
    width: 90%;
    padding: 7px;
    border-radius: 8px;
    border: 0.1px solid #5c585867;
    background: #1e1e1e;
    color: #fff;
    font-size: 14px;
    font-weight: 200;
    font-family: "Poppins";
}

.modal-input-group input::placeholder {
    color: #888; /* subtle grey by default */
    font-size: 14px;
    font-weight: 200;
    font-family: "Poppins";
    transition: color 0.3s ease-in-out;

}

/* Focus effect (shiny border) */
.modal-input-group input:focus {
    /* border: 1px solid transparent;
    background-clip: padding-box; */
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    font-family: "Poppins";
}


/* OTP Button */
.modal-otp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 85%;
    padding: 7px;
    background: #1E1E1E;
    color: #ffffff;
    border: 0.1px solid #5c585867;
    border-radius: 8px;    
    cursor: pointer;
    transition: background 0.2s ease;
    margin: -0.5rem 0 0 1rem;
    font-family: "Poppins";
}



.modal-otp-btn:hover {
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    border: none;
}
#modal-phone:hover {
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    border: none;
}

.modal-resend-otp:hover {
    /* box-shadow: 0 0 8px 2px #086ca2; */
    /* background: rgba(27, 27, 27, 0.785); */
    border: none;
    background: #086ca2;
}

.modal-otp-icon {
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-otp:hover {
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    border: none;
}

.modal-otp-icon img {
    width: 1.2rem;
    height: 1.2rem;
    /* margin-right: 0.2rem; */
}

.modal-otp-text{
    font-size: 12px;
    font-weight: 200;
    font-family: "Poppins";
    color: white;
}

.modal-note-message {
    /* margin-top: 1.5rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 0 0;
    padding-left: 1rem ;
    
}

.modal-note {
    font-size: 12px;
    color: rgb(255, 255, 255);
    text-transform: none;
    font-weight: 200;
    font-family: "Poppins";
    display: flex;           
    align-items: left;
    /* gap: 0.2rem;              */
}

.modal-note-icon img {
    width: 1.5rem;
    height: 1.5rem;
    /* padding-left: 1rem; */
}

.modal-note-verify{
    margin: 0.5rem 0.5rem 1.6rem 0.5rem;
}

.modal-verify-text{
    font-weight: 200;
    font-family: "Poppins";
    font-size: 12px;
    color: rgb(255, 255, 255);
}

#modal-otp-section{
    display: none; 
}
.modal-resend-otp-section {
    margin-top: 1rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


.modal-resend-otp-time {
    font-size: 12px;
    color: white;
    text-transform: none;
    font-weight: 400;
    font-family: "Poppins";
}


.modal-resend-otp {
    display: flex;
    justify-content: center;
    align-items: center;    
    padding: 4px 8px 4px 8px;
    background: #32333225;   
    border: none;
    border-radius: 8px;    
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 12px;
    color: white;
    font-weight: 200;
    font-family: "Poppins";
}


#modal-logoutDropdown {
  display: none;  
  position: absolute;
  z-index: 1000;
}


.modal-logout-dropdown button {
  background: rgba(47, 46, 46, 0.525);
  border: none;
  padding: 1rem 1rem 1rem 2rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  color: white;
  border-radius: 1.1rem;
  font-size: 1.1rem;
  font-family: "Poppins";
  display: flex;         /* ✅ align image + text better */
  align-items: left;
  justify-content: left;
  margin-top: 1rem;
}

.modal-logout-dropdown button:hover {
  transform: scale(1.05);
}

.modal-logout-dropdown button img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem; /* keeps spacing before Logout */
}

.modal-logout-dropdown button .logout-text {
  margin-right: 1rem; /* ✅ extra spacing after Logout */
  font-size: 1.1rem;
  font-family: "Poppins";
}