/* ============================
   Sign Up – On-brand Dark Theme
   ============================ */

/* Page background + base text */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
  background: #0b1220;            /* deep navy page bg */
  color: #e6f0ff;                 /* soft light text */
  font-family: 'Roboto', Arial, sans-serif;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
}

/* Main Content Area */
.signup-page {
  flex: 1;                        /* push footer down */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 20px;
}

/* Card */
.signup-container {
  background: #12243f;            /* navy card */
  border: 1px solid #1e293b;      /* subtle border */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  color: #e6f0ff;
  animation: fadeIn 0.8s ease-in-out;
  box-sizing: border-box;
}

/* Title */
.signup-container h1 {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Inputs */
.signup-container input[type="text"],
.signup-container input[type="email"],
.signup-container input[type="tel"],
.signup-container input[type="password"],
.signup-container input[type="number"],
.signup-container input[type="date"],
.signup-container input[type="zipcode"] {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 25px;
  border: 1px solid #1f2a44;      /* subtle border */
  background-color: #0f172a;      /* dark input bg */
  color: #e6f0ff;
  font-size: 1em;
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.signup-container input::placeholder {
  color: #94a3b8;                 /* slate placeholder */
}

.signup-container input:focus {
  border-color: #38bdf8;          /* sky ring */
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .25);
}

/* Autofill fix */
.signup-container input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
  -webkit-text-fill-color: #e6f0ff !important;
  caret-color: #e6f0ff;
}

/* Checkbox + labels */
.notification-option,
.terms {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9em;
  margin: 10px 0;
  text-align: left;
  color: #c7d2fe;
}

.notification-option input[type="checkbox"],
.terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #2563eb;          /* brand blue */
}

/* Button */
.signup-container .btn {
  width: 100%;
  padding: 12px;
  background-color: #2563eb;      /* primary blue */
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color .2s, transform .15s;
}

.signup-container .btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.signup-container .btn:active {
  transform: translateY(0);
}

/* Password container (remove extra space for eye icon) */
.password-container {
  position: relative;
  margin: 10px 0;
}
.password-container input[type="password"] {
  padding-right: 15px;            /* no toggle-eye, remove extra space */
}

/* Messages */
.info-message,
.requirement-message,
.error-message {
  font-size: 0.9em;
  color: #fca5a5;                  /* soft red for notices */
  margin-top: 5px;
  text-align: left;
}

/* Login link */
.login-link {
  margin-top: 15px;
  font-size: 0.9em;
}
.login-link a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: bold;
}
.login-link a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* Fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer (non-bold, on-brand) */
footer {
  background-color: #0b1220;
  color: #9fb3d8;
  text-align: center;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;               /* stick to bottom */
  font-weight: normal;            /* ensure not bold */
}

/* Responsive */
@media (max-width: 768px) {
  .signup-page {
    margin-top: 60px;
    padding: 15px;
  }
  .signup-container {
    padding: 20px;
    width: 95%;
  }
  .signup-container h1 {
    font-size: 1.8em;
  }
  .signup-container input[type="text"],
  .signup-container input[type="email"],
  .signup-container input[type="tel"],
  .signup-container input[type="password"],
  .signup-container input[type="number"],
  .signup-container input[type="date"],
  .signup-container input[type="zipcode"] {
    font-size: 0.95em;
  }
  .signup-container .btn {
    font-size: 0.95em;
    padding: 11px;
  }
  .notification-option,
  .terms {
    font-size: 0.85em;
  }
}
