/* ============================================
   Jubuntu OS Portfolio — Premium Theme
   ============================================ */

:root {
    --ubuntu-purple: #772953;
    --ubuntu-orange: #E95420;
    --ubuntu-warm: #dd4814;
    --ubuntu-dark: #2C001E;
    --ubuntu-bg: #300a24;
    --terminal-green: #4E9A06;
    --terminal-blue: #729FCF;
    --terminal-prompt: #87FF00;
    --desktop-bg: linear-gradient(145deg, #2C001E 0%, #4C0A3D 40%, #772953 70%, #E95420 100%);
    --top-bar-bg: rgba(0, 0, 0, 0.82);
    --dock-bg: rgba(30, 7, 24, 0.72);
    --window-header: #2d2d2d;
    --window-header-inactive: #3d3d3d;
    --window-bg: #f5f5f5;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --font-main: 'Ubuntu', sans-serif;
    --font-mono: 'Ubuntu Mono', monospace;
    --shadow-window: 0 12px 48px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-dock: 0 4px 24px rgba(0, 0, 0, 0.4);
    --radius-window: 10px;
    --transition-snap: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset & Global --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    font-family: var(--font-main);
    background: var(--ubuntu-dark);
    height: 100vh;
    overflow: hidden;
    color: #fff;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* --- Desktop Wallpaper --- */
#desktop-wallpaper {
    position: fixed;
    inset: 0;
    background: var(--desktop-bg);
    z-index: -2;
    transition: background 1s ease;
}

#desktop-wallpaper.alt-bg {
    background: linear-gradient(135deg, #1e0a1d 0%, #300a24 50%, #5e2750 100%);
}

#desktop-wallpaper::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(233, 84, 32, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(119, 41, 83, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
}

/* Subtle animated noise texture */
@keyframes noiseShift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 200px 200px;
    }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(119, 41, 83, 0.4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(119, 41, 83, 0.7);
}

/* ============ TOP BAR ============ */
#top-bar {
    height: 30px;
    background: var(--top-bar-bg);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 400;
    z-index: 1000;
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.01em;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.top-bar-item {
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
    cursor: default;
    border-radius: 0;
    position: relative;
    font-size: 13px;
}

.top-bar-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.top-bar-item.activities {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.top-bar-icon {
    width: 15px;
    height: 15px;
    fill: #fff;
    opacity: 0.9;
}

/* ============ NOTIFICATION PANEL ============ */
#notification-panel {
    position: fixed;
    top: 30px;
    right: 0;
    width: 360px;
    max-height: 0;
    background: rgba(30, 10, 24, 0.92);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border-bottom-left-radius: 12px;
    overflow: hidden;
    z-index: 999;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
    opacity: 0;
    border: 1px solid var(--glass-border);
    border-top: none;
    border-right: none;
}

#notification-panel.open {
    max-height: 500px;
    opacity: 1;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    font-size: 14px;
}

.notif-body {
    padding: 14px 18px;
}

.notif-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.notif-row svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    opacity: 0.8;
    flex-shrink: 0;
}

.notif-row span {
    font-size: 13px;
    opacity: 0.9;
}

.notif-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.notif-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.notif-toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.notif-toggle.on {
    background: var(--ubuntu-orange);
}

.notif-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

.notif-toggle.on::after {
    transform: translateX(16px);
}

.notif-links {
    display: flex;
    gap: 8px;
    padding: 10px 18px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.notif-link-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: #fff;
    font-size: 11px;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
}

.notif-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.notif-link-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* ============ DOCK ============ */
#dock {
    position: fixed;
    left: 0;
    top: 30px;
    height: calc(100vh - 30px);
    width: 68px;
    background: var(--dock-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 900;
    border-right: 1px solid var(--glass-border);
    box-shadow: var(--shadow-dock);
}

.dock-separator {
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 6px 0;
}

.dock-item {
    width: 52px;
    height: 52px;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.12);
}

.dock-item:active {
    transform: scale(0.95);
}

.dock-item svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    transition: filter 0.2s;
}

.dock-item:hover svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* Tooltip */
.dock-item::before {
    content: attr(title);
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 1001;
}

.dock-item:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Active indicator dot */
.dock-item.active-app::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #fff;
    border-radius: 0 2px 2px 0;
    transition: height 0.2s;
}

/* Dock bounce animation */
@keyframes dockBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(-4px);
    }

    70% {
        transform: translateY(-7px);
    }
}

.dock-item.bouncing {
    animation: dockBounce 0.6s ease;
}

/* ============ WINDOWS ============ */
.window {
    position: absolute;
    background: var(--window-bg);
    border-radius: var(--radius-window);
    box-shadow: var(--shadow-window);
    color: #333;
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-width: 380px;
    min-height: 280px;
    resize: both;
    transition: box-shadow 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.window.focused {
    box-shadow: var(--shadow-window), 0 0 0 1px rgba(233, 84, 32, 0.3);
}

/* Window open animation */
@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(16px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Window close animation */
@keyframes windowClose {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.88) translateY(16px);
    }
}

/* Window minimize animation */
@keyframes windowMinimize {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.4) translateY(100px);
    }
}

.window.active {
    display: flex;
    animation: windowOpen 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.window.closing {
    animation: windowClose 0.2s ease-in forwards;
}

.window.minimizing {
    animation: windowMinimize 0.25s ease-in forwards;
}

.window.maximized {
    top: 30px !important;
    left: 68px !important;
    width: calc(100vw - 68px) !important;
    height: calc(100vh - 30px) !important;
    border-radius: 0 !important;
    transition: all var(--transition-snap);
}

/* Window Header */
.window-header {
    background: var(--window-header);
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #ddd;
    cursor: grab;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.window-header:active {
    cursor: grabbing;
}

.window:not(.focused) .window-header {
    background: var(--window-header-inactive);
    color: #999;
}

.window-title {
    font-size: 13px;
    font-weight: 500;
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 12px;
}

.window-controls {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4d4d4d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: transparent;
    transition: all 0.12s;
    border: none;
    line-height: 1;
}

.window.focused .control.close {
    background: var(--ubuntu-orange);
}

.window.focused .control.minimize {
    background: #5A5A5A;
}

.window.focused .control.maximize {
    background: #5A5A5A;
}

.control:hover {
    color: rgba(0, 0, 0, 0.7);
}

.control.close:hover {
    background: #d34317;
}

.control.minimize:hover {
    background: #6a6a6a;
}

.control.maximize:hover {
    background: #6a6a6a;
}

/* Window Content */
.window-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    line-height: 1.6;
}

.window-content h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 14px;
    color: var(--ubuntu-purple);
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-content h2 svg {
    width: 20px;
    height: 20px;
    fill: var(--ubuntu-orange);
}

/* ============ TERMINAL ============ */
.terminal {
    background: var(--ubuntu-bg);
    color: #d3d7cf;
    font-family: var(--font-mono);
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.65;
}

.terminal .prompt {
    color: var(--terminal-prompt);
    font-weight: 700;
}

.terminal .dir {
    color: var(--terminal-blue);
    font-weight: 700;
}

.terminal p {
    margin-bottom: 3px;
    color: #d3d7cf;
}

.terminal .output {
    color: #eeeeec;
}

.terminal .comment {
    color: #75715e;
    font-style: italic;
}

/* Blinking cursor */
.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--terminal-prompt);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ============ EDUCATION ITEMS ============ */
.edu-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s;
}

.edu-item:hover {
    border-color: var(--ubuntu-orange);
    box-shadow: 0 2px 12px rgba(233, 84, 32, 0.1);
    transform: translateY(-1px);
}

.edu-item img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.edu-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #222;
}

.edu-item h4 a {
    color: #222;
    text-decoration: none;
    transition: color 0.15s;
}

.edu-item h4 a:hover {
    color: var(--ubuntu-orange);
}

.edu-item p {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
}

.edu-badge {
    display: inline-block;
    background: var(--ubuntu-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

/* ============ EXPERIENCE ITEMS ============ */
.experience-item {
    border-left: 3px solid var(--ubuntu-orange);
    padding: 12px 16px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 0 10px 10px 0;
    transition: all 0.2s;
}

.experience-item:hover {
    box-shadow: 0 2px 12px rgba(233, 84, 32, 0.1);
    transform: translateX(3px);
}

.experience-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.experience-item h4 a {
    color: #222;
    text-decoration: none;
    transition: color 0.15s;
}

.experience-item h4 a:hover {
    color: var(--ubuntu-orange);
}

.experience-item .role {
    font-weight: 500;
    color: var(--ubuntu-purple);
    font-size: 13px;
}

.experience-item .meta {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* ============ ACCOMPLISHMENT GRID ============ */
.acc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.acc-card {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.acc-card:hover {
    border-color: var(--ubuntu-orange);
    box-shadow: 0 4px 16px rgba(233, 84, 32, 0.12);
    transform: translateY(-2px);
}

.acc-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-card-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.acc-card h5 {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.acc-card .acc-arrow {
    font-size: 12px;
    color: var(--ubuntu-orange);
    font-weight: 500;
    margin-top: auto;
}

/* ============ CONTACT ============ */
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #444;
}

.contact-row:last-of-type {
    border-bottom: none;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--ubuntu-purple);
    flex-shrink: 0;
}

.resume-btn {
    display: block;
    background: linear-gradient(135deg, var(--ubuntu-purple), var(--ubuntu-orange));
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-top: 16px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.resume-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(233, 84, 32, 0.3);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--ubuntu-orange);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: #555;
    transition: fill 0.2s;
}

.social-link:hover svg {
    fill: var(--ubuntu-orange);
}

/* ============ KERNEL MONITOR ============ */
#kernel-monitor {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 260px;
    background: rgba(10, 2, 8, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #0f0;
    border: 1px solid var(--glass-border);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transition: opacity 0.8s ease 4s;
}

#kernel-monitor.visible {
    opacity: 1;
}

.monitor-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.monitor-title span:first-child::before {
    content: "⚡";
    display: inline-block;
    margin-right: 4px;
    animation: simplePulse 2s infinite;
}

@keyframes simplePulse {
    0% {
        transform: scale(1);
        opacity: 1;
        text-shadow: 0 0 0px #fff;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
        text-shadow: 0 0 8px #fff;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        text-shadow: 0 0 0px #fff;
    }
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 10px;
}

.stat-row span {
    min-width: 80px;
}

.stat-bar-bg {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-left: 8px;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#stat-ai {
    background: linear-gradient(90deg, #0f0, #87FF00);
}

#stat-math {
    background: linear-gradient(90deg, #29b6f6, #4fc3f7);
}

#stat-ds {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

#stat-dev {
    background: linear-gradient(90deg, #e040fb, #ea80fc);
}

.monitor-uptime {
    margin-top: 8px;
    opacity: 0.5;
    font-size: 9px;
    letter-spacing: 0.03em;
}

/* ============ DESKTOP ICONS ============ */
.desktop-icons {
    position: fixed;
    top: 50px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    z-index: 60;
}

.desktop-icon {
    width: 72px;
    text-align: center;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 8px;
    transition: background 0.15s;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.desktop-icon svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    margin-bottom: 4px;
}

.desktop-icon span {
    font-size: 11px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    display: block;
    line-height: 1.3;
}

/* ============ BOOT SCREEN ============ */
#boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-mono);
    transition: opacity 0.6s ease;
}

.boot-logo {
    width: 100px;
    margin-bottom: 24px;
    animation: bootPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(233, 84, 32, 0.4));
}

@keyframes bootPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.boot-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.boot-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--ubuntu-purple), var(--ubuntu-orange));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.boot-logs {
    width: 80%;
    max-width: 560px;
    height: 180px;
    overflow: hidden;
    text-align: left;
    color: #888;
    font-size: 11px;
    line-height: 1.6;
}

.boot-logs p {
    opacity: 0;
    animation: logFadeIn 0.3s forwards;
}

@keyframes logFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.boot-logs .ok {
    color: #4E9A06;
}

/* ============ RIGHT-CLICK CONTEXT MENU ============ */
#context-menu {
    position: fixed;
    background: rgba(50, 48, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 6px 0;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 2001;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

#context-menu.visible {
    display: block;
}

.ctx-item {
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: background 0.1s;
    color: #eee;
}

.ctx-item:hover {
    background: var(--ubuntu-orange);
}

.ctx-item svg {
    width: 14px;
    height: 14px;
    fill: #ccc;
}

.ctx-item:hover svg {
    fill: #fff;
}

.ctx-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.ctx-item.disabled {
    color: #666;
    pointer-events: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    #dock {
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        padding: 6px 10px;
        border-right: none;
        border-top: 1px solid var(--glass-border);
    }

    .dock-item {
        width: 44px;
        height: 44px;
    }

    .dock-item svg {
        width: 24px;
        height: 24px;
    }

    .dock-item::before {
        display: none;
    }

    .dock-item.active-app::after {
        left: 50%;
        top: auto;
        bottom: -3px;
        transform: translateX(-50%);
        width: 16px;
        height: 3px;
        border-radius: 2px 2px 0 0;
    }

    .dock-separator {
        width: 1px;
        height: 28px;
        margin: 0 4px;
    }

    .window {
        min-width: 280px;
        min-height: 200px;
    }

    .window.maximized {
        left: 0 !important;
        top: 30px !important;
        width: 100vw !important;
        height: calc(100vh - 90px) !important;
    }

    #kernel-monitor {
        display: none;
    }

    .desktop-icons {
        right: 10px;
        top: 42px;
        gap: 16px;
    }

    .desktop-icon svg {
        width: 36px;
        height: 36px;
    }

    .acc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #top-bar {
        font-size: 12px;
        padding: 0 8px;
    }

    .top-bar-item {
        padding: 0 6px;
    }

    .window-content {
        padding: 14px;
    }
}