/* ============================================
   Boyfriend Tracker — Shared Base Styles
   Pokémon-inspired theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-red: #dc0a2d;
  --color-red-dark: #b0081f;
  --color-red-darker: #8a0618;
  --color-yellow: #ffcb05;
  --color-yellow-dark: #e6b800;
  --color-dark: #222;
  --color-white: #fff;
  --color-gray-light: #fafafa;
  --color-gray-border: #e0e0e0;
  --color-text: #333;
  --color-text-muted: #666;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* --- CSS Reset / Normalize --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* --- Link Defaults --- */
a {
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Focus Styles (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

/* Remove default focus ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Visually Hidden (Screen Reader Only) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
