/* ========================================
   MODERN CSS RESET
   Minimal reset for consistent cross-browser styling
   Consolidated from /css/base/reset.css
   
   This is the single source of truth for CSS reset
   Import this in all HTML/CSS files that need reset styles
   ======================================== */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default margin and padding */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
  margin: 0 !important;      /* Added Dec 27, 2025 - moved from admin.css to prevent white border around gradient */
  padding: 0 !important;     /* Added Dec 27, 2025 - moved from admin.css to prevent white border around gradient */
  width: 100%;               /* Added Dec 27, 2025 - moved from admin.css to prevent white border around gradient */
}

html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: var(--line-height-base);
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 !important;      /* Added Dec 27, 2025 - moved from admin.css to prevent white border around gradient */
  padding: 0 !important;     /* Added Dec 27, 2025 - moved from admin.css to prevent white border around gradient */
  width: 100%;               /* Added Dec 27, 2025 - moved from admin.css to prevent white border around gradient */
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people who prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Ensure all media respects viewport */
iframe,
video,
embed,
object {
  max-width: 100%;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Links */
a {
  color: var(--pink-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--purple-primary);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--pink-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Remove default focus for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
}
