.sitemap-window {
    max-width: 900px;
    margin: 40px auto;
    background: #f0f0f0;
    border: 3px outset #fff;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

/* Barra superior */
.window-top {
    background: linear-gradient(90deg, #f27ca5, #f8b6cb);
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #fff;
}

.window-title {
    color: white;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-icon { width: 16px; height: 16px; }

.window-controls button {
    background: #e1e1e1;
    border: 1px outset #fff;
    font-size: 10px;
    padding: 2px 6px;
    cursor: pointer;
}

/* Cuerpo principal */
.window-main {
    display: flex;
    min-height: 450px;
    background: white;
}

/* Sidebar */
.window-sidebar {
    width: 180px;
    background: #fdf2f7;
    border-right: 2px inset #fff;
    padding: 15px 0;
}

.sidebar-item {
    padding: 8px 20px;
    font-size: 12px;
    color: #f27ca5;
    cursor: pointer;
}

.sidebar-item.active {
    background: #f27ca5;
    color: white;
}

.sidebar-item:hover:not(.active) {
    background: #ffe6f0;
}

/* Área de contenido */
.window-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.address-bar {
    padding: 8px;
    background: #eee;
    border-bottom: 1px solid #ccc;
    font-size: 11px;
}

.address-bar input {
    width: 80%;
    border: 1px inset #fff;
    padding: 2px 5px;
    color: #666;
}

.directory-list {
    padding: 20px;
    overflow-y: auto;
}

.category-group { margin-bottom: 25px; }

.category-label {
    display: block;
    font-size: 11px;
    color: #999;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Filas de archivos */
.file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
    border-bottom: 1px solid #f9f9f9;
}

.file-row:hover {
    background: #fff0f5;
}

.file-link {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon { width: 20px; height: 20px; image-rendering: pixelated; }

/* Barras de progreso mini */
.file-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-progress {
    width: 100px;
    height: 8px;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, #f27ca5, #ffb3d1);
}

.percent { font-size: 10px; color: #f27ca5; width: 30px; text-align: right; }

.window-bottom {
    background: #eee;
    padding: 4px 15px;
    font-size: 11px;
    border-top: 1px solid #ccc;
    color: #666;
    display: flex;
    gap: 20px;
}