/* ===== Window ===== */
.window {
    display: none;
    flex-direction: column;
    background-color: #607456;
    border: solid #BA6A4C;
    width: 360px;
    border-radius: 16px;
    padding: 16px;
    position: absolute;
}

/* ===== Window Header ===== */
.windowheader {
    display: flex;
    align-items: center;
}

/* ===== Close Button ===== */
.closebutton {
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-color: #EC6B5E;
    border-radius: 16px;
    border: solid 1px rgba(0, 0, 0, 0.25);
    margin-left: 6px;
}

/* ===== Taskbar ===== */
.taskbar {
    position: absolute;
    width: 100%;
    display: flex;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.25);
    color: #fff;
    justify-content: space-between;
    z-index: 100;
}

/* ===== Taskbar Button ===== */
.taskbarbutton {
    cursor: pointer;
}

/* ===== Window Title ===== */
.windowtitle {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0.85;
}

/* ===== Chat Feed ===== */
.chatfeed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 340px;
    overflow-y: auto;
    padding: 8px 0;
    margin-top: 8px;
}

/* ===== Chat Bubbles ===== */
.chatbubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chatbubble.user {
    align-self: flex-end;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.chatbubble.ai {
    align-self: flex-start;
    background-color: rgba(0, 0, 0, 0.25);
    color: #fff;
    border-bottom-left-radius: 3px;
}

/* ===== Chat Input Bar ===== */
.chatinput {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.chatinput input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 10px;
    border: solid 1px rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 13px;
    outline: none;
}

.chatinput input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chatinput button {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    background-color: #EC6B5E;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== Desktop Icon ===== */
#desktopApps {
    display: flex;
    flex-direction: column;
    padding-top: 64px;
}

.desktopicon {
    text-align: center;
    padding: 16px;
    width: fit-content;
    filter: drop-shadow(0 0 8px black);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.desktopicon:hover {
    transform: scale(1.1);
}

.desktopicon p {
    margin: 6px 0 0 0;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
