@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Window animations */
.window-enter {
    animation: windowEnter 0.2s ease-out;
}

@keyframes windowEnter {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.window-minimize {
    animation: windowMinimize 0.3s ease-in forwards;
}

@keyframes windowMinimize {
    to {
        opacity: 0;
        transform: translateY(100vh) scale(0.1);
    }
}

/* Panel shadows */
.panel-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
/* Active window shadow */
.active-window {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Ensure window elements can be dragged */
app-window {
    position: absolute !important;
}
/* Desktop icon hover effect */
.desktop-icon-hover {
    transition: all 0.2s ease;
}

.desktop-icon-hover:hover {
    transform: scale(1.05);
}

/* Focus styles */
.window-focus {
    outline: 2px solid #ef4444;
    outline-offset: -2px;
}

/* Taskbar item active */
.taskbar-active {
    background: linear-gradient(to bottom, #ef4444, #dc2626) !important;
}

/* Menu animations */
.menu-enter {
    animation: menuEnter 0.15s ease-out;
}

@keyframes menuEnter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: #1f2937;
    color: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
}

/* Maximized window */
.window-maximized {
    top: 32px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 32px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}