.window {
    border: 2px solid #8ab8d8;
    border-radius: 8px;
    width: max-content;
    max-width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.windowheader {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: grab;
    padding: 6px 12px;
    background:  #b8d8f0;
    border-bottom: 1px solid #739fc2;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-sizing: border-box;
}
.headertext {
    margin: 0;
    color: #fff;
    font-weight: 500;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 14px;
}
.closetext {
    cursor: pointer;
    flex-shrink: 0;
}
.windowcontent {
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    width: 360px;
    max-width: 100%;
    box-sizing: border-box;
}
.windowcontent.appContent {
    display: flex;
    width: 480px;
    height: 360px;
}
.appSidebar {
    width: 140px;
    flex-shrink: 0;
    overflow-y: auto;
    border-right: 1px solid #8ab8d8;
    padding-right: 8px;
}
.appDisplay {
    flex-grow: 1;
    padding-left: 12px;
    overflow-y: auto;
}
.sidebarEntry {
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 4px;
}
.sidebarEntry:hover {
    background-color: rgba(138, 184, 216, 0.2);
}

.sidebarEntry.active {
    background-color: rgba(138, 184, 216, 0.35);
    outline: 1px solid rgba(138, 184, 216, 0.6);
}

.sidebarEntry p {
    margin: 0;
    font-size: 13px;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(145, 190, 208, 0.85);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #8ab8d8;
}

.appIcon {
    text-align: center;
    padding: 12px;
    filter: drop-shadow(0 0 8px black);
    width: fit-content;
    cursor: pointer;
    border-radius: 12px;
}

.appIcon.selected {
    background-color: rgba(255, 255, 255, 0.35);
    outline: 2px solid rgba(255, 255, 255, 0.6);
}

.iconLabel {
    margin: 6px 0 0 0;
    color: #fff;
    font-size: 13px;
    user-select: none;
}

img {
    display: block;
}
