/* Windows 2000 Style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Tahoma, Arial, sans-serif;
    font-size: 11px;
    background: #008080;
    color: #000000;
    overflow: hidden;
    height: 100vh;
}

/* Desktop */
.desktop {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: #008080;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.start-button {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    padding: 2px 8px;
    margin: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: bold;
}

.start-button:hover {
    border: 2px inset #c0c0c0;
}

.start-button:active {
    border: 2px inset #c0c0c0;
}

.start-icon {
    width: 16px;
    height: 16px;
}

.taskbar-items {
    flex: 1;
    display: flex;
    gap: 2px;
    margin-left: 4px;
}

.taskbar-item {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 10px;
}

.taskbar-item.active {
    border: 2px inset #c0c0c0;
}

.window-icon {
    width: 16px;
    height: 16px;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 4px;
}

.clock {
    background: #c0c0c0;
    border: 2px inset #c0c0c0;
    padding: 2px 6px;
    font-size: 10px;
}

/* Main Window */
.main-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    display: flex;
    flex-direction: column;
}

/* Title Bar */
.title-bar {
    background: #000080;
    color: white;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    font-weight: bold;
    font-size: 11px;
}

.title-bar-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.title-bar-right {
    display: flex;
    gap: 2px;
}

.minimize-btn, .maximize-btn, .close-btn {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    width: 16px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    cursor: pointer;
    color: black;
}

.minimize-btn:hover, .maximize-btn:hover, .close-btn:hover {
    border: 2px inset #c0c0c0;
}

.close-btn {
    background: #c0c0c0;
}

/* Window Content */
.window-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #c0c0c0;
}

/* Menu Bar */
.menu-bar {
    background: #c0c0c0;
    border-bottom: 2px solid #808080;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.menu-item {
    position: relative;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 11px;
}

.menu-item:hover {
    background: #000080;
    color: white;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    min-width: 120px;
    display: none;
    z-index: 1001;
}

.menu-item:hover .menu-dropdown {
    display: block;
}

.menu-option {
    padding: 4px 8px;
    cursor: pointer;
    font-size: 11px;
}

.menu-option:hover {
    background: #000080;
    color: white;
}

.menu-separator {
    height: 2px;
    background: #808080;
    margin: 2px 0;
}

/* Toolbar */
.toolbar {
    background: #c0c0c0;
    border-bottom: 2px solid #808080;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    gap: 2px;
}

.toolbar-btn {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 10px;
}

.toolbar-btn:hover {
    border: 2px inset #c0c0c0;
}

.toolbar-icon {
    width: 16px;
    height: 16px;
}

/* Status Bar */
.status-bar {
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    font-size: 10px;
}

/* Content Area */
.content-area {
    flex: 1;
    display: flex;
    background: #c0c0c0;
}

/* Sidebar */
.sidebar {
    width: 200px;
    background: #c0c0c0;
    border-right: 2px solid #808080;
    padding: 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    margin-bottom: 4px;
    cursor: pointer;
    font-size: 11px;
}

.sidebar-item:hover {
    background: #000080;
    color: white;
}

.sidebar-item.active {
    background: #000080;
    color: white;
}

.sidebar-icon {
    width: 16px;
    height: 16px;
}

.sidebar-link {
    color: inherit;
    text-decoration: none;
}

.sidebar-link:hover {
    color: inherit;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 16px;
    background: #c0c0c0;
    position: relative;
}

/* Page Content */
.page-content {
    display: none;
    width: 100%;
    height: 100%;
}

.page-content.active {
    display: block;
}

.welcome-panel {
    background: #ffffff;
    border: 2px inset #c0c0c0;
    padding: 16px;
    margin-bottom: 16px;
}

.welcome-panel h1 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000000;
}

.welcome-panel p {
    font-size: 11px;
    margin-bottom: 16px;
    color: #000000;
}

.button-group {
    display: flex;
    gap: 8px;
}

.win-button {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}

.win-button:hover {
    border: 2px inset #c0c0c0;
}

.win-button.primary {
    background: #c0c0c0;
}

.win-button.secondary {
    background: #c0c0c0;
}

.button-icon {
    width: 16px;
    height: 16px;
}

/* Info Panels */
.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-panel {
    background: #ffffff;
    border: 2px inset #c0c0c0;
    min-height: 120px;
}

.panel-title {
    background: #000080;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
}

.panel-content {
    padding: 8px;
}

.panel-content p {
    font-size: 11px;
    color: #000000;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .main-window {
        width: 95vw;
        height: 90vh;
    }
    
    .info-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 150px;
    }
    
    .button-group {
        flex-direction: column;
    }
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 70px);
    gap: 20px;
    padding: 10px;
}

.desktop-icon {
    width: 70px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
}

.desktop-icon:hover {
    background: rgba(255,255,255,0.1);
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.desktop-icon span {
    text-align: center;
    font-size: 11px;
    word-wrap: break-word;
    width: 100%;
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: 28px;
    left: 0;
    width: 250px;
    background: #c0c0c0;
    border: 2px outset #ffffff;
    display: none;
    z-index: 1000;
}

.start-menu.active {
    display: block;
}

.start-header {
    height: 50px;
    background: linear-gradient(to right, #000080, #1084d0);
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.start-items {
    padding: 5px 0;
}

.start-item {
    height: 35px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
}

.start-item:hover {
    background: #000080;
    color: white;
}

.start-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.start-separator {
    height: 1px;
    background: #808080;
    margin: 5px 0;
    border-bottom: 1px solid #ffffff;
}