.window-controls {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1500;
    display: flex;
    gap: 0.5rem;
}

.window-control-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-control-btn:hover {
    color: rgba(255, 255, 255, 1);
}

.window-control-btn .material-icons {
    font-size: 24px;
}

/* Hide controls based on window state */
body.is-fullscreen .window-control-btn.fullscreen,
body.is-chromeless .window-control-btn.chromeless {
    display: none;
}

body:not(.is-fullscreen):not(.is-chromeless) .window-control-btn.restore {
    display: none;
}
