/* Time Interval Splitter Styles */

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    max-height: 500px;
    overflow-y: auto;
}

.timeline-block {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: all 0.2s;
    border-left: 4px solid var(--bs-primary);
}

.timeline-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}

.timeline-time {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.25rem;
}

.timeline-duration {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

/* Statistics */
.stat-label {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary-text-emphasis);
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .timeline-block {
    background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .timeline-block:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr;
        max-height: 400px;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }
}
