
/* ========== GLOBAL PAGE LAYOUT ========== */
body.signup-page {
  background-color: #007BFF;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* ========== SIGNUP CONTAINER ========== */
.signup-container {
  background: white;
  padding: 2rem 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
}

/* Headings */
.signup-container h2 {
  text-align: left;
  margin-bottom: 4px;
  margin-top: 0;
  font-size: 1.8em;
  font-weight: 600;
}

.signup-container h4 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.1em;
  font-weight: 400;
  color: #555;
}

/* ========== FORM STYLING ========== */
.form-group {
  margin-bottom: 1.2rem;
}

/* Labels above input */
.form-label {
  display: block;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 0.4rem;
}

/* Forgot password link beside label */
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.forgot-link {
  font-size: 0.8rem;
  color: #007BFF;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Input boxes full width */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
input:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

/* ========== PLACEHOLDER TEXT ========== */
::placeholder {
  color: #999;
  opacity: 1; /* For Firefox */
}

input:focus::placeholder {
  color: #ccc;
}

/* ========== BUTTON ========== */
.btn-submit {
  background-color: #007BFF;
  color: white;
  border: none;
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
}

.btn-submit:active {
  transform: scale(0.98);
}

/* ========== HELP TEXTS AND ERRORS ========== */
.password-help {
  margin-top: 0.3rem;
  color: #555;
  font-size: 0.85rem;
}

.errorlist {
  color: #d9534f;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* ========== ALT ACTION (Login link) ========== */
.alt-action {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.alt-action a {
  color: #007BFF;
  text-decoration: none;
}

.alt-action a:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVE (Mobile support) ========== */
@media (max-width: 480px) {
  .signup-container {
    padding: 1.5rem;
  }

  .signup-container h2 {
    font-size: 1.5em;
  }

  .signup-container h4 {
    font-size: 1em;
  }
}


.btn-submit[name="delete_account"] {
  background-color: #dc3545;
}

.btn-submit[name="delete_account"]:hover {
  background-color: #b02a37;
}