/* ============================================
   Navigator Panel Styles
   ============================================ */

.navigator-preview {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-medium);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.navigator-preview canvas { width: 100%; height: 100%; object-fit: contain; }

.navigator-viewport {
    position: absolute;
    border: 1px solid var(--accent);
    background: rgba(74, 158, 255, 0.1);
    pointer-events: none;
}

.zoom-controls { display: flex; align-items: center; gap: 8px; }

.zoom-btn {
    width: 24px;
    height: 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.zoom-btn:hover { background: var(--bg-lighter); color: var(--text-primary); }

/* Subtle attention glow for zoom buttons */
.zoom-btn.attention {
    animation: subtleGlow 2s ease-in-out;
}

@keyframes subtleGlow {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 200, 60, 0);
        border-color: var(--border);
    }
    15% { 
        box-shadow: 0 0 12px 4px rgba(255, 200, 60, 0.7);
        border-color: rgba(255, 200, 60, 0.9);
    }
    50% { 
        box-shadow: 0 0 8px 2px rgba(255, 200, 60, 0.5);
        border-color: rgba(255, 200, 60, 0.7);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 200, 60, 0);
        border-color: var(--border);
    }
}

.zoom-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    cursor: pointer;
}

.zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.zoom-value { font-size: 11px; color: var(--text-secondary); min-width: 45px; text-align: right; }
