/* Standalone styling for the DaisyUI-free auth pages (login, activate).
   Lifted and de-DaisyUI'd from the retired core/css/app.css login-panel rules. */

:root {
  --auth-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --auth-primary: #3d70b2;
  --auth-accent: #41d6c3;
  --auth-text: #2b3a52;
  --auth-muted: rgba(43, 58, 82, 0.65);
  --auth-surface: #ffffff;
  --auth-bg: #eef2f9;
  --auth-border: rgba(148, 163, 184, 0.45);
  --auth-error: #dc2626;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--auth-font);
  font-size: 16px;
  min-height: 100vh;
  background: var(--auth-bg);
  color: var(--auth-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-shell {
  width: 100%;
  max-width: 30rem;
}

.auth-card {
  background: var(--auth-surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 26px;
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, 0.35);
  padding: clamp(1.75rem, 1.5vw + 1.25rem, 2.5rem);
}

.auth-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--auth-text);
}

.auth-card__lead {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--auth-muted);
}

.auth-form {
  display: grid;
  gap: 1.5rem;
}

.auth-field {
  display: grid;
  gap: 0.5rem;
}

.auth-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--auth-text);
}

.auth-input,
.auth-field input[type="text"],
.auth-field input[type="password"],
.auth-field input:not([type]) {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--auth-border);
  background: var(--auth-bg);
  color: var(--auth-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus,
.auth-field input[type="text"]:focus,
.auth-field input[type="password"]:focus,
.auth-field input:not([type]):focus {
  border-color: var(--auth-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 112, 178, 0.18);
}

.auth-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(61, 112, 178, 0.92), rgba(65, 214, 195, 0.85));
  box-shadow: 0 16px 40px -28px rgba(15, 23, 42, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px -28px rgba(15, 23, 42, 0.55);
}

.auth-submit .material-symbols-rounded {
  font-size: 20px;
}

.auth-error {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--auth-error);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-field__error {
  margin: 0;
  font-size: 0.75rem;
  color: var(--auth-error);
}

.auth-hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--auth-muted);
}

.auth-hint ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}
