* { box-sizing: border-box; }
html, body { height: 100%; }

body.auth-page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 360px;
}

.auth-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}

.auth-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 28px;
  line-height: 1.45;
}

.auth-field { margin-bottom: 16px; }

.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}

.auth-input {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.auth-input[readonly] {
  color: #6b7280;
  background: #f9fafb;
  cursor: default;
}

.auth-btn {
  width: 100%;
  margin-top: 8px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  transition: background 0.15s;
}

.auth-btn:hover { background: #374151; }
.auth-btn:disabled { opacity: 0.6; cursor: default; }

.auth-error {
  margin-top: 14px;
  font-size: 13px;
  color: #ef4444;
}

.auth-field-error {
  margin-top: 6px;
  font-size: 13px;
  color: #ef4444;
}
