/* Auth pages: login, forgot password, reset password */
:root {
  --blue:       #064DFF;
  --blue-hover: #0040E0;
  --border:     #E8E4DC;
  --text:       #1A1A1A;
  --text-sec:   #666666;
  --text-muted: #999999;
  --radius:     8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F0ECE4;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-wrap {
  width: 100%;
  max-width: 400px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo img {
  height: 28px;
  width: auto;
  display: inline-block;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.auth-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-card__subtitle {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6,77,255,0.1);
}

.form-input.is-error {
  border-color: #DC2626;
}

.form-error {
  margin-top: 5px;
  font-size: 12px;
  color: #DC2626;
}

.btn-submit {
  width: 100%;
  padding: 11px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: background 150ms;
}

.btn-submit:hover { background: var(--blue-hover); }

.auth-links {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms;
}

.auth-link:hover { color: var(--blue); }

.auth-alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 20px;
}

.auth-alert--error   { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.auth-alert--success { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

.auth-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 24px; }
}
