/* --- DESIGN LANGUAGE & CSS --- */
:root {
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Sora', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

[data-theme="dark"] {
    --bg-color: #0F0F0F;
    --text-color: #EAEAEA;
    --text-secondary-color: #a0aec0;
    --glass-bg: rgba(20, 20, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-primary: #00f0ff; /* Cyan */
    --accent-secondary: #ff2f7d; /* Pink */
    --widget-bg: rgba(30, 30, 45, 0.7);
    --icon-color: white;
}

[data-theme="light"] {
    --bg-color: #F0F2F5;
    --text-color: #1c1e21;
    --text-secondary-color: #4a5568;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --border-color: rgba(0, 0, 0, 0.1);
    --accent-primary: #1877f2;
    --accent-secondary: #e1306c;
    --widget-bg: rgba(230, 230, 245, 0.8);
    --icon-color: #1c1e21;
}

/* Base & Background */
body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#particles-js { position: absolute; width: 100%; height: 100%; z-index: 0; }
.os-container { position: relative; z-index: 1; height: 100vh; width: 100vw; background-size: cover; background-position: center; transition: background-image 0.5s; }

/* Loading & Login Screens */
.fullscreen-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #0F0F0F; z-index: 9999; display: flex; justify-content: center; align-items: center; flex-direction: column; transition: opacity 0.5s; }
.boot-logo { font-family: var(--font-heading); font-size: 2rem; color: var(--accent-primary); margin-bottom: 1rem; }
.progress-bar { width: 200px; height: 4px; background: var(--border-color); border-radius: 2px; overflow: hidden; }
.progress-bar-inner { width: 0; height: 100%; background: var(--accent-primary); animation: bootProgress 2s ease-out forwards; }
@keyframes bootProgress { from { width: 0; } to { width: 100%; } }

#login-screen { opacity: 0; pointer-events: none; }
.login-box { text-align: center; }
.login-avatar { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--accent-primary); margin-bottom: 1rem; }
.login-user { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; min-height: 50px; }
.login-btn { background: var(--widget-bg); border: 1px solid var(--border-color); color: var(--text-color); padding: 0.75rem 2rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(10px); }
.login-btn:hover { background: var(--accent-primary); color: #0F0F0F; }

/* Desktop & Icons */
#desktop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 1rem; box-sizing: border-box; }
.desktop-icon { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 90px; height: 90px; padding: 0.5rem; border-radius: 0.75rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); user-select: none; backdrop-filter: blur(5px); z-index: 10; }
.desktop-icon:hover { background: var(--widget-bg); transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.desktop-icon:active { transform: translateY(0) scale(0.98); }
.desktop-icon i { color: var(--icon-color); width: 36px; height: 36px; margin-bottom: 0.5rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); pointer-events: none; transition: all 0.3s ease; }
.desktop-icon:hover i { transform: scale(1.1); }
.desktop-icon span { font-size: 0.75rem; color: var(--icon-color); font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,0.5); word-break: break-word; line-height: 1.2; pointer-events: none; }

/* Windows */
.window { display: none; position: absolute; background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: 0.75rem; box-shadow: 0 20px 50px rgba(0,0,0,0.3); z-index: 10; resize: both; overflow: hidden; flex-direction: column; min-width: 320px; min-height: 250px; animation: zoomIn 0.3s ease-out; transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s, border-radius 0.3s; }
.window.maximized { border-radius: 0; }
.title-bar { background: rgba(0,0,0,0.2); padding: 0.5rem 1rem; cursor: move; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.traffic-lights { display: flex; gap: 0.5rem; }
.traffic-light { width: 12px; height: 12px; border-radius: 50%; cursor: pointer; }
.close { background: #ff5f57; }
.minimize { background: #ffbd2e; }
.maximize { background: #27c93f; }
.window-content { flex-grow: 1; overflow-y: auto; padding: 1.5rem; }
.window-content p { color: var(--text-secondary-color); }

/* Dock & Widgets */
.dock { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: 1.5rem; padding: 0.75rem; display: flex; gap: 0.75rem; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05); transition: all 0.3s ease; }
.dock:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1); }
.dock-item { color: var(--text-color); padding: 0.875rem; border-radius: 1rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; position: relative; overflow: hidden; }
.dock-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%); opacity: 0; transition: opacity 0.3s ease; border-radius: inherit; }
.dock-item:hover::before { opacity: 1; }
.dock-item:hover { transform: translateY(-12px) scale(1.15); background: var(--widget-bg); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.dock-item:active { transform: translateY(-8px) scale(1.05); }
.dock-item.active { background: var(--accent-primary); color: #0F0F0F; box-shadow: 0 4px 20px rgba(0,240,255,0.4); }
.dock-item.active::after { content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--accent-primary); border-radius: 50%; }
.dock-item i { display: block; width: 24px; height: 24px; transition: all 0.3s ease; }

#os-widgets { position: fixed; top: 20px; right: 20px; display: flex; gap: 0.75rem; z-index: 101; }
.widget-btn { background: var(--widget-bg); border: 1px solid var(--border-color); color: var(--text-color); padding: 0.75rem; border-radius: 50%; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(10px); }
.widget-btn:hover { background-color: var(--accent-primary); color: var(--bg-color); }
.widget-btn.active { background-color: var(--accent-secondary); }
.widget-btn i { display: block; width: 20px; height: 20px; }

/* Desktop Widgets */
#desktop-widgets { position: absolute; top: 20px; left: 20px; display: flex; flex-direction: column; gap: 1rem; z-index: 20; }
.desktop-widget { background: var(--widget-bg); backdrop-filter: blur(10px); padding: 1rem; border-radius: 0.75rem; border: 1px solid var(--border-color); animation: fadeIn 0.5s ease-out; }
#clock-widget .time { font-size: 2rem; font-weight: 600; }
#clock-widget .date { font-size: 0.9rem; opacity: 0.7; }

#welcome-widget {
    max-width: 450px;
    position: absolute;
    top: -100%; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    display: none;
    animation: slideDown 0.8s ease-out 0.5s forwards; /* Added delay */
    z-index: 5; /* Lower z-index than windows */
}
@keyframes slideDown { from { top: -100%; } to { top: 20px; } }
#welcome-widget .close-widget { float: right; cursor: pointer; opacity: 0.5; transition: opacity 0.2s; }
#welcome-widget .close-widget:hover { opacity: 1; }
#welcome-widget h3 { margin-top: 0; font-family: var(--font-heading); }
#welcome-widget p { font-size: 0.9rem; opacity: 0.8; min-height: 40px; }

/* Context Menu, Notifications, Chatbot */
#context-menu { display: none; position: absolute; z-index: 1000; background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--border-color); border-radius: 0.5rem; padding: 0.5rem; min-width: 180px; }
.context-menu-item { padding: 0.5rem 1rem; cursor: pointer; border-radius: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.context-menu-item:hover { background: var(--accent-primary); color: #0F0F0F; }
#notification-center { position: fixed; top: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.notification { background: var(--widget-bg); padding: 1rem; border-radius: 0.5rem; border: 1px solid var(--border-color); backdrop-filter: blur(10px); animation: slideInRight 0.5s, fadeOut 0.5s 2.5s forwards; pointer-events: all; }
@keyframes slideInUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }         

/* New Animations */
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); }}

@keyframes glow { 0%, 100% { box-shadow: 0 0 5px var(--accent-primary); } 50% { box-shadow: 0 0 20px var(--accent-primary), 0 0 30px var(--accent-primary); }}

/* Window management enhancements */
.window.minimizing { animation: minimizeWindow 0.3s ease-out forwards; }
.window.maximizing { animation: maximizeWindow 0.3s ease-out; }
@keyframes minimizeWindow { to { transform: scale(0.1) translateY(100vh); opacity: 0; }}
@keyframes maximizeWindow { from { transform: scale(0.8); } to { transform: scale(1); }}

/* Multi-desktop */
.desktop-workspace { position: absolute; width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.desktop-workspace.slide-left { transform: translateX(-100%); }
.desktop-workspace.slide-right { transform: translateX(100%); }

/* Taskbar window previews */
.window-preview { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); background: var(--glass-bg); border: 1px solid var(--border-color); border-radius: 0.5rem; padding: 0.5rem; min-width: 200px; max-width: 300px; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 200; }
.window-preview.show { opacity: 1; pointer-events: all; }
.window-preview img { width: 100%; border-radius: 0.25rem; }
.window-preview .preview-title { font-weight: 600; margin-top: 0.5rem; }

/* Enhanced context menu styles */
.context-menu-separator { height: 1px; background: var(--border-color); margin: 0.5rem 0; }
.context-menu-item.disabled { opacity: 0.5; cursor: not-allowed; }
.context-menu-item .shortcut { margin-left: auto; font-size: 0.8rem; opacity: 0.7; }

/* Hotkey indicators */
.hotkey-overlay { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: 1rem; padding: 2rem; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.hotkey-overlay.show { opacity: 1; pointer-events: all; }
.hotkey-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.hotkey-combo { font-family: var(--font-mono); background: rgba(255,255,255,0.1); padding: 0.25rem 0.5rem; border-radius: 0.25rem; }

/* System tray enhancements */
.system-tray { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 0.5rem; z-index: 150; }
.tray-item { background: var(--widget-bg); border: 1px solid var(--border-color); padding: 0.5rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(10px); position: relative; }

/* About Section Styles */
.about-container {
    padding: 0;
    overflow-y: auto;
    height: 100%;
    scroll-behavior: smooth;
}

.about-hero {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(255, 47, 125, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #4ade80;
    border: 3px solid var(--bg-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
}

.profile-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.profile-subtitle {
    font-size: 1rem;
    color: var(--text-secondary-color);
    margin: 0 0 1rem 0;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.badge-primary {
    background: linear-gradient(135deg, var(--accent-primary), #0ea5e9);
    color: #0F0F0F;
}

.badge-secondary {
    background: linear-gradient(135deg, var(--accent-secondary), #f59e0b);
    color: #0F0F0F;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0 1rem 0;
    font-family: var(--font-heading);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.story-content {
    line-height: 1.7;
}

.story-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.achievements-section {
    margin-top: 3rem;
}

.achievements-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.achievement-card {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

.achievement-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.achievement-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.achievement-content p {
    font-size: 0.875rem;
    color: var(--text-secondary-color);
    margin: 0;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stats-card, .connect-card {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stats-card:hover, .connect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stats-title, .connect-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0 0 1rem 0;
    text-align: center;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary-color);
}

.stat-value {
    font-weight: 600;
    color: var(--text-color);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
    border-color: #0077b5;
}

.social-link.github {
    background: linear-gradient(135deg, #333, #24292e);
    color: white;
    border-color: #333;
}

.social-link.email {
    background: linear-gradient(135deg, var(--accent-secondary), #e11d48);
    color: white;
    border-color: var(--accent-secondary);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
    border-color: #1da1f2;
}

.social-link i {
    width: 16px;
    height: 16px;
}

.skills-section {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2rem;
}

.skills-content {
    margin-top: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-category {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.category-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateX(4px);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    color: var(--text-color);
}

.skill-level {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skills-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-card {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.summary-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.summary-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.summary-content p {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 1.5rem;
    }
    
    .about-main {
        padding: 0 1.5rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .skills-chart-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 1rem;
    }
    
    .about-main {
        padding: 0 1rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .profile-title {
        font-size: 1.1rem;
    }
    
    .profile-badges {
        justify-content: center;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .achievement-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stats-card, .connect-card {
        padding: 1rem;
    }
}
.tray-item:hover { background: var(--accent-primary); color: #0F0F0F; }
.tray-item .badge { position: absolute; top: -5px; right: -5px; background: var(--accent-secondary); color: white; border-radius: 50%; width: 15px; height: 15px; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; }

/* Music Player Styles */
.music-player-container {
    padding: 1.5rem;
    height: 100%;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(255, 47, 125, 0.03) 100%);
}

.music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.music-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.music-header-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-primary);
    background: rgba(0, 240, 255, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 240, 255, 0.3));
}

.music-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0;
    font-family: var(--font-heading);
}

.music-subtitle {
    color: var(--text-secondary-color);
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
}

.music-stats {
    display: flex;
    gap: 1rem;
}

.music-stat {
    background: var(--widget-bg);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.now-playing-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.album-art {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.album-art-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.album-icon {
    width: 64px;
    height: 64px;
    color: #0F0F0F;
    z-index: 2;
}

.vinyl-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: #0F0F0F;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.vinyl-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.album-art.playing .album-art-inner {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.now-playing-info {
    flex: 1;
    min-width: 0;
}

#current-song-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
}

#current-song-artist {
    color: var(--text-secondary-color);
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.progress-bar:hover {
    height: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.progress-handle {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: grab;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 240, 255, 0.5);
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.progress-handle:active {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.2);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary-color);
    font-family: var(--font-mono);
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-btn {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.control-btn:hover::before {
    opacity: 1;
}

.control-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
    border-color: var(--accent-primary);
}

.control-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.control-btn.primary {
    background: linear-gradient(135deg, var(--accent-primary), #0ea5e9);
    color: #0F0F0F;
    border-color: var(--accent-primary);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
}

.control-btn.primary:hover {
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.6);
    transform: translateY(-4px) scale(1.15);
}

.control-btn.secondary {
    background: var(--widget-bg);
    color: var(--text-secondary-color);
}

.control-btn.secondary.active {
    background: var(--accent-secondary);
    color: #0F0F0F;
    box-shadow: 0 4px 20px rgba(255, 47, 125, 0.4);
}

.control-btn i {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.control-btn.primary i {
    width: 24px;
    height: 24px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.volume-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary-color);
}

.volume-slider {
    width: 120px;
}

.volume-slider .slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-slider .slider:hover {
    height: 6px;
}

.volume-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 240, 255, 0.5);
    transition: all 0.2s ease;
}

.volume-slider .slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.7);
}

.volume-slider .slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 240, 255, 0.5);
}

.playlist-section {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.playlist-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.playlist-title i {
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
}

.playlist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.playlist-item.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 47, 125, 0.1));
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 240, 255, 0.2);
}

.playlist-item.active .playlist-item-icon {
    background: var(--accent-primary);
    color: #0F0F0F;
}

.playlist-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.playlist-item-icon {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.playlist-item-icon i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary-color);
    transition: color 0.3s ease;
}

.playlist-item-text {
    flex: 1;
    min-width: 0;
}

.playlist-item-text h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-item-text p {
    font-size: 0.825rem;
    color: var(--text-secondary-color);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-item-duration {
    font-size: 0.875rem;
    color: var(--text-secondary-color);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.playlist-item.active .playlist-item-duration {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Responsive music player */
@media (max-width: 768px) {
    .music-player-container {
        padding: 1rem;
    }
    
    .now-playing-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .album-art {
        width: 120px;
        height: 120px;
    }
    
    .music-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .music-stats {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .player-controls {
        gap: 0.75rem;
    }
    
    .control-btn {
        padding: 0.6rem;
    }
    
    .control-btn.primary {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .music-title {
        font-size: 1.5rem;
    }
    
    .album-art {
        width: 100px;
        height: 100px;
    }
    
    .album-icon {
        width: 48px;
        height: 48px;
    }
    
    #current-song-title {
        font-size: 1.25rem;
    }
    
    .player-controls {
        gap: 0.5rem;
    }
    
    .playlist-item-info {
        gap: 0.75rem;
    }
    
    .playlist-item-icon {
        width: 32px;
        height: 32px;
    }
    
    .playlist-item-icon i {
        width: 16px;
        height: 16px;
    }
}

/* Enhanced desktop icons */
.desktop-icon.selected { background: rgba(0, 240, 255, 0.2); border: 1px solid var(--accent-primary); }
.desktop-icon.cutting { opacity: 0.5; }

/* Window snapping indicators */
.snap-indicator { position: fixed; background: rgba(0, 240, 255, 0.3); border: 2px solid var(--accent-primary); z-index: 5; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.snap-indicator.show { opacity: 1; }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
#chatbot-container { display: none; position: fixed; bottom: 100px; right: 20px; width: 350px; height: 500px; background: var(--glass-bg); backdrop-filter: blur(15px); border-radius: 1rem; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.2); flex-direction: column; overflow: hidden; z-index: 99; animation: slideInUp 0.5s; }
#chatbot-header { padding: 1rem; background: rgba(0,0,0,0.2); font-weight: 600; }
#chatbot-messages { flex-grow: 1; padding: 1rem; overflow-y: auto; }
.chat-message { margin-bottom: 1rem; display: flex; flex-direction: column; }
.chat-message.user { align-items: flex-end; }
.chat-message.bot { align-items: flex-start; }
.message-bubble { max-width: 80%; padding: 0.75rem; border-radius: 1rem; }
.user .message-bubble { background: var(--accent-primary); color: #0F0F0F; border-bottom-right-radius: 0.25rem; }
.bot .message-bubble { background: var(--widget-bg); border-bottom-left-radius: 0.25rem; }
#chatbot-input-form { display: flex; border-top: 1px solid var(--border-color); }
#chatbot-input { flex-grow: 1; background: transparent; border: none; padding: 1rem; color: var(--text-color); outline: none; }
#chatbot-send { background: var(--accent-primary); border: none; color: #0F0F0F; padding: 1rem; cursor: pointer; }

/* Start Menu */
#start-menu { 
    display: none; 
    position: fixed; 
    bottom: 90px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 420px; 
    background: var(--glass-bg); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); 
    border-radius: 1.5rem; 
    z-index: 99; 
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.start-menu-header {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 47, 125, 0.1));
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.start-menu-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0;
    font-family: var(--font-heading);
}

.start-menu-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary-color);
    margin: 0.25rem 0 0 0;
    opacity: 0.8;
}

.start-menu-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.75rem; 
    padding: 1.5rem;
    max-height: 350px;
    overflow-y: auto;
}

.start-menu-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.75rem; 
    color: var(--text-color); 
    text-decoration: none; 
    padding: 1rem 0.75rem; 
    border-radius: 1rem; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.start-menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.start-menu-item:hover { 
    background: var(--widget-bg);
    transform: translateY(-4px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.15);
}

.start-menu-item:hover::before {
    opacity: 1;
}

.start-menu-item:active {
    transform: translateY(-2px) scale(1.02);
}

.start-menu-item i { 
    width: 36px; 
    height: 36px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.start-menu-item:hover i {
    transform: scale(1.1);
    color: var(--accent-primary);
}

.start-menu-item span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.start-menu-item:hover span {
    color: var(--accent-primary);
}

.start-menu-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.start-menu-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.start-menu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.start-menu-user-info {
    display: flex;
    flex-direction: column;
}

.start-menu-username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.start-menu-status {
    font-size: 0.75rem;
    color: var(--text-secondary-color);
    margin: 0;
}

.start-menu-power {
    display: flex;
    gap: 0.5rem;
}

.power-btn {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.power-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.power-btn i {
    width: 16px;
    height: 16px;
}

/* Scrollbar for start menu */
.start-menu-grid::-webkit-scrollbar {
    width: 6px;
}

.start-menu-grid::-webkit-scrollbar-track {
    background: transparent;
}

.start-menu-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.start-menu-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Settings UI */
.settings-container {
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.settings-container::-webkit-scrollbar {
    width: 6px;
}

.settings-container::-webkit-scrollbar-track {
    background: transparent;
}

.settings-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.settings-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

.settings-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.settings-section:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.settings-section h3 {
    margin: 0 0 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-section h3 i {
    color: var(--accent-primary);
    width: 20px;
    height: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.setting-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.setting-item:hover {
    padding-left: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    margin: 0 -0.5rem;
}

.setting-info {
    flex: 1;
}

.setting-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.setting-description {
    font-size: 0.825rem;
    color: var(--text-secondary-color);
    line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .slider {
    background: var(--accent-primary);
    box-shadow: inset 0 2px 4px rgba(0, 240, 255, 0.3), 0 0 0 1px rgba(0, 240, 255, 0.2);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(24px);
    box-shadow: 0 2px 12px rgba(0, 240, 255, 0.4), 0 1px 6px rgba(0, 0, 0, 0.1);
}

.toggle-switch:hover .slider {
    transform: scale(1.05);
}

.toggle-switch input:checked + .slider:hover {
    background: #00d4e6;
    box-shadow: inset 0 2px 4px rgba(0, 212, 230, 0.4), 0 0 0 2px rgba(0, 240, 255, 0.3);
}

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

/* Animated toggle switch for better UX */
.toggle-switch .slider:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .slider:after {
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* Settings dropdown/select styling */
.setting-select {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.setting-select:hover {
    border-color: var(--accent-primary);
    background-color: rgba(0, 240, 255, 0.05);
}

.setting-select:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-color: var(--accent-primary);
}

/* Settings button styling */
.settings-button {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.settings-button:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
}

.settings-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 240, 255, 0.2);
}

.settings-button.danger {
    border-color: #ef4444;
    color: #ef4444;
}

.settings-button.danger:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Settings input styling */
.settings-input {
    background: var(--widget-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.settings-input:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-color: var(--accent-primary);
    background: rgba(0, 240, 255, 0.05);
}

.settings-input::placeholder {
    color: var(--text-secondary-color);
    opacity: 0.7;
}

/* Settings badge/indicator */
.setting-badge {
    background: var(--accent-primary);
    color: var(--bg-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.setting-badge.warning {
    background: #f59e0b;
}

.setting-badge.error {
    background: #ef4444;
}

.setting-badge.success {
    background: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .window { width: 100vw; height: 100dvh; top: 0 !important; left: 0 !important; border-radius: 0; resize: none; }
    .dock { padding: 0.25rem; gap: 0.25rem; }
    .dock-item { padding: 0.6rem; }
    #desktop-widgets { display: none; }
    #welcome-widget { display: none !important; }
    #chatbot-container { width: 90vw; height: 70vh; right: 5vw; bottom: 90px; }
    #start-menu { width: 90vw; }
    
    .settings-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .toggle-switch {
        align-self: flex-end;
    }
}