:root {
  --auth-bg: #f4f4f8;
  --auth-card: #ffffff;
  --auth-border: #e0e0e0;
  --auth-text: #2a2e35;
  --auth-accent: #cea348;
  --auth-danger: #b3261e;
}

* {
  box-sizing: border-box;
}

body.auth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(206, 163, 72, 0.08), transparent 40%),
              radial-gradient(circle at bottom, rgba(42, 46, 53, 0.06), transparent 35%),
              var(--auth-bg);
  color: var(--auth-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.auth-card {
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
}

.auth-logo {
  display: block;
  margin: 0 auto 16px;
  width: 140px;
}

h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
}

.auth-lede {
  margin: 0 0 20px;
  color: #4a4f58;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 14px;
  color: #4a4f58;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 3px rgba(206, 163, 72, 0.2);
}

.auth-submit {
  margin-top: 8px;
  padding: 12px;
  background: var(--auth-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
  box-shadow: 0 10px 20px rgba(206, 163, 72, 0.25);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.auth-actions a {
  color: var(--auth-accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-actions a:hover {
  text-decoration: underline;
}

.auth-alert {
  padding: 12px;
  border-radius: 10px;
  background: rgba(179, 38, 30, 0.08);
  color: var(--auth-danger);
  border: 1px solid rgba(179, 38, 30, 0.2);
  margin-bottom: 4px;
}

.auth-hint {
  padding: 12px;
  border-radius: 10px;
  background: rgba(42, 46, 53, 0.04);
  border: 1px solid rgba(42, 46, 53, 0.15);
}

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