body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0078D7;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

#desktop {
    width: 100%;
    height: calc(100% - 40px);
    position: relative;
    background-image: url('https://i.imgur.com/JFcQeNU.jpg');
    background-size: cover;
    background-position: center;
}

#taskbar {
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

#start-menu {
    position: relative;
}

#start-button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#start-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#start-menu-content {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    overflow: hidden;
}

#start-menu-content button {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
}

#start-menu-content button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#open-windows {
    display: flex;
    margin-left: 10px;
}

.taskbar-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.taskbar-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.window {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    min-width: 300px;
    min-height: 200px;
    resize: both;
    overflow: auto;
    border-radius: 5px;
    animation: windowOpen 0.3s ease-out;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.window-header {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.window-title {
    font-weight: bold;
}

.window-controls {
    display: flex;
}

.window-control {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: none;
    background-color: transparent;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.window-control:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.window-content {
    flex-grow: 1;
    overflow: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.cmd-output {
    font-family: 'Consolas', 'Lucida Console', monospace;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.cmd-input-line {
    display: flex;
    margin-top: 10px;
}

#currentDir {
    color: #00ff00;
    margin-right: 5px;
}

#cmdInput {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Consolas', 'Lucida Console', monospace;
    font-size: 14px;
    outline: none;
}

#explorer-content {
    display: flex;
    flex-wrap: wrap;
}

.explorer-item {
    width: 80px;
    height: 80px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    text-align: center;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.explorer-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.explorer-item-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.context-menu {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px 0;
    min-width: 150px;
    z-index: 1001;
}

.context-menu div {
    padding: 5px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.context-menu div:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

textarea {
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    resize: none;
    font-family: 'Consolas', 'Lucida Console', monospace;
    font-size: 14px;
    padding: 10px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .window {
        width: 95% !important;
        height: 90% !important;
        top: 5% !important;
        left: 2.5% !important;
    }

    .cmd-output, #cmdInput {
        font-size: 12px;
    }
}