.window {
    width: 300px;
    height: 200px;
    color: white;
    background: #2C2C2E; /* macOS Dark Mode Hintergrund */
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 50px;
    left: 150px;
    display: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); /* Dunklere Schatten für Dark Mode */
    border-radius: 12px; /* macOS-typische Abrundung */
    overflow: hidden;
}

.window-header {
    background: #3A3A3C; /* Dunkler Header wie in macOS */
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    cursor: move;
    border-radius: 12px 12px 0 0;
}

.window-title {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #E5E5EA;
}

.window-controls {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.close-btn {
    background: red;
}

.minimize-btn {
    background: orange;
}

.maximize-btn {
    background: green;
}

.window-content {
    /* Hight wird aus dem Parent ".window" übernommen */
    height: calc(100%);
    padding-left: 10px;
    padding-top: 10px;
}

.maximized {
    width: 90vw !important;
    height: 90vh !important;
    top: 50px !important;
    left: 50px !important;
}

.top {
    z-index: 1000; /* or any high value to ensure it is on top */
}