body {
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Indicador de nivel LOD */
#lod-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    backdrop-filter: blur(5px);
    z-index: 100;
    pointer-events: none;
    font-family: monospace;
    letter-spacing: 1px;
    border-left: 4px solid #00ff00;
}

/* Instrucciones */
#instructions {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    color: #ccc;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(4px);
    z-index: 100;
    pointer-events: none;
    font-family: sans-serif;
}

/* Loader sutil para cambios de nivel */
.loading-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.75);
    color: #ffaa00;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    z-index: 101;
    pointer-events: none;
    transition: opacity 0.3s;
    font-family: monospace;
    backdrop-filter: blur(4px);
}

/* Info de zoom */
#zoom-info {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.5);
    color: #0f0;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-family: monospace;
    z-index: 100;
    pointer-events: none;
}

/* Botón wireframe */
.wire-btn {
    position: fixed;
    bottom: 20px;
    right: 140px;
    background: rgba(30,30,40,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    z-index: 200;
    font-family: monospace;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}
.wire-btn:hover {
    background: #2a6f8f;
    color: white;
    border-color: #88ddff;
}
.wire-btn.active {
    background: #ffaa33;
    color: #1e1e2a;
    border-color: #ffcc88;
}

/* Panel de información de lotes */
.lot-panel {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 320px;
    background: rgba(22, 26, 35, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    color: #eef2ff;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.25s ease, opacity 0.2s ease;
    z-index: 200;
    pointer-events: auto;
    border: 1px solid rgba(255,255,255,0.15);
}

.lot-panel.hidden {
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

.lot-panel.visible {
    transform: translateX(0);
    opacity: 1;
}

#lp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1e4b6e 0%, #0f2c3f 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#lp-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.lp-close {
    background: none;
    border: none;
    color: #ccddee;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 40px;
    transition: all 0.2s;
}

.lp-close:hover {
    color: white;
    background: rgba(255,255,255,0.2);
}

#lp-body {
    padding: 16px 20px 20px;
}

#lp-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #99bbee;
    margin-bottom: 12px;
}

.lp-divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 12px 0;
}

.lp-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.lp-label {
    font-weight: 500;
    color: #bbccff;
}

.lp-value {
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    background: rgba(0,0,0,0.35);
    padding: 4px 12px;
    border-radius: 24px;
    letter-spacing: 0.3px;
}

.lp-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.7rem;
    text-align: center;
    color: #aaccee;
}

#lp-extra-lados {
    margin-top: 8px;
}