.aero-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.aero-glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Window Styles */
.window {
    position: absolute;
    min-width: 200px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    z-index: 10;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.window.minimized {
    transform: scale(0.8) translateY(100vh);
    opacity: 0;
    pointer-events: none;
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - var(--taskbar-height)) !important;
    border-radius: 0;
}

.window-header {
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: default;
    user-select: none;
}

.window-title {
    flex: 1;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.control-btn {
    width: 30px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.control-btn.close:hover {
    background: #e81123;
    color: white;
}

.window-content {
    flex: 1;
    background: white;
    overflow: auto;
    position: relative;
}

/* Resizers */
.resizer {
    position: absolute;
    background: transparent;
}

.resizer-r { cursor: e-resize; width: 5px; right: 0; top: 0; height: 100%; }
.resizer-b { cursor: s-resize; height: 5px; bottom: 0; left: 0; width: 100%; }
.resizer-rb { cursor: se-resize; width: 10px; height: 10px; right: 0; bottom: 0; }
