body, html {
    margin: 0;
    padding: 0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    background-color: #008080;
    overflow: hidden;
    user-select: none;
}

.desktop {
    height: 100vh;
    width: 100vw;
    position: relative;
}

.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #c0c0c0;
    border-top: 2px solid white;
    display: flex;
    align-items: center;
    z-index: 1000;
}

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

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

.system-tray {
    margin-left: auto;
    margin-right: 5px;
}

.icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
}

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

.desktop-icon span {
    color: white;
    font-size: 12px;
    margin-top: 5px;
}

.start-menu {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 250px; /* Narrower width */
    background-color: #c0c0c0;
    border: 2px outset;
    display: none;
}

.start-menu .window-body {
    display: flex;
    padding: 0;
}

.start-menu-left {
    width: 35px; /* Narrower vertical text area */
    background-color: #008080;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vertical-text {
    position: absolute;
    transform: rotate(-90deg);
    white-space: nowrap;
    color: white;
    font-weight: bold;
    font-size: 12px;
    left: 50%;
    top: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.start-menu-logo {
    display: none; /* Remove the logo completely */
}

.start-menu-right {
    flex-grow: 1;
    padding: 5px; /* Less padding */
}

.section-title {
    font-weight: bold;
    margin-bottom: 3px;
    border-bottom: 1px solid #808080;
    padding-bottom: 1px;
    font-size: 12px; /* Smaller section titles */
}

.program-item, .menu-item {
    padding: 3px 8px; /* Tighter spacing */
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 12px; /* Smaller font */
}

.menu-item img, .program-item img {
    margin-right: 5px; /* Less margin */
    width: 16px;
    height: 16px;
}

.program-item:hover, .menu-item:hover {
    background-color: navy;
    color: white;
}

.startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000080;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    flex-direction: column;
}

.startup-content {
    text-align: center;
}

.startup-logo img {
    width: 200px;
    height: auto;
}

.startup-text {
    margin-top: 20px;
    font-size: 16px;
}

.startup-progress {
    width: 300px;
    height: 20px;
    background-color: #c0c0c0;
    margin-top: 20px;
    border: 2px inset;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #008080;
    animation: progressAnimation 3s linear forwards;
}

@keyframes progressAnimation {
    0% { width: 0; }
    100% { width: 100%; }
}

.shutdown-item {
    display: flex;
    align-items: center;
}

.shutdown-item img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.window {
    position: absolute;
    background-color: #c0c0c0;
    border: 2px outset;
    z-index: 1000;
}

.internet-explorer-toolbar {
    background-color: #e0e0e0;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.browser-content {
    padding: 10px;
    overflow: auto;
    height: calc(100% - 60px);
}

.search-container {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

.search-results {
    margin-top: 20px;
}

.search-result {
    margin-bottom: 10px;
    padding: 5px;
    background-color: white;
    border: 1px solid #c0c0c0;
}

.search-result a {
    color: blue;
    text-decoration: underline;
}

.taskbar-apps {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.taskbar-app {
    background-color: #c0c0c0;
    border: 2px outset;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px; /* Add some space between icon and text */
}

.taskbar-app-icon {
    width: 16px;
    height: 16px;
}

.taskbar-app.minimized {
    opacity: 0.5;
}

.window .title-bar {
    cursor: move;
}

/* My Computer Styles */
.computer-contents {
    display: flex;
    flex-direction: column;
}

.computer-toolbar {
    background-color: #e0e0e0;
    padding: 5px;
    display: flex;
    gap: 10px;
}

.computer-drives {
    padding: 10px;
}

.drive-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 5px;
}

.drive-item:hover {
    background-color: #e0e0e0;
    border-color: #808080;
}

.drive-item img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.drive-details {
    flex-grow: 1;
}

.drive-space {
    width: 100%;
    height: 10px;
    background-color: #c0c0c0;
    margin: 5px 0;
}

.space-bar {
    height: 100%;
    background-color: #008080;
}

/* Files Explorer Styles */
.file-explorer {
    display: flex;
}

.file-tree {
    width: 200px;
    border-right: 1px solid #c0c0c0;
    padding: 10px;
}

.tree-item {
    cursor: pointer;
    padding: 3px;
}

.tree-item:hover {
    background-color: #e0e0e0;
}

.tree-item.expanded > .subtree {
    display: block;
}

.tree-item .subtree {
    display: none;
    margin-left: 15px;
}

.file-list {
    flex-grow: 1;
}

.file-header, .file-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 5px;
    border-bottom: 1px solid #c0c0c0;
}

.file-header {
    font-weight: bold;
    background-color: #e0e0e0;
}

.file-row:hover {
    background-color: #e0e0e0;
}

/* Recycle Bin Styles */
.recycle-bin-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recycle-bin-toolbar {
    background-color: #e0e0e0;
    padding: 5px;
    display: flex;
    gap: 10px;
}

.recycle-bin-items {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.recycle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recycle-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.recycle-bin-details {
    padding: 10px;
    text-align: center;
    background-color: #e0e0e0;
}

.bonzi-setup-window .setup-step {
    display: none;
}

.bonzi-setup-window .setup-step.active {
    display: block;
}

.bonzi-setup-window .window-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonzi-setup-window label {
    display: block;
    margin: 10px 0;
}

.bonzi-buddy-window .bonzi-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.bonzi-buddy-window .bonzi-actions {
    display: flex;
    gap: 10px;
}