/**
 * ============================================================
 * GLOBAL CSS RESET
 * ============================================================
 *
 * File    : /public_html/assets/css/core/reset.css
 * Version : 1.0.0 GLOBAL PRODUCTION
 * PHP     : 8.2+
 *
 * Responsibility:
 * ✓ Normalize browser defaults
 * ✓ Consistent box sizing
 * ✓ Remove unwanted default margins
 * ✓ Normalize media elements
 * ✓ Normalize form controls
 * ✓ Improve accessibility defaults
 *
 * Does NOT contain:
 * ✗ Colors
 * ✗ Font families
 * ✗ Typography scale
 * ✗ Components
 * ✗ Layout
 * ✗ Responsive rules
 * ✗ Page-specific styling
 *
 * ============================================================
 */


/* ============================================================
   1. BOX SIZING
   ============================================================ */

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}


/* ============================================================
   2. DOCUMENT BASELINE
   ============================================================ */

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}


/* ============================================================
   3. REMOVE DEFAULT MARGINS
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
figcaption,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}


/* ============================================================
   4. LIST RESET
   ============================================================ */

ul,
ol {
    list-style: none;
}


/* ============================================================
   5. LINKS
   ============================================================ */

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   6. MEDIA
   ============================================================ */

img,
picture,
svg,
canvas,
video {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}


/* ============================================================
   7. SVG
   ============================================================ */

svg {
    overflow: hidden;
}

svg:not([fill]) {
    fill: currentColor;
}


/* ============================================================
   8. FIGURES
   ============================================================ */

figure {
    margin: 0;
}


/* ============================================================
   9. TABLES
   ============================================================ */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ============================================================
   10. FORM ELEMENTS
   ============================================================ */

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    padding: 0;
    border: 0;

    font: inherit;
    color: inherit;

    background: transparent;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

textarea {
    resize: vertical;
}


/* ============================================================
   11. BUTTON SAFETY
   ============================================================ */

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}


/* ============================================================
   12. FORM INPUT APPEARANCE
   ============================================================ */

input,
textarea,
select {
    appearance: none;
    -webkit-appearance: none;
}


/* Keep checkbox and radio native behavior */

input[type="checkbox"],
input[type="radio"] {
    appearance: auto;
    -webkit-appearance: auto;
}


/* ============================================================
   13. SEARCH INPUT
   ============================================================ */

input[type="search"] {
    appearance: textfield;
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    appearance: none;
    -webkit-appearance: none;
}


/* ============================================================
   14. NUMBER INPUT
   ============================================================ */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}


/* ============================================================
   15. FIELDSET
   ============================================================ */

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}


/* ============================================================
   16. PROGRESS
   ============================================================ */

progress {
    vertical-align: baseline;
}


/* ============================================================
   17. DETAILS / SUMMARY
   ============================================================ */

summary {
    cursor: pointer;
}


/* ============================================================
   18. HIDDEN ATTRIBUTE
   ============================================================ */

[hidden] {
    display: none !important;
}


/* ============================================================
   19. FOCUS
   ============================================================ */

/*
 * Do not remove the browser focus indicator.
 * Component styles may enhance it later.
 */

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}


/* ============================================================
   20. REDUCED MOTION BASELINE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============================================================
   21. TEXTAREA
   ============================================================ */

textarea {
    overflow: auto;
}


/* ============================================================
   22. IFRAME
   ============================================================ */

iframe {
    display: block;
    max-width: 100%;
    border: 0;
}


/* ============================================================
   23. HR
   ============================================================ */

hr {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}


/* ============================================================
   24. ABBREVIATIONS
   ============================================================ */

abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}


/* ============================================================
   25. ADDRESS
   ============================================================ */

address {
    font-style: normal;
}


/* ============================================================
   26. AUDIO
   ============================================================ */

audio {
    display: block;
    max-width: 100%;
}


/* ============================================================
   27. EMBED / OBJECT
   ============================================================ */

embed,
object {
    display: block;
    max-width: 100%;
}


/* ============================================================
   28. PASSWORD / FILE INPUT
   ============================================================ */

input[type="file"] {
    cursor: pointer;
}


/* ============================================================
   29. AUTOFILL
   ============================================================ */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-clip: text;
}


/* ============================================================
   30. PRINT BASELINE
   ============================================================ */

@media print {

    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    img,
    svg {
        break-inside: avoid;
    }
}


/* ============================================================
   END OF GLOBAL CSS RESET
   ============================================================ */