/* 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;
     width: 90%;            /* responsive width */
    max-width: 300px;      /* slightly narrower than before */
    padding: 25px 20px;    /* adjust padding if needed */
    background: rgba(25, 25, 25, 0.95);
    border-radius: 12px;
    text-align: center;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

/* Close button */
.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: 1.6rem;
    font-weight: 600;
    font-family: "Poppins";
    margin: 2rem 0 3rem 0;
    color: #086ca2;
}
.modal-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: "Poppins";
    margin-top: 2rem;
    color: rgb(255, 255, 255);
    margin-bottom: 4rem;
}

/* Input field */
.input-group {
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 400;
    font-family: "Poppins";
    color: white;
}
.input-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 1rem;
    font-weight: 200;
    font-family: "Poppins";
    color: rgb(255, 255, 255);
}
.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 0.1px solid #5c585867;
    background: #1e1e1e;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    font-family: "Poppins";
}

.input-group input::placeholder {
    color: #888; /* subtle grey by default */
    font-size: 1.3rem;
    font-weight: 400;
    font-family: "Poppins";
    transition: color 0.3s ease-in-out;

}

/* Focus effect (shiny border) */
.input-group input:focus {
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 8px 2px #086ca2;
    /* border-image: linear-gradient(90deg, rgb(4, 105, 4), #ff00f7); */
    border-image-slice: 1;
    background: rgba(27, 27, 27, 0.785);
    font-family: "Poppins";
}



/* OTP Button */
.otp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #1E1E1E;
    color: #ffffff;
    border: 0.1px solid #5c585867;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 2rem;
    font-family: "Poppins";
}

.otp-btn:hover {
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    border: none;
}
#phone:hover {
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    border: none;
}

.resend-otp:hover {
    /* box-shadow: 0 0 8px 2px #086ca2; */
    /* background: rgba(27, 27, 27, 0.785); */
    border: none;
    background: #086ca2;
}

.otp-icon {
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#otp:hover {
    box-shadow: 0 0 8px 2px #086ca2;
    background: rgba(27, 27, 27, 0.785);
    border: none;
}

.otp-icon img {
    width: 1.6rem;
    height: 1.6rem;
    opacity: 0.9;
    /* margin-right: 0.2rem; */
}

.otp-text{
    font-size: 1.3rem;
    font-weight: 500;
    font-family: "Poppins";
}

.note-message {
    /* margin-top: 1.5rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0 0 0;
    padding-left: 1rem ;
    
}

.note {
    font-size: 1.3rem;
    color: rgba(157, 157, 157, 0.85);
    text-transform: none;
    font-weight: 400;
    font-family: "Poppins";
    display: flex;           
    align-items: left;
    /* gap: 0.2rem;              */
}

.note-icon img {
    width: 2.5rem;
    height: 2.5rem;
    /* padding-left: 1rem; */
}

.note-verify{
    margin: 0.5rem 0.5rem 1.6rem 0.5rem;
}

.verify-text{
    font-weight: 400;
    font-family: "Poppins";
    font-size: 1.2rem;
    color: rgba(183, 180, 180, 0.843);
}

#otp-section{
    display: none; 
}
.resend-otp-section {
    margin-top: 2rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


.resend-otp-time {
    font-size: 1.1rem;
    color: white;
    text-transform: none;
    font-weight: 400;
    font-family: "Poppins";
}


.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: 1.1rem;
    color: white;
    font-weight: 400;
    font-family: "Poppins";
}


#logoutDropdown {
  display: none;   /* ✅ by default hidden */
  position: absolute;
  /* right: 0;
  top: 100%; */
  /* background: rgba(0,0,0,0.8);
  border-radius: 8px; */
  /* min-width: 120px; */
  z-index: 1000;
}


.logout-dropdown button {
  /* background: rgba(47, 46, 46, 0.525); */
  border: none;
  padding: 1rem 1rem 1rem 1rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  color: white;
  border-radius: 1.1rem;
  font-size: 12px;
  font-family: "Poppins";
  display: flex;         /* ✅ align image + text better */
  align-items: left;
  justify-content: left;
  margin-top: 1rem;
  font-weight: 200;
}

.logout-dropdown button:hover {
  transform: scale(1.05);
}

.logout-dropdown button img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem; /* keeps spacing before Logout */
}

.logout-dropdown button .logout-text {
  margin-right: 1rem; /* ✅ extra spacing after Logout */
  font-size: 1.1rem;
  font-family: "Poppins";
}



@media (min-width: 380px) and (max-width: 499px) {
   
.logout-dropdown button {
  /* background: rgba(47, 46, 46, 0.525); */
  border: none;
  padding: 0.8rem 1rem 0.8rem 1rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  color: white;
  border-radius: 1.1rem;
  font-size: 12px;
  font-family: "Poppins";
  display: flex;         /* ✅ align image + text better */
  align-items: left;
  justify-content: left;
  margin: 4px 0 0 0;
  font-weight: 200;
} 
}


@media (min-width: 320px) and (max-width: 379px) {
   
.logout-dropdown button {
  /* background: rgba(47, 46, 46, 0.525); */
  border: none;
  padding: 0.5rem 1rem 0.8rem 1rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  color: white;
  border-radius: 1.1rem;
  font-size: 10px;
  font-family: "Poppins";
  display: flex;         /* ✅ align image + text better */
  align-items: left;
  justify-content: left;
  /* margin-top: 1rem; */
  margin: 4px 0 0 0;
  font-weight: 200;
} 
}