/* ============================================
   WINDOWS 98 THEME
   ============================================ */
body {
    background-color: #008080;
    /* Teal background */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Pixelated MS Sans Serif', Arial;
    /* Fallback */
    overflow: hidden;
    /* Prevent scroll for desktop feel, handle inside containers if needed */
}

/* Container to center windows */
.desktop-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    height: calc(100vh - 40px);
    /* Subtract taskbar height approximation */
    overflow-y: auto;
    /* Allow scrolling if content overflows desktop */
    padding-bottom: 60px;
    /* Space for taskbar */
}

/* Projects Grid */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.project-window {
    width: 300px;
}

.window {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Slight shadow for depth */
}

.window-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-icon {
    font-size: 3rem;
    margin: 10px 0;
}

.status-bar-field {
    text-align: center;
}

/* Taskbar specific styles */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: #c0c0c0;
    border-top: 2px solid #fff;
    box-shadow: inset 0 1px 0 #fff;
    /* Highlight */
    display: flex;
    align-items: center;
    padding: 2px;
    z-index: 9999;
}

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

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

.taskbar-divider {
    width: 2px;
    height: 22px;
    background: gray;
    border-right: 1px solid white;
    margin: 0 4px;
}

.tasks {
    flex-grow: 1;
    display: flex;
    gap: 2px;
}

.task-button {
    text-align: left;
    min-width: 150px;
    font-weight: bold;
}

.task-button.active {
    background: #eee;
    box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #fff;
    /* Pressed look usually inverse but strict 98 css handles button active state, we just simulate 'active application' */
    background-color: #e6e6e6;
    border: 2px solid;
    border-color: #000000 #ffffff #ffffff #000000;
}

.tray {
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 2px 6px;
    background: #c0c0c0;
    margin-left: 4px;
    font-size: 12px;
    min-width: 60px;
    text-align: center;
}

/* Utility to ensure links don't break button styles too much */
a {
    text-decoration: none;
}