/* =========================================================
   Reboot CSS — Responsive, Cross-browser, Dark Mode Ready
   Author: GPT-5
   Purpose: Standardize styles, improve accessibility, and 
            adapt automatically to light/dark modes.
   ========================================================= */

/* 1. Box sizing: easier layout math */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margins & paddings */
* {
  margin: 0;
  padding: 0;
}

/* 3. Set up responsive typography */
html {
  font-size: clamp(14px, 1.2vw, 18px);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
    display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  background-color: #ffffff;
  color: #111111;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html, body {
  height: 100%;
  margin: 0;
}

main {
  flex: 1; /* take up remaining space */
}



/* 4. Dark mode defaults */
/*@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #eeeeee;
  }

  a {
    color: #80bfff;
  }

  :focus {
    outline-color: #3399ff;
  }
}*/

/* 5. Responsive images & media */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Remove built-in form styling quirks */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

/* 7. Links: inherit color, remove underline by default */
a {
  color: inherit;
  text-decoration: none !important;
}
a:hover, a:focus {
  text-decoration: underline;
}

/* 8. Lists: remove bullets and spacing */
ul, ol {
  list-style: none;
}

/* 9. Headings: inherit font-size scale */
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* 10. Table: remove spacing and allow full-width */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* 11. Accessibility improvements */
:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

/* 12. Smooth animations for UI transitions */
* {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#header-wrapper {
    padding-top: 4px;
}

footer {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--buddysports-color-primary);
    text-align: right;
    width: 100%;
    padding: 10px;
    position: relative;
    bottom: 0;
}

.custom-footer {
    padding: 0 10px;
    height: 30px;
    background-color: white;
}

/* Buddysports Custom Classes */
/* Borders */
.buddysports-border-default{
    border: solid 1px var(--buddysports-color-primary);
    border-radius: 10px;
    padding: 20px;
}
