/* base.css – shared base styles (global: body, fonts, colors) */

:root {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 18% 10%, rgba(245, 158, 11, 0.16), transparent 60%),
    radial-gradient(1000px circle at 82% 18%, rgba(236, 72, 153, 0.08), transparent 62%),
    linear-gradient(180deg, #fff7ed 0%, #f3f4f6 100%);
  color: #1f2937;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 800px;
  margin: 48px auto;
  padding: 0 16px;
}

main.container {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow:
    0 18px 40px rgba(17, 24, 39, 0.1),
    0 2px 8px rgba(17, 24, 39, 0.06);
}

.login.container {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 16px;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

button {
  padding: 10px 14px;
  border: 1px solid rgba(31, 41, 55, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  cursor: pointer;
  color: inherit;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s,
    background-color 0.15s;
}

button:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 41, 55, 0.3);
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}

button:disabled {
  transform: none;
  box-shadow: none;
  opacity: 0.7;
  cursor: not-allowed;
}

button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.22),
    0 10px 25px rgba(17, 24, 39, 0.12);
}

pre {
  margin-top: 16px;
  padding: 12px;
  background: #f6f8fa;
  border-radius: 8px;
  overflow: auto;
}

.hint {
  margin-top: 16px;
  color: rgba(31, 41, 55, 0.72);
}
