:root {
    --color-primary-cta: #8fbc8f;
    --color-dislike-active: #e9967a;
    --color-secondary-bg: #f0f0f0;
    --color-secondary-border: #d0d0d0;
    --color-disabled-bg: #d3d3d3;
    --color-text-primary: #333333;
    --color-text-muted: #999999;
    --color-text-subtle: #9e9e9e;
    --color-danger-text: #b43c3c;
    --color-danger-bg: #fdf2f2;
    --color-danger-border: #e6c6c6;
    --color-spinner-track: rgba(0, 0, 0, 0.12);
    --color-spinner-head: var(--color-text-subtle);
}

.loading-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid var(--color-spinner-track);
    border-top-color: var(--color-spinner-head);
    border-radius: 50%;
    box-sizing: border-box;
    animation: loading-spinner-rotate 0.8s linear infinite;
}

.loading-spinner--sm {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.loading-container--fullscreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    flex: 1;
    box-sizing: border-box;
}

body > #container > .loading-container--fullscreen,
#mainContainer > .loading-container--fullscreen {
    min-height: 80vh;
}

#mainContainer[style*="position: absolute"] > .loading-container--fullscreen {
    min-height: 100%;
    height: 100%;
}

@keyframes loading-spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-spinner {
        animation: none;
    }
}

.timeline-slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    touch-action: pan-x;
    box-sizing: border-box;
    cursor: pointer;
}

.timeline-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: var(--color-secondary-border);
}

.timeline-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 44px;
    height: 44px;
    margin-top: -18px;
    border-radius: 50%;
    background: var(--color-primary-cta);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.timeline-slider::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: var(--color-secondary-border);
}

.timeline-slider::-moz-range-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-cta);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

