/* Windows */
.windows-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 48px);
    pointer-events: none;
    overflow: hidden;
}

.window {
    position: absolute;
    background: var(--window-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), var(--shadow);
    pointer-events: auto;
    display: none;
    flex-direction: column;
    min-width: 400px;
    min-height: 300px;
    overflow: hidden;
}

.window.active {
    display: flex;
    animation: window-open 0.2s ease-out;
}

.window.maximized {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 48px);
    border-radius: 0;
    z-index: 200;
}

@keyframes window-open {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.window-header {
    padding: 10px 15px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

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

.window-title {
    font-size: 0.85rem;
    color: var(--text);
}

.window-maximize,
.window-close {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.window-maximize:hover,
.window-close:hover {
    background: var(--bg-medium);
    color: var(--text);
}

.window-close:hover {
    background: var(--secondary);
    color: white;
}

.window-content {
    flex: 1;
    overflow: auto;
    padding: 15px;
}
