/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.hidden { display: none !important; }

:root {
    --accent: #0078D4;
    --accent-light: #60CDFF;
    --bg-primary: rgba(255,255,255,0.85);
    --bg-secondary: rgba(243,243,243,0.9);
    --bg-tertiary: rgba(255,255,255,0.7);
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --border: rgba(0,0,0,0.08);
    --shadow: 0 8px 32px rgba(0,0,0,0.12);
    --taskbar-bg: rgba(243,243,243,0.85);
    --window-bg: rgba(255,255,255,0.95);
    --hover: rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
}

.dark-mode {
    --bg-primary: rgba(32,32,32,0.9);
    --bg-secondary: rgba(44,44,44,0.95);
    --bg-tertiary: rgba(50,50,50,0.8);
    --text-primary: #fff;
    --text-secondary: #aaa;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --taskbar-bg: rgba(32,32,32,0.85);
    --window-bg: rgba(32,32,32,0.98);
    --hover: rgba(255,255,255,0.06);
}

/* ===== LOP LOGO ===== */
.lop-logo {
    margin-bottom: 40px;
    animation: logoFadeIn 1.5s ease-out;
}

@keyframes logoFadeIn {
    0% { opacity: 0; transform: scale(0.5); }
    60% { opacity: 1; transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}

.lop-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0078D4 0%, #00BCF2 40%, #60CDFF 70%, #0078D4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 
        0 0 40px rgba(0,120,212,0.5),
        0 0 80px rgba(0,120,212,0.2),
        inset 0 0 30px rgba(255,255,255,0.15);
    position: relative;
    animation: logoGlow 3s ease-in-out infinite;
}

.lop-circle::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
}

.lop-circle::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid rgba(0,120,212,0.3);
    animation: logoRing 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(0,120,212,0.5), 0 0 80px rgba(0,120,212,0.2); }
    50% { box-shadow: 0 0 60px rgba(0,120,212,0.7), 0 0 120px rgba(0,120,212,0.3); }
}

@keyframes logoRing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.lop-text {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lop-circle.small {
    width: 70px;
    height: 70px;
    box-shadow: 0 0 20px rgba(0,120,212,0.4);
}

.lop-circle.small .lop-text {
    font-size: 20px;
    letter-spacing: 3px;
}

.lop-circle.small::before {
    width: 62px;
    height: 62px;
}

.lop-circle.small::after {
    width: 78px;
    height: 78px;
}

/* ===== BOOT SCREEN ===== */
.boot-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a1628 0%, #000 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.boot-content {
    text-align: center;
}

.boot-loader {
    margin-top: 40px;
}

.boot-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0,120,212,0.15);
    border-top-color: #00BCF2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.boot-label {
    margin-top: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ===== LOCK SCREEN ===== */
.lock-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lock-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 30%, #0f3460 60%, #533483 100%);
}

.lock-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.lock-time {
    font-size: 96px;
    font-weight: 300;
    letter-spacing: -2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.lock-date {
    font-size: 20px;
    font-weight: 300;
    margin-top: 5px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.lock-bottom {
    position: absolute;
    bottom: 60px;
    z-index: 1;
    color: rgba(255,255,255,0.7);
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== LOGIN SCREEN ===== */
.login-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 30%, #0f3460 60%, #533483 100%);
    z-index: 8500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-content {
    text-align: center;
    color: #fff;
}

.login-logo {
    margin-bottom: 20px;
}

.login-logo .lop-circle.small {
    animation: none;
}

.user-avatar {
    font-size: 80px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.user-name {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 25px;
}

.password-input {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.password-input input {
    width: 260px;
    padding: 10px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 14px;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
    transition: border-color 0.2s;
}

.password-input input:focus { border-color: var(--accent); }
.password-input input::placeholder { color: rgba(255,255,255,0.5); }

.login-submit {
    padding: 10px 18px;
    background: var(--accent);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 16px;
    transition: background 0.2s;
}

.login-submit:hover { background: #006cbd; }

.login-hint {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ===== DESKTOP ===== */
.desktop {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.desktop-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 20%, #0f3460 50%, #1a5276 70%, #2471a3 100%);
    transition: background 0.5s;
}

.desktop-bg.w1 { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); }
.desktop-bg.w2 { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.desktop-bg.w3 { background: linear-gradient(135deg, #134e5e, #71b280); }
.desktop-bg.w4 { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.desktop-bg.w5 { background: linear-gradient(135deg, #141E30, #243B55); }

/* ===== DESKTOP ICONS ===== */
.desktop-icons {
    position: relative;
    z-index: 1;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 90px);
    grid-template-rows: repeat(auto-fill, 100px);
    gap: 5px;
    height: calc(100% - 48px);
    align-content: start;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
    width: 85px;
    height: 95px;
}

.desktop-icon:hover { background: rgba(255,255,255,0.1); }
.desktop-icon:active, .desktop-icon.selected {
    background: rgba(255,255,255,0.15);
    outline: 1px solid rgba(255,255,255,0.2);
}

.icon-img {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 5px;
}

.desktop-icon span {
    font-size: 11px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    line-height: 1.2;
    word-break: break-word;
}

/* ===== TASKBAR ===== */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--taskbar-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 5000;
}

.taskbar-left { display: flex; align-items: center; }

.taskbar-center {
    display: flex;
    align-items: center;
    gap: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.taskbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.taskbar-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    transition: background 0.15s;
    position: relative;
}

.taskbar-btn:hover { background: var(--hover); }

.taskbar-btn.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.start-btn {
    width: 44px;
    height: 40px;
}

.lop-taskbar-logo {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0078D4, #00BCF2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    box-shadow: 0 0 8px rgba(0,120,212,0.5);
    transition: box-shadow 0.2s;
}

.start-btn:hover .lop-taskbar-logo {
    box-shadow: 0 0 16px rgba(0,120,212,0.7);
}

.taskbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    border: 1px solid var(--border);
    transition: background 0.15s;
}

.taskbar-search:hover { background: rgba(255,255,255,0.9); }

.taskbar-apps {
    display: flex;
    align-items: center;
    gap: 2px;
}

.taskbar-app-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.15s;
    position: relative;
}

.taskbar-app-btn:hover { background: var(--hover); }

.taskbar-app-btn.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 16px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.taskbar-widget {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 16px;
    transition: background 0.15s;
}

.taskbar-widget:hover { background: var(--hover); }

.system-tray {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.system-tray:hover { background: var(--hover); }

.tray-icon {
    font-size: 14px;
    color: var(--text-primary);
    padding: 2px 4px;
}

.taskbar-clock {
    text-align: center;
    padding: 4px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.taskbar-clock:hover { background: var(--hover); }
.clock-time { font-size: 12px; color: var(--text-primary); font-weight: 500; }
.clock-date { font-size: 11px; color: var(--text-secondary); }

.notification-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 15px;
    position: relative;
    transition: background 0.15s;
}

.notification-btn:hover { background: var(--hover); }

.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== START MENU ===== */
.start-menu {
    position: fixed;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    max-height: 700px;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6000;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.2s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from { transform: translateX(-50%) translateY(20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.start-menu-content {
    padding: 30px 30px 15px;
    flex: 1;
    overflow-y: auto;
}

.start-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--bg-secondary);
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.start-search i { color: var(--text-secondary); font-size: 14px; }

.start-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 100%;
    color: var(--text-primary);
}

.start-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.start-section-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.start-all-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.15s;
}

.start-all-btn:hover { background: var(--hover); }

.start-pinned {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    margin-bottom: 24px;
}

.start-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.start-app:hover { background: var(--hover); }

.start-app-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 6px;
}

.start-app span {
    font-size: 11px;
    color: var(--text-primary);
    text-align: center;
}

.start-recommended { display: flex; flex-direction: column; gap: 2px; }

.recommended-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.recommended-item:hover { background: var(--hover); }

.rec-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-info { display: flex; flex-direction: column; }
.rec-name { font-size: 13px; color: var(--text-primary); font-weight: 500; }
.rec-time { font-size: 11px; color: var(--text-secondary); }

.start-menu-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    border-top: 1px solid var(--border);
}

.start-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    transition: background 0.15s;
}

.start-user:hover { background: var(--hover); }
.start-user i { font-size: 20px; }

.start-power {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.15s;
}

.start-power:hover { background: var(--hover); }

/* ===== WINDOW ===== */
.window {
    position: absolute;
    background: var(--window-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 400px;
    min-height: 300px;
    animation: windowOpen 0.2s ease-out;
}

@keyframes windowOpen {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.window.focused { box-shadow: 0 12px 48px rgba(0,0,0,0.2); }

.window.maximized {
    width: 100% !important;
    height: calc(100% - 48px) !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 0;
}

.window.minimized {
    transform: scale(0.1);
    opacity: 0;
    pointer-events: none;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    height: 36px;
    flex-shrink: 0;
    cursor: default;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
    font-size: 12px;
    color: var(--text-primary);
}

.window-title i { font-size: 14px; }

.window-controls { display: flex; align-items: center; height: 100%; }

.win-ctrl {
    width: 46px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 10px;
    transition: background 0.1s;
}

.win-ctrl:hover { background: var(--hover); }
.win-ctrl.close-btn:hover { background: #E81123; color: #fff; }

.window-body { flex: 1; overflow: auto; }

.window-resize {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
}

/* ===== SEARCH PANEL ===== */
.search-panel {
    position: fixed;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-height: 500px;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6000;
    animation: slideUp 0.2s ease-out;
}

.search-content { padding: 20px; }

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 2px solid var(--accent);
}

.search-input-wrapper i { color: var(--accent); }

.search-input-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--text-primary);
}

.search-results { margin-top: 16px; }

.search-results h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.search-result-item:hover { background: var(--hover); }
.search-result-item i { font-size: 20px; width: 32px; text-align: center; }
.search-result-item span { font-size: 14px; color: var(--text-primary); }

/* ===== ACTION CENTER ===== */
.action-center {
    position: fixed;
    bottom: 58px;
    right: 12px;
    width: 340px;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6000;
    padding: 16px;
    animation: slideUp 0.2s ease-out;
}

.ac-quick-settings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.ac-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--bg-secondary);
    transition: all 0.15s;
    color: var(--text-secondary);
}

.ac-toggle i { font-size: 16px; }
.ac-toggle span { font-size: 10px; }
.ac-toggle.active { background: var(--accent); color: #fff; }

.ac-sliders { display: flex; flex-direction: column; gap: 10px; }

.ac-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.ac-slider i { font-size: 16px; width: 20px; text-align: center; }

.ac-slider input[type="range"] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: var(--border);
    border-radius: 2px;
    outline: none;
}

.ac-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ===== CALENDAR ===== */
.calendar-widget {
    position: fixed;
    bottom: 58px;
    right: 12px;
    width: 320px;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6000;
    padding: 16px;
    animation: slideUp 0.2s ease-out;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-header h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.cal-header button {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.cal-header button:hover { background: var(--hover); }

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}

.cal-days span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 4px;
}

.cal-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-date {
    text-align: center;
    padding: 6px;
    font-size: 12px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background 0.15s;
}

.cal-date:hover { background: var(--hover); }
.cal-date.today { background: var(--accent); color: #fff; font-weight: 600; }
.cal-date.other-month { color: var(--text-secondary); opacity: 0.5; }

/* ===== NOTIFICATION CENTER ===== */
.notification-center {
    position: fixed;
    bottom: 58px;
    right: 12px;
    width: 360px;
    max-height: 400px;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6000;
    animation: slideUp 0.2s ease-out;
    overflow: hidden;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.notif-header h3 { font-size: 14px; color: var(--text-primary); }
.notif-header button { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 12px; }

.notif-list { max-height: 320px; overflow-y: auto; padding: 8px; }

.notif-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    transition: background 0.15s;
    align-items: flex-start;
}

.notif-item:hover { background: var(--hover); }
.notif-icon { font-size: 18px; padding-top: 2px; }
.notif-content { flex: 1; }
.notif-content strong { font-size: 13px; color: var(--text-primary); }
.notif-content p { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.notif-time { font-size: 10px; color: var(--text-secondary); }

.notif-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
}

.notif-close:hover { color: var(--text-primary); }

/* ===== CONTEXT MENU ===== */
.context-menu {
    position: fixed;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 7000;
    padding: 4px;
    min-width: 200px;
    animation: fadeIn 0.1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.ctx-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
}

.ctx-item:hover { background: var(--hover); }
.ctx-item i { width: 16px; text-align: center; font-size: 13px; color: var(--text-secondary); }
.ctx-divider { height: 1px; background: var(--border); margin: 4px 8px; }

/* ===== POWER MENU ===== */
.power-menu {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6500;
    padding: 4px;
    animation: fadeIn 0.15s ease-out;
}

.power-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.power-option:hover { background: var(--hover); }

/* ===== WIDGET PANEL ===== */
.widget-panel {
    position: fixed;
    bottom: 58px;
    left: 12px;
    width: 360px;
    background: var(--bg-primary);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 6000;
    padding: 16px;
    animation: slideUp 0.2s ease-out;
    max-height: 500px;
    overflow-y: auto;
}

.widget-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}

.widget-card:last-child { margin-bottom: 0; }

.widget-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-info { display: flex; align-items: center; gap: 16px; }
.weather-temp { font-size: 36px; font-weight: 300; color: var(--text-primary); }
.weather-desc { display: flex; flex-direction: column; color: var(--text-secondary); font-size: 13px; }

.news-item { padding: 8px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-item strong { font-size: 12px; color: var(--accent); }
.news-item p { font-size: 13px; color: var(--text-primary); margin-top: 4px; }
.tips-widget p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ===== SHUTDOWN SCREEN ===== */
.shutdown-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a1628 0%, #000 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.shutdown-content { text-align: center; color: #fff; }

.shutdown-logo { margin-bottom: 30px; animation: none !important; }
.shutdown-logo::after { animation: none !important; }

.shutdown-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0,120,212,0.15);
    border-top-color: #00BCF2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.shutdown-content p { font-size: 16px; font-weight: 300; letter-spacing: 1px; }

/* ===== APP: FILE EXPLORER ===== */
.file-explorer { display: flex; flex-direction: column; height: 100%; }

.fe-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.fe-toolbar button {
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    transition: background 0.15s;
}

.fe-toolbar button:hover { background: var(--hover); }

.fe-address {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.fe-content { display: flex; flex: 1; overflow: hidden; }

.fe-sidebar {
    width: 200px;
    padding: 8px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
}

.fe-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
    transition: background 0.15s;
}

.fe-sidebar-item:hover { background: var(--hover); }
.fe-sidebar-item.active { background: var(--accent); color: #fff; }

.fe-main {
    flex: 1;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 90px);
    grid-auto-rows: 90px;
    gap: 8px;
    align-content: start;
    overflow-y: auto;
}

.fe-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.fe-item:hover { background: var(--hover); }
.fe-item i { font-size: 32px; margin-bottom: 6px; }
.fe-item span { font-size: 11px; color: var(--text-primary); text-align: center; word-break: break-word; }

/* ===== APP: BROWSER ===== */
.browser-app { display: flex; flex-direction: column; height: 100%; }

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.browser-toolbar button {
    background: none;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.15s;
}

.browser-toolbar button:hover { background: var(--hover); }

.browser-url {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-tertiary);
    font-size: 13px;
    outline: none;
    color: var(--text-primary);
}

.browser-url:focus { border-color: var(--accent); }
.browser-frame { flex: 1; border: none; background: #fff; }

/* ===== APP: NOTEPAD ===== */
.notepad-app { display: flex; flex-direction: column; height: 100%; }

.notepad-menu {
    display: flex;
    gap: 2px;
    padding: 2px 6px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.notepad-menu button {
    background: none;
    border: none;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-primary);
    border-radius: 4px;
    transition: background 0.15s;
}

.notepad-menu button:hover { background: var(--hover); }

.notepad-editor {
    flex: 1;
    border: none;
    resize: none;
    outline: none;
    padding: 12px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    background: var(--window-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.notepad-status {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-secondary);
}

/* ===== APP: CALCULATOR ===== */
.calc-app { display: flex; flex-direction: column; height: 100%; background: var(--bg-secondary); }

.calc-display { padding: 20px; text-align: right; }
.calc-expression { font-size: 14px; color: var(--text-secondary); min-height: 20px; }
.calc-result { font-size: 40px; font-weight: 300; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; }

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 6px;
    flex: 1;
}

.calc-btn {
    border: none;
    padding: 14px;
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.1s;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.calc-btn:hover { filter: brightness(0.95); }
.calc-btn:active { transform: scale(0.97); }
.calc-btn.operator { background: rgba(0,120,212,0.1); color: var(--accent); }
.calc-btn.equals { background: var(--accent); color: #fff; }
.calc-btn.equals:hover { background: #006cbd; }
.calc-btn.func { background: var(--bg-secondary); font-size: 14px; }

/* ===== APP: TERMINAL ===== */
.terminal-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0c0c0c;
    font-family: 'Cascadia Code', 'Consolas', monospace;
}

.terminal-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    background: #1e1e1e;
}

.terminal-tab {
    padding: 4px 14px;
    font-size: 12px;
    color: #ccc;
    background: #0c0c0c;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
}

.terminal-output {
    flex: 1;
    padding: 10px 14px;
    overflow-y: auto;
    color: #ccc;
    font-size: 13px;
    line-height: 1.5;
}

.terminal-output .prompt { color: #4EC9B0; }
.terminal-output .cmd-text { color: #fff; }

.terminal-input-line {
    display: flex;
    align-items: center;
    padding: 0 14px 10px;
    gap: 6px;
}

.terminal-input-line .prompt {
    color: #4EC9B0;
    font-size: 13px;
    font-family: inherit;
    white-space: nowrap;
}

.terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    flex: 1;
}

/* ===== APP: PAINT ===== */
.paint-app { display: flex; flex-direction: column; height: 100%; }

.paint-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.paint-toolbar button {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: background 0.15s;
}

.paint-toolbar button:hover { background: var(--hover); }
.paint-toolbar button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.paint-toolbar input[type="color"] { width: 32px; height: 32px; border: none; cursor: pointer; border-radius: 4px; padding: 0; }
.paint-toolbar input[type="range"] { width: 80px; }
.paint-toolbar label { font-size: 12px; color: var(--text-secondary); }

.paint-canvas-container {
    flex: 1;
    overflow: auto;
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.paint-canvas-container canvas {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    cursor: crosshair;
}

/* ===== APP: MUSIC PLAYER ===== */
.music-player-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
    color: #fff;
}

.mp-header { padding: 20px; text-align: center; }

.mp-art {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.mp-info h3 { font-size: 18px; font-weight: 600; }
.mp-info p { font-size: 14px; color: #aaa; margin-top: 4px; }

.mp-progress { padding: 0 30px; margin: 10px 0; }

.mp-progress input[type="range"] {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
}

.mp-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.mp-times {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    font-size: 11px;
    color: #888;
}

.mp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.mp-controls button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.1s;
    padding: 8px;
}

.mp-controls button:hover { transform: scale(1.1); }

.mp-controls .play-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #1a1a2e;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-playlist { flex: 1; padding: 10px 20px; overflow-y: auto; }
.mp-playlist h4 { font-size: 14px; margin-bottom: 10px; color: #aaa; }

.mp-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.mp-track:hover { background: rgba(255,255,255,0.08); }
.mp-track.active { background: rgba(255,255,255,0.12); }

.mp-track-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mp-track-info { flex: 1; }
.mp-track-info strong { font-size: 13px; display: block; }
.mp-track-info span { font-size: 11px; color: #888; }
.mp-track-duration { font-size: 12px; color: #888; }

/* ===== APP: VIDEO PLAYER ===== */
.video-player-app { display: flex; flex-direction: column; height: 100%; background: #000; }

.vp-player {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.vp-placeholder { text-align: center; color: #666; }
.vp-placeholder i { font-size: 60px; margin-bottom: 10px; display: block; }
.vp-placeholder p { font-size: 14px; }

.vp-controls {
    padding: 10px 16px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vp-controls button { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; padding: 4px; }

.vp-controls input[type="range"] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: #444;
    border-radius: 2px;
    outline: none;
}

.vp-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.vp-controls span { font-size: 12px; color: #aaa; }

.vp-list { padding: 10px; max-height: 150px; overflow-y: auto; background: #1a1a1a; }

.vp-movie {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    color: #fff;
}

.vp-movie:hover { background: rgba(255,255,255,0.08); }

.vp-movie-thumb {
    width: 60px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.vp-movie-info strong { font-size: 13px; display: block; }
.vp-movie-info span { font-size: 11px; color: #888; }

/* ===== APP: SETTINGS ===== */
.settings-app { display: flex; height: 100%; }

.settings-sidebar {
    width: 240px;
    padding: 20px 10px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    overflow-y: auto;
}

.settings-sidebar h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0 10px 16px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
    transition: background 0.15s;
}

.settings-nav-item:hover { background: var(--hover); }
.settings-nav-item.active { background: var(--accent); color: #fff; }
.settings-nav-item i { width: 20px; text-align: center; }

.settings-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.settings-main h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.settings-group {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 4px;
    margin-bottom: 16px;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius);
    transition: background 0.15s;
}

.settings-item:hover { background: var(--hover); }

.settings-item-left { display: flex; align-items: center; gap: 14px; }
.settings-item-left i { font-size: 18px; color: var(--text-primary); width: 24px; text-align: center; }
.settings-item-info h4 { font-size: 14px; color: var(--text-primary); font-weight: 400; }
.settings-item-info p { font-size: 12px; color: var(--text-secondary); }

.toggle-switch {
    width: 40px;
    height: 22px;
    background: #999;
    border-radius: 11px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.toggle-switch.active { background: var(--accent); }

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
}

.toggle-switch.active::after { transform: translateX(18px); }

/* ===== APP: WEATHER ===== */
.weather-app {
    height: 100%;
    background: linear-gradient(180deg, #4FC3F7 0%, #0288D1 100%);
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wa-location { font-size: 24px; font-weight: 300; }
.wa-temp { font-size: 72px; font-weight: 200; margin: 10px 0; }
.wa-condition { font-size: 18px; font-weight: 300; margin-bottom: 30px; }
.wa-icon { font-size: 80px; margin-bottom: 30px; }

.wa-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.wa-detail { text-align: center; }
.wa-detail-label { font-size: 12px; opacity: 0.8; }
.wa-detail-value { font-size: 20px; font-weight: 500; margin-top: 4px; }

/* ===== APP: CLOCK ===== */
.clock-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.analog-clock {
    width: 200px;
    height: 200px;
    border: 4px solid var(--text-primary);
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
}

.hour-hand { width: 4px; height: 55px; background: var(--text-primary); margin-left: -2px; }
.minute-hand { width: 3px; height: 75px; background: var(--text-primary); margin-left: -1.5px; }
.second-hand { width: 1.5px; height: 85px; background: #E74856; margin-left: -0.75px; }

.clock-center {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.digital-time { font-size: 48px; font-weight: 300; color: var(--text-primary); }
.digital-date { font-size: 16px; color: var(--text-secondary); margin-top: 8px; }

/* ===== APP: PHOTOS ===== */
.photos-app { height: 100%; background: var(--bg-secondary); padding: 20px; overflow-y: auto; }

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    transition: transform 0.15s;
}

.photo-item:hover { transform: scale(1.03); }

/* ===== APP: TODO ===== */
.todo-app { height: 100%; display: flex; flex-direction: column; background: var(--bg-secondary); }

.todo-header { padding: 20px; background: var(--accent); color: #fff; }
.todo-header h2 { font-size: 20px; font-weight: 600; }

.todo-input-wrapper {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.todo-input-wrapper input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    font-size: 14px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.todo-input-wrapper input:focus { border-color: var(--accent); }

.todo-input-wrapper button {
    padding: 8px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
}

.todo-input-wrapper button:hover { background: #006cbd; }

.todo-list { flex: 1; padding: 10px 20px; overflow-y: auto; }

.todo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.todo-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

.todo-item span { flex: 1; font-size: 14px; color: var(--text-primary); }
.todo-item span.done { text-decoration: line-through; color: var(--text-secondary); }

.todo-item button {
    background: none;
    border: none;
    color: #E74856;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.15s;
}

.todo-item:hover button { opacity: 1; }

/* ===== APP: CAMERA ===== */
.camera-app {
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.camera-viewfinder {
    width: 90%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: #111;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.camera-viewfinder video { width: 100%; height: 100%; object-fit: cover; }
.cam-placeholder { color: #444; text-align: center; }
.cam-placeholder i { font-size: 60px; display: block; margin-bottom: 10px; }

.camera-controls { display: flex; gap: 20px; align-items: center; }

.camera-controls button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.15s;
}

.camera-controls button:hover { background: rgba(255,255,255,0.1); }

.camera-controls .capture-btn {
    width: 70px;
    height: 70px;
    background: #fff;
    color: #000;
    border: 4px solid #ddd;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(128,128,128,0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(128,128,128,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .start-menu { width: calc(100% - 20px); max-height: 80vh; }
    .start-pinned { grid-template-columns: repeat(4, 1fr); }
    .taskbar-search span { display: none; }
    .desktop-icons { grid-template-columns: repeat(auto-fill, 80px); }
    .settings-sidebar { width: 180px; }
}