/* ===== FORM CONTAINER ===== */
/* ===== GLASS FORM CONTAINER (UPDATED) ===== */
.container {
  position: relative;
min-height: calc(100vh - 80px); /* subtract navbar height */
  margin-top: 80px; /* same as navbar height */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 30px;
}
/* Make the signup form centered perfectly on screen */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.login-form {
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(48, 106, 147, 0.6);
  padding: 15px 45px;
    padding-top:15px;
  text-align: center;
  animation: fadeIn 1.2s ease;
  justify-content: center;
  border: 2px solid #ffffff; /* White outline */
}

.login-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(48, 106, 147, 1), 0 0 40px rgba(1, 65, 156, 1);
  border: 2px solid rgba(48, 106, 147, 1); /* Blue neon outline on hover */
}

/* Headings */
.login-form h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(48, 106, 147, 1);
}

.login-form p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* Inputs */
.login-form .form-control {
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 8px;
  height: 45px;
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 10px rgba(48,106,147,0.5);
  transition: all 0.3s ease;
    width: 100%;
  max-width: 100%;
}

.login-form .form-control:focus {
  box-shadow: 0 0 15px rgba(48,106,147,0.9);
  outline: none;
}

.login-form .form-control::placeholder {
  color: rgba(255,255,255,0.75);
}

/* Button */
.login-form .button {
  background: linear-gradient(135deg, #306a93, #01419c);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(48,106,147,0.6);
    width: 100%;
  max-width: 100%;
}

.login-form .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(48,106,147,1);
}

/* Links */
.login-form .link {
  color: #fff;
  font-size: 14px;
}

.login-form .link a {
  color: #00aaff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-form .link a:hover {
  color: #4dd0ff;
  text-decoration: underline;
}

/* Alert */
.alert {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #fff;
  border-radius: 6px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== Signup Page Adjustments ===== */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

#password-hints-content {
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 15px;
  color: #fff;
  margin-top: 5px;
}

#password-hints-content h6 {
  font-size: 0.95rem;
  color: #9cd1ff;
}

#password-hints-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

#password-hints-content li {
  font-size: 0.85rem;
}
/* Adjust spacing for OTP page */
/* ===== OTP PAGE ONLY ===== */
.otp-form {
  max-width: 600px;       /* wider card just for OTP */
  padding: 50px 60px;     /* more breathing space */
}

.otp-form .alert {
  width: 100%;
  max-width: 100%;
  margin: 15px auto;
}

.otp-form h2 {
  margin-bottom: 20px;
}

/* ===== ALERT FIXES ===== */
.alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 500;
  text-align: center;
  word-wrap: break-word;
}

/* Success alert (OTP sent, verified, etc.) */
.alert-success {
  background: rgba(0, 128, 0, 0.3);
  border: 1px solid rgba(0, 255, 0, 0.4);
  color: #d4fcd4;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

/* Error alert (wrong OTP, missing input, etc.) */
.alert-danger {
  background: rgba(255, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #ffd9d9;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

html, body {
  height: 100%;
  overflow: hidden;
}
/* ===== Signup Container ===== */
.signup-container {
  position: relative;
min-height: calc(100vh - 80px); /* subtract navbar height */
  margin-top: 80px; /* same as navbar height */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 30px;
}

/* Signup form card matching signin layout */
/* ===== Signup form card (exactly like signin) ===== */
.signup-form {
  width: 100%;
  max-width: 700px; /* same as login */
  background: rgba(255, 255, 255, 0.1); /* same glass effect */
  backdrop-filter: blur(25px);
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25); /* same outline */
  box-shadow: 0 8px 24px rgba(48, 106, 147, 0.6);
  padding: 15px 45px; /* same padding as login-form */
  text-align: center;
  animation: fadeIn 1.2s ease;
  justify-content: center;
  border: 2px solid #ffffff; /* White outline */
}

/* Hover effect */
.signup-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(48, 106, 147, 1), 0 0 40px rgba(1, 65, 156, 1);
  border: 2px solid rgba(48, 106, 147, 1); /* Blue neon outline on hover */
}

/* Headings and text */
.signup-form h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(48, 106, 147, 1);
}

.signup-form p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 25px;
}


/* Headings and text */
.signup-form .login-link {
    color: #ffffff;
}

/* Links inside "Already a member?" */
.signup-form .login-link a {
    color: #00aaff;
}

.signup-form .login-link a:hover {
    color: #4dd0ff;
}

/* Inputs & buttons same as signin */
/* ===== Signup form inputs & button (match signin exactly) ===== */
.signup-form .form-control {
  background: rgba(255, 255, 255, 0.2); /* same glass input */
  border: none;
  border-radius: 8px;
  height: 45px; /* same height as login */
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px; /* same spacing */
  box-shadow: inset 0 0 10px rgba(48, 106, 147, 0.5);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.signup-form .form-control:focus {
  box-shadow: 0 0 15px rgba(48, 106, 147, 0.9);
  outline: none;
}

.signup-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.signup-form .button {
  background: linear-gradient(135deg, #306a93, #01419c);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(48, 106, 147, 0.6);
  width: 100%;
  max-width: 100%;
}

.signup-form .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(48, 106, 147, 1);
}

/* Inputs, buttons, links can stay the same as .login-form */

@media (max-width: 768px ) {
        html, body {
        height: auto;       /* let height adjust */
        overflow-y: auto;   /* vertical scroll allowed */
    }
    .container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: -100px;
}
  .signup-container {
    padding: 20px;
    margin: 10px;
  }

  .signup-form {
    padding: 20px;
  }
}
