/* --- LAPS Intelligence Charts --- */

.chart-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    transition: opacity 0.3s ease;
}

/* Time Range Toggles */
.chart-controls {
    display: flex;
    background: #1f2937; /* Gray 800 */
    border-radius: 0.5rem;
    padding: 0.25rem;
    border: 1px solid #374151;
}

.range-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af; /* Gray 400 */
    border-radius: 0.375rem;
    transition: all 0.2s;
    font-family: monospace;
    text-transform: uppercase;
}

.range-btn:hover {
    color: #e5e7eb;
}

.range-btn.active {
    background: #374151; /* Gray 700 */
    color: #60a5fa; /* Blue 400 */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Zoom Reset Button */
.zoom-reset-btn {
    position: absolute;
    top: 10px;
    right: 50px; /* Left of controls */
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.zoom-reset-btn.visible {
    opacity: 1;
    pointer-events: auto;
}