:root {
  --primary-gold: #D4AF37;
  --gold-accent: #C5A059;
  --gold-dark: #8C6D31;
  --bg-primary: #0B0B0B;
  --bg-surface: #161616;
  --bg-card: #1E1E1E;
  --text-primary: #F5F5F5;
  --text-secondary: #B0B0B0;
  --border-gold: rgba(212, 175, 55, 0.3);
  --error-red: #E53935;
  --success-green: #43A047;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Brand Styling */
.brand-header {
  text-align: center;
  margin-bottom: 30px;
}

.brand-title {
  color: var(--primary-gold);
  font-size: 2rem;
  letter-spacing: 4px;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--gold-accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
  font-weight: 600;
}

/* Forms & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group input {
  background-color: var(--bg-card);
  border: 1px solid #333;
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: var(--primary-gold);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.form-actions.center {
  justify-content: center;
  margin-top: 10px;
}

.forgot-link {
  color: var(--gold-accent);
  font-size: 0.85rem;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-submit {
  background: linear-gradient(135deg, #E2C265 0%, #C5A059 50%, #8C6D31 100%);
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* Alert Notification */
.alert-box {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-align: center;
}

.alert-box.error {
  background-color: rgba(229, 57, 53, 0.15);
  border: 1px solid var(--error-red);
  color: var(--error-red);
}

.alert-box.success {
  background-color: rgba(67, 160, 71, 0.15);
  border: 1px solid var(--success-green);
  color: var(--success-green);
}

.hidden {
  display: none !important;
}