/* Base layout */
body {
    margin: 2rem;
    background: #008080;
    font-family: "Tahoma", sans-serif;
    color: black;
    min-height: 100vh;
    padding-bottom: 48px; /* keep content clear of taskbar */
}

a {
    color: navy;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.placeholder-link {
    color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
}

/* Window styling */
.window {
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: silver;
    display: flex;
    align-items: center;
    border-top: 2px solid white;
    padding: 0 8px;
    box-sizing: border-box;
    z-index: 100;
}

.start-button {
    font-family: "Tahoma", sans-serif;
    padding: 2px 10px;
}

.taskbar-label {
    margin-left: 12px;
}

/* Start menu */
.start-menu {
    position: fixed;
    bottom: 32px;
    left: 8px;
    width: 200px;
    background: silver;
    border: 2px outset white;
    z-index: 101;
    padding: 0;
}

.start-menu[aria-hidden="true"] {
    display: none;
}

.start-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.start-menu li {
    padding: 8px;
    border-bottom: 1px solid gray;
}

.start-menu li:last-child {
    border-bottom: none;
}

.start-menu a,
.menu-link-disabled {
    color: black;
    display: block;
}

.menu-link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Accessibility enhancements */
.start-button:focus-visible,
.start-menu a:focus-visible {
    outline: 2px solid yellow;
    outline-offset: 2px;
}
