/* ===== FORM GENERAL STYLING ===== */
main {
  flex: 1;
  padding: 80px 20px 30px 20px;
  margin-left: 280px;
  transition: margin 0.45s ease;  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

/* Title */
main h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(130deg, #ffae00, #fff700);
  background-clip: text;
  color: transparent;
}


/*Hide signup by default*/
#signupForm {
  display: none;
}
/* Form Container */
form {
  width: 100%;
  max-width: 420px;
  margin-top: 22px;
  background: #111;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 230, 0, 0.3);
  border: 1px solid rgba(255, 230, 0, 0.2);
}

/* Labels */
form label {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 500;
  color: #ffe600;
}

/* Inputs */
form input, form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 17px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
  transition: border 0.3s, box-shadow 0.3s;
}

form input:focus {
  border-color: #ffe600;
  outline: none;
  box-shadow: 0 0 8px #ffe600;
}

/* Fieldset */
fieldset {
  border: 1px solid rgba(255, 230, 0, 0.4);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 18px;
}

legend {
  padding: 0 10px;
  color: #ffe600;
  font-weight: 500;
  font-size: 1.2rem;
}
/* Textarea settings */
#propertyForm textarea {
  resize: vertical;
  min-height: 90px;
}
/* Submit Button */
button {
  width: 100%;
  margin: 10px auto;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  background: linear-gradient(90deg, #ffe600, #ffad00);
  cursor: pointer;
  color: #000;
  transition: transform 0.25s, box-shadow 0.25s;
}

button:hover {
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 800px) {
  main {
        margin-left: 0;
    padding-top: 70px;
  }
  form {
    max-width: 92%;
    padding: 20px;
  }
}

form a {
  color: #87ceeb;
}
form a:hover {
  color: #87cfebb3;
}
form a:focus {
    color: #87cfeb43;

}