body {
    margin: 0;
    background: radial-gradient(circle at top left, #101827 0%, #070b14 45%, #03050a 100%);
    color: white;
    font-family: 'Times New Roman', Times, serif;
}

main {
    border-top: 2px solid #f5c542;
    border-bottom: 2px solid #f5c542;
}

/* ============================= */
/* SIGNUP / LOGIN SECTION */
/* ============================= */
.signuplogin {
  padding: 5rem 1.5rem;
  text-align: center;
}

/* Heading */
.heading {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* Form container */
.form-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Input fields */
.info-text {
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.8rem 1rem;
  border: 1px solid #f4c56c;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: #000;
}

.info-text:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Fix dropdown option text (when opened) */
select.info-text option {
  color: #000; /* dropdown list text */
}

/* Optional: fix placeholder-style first option */
select.info-text:invalid {
  color: #888; /* lighter placeholder color */
}

/* Button */
.submit-button {
  background: linear-gradient(135deg, #f5c542, #ff8c42);
  color: #000000;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover */
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(244,197,108,0.3);
}

/* 🚫 Disabled state */
.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Forgot password link */
.password-button {
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  margin-top: 0.5rem;
}

.password-button:hover {
  text-decoration: underline;
}

/* Switch text */
.switch {
  margin-top: 1.5rem;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.switch-text {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  margin-left: 0.3rem;
}

.switch-text:hover {
  text-decoration: underline;
}

.hidden {
    display: none;
}

#response {
    margin-top: 15px;
    font-size: 18px;
    
}

.success {
    color: rgb(33, 137, 19);
}

.error {
    color: rgb(238, 27, 27);
}

/* ============================= */
/* MOBILE TUNING */
/* ============================= */

@media (max-width: 480px) {
  .info-text {
    font-size: 1rem;
  }

  .submit-button {
    font-size: 1rem;
  }
}