:root {
    --font-family-primary: "Sinkin Sans", sans-serif;
    --box-shadow: 5px 5px 10px -6px rgba(0, 0, 0, 0.55), -5px 5px 10px -6px rgba(0, 0, 0, 0.35);
    --box-shadow-full: 0 2px 8px 0 rgba(0, 0, 0, 0.35);
    --clr-primary: #253a43;
    --clr-secondary: #f59e0b;
    --clr-secondary-hover: #c26e08;
    --error: #e5484d;
    --font-size-primary: 16px;
    --font-size-small: 14px;
    --font-size-smaller: 12px;
    --glass-bg: rgba(255, 255, 255, 0.16);
    --glass-border: rgba(255,255,255,0.18);
    --border-radius: 10px;
    --border-radius-sm: 5px;
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-primary);
    color: black;
}

h1, h2, h3, h4, h5, h6,
button, input, label {
    line-height: 1.1;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

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

label {
    display: block;
    text-align: left;
}

input,
textarea,
select {
    font: inherit;
    color: black;
}

input {
    padding: 6px 8px;
    border-radius: var(--border-radius-sm);
    border: solid 1px darkgray;
}

select {
    padding: 6px 8px;
    border-radius: var(--border-radius-sm);
    border: solid 1px darkgray;
}

textarea {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255);
    box-sizing: border-box;
    color: black
}

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-text-fill-color: #222 !important;
        -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255) inset !important;
        box-shadow: 0 0 0 1000px rgba(255, 255, 255) inset !important;
        caret-color: #222;
        font: inherit !important;
        transition: background-color 5000s ease-in-out 0s;
    }

    input:disabled{
        background-color: rgba(0, 0, 0, .1);
    }

    textarea:not([rows]) {
        min-height: 10em;
    }

button {
    padding: .5rem 1rem;
    background-color: var(--clr-secondary);
    border: none;
    border-radius: var(--border-radius-sm);
    color: #fff;
    letter-spacing: 1px;
    cursor: pointer;
    font: inherit;
}

    button:hover {
        background-color: var(--clr-secondary-hover);
    }

    button:disabled {
        opacity: .5;
        cursor: default;
    }

        button:disabled:hover {
            background-color: var(--clr-secondary);
        }

link,
a {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-primary);
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    cursor: pointer;
}

    link:hover,
    a:hover {
        color: var(--clr-secondary);
    }

/*ul,
ol {
    list-style: none;
}*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}

textarea {
    resize: vertical;
}

:target {
    scroll-margin-block: 5ex;
}

fieldset {
    border: none;
}

address {
    font-style: normal;
}

[hidden] {
    display: none !important;
}

.validation-message {
    color: var(--error, #dc2626);
    font-size: var(--font-size-smaller);
    margin-top: 4px;
    display: block;
}

/* Firefox + modern Chromium (standardized) */
* {
    scrollbar-width: thin;
}

/* WebKit-based browsers (Chrome, Edge, Safari) - older syntax, still widely needed */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background-color: #b3babd;
    border-radius: 10px;
    border: 2px solid #f0f1f3;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #949a9d;
    }

.global-tooltip {
    position: fixed;
    inset: auto;
    margin: 0;
    border: none;
    overflow: visible;
    z-index: 2147483647;
    width: max-content;
    max-width: 250px;
    padding: 5px 8px;
    border-radius: var(--border-radius-sm);
    background-color: var(--clr-primary);
    color: white;
    font-size: var(--font-size-smaller);
    font-weight: normal;
    pointer-events: none;
    border: solid 1px white;
}
