/* CSS Reset for Windows 98 Style Application */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: var(--font-system);
    font-size: var(--font-size-normal);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    text-rendering: optimizeSpeed;
}

body {
    background: #000;
    user-select: none;
    cursor: default;
}

/* Remove default button styles */
button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* Remove default input styles */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Images */
img {
    max-width: 100%;
    display: block;
    -webkit-user-drag: none;
}

/* Disable text selection by default */
::selection {
    background: var(--win98-selection);
    color: white;
}

/* Hide scrollbars but keep functionality where needed */
.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.no-select {
    user-select: none;
}

.selectable {
    user-select: text;
}
