/* Taskbar Styles */

.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--taskbar-height);
    background-color: var(--taskbar-bg);
    border-top: 2px solid var(--win98-white);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    z-index: var(--taskbar-z-index);
}

.start-button {
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 2px 6px;
}

.start-button img {
    margin-right: 5px;
}

/* Taskbar Window Tabs Container */
.taskbar-windows {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0 4px;
    overflow: hidden;
}

/* Individual Window Tab */
.taskbar-tab {
    display: flex;
    align-items: center;
    height: 28px;
    padding: 0 8px;
    margin: 0 2px;
    min-width: 60px;
    max-width: 150px;
    border-top: 2px solid var(--win98-white);
    border-left: 2px solid var(--win98-white);
    border-right: 2px solid var(--win98-black);
    border-bottom: 2px solid var(--win98-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taskbar-tab img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* Active Tab State */
.taskbar-tab.active {
    border-top: 2px solid var(--win98-black);
    border-left: 2px solid var(--win98-black);
    border-right: 2px solid var(--win98-white);
    border-bottom: 2px solid var(--win98-white);
    background-color: var(--win98-gray-light);
}

/* System Tray */
.system-tray {
    display: flex;
    align-items: center;
    padding: 0 4px;
}

#volume-icon {
    width: 20px;
    height: 20px;
}

#volume-control-panel {
    position: absolute;
    bottom: var(--taskbar-height);
    right: 70px;
    width: 150px;
    height: 40px;
    padding: 5px 10px;
    flex-direction: row;
    align-items: center;
    z-index: 22;
}

#volume-control-panel label {
    margin-right: 8px;
}

#volume-control-panel input[type="range"] {
    flex-grow: 1;
    margin: 0;
}

/* Clock */
#clock {
    background-color: var(--win98-gray);
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    min-width: 75px;
    justify-content: center;
}
