/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #fdfaf6, #f7e9c3);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CONTAINER ===== */
.container {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
  text-align: center;
  transition: 0.3s;
}

.container:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
}

/* ===== HEADER ===== */
.container h2 {
  font-size: 26px;
  color: #3a3a3a;
  margin-bottom: 25px;
  font-weight: 600;
}

/* ===== FORM ===== */
form {
  width: 100%;
  text-align: left;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 15px;
  color: #444;
}

.field input {
  width: 100%;
  padding: 14px 15px;
  font-size: 15px;
  border: 1px solid #e6d8b3;
  border-radius: 10px;
  background: #fff;
  transition: 0.3s;
}

.field input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.4);
  outline: none;
}

/* ===== BUTTON ===== */
button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #f5deb3, #e6be8a);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #3a3a3a;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #c9a032, #f1d199, #e2b47a);
}

/* ===== SUCCESS & ERROR MESSAGE ===== */
.message {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

.message.success {
  background: #d1f7d6;
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

.message.error {
  background: #fbdada;
  color: #c62828;
  border: 1px solid #c62828;
}

/* ===== LINK ===== */
a {
  text-decoration: none;
  color: #b59b3d;
  font-weight: 500;
}

a:hover {
  color: #d4af37;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .container {
    padding: 30px 25px;
  }

  .container h2 {
    font-size: 22px;
  }

  button {
    font-size: 15px;
  }
}
