/* xp-style.css - Estilo Windows 98 para la web */
body {
    background: #008080 url('../images/icon.png') repeat;
    margin: 0;
    font-family: 'Perfect DOS VGA 437', 'MS Sans Serif', 'Tahoma', 'Verdana', 'Segoe UI', sans-serif;
    font-size: 15px;
    overflow: hidden;
}
#desktop {
    position: relative;
    width: 100vw;
    height: 100vh;
}
.window {
    position: absolute;
    top: 60px;
    left: 60px;
    width: 320px;
    min-height: 180px;
    background: #c0c0c0;
    border: 2.5px solid #000;
    border-radius: 0;
    box-shadow: 2px 2px 0 #fff, 4px 4px 0 #808080;
    z-index: 10;
    transition: box-shadow 0.2s;
    image-rendering: pixelated;
}
.window.active {
    box-shadow: 0 0 0 2px #000, 2px 2px 0 #fff, 4px 4px 0 #808080;
    border-color: #000;
}
.window-titlebar {
    background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
    color: #fff;
    padding: 2px 8px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    user-select: none;
    font-family: 'Perfect DOS VGA 437', 'MS Sans Serif', 'Tahoma', 'Verdana', 'Segoe UI', sans-serif;
    font-size: 1em;
    border-bottom: 2px solid #fff;
    box-shadow: 0 2px 0 #808080;
}
.window-title {
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 0.5px;
}
.window-controls button {
    background: #c0c0c0;
    border: 2px outset #fff;
    color: #000;
    width: 22px;
    height: 22px;
    margin-left: 2px;
    border-radius: 0;
    font-weight: bold;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 1px 1px 0 #808080;
    transition: background 0.2s, color 0.2s;
}
.window-controls button:hover {
    background: #000080;
    color: #fff;
    border: 2px inset #808080;
}
.window-content {
    padding: 10px;
    background: #fff;
    border-radius: 0;
    border-top: 2px solid #808080;
    font-family: inherit;
    font-size: 1em;
}
.profile-photo {
    width: 64px;
    height: 64px;
    border-radius: 0;
    border: 2px solid #000;
    margin-bottom: 8px;
    display: block;
    image-rendering: pixelated;
}
.profile-banner {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 0;
    border: 2px solid #000;
    margin-bottom: 12px;
    image-rendering: pixelated;
}
#taskbar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 38px;
    background: linear-gradient(90deg, #c0c0c0 0%, #808080 100%);
    display: flex;
    align-items: center;
    padding: 0 8px;
    z-index: 1000;
    box-shadow: 0 -2px 0 #fff, 0 -4px 0 #808080;
    border-top: 2px solid #fff;
}
#taskbar button, #system-btn {
    background: #c0c0c0;
    border: 2px outset #fff;
    color: #000;
    border-radius: 0;
    margin-right: 6px;
    padding: 4px 12px;
    font-size: 1em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 1px 1px 0 #808080;
    transition: background 0.2s, color 0.2s;
}
#taskbar button.active, #taskbar button:hover, #system-btn:hover {
    background: #000080;
    color: #fff;
    border: 2px inset #808080;
}
#system-btn {
    background: #c0c0c0;
    border: 2.5px solid #000;
    border-radius: 0;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
    box-shadow: 1px 1px 4px #0002;
    padding: 0;
}
#system-btn img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
}
#system-menu {
    min-width: 180px;
    background: #c0c0c0;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: 2px 2px 0 #fff, 4px 4px 0 #808080;
    padding: 10px;
    z-index: 2000;
    font-family: inherit;
    font-size: 1em;
}
#system-menu ul {
    margin: 8px 0 0 0;
    padding: 0;
}
#system-menu li {
    padding: 4px 0;
    cursor: pointer;
    color: #000080;
    border-radius: 0;
    transition: background 0.2s;
    font-family: inherit;
}
#system-menu li:hover {
    background: #000080;
    color: #fff;
}
/* Mini Paint XP - Windows 98 style */
#paint-window {
    min-width: 380px;
    width: 480px !important;
    border: 2.5px solid #000;
    border-radius: 0;
    background: #c0c0c0;
}
#paint-canvas {
    width: 440px !important;
    height: 220px !important;
    max-width: 100%;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    image-rendering: pixelated;
}
#paint-tools, #paint-colors {
    font-family: inherit;
}
#paint-tools button, #paint-colors button {
    border-radius: 0;
    font-family: inherit;
    box-shadow: 1px 1px 0 #808080;
    border: 2px outset #fff;
    background: #c0c0c0;
    color: #000;
}
#paint-tools button.active, #paint-tools button:hover, #paint-colors button.selected, #paint-colors button:hover {
    background: #000080;
    color: #fff;
    border: 2px inset #808080;
}
#paint-colors button {
    width: 32px;
    height: 32px;
    border-radius: 0;
    border: 2px outset #fff;
    margin: 0 2px;
    box-shadow: 1px 1px 0 #808080;
    font-size: 1em;
    padding: 0;
}
#paint-colors button.selected, #paint-colors button:hover {
    background: #000080;
    color: #fff;
    border: 2px inset #808080;
}
.xp-columns {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    position: relative;
}
.xp-col {
    flex: 1 1 0;
    min-width: 320px;
    position: relative;
    height: 100vh;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.xp-col .window {
    position: absolute;
    left: 0;
}
#xp-col-1 { justify-content: flex-start; }
#xp-col-2 { justify-content: flex-start; }
#xp-col-3 { justify-content: flex-start; }
@media (max-width: 900px) {
    .xp-columns {
        flex-direction: column;
    }
    .xp-col {
        min-width: unset;
        width: 100vw;
        height: auto;
        padding-bottom: 40px;
    }
    .xp-col .window {
        position: static;
        margin-bottom: 24px;
    }
}
@media (max-width: 700px) {
    #paint-window {
        width: 98vw !important;
        min-width: unset;
    }
    #paint-canvas {
        width: 95vw !important;
        height: 160px !important;
    }
}
@media (max-width: 600px) {
    .window {
        width: 95vw;
        left: 2vw !important;
    }
    .profile-banner {
        height: 40px;
    }
}
