body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background: url('aurora_wallpaper.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

.desktop {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.taskbar {
    background-color: rgba(0, 0, 0, 0.7);
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.start-button {
    background-color: #0078d4;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.start-button:hover {
    background-color: #005a9e;
}

.aurora-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.taskbar-icons {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.taskbar-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin: 0 2px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

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

.taskbar-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.system-tray {
    margin-left: auto;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center; /* Vertically align content */
}

.start-menu {
    position: absolute;
    bottom: 40px; /* Aligned with taskbar height */
    left: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 5px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

.start-menu-header {
    background-color: #0078d4;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.start-menu-content li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.start-menu-content li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* New styles for application windows */
.app-window {
    position: absolute;
    background-color: #2c2c2c; /* Dark background for the window */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: both; /* Allow resizing */
    min-width: 300px;
    min-height: 200px;
    top: 10%; /* Default position */
    left: 15%;
    width: 70%;
    height: 80%;
    z-index: 999; /* Below start menu */
}

.app-window.hidden {
    display: none;
}

.window-header {
    background-color: #3f3f3f; /* Darker header */
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab; /* Indicates draggable */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: bold;
    color: #e0e0e0;
}

.window-title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.window-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    margin-left: 5px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.window-controls .minimize-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.window-controls .maximize-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.window-controls .close-button:hover {
    background-color: #e81123; /* Red for close button */
}

.window-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e; /* Even darker for content area */
}