/* Login page styles — uses design tokens from tokens.css */

/* Toast notification */
.toast {
  max-width: 420px;
  margin: 1rem auto 0;
  padding: 0.625rem 0.875rem;
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  font-size: 9.5pt;
  line-height: 1.4;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.toast-close {
  background: none;
  border: none;
  font-size: 14pt;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}

.toast-close:hover {
  color: var(--text-primary);
}

.login-shell {
  max-width: 420px;
  margin: 4rem auto 0;
  padding: 0 1rem;
}

.login-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.login-header {
  background: var(--black);
  border-bottom: 3px solid var(--accent);
  padding: 1.5rem 1.75rem 1.25rem;
}

.login-header h1 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16pt;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.login-header p {
  color: #B0B0B0;
}

.login-header p {
  font-size: 10pt;
  color: var(--text-muted);
}

.login-body {
  padding: 1.5rem 1.75rem 2rem;
}

.login-body label {
  display: block;
  font-size: 8.5pt;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.login-body input[type="email"] {
  width: 100%;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10.5pt;
  color: var(--text-primary);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--accent);
  border-radius: 2px 2px 0 0;
  padding: 0.6rem 0.75rem;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.login-body input[type="email"]:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(254, 204, 0, 0.2);
}

.login-btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10pt;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--black);
  transition: background 0.15s;
}

.login-btn:hover {
  background: var(--accent-dark);
}

.login-error {
  background: #fce4e4;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
  border-radius: 2px;
  padding: 0.625rem 0.875rem;
  margin-bottom: 1rem;
  font-size: 9.5pt;
  line-height: 1.4;
}

.login-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 2px;
  padding: 0.625rem 0.875rem;
  font-size: 9.5pt;
  line-height: 1.4;
}
