/*!
 * SharpShotPicks Typography System
 * Centralized typography tokens and element defaults for the dark-theme experience.
 */

:root {
    --ssp-font-family-base: 'Poppins', sans-serif;
    --ssp-font-family-mono: 'Poppins', sans-serif;
    --ssp-font-size-base: 18px;
    --ssp-font-size-base-mobile: 16px;
    --ssp-font-weight-regular: 400;
    --ssp-font-weight-medium: 500;
    --ssp-font-weight-semibold: 600;
    --ssp-font-weight-bold: 700;
    --ssp-line-height-base: 1.5;
    --ssp-heading-line-height: 1.5;
    --ssp-text-color: #e8ebee;
    --ssp-text-color-strong: #ffffff;
    --ssp-muted-text-color: #cfd3d6;
    --ssp-link-color: #1de1d1;
    --ssp-link-hover-color: #13bdb1;
    --ssp-surface-color: #0f1114;
    --ssp-border-color: #2a2d33;

    /* Core brand colors */
    --ssp-primary-teal: #1de1d1;
    --ssp-primary-teal-rgb: 29, 225, 209;
    --ssp-secondary-teal: #109489;
    --ssp-secondary-teal-rgb: 16, 148, 137;

    /* Grays / neutrals */
    --ssp-gray-100: #f4f6f8;
    --ssp-gray-200: #e1e5eb;
    --ssp-gray-300: #c6ccd6;
    --ssp-gray-500: #848ea1;
    --ssp-gray-700: #3b4150;
    --ssp-gray-900: #0f1115;

    /* Semantic */
    --ssp-success: #37d67a;
    --ssp-warning: #ffce45;
    --ssp-danger: #f35252;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background-color: var(--ssp-surface-color);
    color: var(--ssp-text-color);
}

body,
button,
input,
optgroup,
select,
textarea {
    color: var(--ssp-text-color);
    font-family: var(--ssp-font-family-base);
    font-size: var(--ssp-font-size-base);
    font-weight: var(--ssp-font-weight-regular);
    line-height: var(--ssp-line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 767px) {
    body,
    button,
    input,
    optgroup,
    select,
    textarea {
        font-size: var(--ssp-font-size-base-mobile);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: var(--ssp-text-color-strong);
}

h1 {
    font-size: 2em;
    font-weight: var(--ssp-font-weight-bold);
    line-height: var(--ssp-heading-line-height);
    text-transform: uppercase;
    font-style: normal;
}

h2 {
    font-size: 1.7em;
    font-weight: var(--ssp-font-weight-semibold);
    line-height: var(--ssp-heading-line-height);
    font-style: normal;
}

h3 {
    font-size: 1.4em;
    font-weight: var(--ssp-font-weight-medium);
    line-height: 1.2;
    font-style: normal;
}

h4 {
    font-size: 1.2em;
    font-weight: var(--ssp-font-weight-medium);
    line-height: 1.2;
    font-style: normal;
}

h5 {
    font-size: 1.1em;
    font-weight: var(--ssp-font-weight-regular);
    line-height: 1.2;
    font-style: normal;
}

h6 {
    font-size: 1em;
    font-weight: var(--ssp-font-weight-regular);
    line-height: 1.2;
    font-style: normal;
}

p,
li,
dl,
dd {
    color: var(--ssp-text-color);
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    background-color: var(--ssp-border-color);
    border: 0;
    margin-bottom: 1.5em;
}

pre {
    font-family: var(--ssp-font-family-mono);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
    background: #1e2026;
    color: var(--ssp-text-color);
}

a {
    background-color: transparent;
    color: var(--ssp-link-color);
    transition: all 0.5s;
}

a:visited {
    color: var(--ssp-link-color);
}

a:active,
a:focus,
a:hover {
    color: var(--ssp-link-hover-color);
    outline: 0;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: var(--ssp-font-weight-semibold);
}

code,
kbd,
samp,
tt,
var {
    font-family: var(--ssp-font-family-mono);
    font-size: 15px;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

cite,
dfn,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
    color: var(--ssp-text-color);
}

address {
    margin: 0 0 1.5em;
}

ins,
mark {
    background: #fff9c0;
    text-decoration: none;
    color: #0f1114;
}

big {
    font-size: 125%;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ol,
li > ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: var(--ssp-font-weight-semibold);
}

dd {
    margin: 0 1.5em 1.5em;
}

figure {
    margin: 1em 0;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
    width: 100%;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

input[type="datetime-local"],
input[type="datetime"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="date"],
select,
textarea {
    color: var(--ssp-text-color);
    border: 1px solid var(--ssp-border-color);
    border-radius: 6px;
    padding: 8px 15px;
    max-width: 70%;
    background: #16181d;
}

@media screen and (max-width: 1024px) {
    input[type="color"],
    input[type="datetime-local"],
    input[type="datetime"],
    input[type="email"],
    input[type="month"],
    input[type="number"],
    input[type="password"],
    input[type="range"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="time"],
    input[type="url"],
    input[type="week"],
    select,
    textarea {
        max-width: 70%;
    }
}

input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="range"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
textarea:focus,
select:focus {
    color: var(--ssp-text-color-strong);
    outline: 0;
    border-color: var(--ssp-link-color);
    box-shadow: 0 0 0 1px var(--ssp-link-color);
}


/*
 * ============================================================
 * SharpShotPicks Typography Utility Classes
 * Reusable text styles that enforce the SSP brand system
 * across all sports, tools, tables, modals, and dashboards.
 * ============================================================
 */

/* ---------------------------------------------
   Heading Utilities
   (Use inside components, not just raw <h#> tags)
   --------------------------------------------- */

.ssp-h1 {
    font-size: 2.5rem; /* 40px */
    font-weight: var(--ssp-font-weight-bold);
    line-height: 1.1;
    color: var(--ssp-text-color-strong);
    text-transform: uppercase;
}

.ssp-h2 {
    font-size: 2rem; /* 32px */
    font-weight: var(--ssp-font-weight-semibold);
    line-height: 1.15;
    color: var(--ssp-text-color-strong);
}

.ssp-h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: var(--ssp-font-weight-medium);
    line-height: 1.25;
    color: var(--ssp-text-color-strong);
}

.ssp-h4 {
    font-size: 1.25rem; /* 20px */
    font-weight: var(--ssp-font-weight-medium);
    line-height: 1.3;
    color: var(--ssp-text-color-strong);
}

.ssp-h5 {
    font-size: 1.1rem;
    font-weight: var(--ssp-font-weight-regular);
    line-height: 1.3;
    color: var(--ssp-text-color-strong);
}

.ssp-h6 {
    font-size: 1rem;
    font-weight: var(--ssp-font-weight-regular);
    line-height: 1.3;
    color: var(--ssp-text-color-strong);
}

/* ---------------------------------------------
   Body Text Utilities
   --------------------------------------------- */

.ssp-body {
    font-size: 1rem;
    font-weight: var(--ssp-font-weight-regular);
    line-height: var(--ssp-line-height-base);
    color: var(--ssp-text-color);
}

.ssp-body-muted {
    font-size: 1rem;
    font-weight: var(--ssp-font-weight-regular);
    line-height: var(--ssp-line-height-base);
    color: var(--ssp-muted-text-color);
}

.ssp-small {
    font-size: 0.875rem;
    font-weight: var(--ssp-font-weight-regular);
    line-height: 1.3;
    color: var(--ssp-text-color);
}

.ssp-small-muted {
    font-size: 0.875rem;
    font-weight: var(--ssp-font-weight-regular);
    line-height: 1.3;
    color: var(--ssp-muted-text-color);
}

/* ---------------------------------------------
   Numeric / Stat Text (DFS Tables & Tools)
   --------------------------------------------- */

.ssp-numeric {
    font-size: 1rem;
    font-weight: var(--ssp-font-weight-medium);
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--ssp-text-color);
}

.ssp-numeric-lg {
    font-size: 1.25rem;
    font-weight: var(--ssp-font-weight-semibold);
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--ssp-text-color-strong);
}

/* ---------------------------------------------
   Label / UI Text (Filters, Chips, Modals)
   --------------------------------------------- */

.ssp-label {
    font-size: 0.875rem;
    font-weight: var(--ssp-font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ssp-text-color-strong);
}

.ssp-label-sm {
    font-size: 0.75rem;
    font-weight: var(--ssp-font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ssp-muted-text-color);
}

/* ---------------------------------------------
   Text Color Utilities
   --------------------------------------------- */

.ssp-text-strong {
    color: var(--ssp-text-color-strong) !important;
}

.ssp-text-muted {
    color: var(--ssp-muted-text-color) !important;
}

.ssp-text-accent {
    color: var(--ssp-primary-teal) !important;
}

.ssp-text-danger {
    color: var(--ssp-danger) !important;
}

.ssp-text-warning {
    color: var(--ssp-warning) !important;
}

.ssp-text-success {
    color: var(--ssp-success) !important;
}
