/* ==========================================================================
   FormEurope – Auth Pages
   Font: Inter | Base: 18px | Palette-restricted
   ========================================================================== */

/* ---- Page wrapper ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F9FAFB;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #1F2937;
}

/* ---- Container ---- */
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 24px;
}

/* ---- Card ---- */
.auth-card {
  background-color: #FFFFFF;
  max-width: 480px;
  width: 100%;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
}

/* ---- Card header ---- */
.auth-card__header {
  text-align: center;
  margin-bottom: 32px;
}

/* ---- Card title (h2 style) ---- */
.auth-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.3;
  margin: 0;
}

/* ---- Form elements ---- */
.auth-card label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #1F2937;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  color: #1F2937;
  background-color: #FFFFFF;
  min-height: 48px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.auth-card input[type="text"]:focus,
.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus {
  outline: none;
  border-color: #C9A227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.auth-card .form-group {
  margin-bottom: 20px;
}

.auth-card button[type="submit"],
.auth-card .auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  background-color: #C9A227;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.auth-card button[type="submit"]:hover,
.auth-card .auth-btn:hover {
  background-color: #A88519;
}

/* ---- Error / success messages ---- */
.auth-card .error-message {
  color: #DC2626;
  font-size: 14px;
  margin-top: 4px;
}

.auth-card .success-message {
  color: #059669;
  font-size: 14px;
  margin-top: 4px;
}

/* ---- Footer ---- */
.auth-footer {
  margin-top: 32px;
  text-align: center;
  color: #6B7280;
  font-size: 16px;
}

.auth-footer a {
  color: #C9A227;
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  color: #A88519;
  text-decoration: underline;
}

/* ---- Links row ---- */
.auth-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.auth-links a {
  color: #C9A227;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.auth-links a:hover {
  color: #A88519;
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .auth-container {
    padding: 16px;
  }

  .auth-card {
    padding: 24px;
    border-radius: 8px;
  }

  .auth-card__title {
    font-size: 1.25rem;
  }
}
