/* ==============================
   Fonts
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Raleway:wght@400;500;600&display=swap');

:root {
  /* Primary Colors */
  --primary-color: #2F4F2F;   /* Deep Green */
  --primary-hover: #3E7A3F;   /* Accent Green */

  /* Accents */
  --accent-gold: #CEB77E;     /* Gold Accent */

  /* Neutral Palette */
  --neutral-offwhite: #F5F2EA;
  --neutral-dark: #444444;
  --neutral-light: #F8F8F8;

  /* Text Colors */
  --text-heading: var(--primary-color);
  --text-body: var(--neutral-dark);
  --text-muted: #6b7280; /* can keep a muted grey for secondary UI */
}

/* ==============================
   Base Styles
   ============================== */
body {
  background: linear-gradient(135deg, #fdfbfb 0%, var(--neutral-offwhite) 100%);
  font-family: 'Raleway', sans-serif;
  color: var(--text-body);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-heading);
  font-weight: 600;
}

p, label, input, button, a, span {
  font-family: 'Raleway', sans-serif;
}

/* ==============================
   Register Card
   ============================== */
.register-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.7s ease;
}

.register-card h2 {
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-heading);
}

.register-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==============================
   Form Controls
   ============================== */
.form-label {
  font-weight: 600;
  color: var(--text-body);
  font-size: 0.95rem;
}

.form-control {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--accent-gold);
  background-color: var(--neutral-light);
  color: var(--text-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(47, 79, 47, 0.3);
  outline: none;
}

/* ==============================
   Buttons
   ============================== */
.btn-primary {
  background: var(--primary-color) !important;
  border: none !important;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 10px;
  color: var(--neutral-offwhite);
}

.btn-primary:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 79, 47, 0.3);
}

/* ==============================
   Links
   ============================== */
.login-link {
  color: var(--primary-color) ;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: #3E7A3F;
  text-decoration: underline;
}

/* ==============================
   Alerts
   ============================== */
.alert {
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==============================
   Animations
   ============================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
