/* ========================================
   NORRIS-DESIGN BIOS BOOT SEQUENCE
   ======================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #39ff14;
    font-family: 'Courier New', 'Lucida Console', monospace;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* === BIOS SCREEN === */
#bios-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#bios-output {
    white-space: pre-wrap;
    font-size: 16px;
    line-height: 1.6;
    color: #39ff14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6), 0 0 16px rgba(57, 255, 20, 0.3);
}

/* Typing cursor */
.typing-cursor {
    color: #39ff14;
    animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
    0%, 50%  { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* BIOS character glow */
.bios-char {
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.8);
}

#progress-container {
    margin-top: 20px;
    width: 60%;
    height: 20px;
    border: 2px solid #39ff14;
    padding: 2px;
    display: none;
    position: relative;
}

#progress-bar {
    height: 100%;
    background: #39ff14;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.8), inset 0 0 4px rgba(0, 0, 0, 0.3);
}

/* === DESKTOP SCREEN === */
.hidden {
    display: none !important;
}

#desktop-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a url('../img/desktop-bg.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

#desktop-icons {
    flex: 1;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 90px);
    grid-auto-rows: 120px;
    gap: 24px;
    justify-content: start;
}

.desktop-icon {
    width: 80px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 10px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.desktop-icon:hover {
    background: rgba(57, 255, 20, 0.08);
    border-color: #39ff14;
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.4), inset 0 0 8px rgba(57, 255, 20, 0.1);
}

.desktop-icon:active {
    background: rgba(57, 255, 20, 0.15);
    border-color: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6), inset 0 0 12px rgba(57, 255, 20, 0.2);
}

.desktop-icon .icon-img {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.desktop-icon .icon-img svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.6));
}

.desktop-icon:hover .icon-img svg {
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 1));
}

.desktop-icon .icon-label {
    color: #39ff14;
    font-size: 12px;
    text-align: center;
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.6);
    white-space: nowrap;
}

/* === TASKBAR === */
#taskbar {
    height: 40px;
    background: #0a0a15;
    border-top: 2px solid #39ff14;
    display: flex;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 -4px 16px rgba(57, 255, 20, 0.15);
}

#start-btn {
    height: 32px;
    background: transparent;
    color: transparent;
    border: none;
    padding: 0 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#start-btn img {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.6));
    transition: all 0.2s ease;
}

#start-btn:hover img {
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 1));
}

#start-btn:hover {
    background: linear-gradient(to bottom, #0f3460, #1a1a2e);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

#start-btn:active {
    border-style: inset;
}

#quick-launch {
    flex: 1;
    display: flex;
    gap: 8px;
    padding-left: 12px;
}

.quick-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    border: 2px outset #0f3460;
    background: linear-gradient(to bottom, #1a1a2e, #0f3460);
}

.quick-icon:hover {
    background: rgba(57, 255, 20, 0.15);
    border-color: #39ff14;
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.taskbar-item {
    background: linear-gradient(to bottom, #1a1a2e, #0f3460);
}

#start-menu {
    position: fixed;
    bottom: 42px;
    left: 4px;
    width: 260px;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(57, 255, 20, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(57, 255, 20, 0.08);
    z-index: 10000;
    border-radius: 8px;
    overflow: hidden;
}

.start-menu-header {
    background: linear-gradient(to bottom, #0f3460, #1a1a2e);
    color: #39ff14;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 12px;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
    letter-spacing: 2px;
    border-bottom: 1px solid #39ff14;
}

.start-menu-item {
    color: #39ff14;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
}

.start-menu-item:hover {
    background: rgba(57, 255, 20, 0.15);
    box-shadow: inset 0 0 8px rgba(57, 255, 20, 0.3);
}

.start-menu-divider {
    height: 2px;
    background: #39ff14;
    margin: 4px 8px;
    box-shadow: 0 0 4px rgba(57, 255, 20, 0.6);
}

#system-tray {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    margin-left: auto;
}

#tray-network,
#tray-sound {
    font-size: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    line-height: 1;
    user-select: none;
}

#tray-network:hover,
#tray-sound:hover {
    opacity: 1;
}

#clock {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin-left: 4px;
}

/* === WINDOWS === */
#windows-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    pointer-events: none;
}

.window {
    position: absolute;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
    min-width: 450px;
    min-height: 320px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(57, 255, 20, 0.05);
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: scale(0.95);
}

.window.window-open {
    opacity: 1;
    transform: scale(1);
}

.window.window-closing {
    opacity: 0;
    transform: scale(0.95);
}

.window.window-minimized {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.window-header {
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    user-select: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-title {
    color: #39ff14;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}

.window-controls {
    display: flex;
    gap: 4px;
}

.window-btn {
    width: 46px;
    height: 30px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    border-radius: 4px;
}

.window-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.window-btn:active {
    background: rgba(255, 255, 255, 0.12);
}

.window-btn.close-btn:hover {
    background: rgba(255, 80, 80, 0.7);
    color: #fff;
}

.window-body {
    flex: 1;
    padding: 20px;
    color: #39ff14;
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
}

.window-body.terminal-window {
    padding: 0;
}

.window-body h3 {
    color: #ffff00;
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.6);
}

.window-body table {
    width: 100%;
    border-collapse: collapse;
}

.window-body td {
    padding: 8px;
    border: 1px solid #0f3460;
}

.window-body tr:nth-child(even) {
    background: rgba(15, 52, 96, 0.4);
}

/* === RESIZE HANDLE === */
.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: se-resize;
    background: linear-gradient(135deg, transparent 50%, #0f3460 50%);
    border-top: 2px solid #39ff14;
    border-left: 2px solid #39ff14;
}

.resize-handle::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, transparent 50%, #39ff14 50%);
}

/* === TERMINAL WINDOW === */
.terminal-body {
    background: #0a0a0a;
    padding: 16px;
    font-family: 'Courier New', monospace;
    overflow-y: auto;
}

.terminal-body > div {
    margin-bottom: 2px;
    word-break: break-all;
}

.terminal-input-line {
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: #39ff14;
    margin-right: 8px;
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.8);
}

#terminal-input-field {
    background: transparent;
    border: none;
    color: #39ff14;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    caret-color: #39ff14;
}

#terminal-input-field:focus {
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}


/* === BOOT SEQUENCE HIGHLIGHTS === */
.bios-line {
    opacity: 1;
}

.bios-ok {
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 1), 0 0 20px rgba(57, 255, 20, 0.6);
}

.bios-warn {
    color: #ffff00;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0f3460, #1a1a2e);
    border: 2px outset #39ff14;
}

/* === LOGIN SCREEN (Windows 10/11 style) === */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a15 url('../img/desktop-bg.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9997;
}

#login-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
}

/* Clock at the top */
#login-clock {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 48px;
    user-select: none;
}

#login-time {
    color: #fff;
    font-size: 64px;
    font-weight: 300;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

#login-date {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    font-weight: 400;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin-top: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Login panel */
#login-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 320px;
}

#login-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3), 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    border: 2px solid rgba(57, 255, 20, 0.3);
}

#login-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#login-username {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

#login-password-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    overflow: hidden;
    width: 238px;
    transition: background 0.2s, border-color 0.2s;
}

#login-password-wrap:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(57, 255, 20, 0.6);
}

#password, #login-password {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 14px;
    padding: 9px 12px;
    outline: none;
    min-width: 0;
}

#password::placeholder, #login-password::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#login-submit {
    width: 40px;
    background: rgba(57, 255, 20, 0.2);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(57, 255, 20, 0.8);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

#login-submit:hover {
    background: rgba(57, 255, 20, 0.35);
    color: #fff;
}

#login-submit:active {
    background: rgba(57, 255, 20, 0.5);
}

/* Error message */
#login-status {
    color: #ff4444;
    font-size: 13px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    min-height: 20px;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

#login-status.success {
    color: #39ff14;
}

/* User tiles wrapper */
#login-users-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
#login-users-wrapper.has-selected {
    gap: 0;
}
#login-users-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.login-user-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
    min-width: 100px;
}
.login-user-tile:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}
.login-user-tile:active {
    transform: scale(0.95);
}
.login-user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.login-user-tile:hover .login-user-avatar {
    border-color: rgba(57, 255, 20, 0.5);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
}
.login-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login-user-name {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
#login-back-link {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    margin-top: 10px;
    transition: color 0.2s;
}
#login-back-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Bottom actions row */
#login-footer {
    position: absolute;
    z-index: 1;
    bottom: 48px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.login-footer-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.login-footer-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.login-footer-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

/* === LOGIN MODAL === */
#login-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#login-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#login-modal-box {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 32px;
    min-width: 340px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#login-modal-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.7;
}

#login-modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin-bottom: 24px;
}

.login-modal-field {
    margin-bottom: 20px;
    text-align: left;
}

.login-modal-field label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin-bottom: 6px;
    font-weight: 500;
}

.login-modal-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.2s;
}

.login-modal-field input:focus {
    border-color: rgba(57, 255, 20, 0.5);
}

.login-modal-field input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.login-modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.login-modal-btn {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.login-modal-btn.primary {
    background: rgba(57, 255, 20, 0.2);
    color: #39ff14;
    border-color: rgba(57, 255, 20, 0.3);
}

.login-modal-btn.primary:hover {
    background: rgba(57, 255, 20, 0.3);
    border-color: rgba(57, 255, 20, 0.5);
}

.login-modal-btn.secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.login-modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* === EASE OF ACCESS MODAL === */
#ease-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ease-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#ease-modal-box {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 28px 32px;
    min-width: 360px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

#ease-modal-icon {
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px;
    opacity: 0.7;
}

#ease-modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-align: center;
    margin-bottom: 24px;
}

.ease-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ease-option:last-of-type {
    border-bottom: none;
}

.ease-option-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ease-option-label span:first-child {
    color: #fff;
    font-size: 13px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.ease-option-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.ease-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
}

.ease-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ease-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    transition: background 0.2s;
}

.ease-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.ease-toggle input:checked + .ease-slider {
    background: #39ff14;
}

.ease-toggle input:checked + .ease-slider::before {
    transform: translateX(18px);
}

.ease-modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 8px;
}

/* === ACCESSIBILITY MODIFIERS === */
body.a11y-high-contrast #login-password {
    border: 1px solid #fff;
}

body.a11y-high-contrast #login-username {
    color: #39ff14;
}

body.a11y-high-contrast .login-footer-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.a11y-large-text #login-username {
    font-size: 28px;
}

body.a11y-large-text #login-time {
    font-size: 80px;
}

body.a11y-large-text #login-password,
body.a11y-large-text #login-submit {
    font-size: 16px;
}

body.a11y-reduced-motion * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
}

/* Shake animation for wrong password */
.login-shake {
    animation: login-shake 0.4s ease-in-out;
}

@keyframes login-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

/* === ADMIN PANEL WINDOW (Windows 10/11 style) === */
.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.tab-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: #39ff14;
    border-bottom-color: #39ff14;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.admin-section {
    margin-bottom: 20px;
}

.admin-section h4 {
    color: #39ff14;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.admin-section label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 4px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.admin-section input[type="text"],
.admin-section input[type="number"],
.admin-section textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    padding: 6px 10px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.admin-section input[type="text"]:focus,
.admin-section input[type="number"]:focus,
.admin-section textarea:focus {
    border-color: rgba(57, 255, 20, 0.5);
}

.admin-section input[type="range"] {
    accent-color: #39ff14;
    width: 100%;
}

.admin-section select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    padding: 6px 10px;
    outline: none;
}

.admin-section select:focus {
    border-color: rgba(57, 255, 20, 0.5);
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.setting-row label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    flex-shrink: 0;
}

.setting-row input[type="text"],
.setting-row input[type="number"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    padding: 5px 8px;
    width: 150px;
}

.setting-row input[type="text"]:focus,
.setting-row input[type="number"]:focus {
    border-color: rgba(57, 255, 20, 0.5);
}

.setting-row input[type="color"] {
    background: transparent;
    border: none;
    width: 40px;
    height: 30px;
    cursor: pointer;
}

.setting-row span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.admin-btn {
    background: rgba(57, 255, 20, 0.15);
    color: #39ff14;
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 4px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-btn:hover {
    background: rgba(57, 255, 20, 0.25);
    border-color: rgba(57, 255, 20, 0.5);
}

.admin-btn:active {
    background: rgba(57, 255, 20, 0.35);
}

.admin-btn.danger {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.1);
}

.admin-btn.danger:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
}

.icon-list-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.03);
}

.icon-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.icon-list-item input[type="text"] {
    flex: 1;
}

/* === DESKTOP ICON CONTEXT MENU === */
#icon-context-menu {
    position: fixed;
    background: rgba(25, 25, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    min-width: 150px;
    padding: 4px 0;
}

#icon-context-menu .context-menu-item,
#icon-context-menu .context-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    transition: background 0.15s;
}

#icon-context-menu .context-menu-item:hover,
#icon-context-menu .context-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

#icon-context-menu .context-menu-item.danger {
    color: #ff6b6b;
}

#icon-context-menu .context-menu-divider,
#icon-context-menu .context-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 8px;
}

/* === START MENU USER === */
.start-menu-user {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
    color: #39ff14 !important;
}

/* === USER SETTINGS WINDOW === */
.user-settings {
    padding: 8px 0;
}

.us-section {
    margin-bottom: 20px;
    padding: 0 4px;
}

.us-section h4 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
}

.us-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.us-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.1);
}

.us-field {
    margin-bottom: 10px;
}

.us-field label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin-bottom: 4px;
}

.us-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    padding: 8px 10px;
    outline: none;
}

.us-input:focus {
    border-color: rgba(57, 255, 20, 0.5);
}

/* === WORD PAD === */
.wordpad-window {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.wordpad-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.wp-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1;
}

.wp-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wp-btn.active {
    background: rgba(57, 255, 20, 0.2);
    color: #39ff14;
}

.wp-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}

.wp-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    padding: 3px 6px;
    outline: none;
}

.wp-color {
    width: 28px;
    height: 24px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    cursor: pointer;
    background: transparent;
}

.wordpad-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
    min-height: 150px;
    background: rgba(0, 0, 0, 0.3);
}

.wordpad-body:focus {
    box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.1);
}

.wordpad-status {
    padding: 4px 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* === PAINT === */
.paint-window {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.paint-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.paint-toolbar input[type="color"] {
    width: 30px;
    height: 26px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    cursor: pointer;
    background: transparent;
}

.paint-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.paint-label input[type="range"] {
    width: 60px;
    accent-color: #39ff14;
}

.paint-coords {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-family: monospace;
}

.paint-canvas-wrap {
    flex: 1;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: crosshair;
}

#paint-canvas {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    max-width: 100%;
    max-height: 100%;
    image-rendering: pixelated;
}

/* === SNAKE GAME === */
.snake-window {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.snake-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.snake-header b {
    color: #39ff14;
}

.snake-canvas-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
}

#snake-canvas {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    max-width: 100%;
    image-rendering: pixelated;
}

.snake-footer {
    padding: 6px 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-align: center;
}

/* === BROWSER === */
.browser-window {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-url-bar {
    flex: 1;
}

.browser-url-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    padding: 5px 10px;
    outline: none;
}

.browser-url-bar input:focus {
    border-color: rgba(57, 255, 20, 0.4);
}

.browser-body {
    flex: 1;
    display: flex;
    background: #fff;
    min-height: 200px;
}

#browser-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.browser-status {
    padding: 3px 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.browser-blocked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    height: 100%;
}

.browser-blocked-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.browser-blocked-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-weight: 500;
}

.browser-blocked-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.browser-blocked-what {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin-bottom: 8px;
}

.browser-blocked-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 420px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    border-left: 3px solid rgba(255, 200, 0, 0.5);
}

.browser-blocked-btn {
    font-size: 13px !important;
    padding: 8px 24px !important;
}

/* === NOTIFICATION TOASTS === */
.notification-container {
    position: fixed;
    bottom: 48px;
    right: 16px;
    z-index: 20000;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    pointer-events: none;
}

.notification-toast {
    pointer-events: auto;
    background: rgba(25, 25, 45, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    animation: notify-in 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification-toast.toast-out {
    animation: notify-out 0.3s ease forwards;
}

@keyframes notify-in {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes notify-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

.notification-toast .toast-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.notification-toast .toast-msg {
    flex: 1;
    line-height: 1.4;
}

.notification-toast .toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
    flex-shrink: 0;
}

.notification-toast .toast-close:hover {
    color: #fff;
}

/* === DRAGGING ICONS === */
.desktop-icon.dragging {
    opacity: 0.5;
    border-color: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.desktop-icon.drop-target {
    border-color: #ffff00;
    box-shadow: 0 0 16px rgba(255, 255, 0, 0.4);
}

/* === LANGUAGE SWITCHER === */
#tray-lang {
    font-size: 12px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 6px;
    border-radius: 3px;
    user-select: none;
}

#tray-lang:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

/* === SOUND/NETWORK CONTEXT MENU === */
.tray-context-menu {
    position: fixed;
    background: rgba(25, 25, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 15000;
    min-width: 200px;
    padding: 8px 12px;
}

.tray-context-menu .tray-menu-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 8px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tray-context-menu .tray-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tray-context-menu .tray-menu-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    padding: 4px 8px 2px;
}

.tray-context-menu input[type="range"] {
    width: 100%;
    accent-color: #39ff14;
    margin: 4px 0;
}

/* === NETWORK FLYOUT === */
.tray-network-flyout {
    position: fixed;
    width: 300px;
    background: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 10001;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    overflow: hidden;
    animation: window-open 0.15s ease-out;
}

.tray-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tray-flyout-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tray-flyout-close {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s;
}

.tray-flyout-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tray-flyout-body {
    padding: 12px 16px;
}

.tray-flyout-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.tray-flyout-icon {
    font-size: 28px;
}

.tray-flyout-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.tray-flyout-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.tray-flyout-detail {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.tray-flyout-detail span:first-child {
    color: rgba(255, 255, 255, 0.4);
}

.tray-flyout-actions {
    display: flex;
    gap: 8px;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

.tray-flyout-btn {
    flex: 1;
    font-size: 11px !important;
    padding: 6px 8px !important;
    text-align: center;
}

/* === PASSWORD TOGGLE === */
#password-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

#password-toggle:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* === LOGIN SPINNER === */
#login-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: #39ff14;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    flex-shrink: 0;
}

#login-spinner.active {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === ACCOUNT PICTURE PICKER === */
#login-avatar.clickable {
    cursor: pointer;
}

#login-avatar.clickable:hover {
    border-color: rgba(57, 255, 20, 0.6);
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.4);
}

#avatar-upload {
    display: none;
}

/* === MULTI-SELECT ICONS === */
.desktop-icon.selected {
    background: rgba(57, 255, 20, 0.12);
    border-color: #39ff14;
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.3), inset 0 0 8px rgba(57, 255, 20, 0.05);
}

.desktop-icon.selected .icon-img svg {
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 1));
}

/* === AERO GLASS WINDOWS === */
.window.aero-glass .window-body {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.window.aero-glass {
    background: rgba(20, 20, 40, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* === RECYCLE BIN === */
.recycle-bin-full .icon-img svg {
    filter: drop-shadow(0 0 4px rgba(255, 200, 0, 0.6)) !important;
}

/* === SCREENSAVER OVERLAY === */
#screensaver-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: #000;
    cursor: none;
}

#screensaver-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    cursor: none;
}

/* === TASK MANAGER === */
.taskmgr-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.taskmgr-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.15s;
}

.taskmgr-tab:hover { color: rgba(255, 255, 255, 0.8); }
.taskmgr-tab.active { color: #39ff14; border-bottom-color: #39ff14; }

.taskmgr-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

.taskmgr-table th {
    text-align: left;
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

.taskmgr-table td {
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.taskmgr-table tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.taskmgr-footer {
    display: flex;
    gap: 8px;
    padding: 8px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

.taskmgr-stats {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin-bottom: 8px;
}

/* === START MENU SEARCH === */
#start-menu-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
    padding: 8px 10px;
    outline: none;
    margin: 8px 0;
}

#start-menu-search:focus {
    border-color: rgba(57, 255, 20, 0.4);
}

.start-menu-search-results {
    max-height: 120px;
    overflow-y: auto;
}

.start-menu-search-item {
    padding: 6px 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.start-menu-search-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.start-menu-power {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    padding: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

.power-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.15s;
}

.power-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.power-btn-sleep { color: #4da6ff !important; }
.power-btn-sleep:hover { color: #7fc1ff !important; background: rgba(77, 166, 255, 0.12) !important; }
.power-btn-shutdown { color: #ff4444 !important; }
.power-btn-shutdown:hover { color: #ff6666 !important; background: rgba(255, 68, 68, 0.12) !important; }

/* === PERSONALIZE === */
.personalize-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.wallpaper-thumb {
    aspect-ratio: 16/9;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    transition: border-color 0.15s;
}

.wallpaper-thumb:hover {
    border-color: rgba(57, 255, 20, 0.5);
}

.wallpaper-thumb.active {
    border-color: #39ff14;
}

.wallpaper-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    transition: all 0.15s;
}

.wallpaper-upload-area:hover {
    border-color: rgba(57, 255, 20, 0.4);
    color: rgba(255, 255, 255, 0.7);
}

/* === MINESWEEPER === */
.ms-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

.ms-header b { color: #39ff14; }

.ms-canvas-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
}

#ms-canvas {
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
}

.ms-footer {
    padding: 4px 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-align: center;
}

/* === PAC-MAN === */
.pm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

.pm-header b { color: #ffff00; }

.pm-canvas-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #000;
}

#pm-canvas {
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 100%;
}

.pm-footer {
    padding: 4px 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-align: center;
}

/* === CALCULATOR === */
.calc-btn {
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.1s;
}

.calc-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.calc-btn:active {
    transform: scale(0.95);
}

/* === PRINT PREVENTION === */
@media print {
    body, html {
        display: none !important;
    }
}

textarea#page-content {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    padding: 10px;
    resize: vertical;
    outline: none;
}

textarea#page-content:focus {
    border-color: rgba(57, 255, 20, 0.5);
}

/* === FAKE SITES (BROWSER) === */
.browser-page {
    height: 100%;
    overflow-y: auto;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* News - realistic news site */
.fake-news {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #222;
}
.fake-news-header {
    text-align: center;
    padding: 20px 16px 6px;
    border-bottom: 2px solid #cc0000;
    background: #fff;
}
.fake-news-logo {
    font-size: 26px;
    font-weight: 800;
    color: #cc0000;
    letter-spacing: -0.5px;
}
.fake-news-tagline {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
    font-style: italic;
}
.fake-news-nav {
    display: flex;
    gap: 18px;
    padding: 8px 24px;
    background: #f5f5f5;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    font-weight: 500;
}
.fake-news-nav span {
    cursor: default;
    color: #555;
}
.fake-news-nav span:first-child {
    color: #cc0000;
}
.fake-news-main {
    padding: 20px 24px;
    flex: 1;
    overflow-y: auto;
    background: #fff;
}
.fake-news-main h2 {
    font-size: 22px;
    color: #111;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}
.fake-news-main h3 {
    font-size: 17px;
    color: #222;
    font-weight: 600;
    margin-bottom: 4px;
}
.fake-news-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
}
.fake-news-main p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}
.fake-link {
    color: #1a73e8;
    cursor: pointer;
    text-decoration: underline;
}
.fake-link:hover {
    color: #c00;
}
.fake-nav-link {
    cursor: pointer;
    color: #555 !important;
}
.fake-nav-link:hover {
    color: #cc0000 !important;
}
.fake-news-main hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 16px 0;
}

/* Fatbook - blue/white social media */
.fake-fatbook {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #e9ebee;
    color: #1d2129;
}
.fake-fatbook-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #4267b2;
    border-bottom: 1px solid #365899;
}
.fake-fatbook-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.fake-fatbook-slogan {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}
.fake-fatbook-feed {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fake-fatbook-post {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.fake-fatbook-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.fake-fatbook-body {
    font-size: 13px;
    line-height: 1.5;
    color: #1d2129;
}
.fake-fatbook-time {
    font-size: 11px;
    color: #90949c;
    font-weight: 400;
}
.fake-fatbook-body p {
    margin-top: 4px;
}
.fake-fatbook-actions {
    font-size: 12px;
    color: #606770;
    margin-top: 6px;
    border-top: 1px solid #e9ebee;
    padding-top: 6px;
}

/* PornBank - dark adult tube style */
.fake-pornbank {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1a1a2e;
    color: #eee;
}
.fake-pornbank-warning {
    background: #2d0a0a;
    color: #ff7777;
    font-size: 11px;
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #441111;
}
.fake-pornbank-logo {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 18px 16px 14px;
    background: linear-gradient(135deg, #2d0a2e, #2d1a0a);
    color: #ff88aa;
    letter-spacing: 1px;
}
.fake-pornbank-subnav {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 6px 16px 12px;
    font-size: 13px;
    background: linear-gradient(135deg, #2d0a2e, #2d1a0a);
    border-bottom: 1px solid #333;
}
.fake-pornbank-subnav .fake-link {
    color: #ff88aa;
    text-decoration: none;
    font-weight: 500;
}
.fake-pornbank-subnav .fake-link:hover {
    color: #fff;
    text-decoration: underline;
}

.fake-pornbank-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
}
.fake-pornbank-card {
    background: #16213e;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s;
}
.fake-pornbank-card:hover {
    transform: scale(1.03);
}
.fake-pornbank-thumb {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.fake-pornbank-title {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 8px 2px;
    color: #ddd;
}
.fake-pornbank-views {
    font-size: 10px;
    padding: 0 8px 8px;
    color: #777;
}
.fake-pornbank-footer {
    font-size: 10px;
    color: #555;
    text-align: center;
    padding: 8px;
    border-top: 1px solid #222;
}

/* === SETTINGS APP (Windows 11 Style) === */
.settings-body {
    display: flex !important;
    padding: 0 !important;
    background: rgba(15, 15, 30, 0.85);
    font-family: 'Segoe UI', 'Arial', sans-serif;
}
.settings-nav {
    width: 220px;
    min-width: 220px;
    background: rgba(10, 10, 25, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
    overflow-y: auto;
}
.settings-nav-header {
    font-size: 20px;
    font-weight: 600;
    padding: 12px 20px 16px;
    color: rgba(255, 255, 255, 0.9);
}
.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-radius: 4px;
    margin: 0 6px;
}
.settings-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}
.settings-nav-item.active {
    background: rgba(57, 255, 20, 0.1);
    color: #39ff14;
}
.settings-nav-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}
.settings-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}
.settings-page {
    padding: 24px 28px;
    max-width: 700px;
}
.settings-page-title {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}
.settings-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.settings-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.settings-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.settings-row span:last-child {
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
}
.settings-link {
    padding: 8px 0;
    font-size: 13px;
    color: #39ff14;
    cursor: pointer;
    transition: opacity 0.15s;
}
.settings-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.settings-account-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.settings-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(57, 255, 20, 0.3);
}
.settings-btn {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    padding: 6px 16px;
    background: rgba(57, 255, 20, 0.12);
    color: #39ff14;
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}
.settings-btn:hover {
    background: rgba(57, 255, 20, 0.2);
}
.settings-btn-sm {
    font-size: 11px !important;
    padding: 3px 10px !important;
}
.settings-btn.danger {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6b6b;
    border-color: rgba(255, 68, 68, 0.25);
}
.settings-btn.danger:hover {
    background: rgba(255, 68, 68, 0.25);
}
.settings-input {
    width: 100%;
    padding: 7px 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    outline: none;
}
.settings-input:focus {
    border-color: rgba(57, 255, 20, 0.4);
}
.settings-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 12px 0;
}
.settings-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.settings-user-row:last-child {
    border-bottom: none;
}
.settings-wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.settings-wallpaper-thumb {
    aspect-ratio: 16/9;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: flex-end;
    padding: 6px;
    transition: border-color 0.15s;
}
.settings-wallpaper-thumb:hover {
    border-color: rgba(255, 255, 255, 0.2);
}
.settings-wallpaper-thumb.active {
    border-color: #39ff14;
}
.settings-wallpaper-thumb span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 3px;
}
.settings-wallpaper-upload {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s;
}
.settings-wallpaper-upload:hover {
    border-color: rgba(57, 255, 20, 0.4);
}
