/* Reset + Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(120deg, #fff6e6, #ffe6cc);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Container Base */
.auth-container {
  width: 100%;
  max-width: 460px;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(255, 136, 0, 0.2);
}

/* Form Boxes */
.form-box, .auth-box {
  text-align: center;
}

/* Headings */
.auth-container h2 {
  color: #ff7a00;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 26px;
}

.auth-container .subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

/* Input Styles */
form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #ffb366;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.3s ease;
}

form input:focus {
  outline: none;
  border-color: #ff7a00;
}

/* Button */
form button {
  width: 100%;
  background-color: #ff7a00;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #e06600;
}

/* Flash Messages */
.flash {
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.flash.success {
  background-color: #e6fff2;
  color: #2e8b57;
  border: 1px solid #a6dcb5;
}

.flash.danger {
  background-color: #ffe6e6;
  color: #c0392b;
  border: 1px solid #e6b0aa;
}

.flash.warning {
  background-color: #fff8e6;
  color: #e67e00;
  border: 1px solid #ffd17a;
}

/* Auth Switch Text */
.auth-switch, form p {
  margin-top: 20px;
  font-size: 14px;
}

.auth-switch a, form p a {
  color: #ff7a00;
  font-weight: 500;
  text-decoration: none;
}

.auth-switch a:hover, form p a:hover {
  text-decoration: underline;
}

/* Mobile */
@media screen and (max-width: 480px) {
  .auth-container {
    padding: 30px 20px;
  }
}
