/* CSS Reset - Browser Consistency */

/* Box sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin and padding */
* {
    margin: 0;
    padding: 0;
}

/* HTML and Body */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Lists */
ul,
ol {
    list-style: none;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Images and Media */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Forms */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default button styles */
button,
input[type="submit"],
input[type="reset"] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Remove default input styles */
input,
textarea,
select {
    border: none;
    outline: none;
    background: none;
}

/* Remove default fieldset styles */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Remove default legend styles */
legend {
    padding: 0;
}

/* Remove default address styles */
address {
    font-style: normal;
}

/* Remove default blockquote styles */
blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

/* Remove default abbr styles */
abbr[title] {
    text-decoration: none;
}

/* Remove default mark styles */
mark {
    background: none;
    color: inherit;
}

/* Remove default small styles */
small {
    font-size: inherit;
}

/* Remove default sub and sup styles */
sub,
sup {
    font-size: inherit;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

/* Remove default hr styles */
hr {
    border: none;
    height: 0;
}

/* Remove default pre and code styles */
pre,
code,
kbd,
samp {
    font-family: monospace;
    font-size: inherit;
}

/* Remove default details and summary styles */
details {
    display: block;
}

summary {
    display: list-item;
}

/* Remove default template styles */
template {
    display: none;
}

/* Remove default hidden styles */
[hidden] {
    display: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure focus outline for keyboard users */
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
