:root {
  --ay: #414d81;
  --ay-dark: #2f3860;
  --ay-light: #eef0f7;
  --ay-mid: #6b77a8;
  --text: #1a1f36;
  --text-sub: #6b7280;
  --text-hint: #9ca3af;
  --border: rgba(0,0,0,0.1);
  --bg: #f7f8fc;
  --white: #ffffff;
  --success: #1a7a45;
  --success-bg: #e6f7ee;
  --danger: #c0392b;
  --danger-bg: #fdf2f2;
  --radius: 10px;
  --radius-sm: 6px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body.center-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  color: var(--ay);
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 15px;
  color: var(--text-sub);
}

.hidden { display: none !important; }

.spinner {
  width: 32px;
  height: 32px;
  border: 2.5px solid var(--ay-light);
  border-top-color: var(--ay);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
