:root {
    /* Layout */
    --menubar-height: 24px;
    --dock-height: 70px;
    --sidebar-width: 200px;

    /* Colors - Light Theme */
    --menubar-bg: #e0e0e0cc;
    --window-bg: #ffffff;
    --window-bg-75: #ffffffbf;
    --window-bg-50: #ffffff80;
    --window-bg-25: #ffffff40;
    --text-color: #000000;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --toolbar-bg: #f5f5f5;
    --sidebar-bg: #f8f8f8;
    --button-bg: #e0e0e0;
    --button-hover-bg: #d0d0d0;
    --input-bg: #ffffff;
    --hover-bg: rgba(0, 0, 0, 0.05);
    --active-bg: #007AFF;
    --active-text: #ffffff;
    --accent-color: #007AFF;
    --terminal-bg: #1a1a1a;
    --terminal-text: #f0f0f0;
    --terminal-prompt: #4CAF50;
    --terminal-error: #ff5555;
    --blur-filter: blur(64px) saturate(2.5);
    --blur-filter-lo: blur(64px) saturate(1.5);
    --window-shadow: 0 0 0 0.5px #bbb, 0 0 0 1px #00000040, 0 5px 30px rgba(0, 0, 0, 0.3);
    --window-shadow-active: 0 0 0 0.5px #bbb, 0 0 0 1px #00000040, 0 5px 30px rgba(0, 0, 0, 0.5);
    --cc-tile-shadow: 0 0 0 0.5px #bbb, 0 2px 8px rgba(0, 0, 0, 0.25);
    --shading: 0 0 0 1px black, inset 0 -2px 6px #00000040, inset 0 12px 6px #ffffff10;
}

[data-theme="dark"] {
    /* Colors - Dark Theme */
    --menubar-bg: #202020cc;
    --window-bg: #1e1e1e;
    --window-bg-75: #1e1e1ebf;
    --window-bg-50: #1e1e1e80;
    --window-bg-25: #1e1e1e40;
    --text-color: #ffffff;
    --text-secondary: #999999;
    --border-color: #333333;
    --toolbar-bg: #2d2d2d;
    --sidebar-bg: #252525;
    --button-bg: #3d3d3d;
    --button-hover-bg: #4d4d4d;
    --input-bg: #2d2d2d;
    --hover-bg: rgba(255, 255, 255, 0.1);
    --active-bg: #0050a5;
    --active-text: #ffffff;
    --window-shadow: 0 0 0 0.5px #404040, 0 0 0 1px black, 0 5px 30px rgba(0, 0, 0, 0.3);
    --window-shadow-active: 0 0 0 0.5px #404040, 0 0 0 1px black, 0 5px 30px rgba(0, 0, 0, 0.5);
    --cc-tile-shadow: 0 0 0 0.5px #404040, 0 0 0 1px black, 0 2px 8px rgba(0, 0, 0, 0.25);
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-VariableFont_opsz\,wght.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Italic-VariableFont_opsz\,wght.ttf') format('woff2-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/assets/fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/assets/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}


.inter-700 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: bold;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}
/*
input, button {
    outline: none;
}

input:focus-visible, button:focus-visible {
    outline: 4px solid var(--accent-color);
}*/

*:focus-visible {
    outline: 4px solid var(--accent-color);
}

*:disabled {
    opacity: 0.5;
}

button {
    background: var(--accent-color, #007AFF);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    padding: 6px 12px;
    align-items: center;
    box-shadow: 0 0 0 0.5px #ffffff40, 0 0 0 0.5px var(--accent-color, #007AFF), 0 0 0 1px black, var(--shading);
    width: fit-content;
}

button:disabled {
    opacity: 0.5;
    box-shadow: 0 0 0 0.5px #ffffff40, 0 0 0 0.5px #808080, 0 0 0 1px black, inset 0 -2px 6px #00000040, inset 0 2px 6px #ffffff40;
}

#omega-os {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Toggle Switch Styles */
.toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    margin: 0 !important;
    padding: 8px 0;
}

.toggle-switch {
    position: relative;
    width: 40px !important;
    height: 24px !important;
    margin-left: 8px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--accent-color);
    border-color: transparent;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(16px);
}

.toggle-switch input:focus-visible + .toggle-slider {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

hr {
    border: 0.5px solid #404040;
}

select {
    padding: 4px 4px;
    font-size: 12px;
    text-align: end;
    width: auto;
}

/* width */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
    margin: 0 4px 14px 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.material-symbols-rounded {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.user-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}