/* Login (Auth Card 05-inspired) with site colors */

:root {
  --brand: #6d00c7;
  --brand-600: #4b0082;
  --text: #111;
  --muted: #666;
  --panel: #ffffff;
  --border: #ece6f6;
  --bg: #f7f7fa;
}

body {
  background: #111 !important; /* match index header dark */
  background-image: none !important; /* remove gradient image */
  background-size: auto !important;
}

.auth-section {
  padding: clamp(40px, 8vw, 80px) 16px;
}

.login-center {
  display: grid;
  place-items: center;
}

.auth-card.login-form {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(34, 0, 66, 0.10);
  padding: 28px;
}

.auth-header {
  text-align: center;
  margin-bottom: 18px;
}
.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.brand-logo {
  width: 56px;
  height: 56px;
}
.auth-header h1 {
  font-size: 1.8rem;
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 700;
}
.auth-subtitle {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.login-feedback {
  background: #ffeef0;
  color: #a40014;
  border: 1px solid #ffd0d6;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0 4px;
}

.auth-form {
  margin-top: 6px;
}
.field {
  margin-top: 14px;
}
.field label {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 6px;
}
.field-input {
  position: relative;
}
.field-input input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0c8e0;
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field-input input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(109,0,199,0.15);
}

/* Password toggle styles moved to global includes/main.css (.with-toggle .password-toggle) */

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.login-row .remember {
  color: var(--text);
}
.forgot-link {
  color: var(--brand);
  text-decoration: none;
}
.forgot-link:hover {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 1.05rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: none !important;
}

.login-register-link {
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
}
.login-register-link a {
  color: var(--brand);
  text-decoration: none;
}
.login-register-link a:hover {
  text-decoration: underline;
}

.terms-note {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.95rem;
}
.terms-note a {
  color: var(--brand);
  text-decoration: none;
}
.terms-note a:hover {
  text-decoration: underline;
}

/* Mobile styles are defined in auth/login.mobile.css */
