/* Taskbar và Start Button Styling - Windows 98 Style */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, #c6c6c6 0%, #c0c0c0 50%, #b8b8b8 100%);
    border-top: 1px solid #dfdfdf;
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #808080;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.start-button {
    height: 24px;
    margin: 3px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    background: linear-gradient(to bottom, #d4d4d4 0%, #c0c0c0 50%, #b0b0b0 100%);
    border: 1px solid #808080;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    cursor: pointer;
    border-radius: 2px;
}

.start-button:hover {
    background: linear-gradient(to bottom, #e0e0e0 0%, #d0d0d0 50%, #c0c0c0 100%);
}

.start-button:active,
.start-button.active {
    background: linear-gradient(to bottom, #a0a0a0 0%, #b0b0b0 50%, #c0c0c0 100%);
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
    box-shadow: inset -1px -1px 0 #ffffff, inset 1px 1px 0 #808080;
}

.start-button img {
    width: 16px;
    height: 16px;
}

.taskbar-separator {
    width: 2px;
    height: 20px;
    background: linear-gradient(to right, #808080 0%, #c0c0c0 50%, #dfdfdf 100%);
    margin: 0 4px;
    border-left: 1px solid #808080;
    border-right: 1px solid #dfdfdf;
    box-shadow: inset 1px 0 0 #ffffff;
}

.taskbar-buttons {
    flex: 1;
    display: flex;
    gap: 2px;
    margin: 0 4px;
    overflow: hidden;
}

.taskbar-button {
    height: 24px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(to bottom, #d4d4d4 0%, #c0c0c0 50%, #b0b0b0 100%);
    border: 1px solid #808080;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    cursor: pointer;
    min-width: 120px;
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 1px;
}

.taskbar-button:hover {
    background: linear-gradient(to bottom, #e0e0e0 0%, #d0d0d0 50%, #c0c0c0 100%);
}

.taskbar-button:active,
.taskbar-button.active {
    background: linear-gradient(to bottom, #a0a0a0 0%, #b0b0b0 50%, #c0c0c0 100%);
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
    box-shadow: inset -1px -1px 0 #ffffff, inset 1px 1px 0 #808080;
}

.taskbar-button img {
    width: 16px;
    height: 16px;
}

.taskbar-button.minimized {
    opacity: 0.7;
}

.taskbar-button.maximized {
    font-weight: bold;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 4px;
    padding: 0 6px;
    background: linear-gradient(to bottom, #b8b8b8 0%, #c0c0c0 50%, #c6c6c6 100%);
    border: 1px solid #808080;
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
    box-shadow: inset -1px -1px 0 #ffffff, inset 1px 1px 0 #808080;
    height: 20px;
    border-radius: 1px;
}

.system-tray .clock {
    font-size: 11px;
    padding: 0 4px;
    font-weight: normal;
    color: #000000;
    text-shadow: 1px 1px 0 #ffffff;
}

.system-tray .tray-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 0 #ffffff);
}

.system-tray .tray-icon:hover {
    filter: drop-shadow(1px 1px 0 #ffffff) brightness(1.1);
}