/* base.css
   Global reset, root variables, typography, container and basic utilities
*/

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

/* Root variables (dark theme defaults) */
:root {
  --bg: #0d0d0f;
  --panel: #16161d;
  --input: #1d1d27;
  --accent: #4da3ff;
  --accent-hover: #6bb4ff;
  --danger: #d9534f;
  --danger-hover: #e46a66;
  --text: #f2f2f2;
  --muted: #999;
  --border: #2a2a33;
  --radius: 10px;
  --shadow: 0 0 18px rgba(0,0,0,0.35);
  --transition: 0.18s ease;
}

/* Global layout and typography */
html, body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#logo {
  width: 110px;
  margin-top: 25px;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

h1 {
  margin: 12px 0 20px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}

.container {
  width: 95%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Utilities */
.hidden { display: none !important; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* Focus outline for keyboard users */
:focus {
  outline: 3px solid rgba(77,163,255,0.18);
  outline-offset: 2px;
}