* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(77, 203, 194, 0.75) transparent;
}

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

body {
    font-family: var(--text_font);
    background-color: var(--background_main);
    color: var(--text_primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header_font);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    border-radius: 0px;
}

*::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0px;
}

*::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 0px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
    width: 100%;
    background-color: var(--background_panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text_primary);
    font-family: var(--text_font);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

input[type="text"]:hover,
input[type="search"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: var(--accent);
    background-color: var(--background_hover);
}

input::placeholder,
textarea::placeholder {
    color: var(--text_secondary);
    opacity: 1;
}

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 {
    display: none;
}

#ui_container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.status_dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent);
    animation: flash 1.5s infinite ease-in-out;
    border-radius: 50%;
    box-shadow: 0 0 2px var(--accent);
    flex-shrink: 0;
}