/**
 * Styling for App\Livewire\ThumbnailScrubber.
 *
 * Plain CSS rather than Tailwind utilities, for the same reason the player entry and
 * the upload field have their own sheets: Filament's compiled bundle does not scan
 * this application's Blade views, so a utility class used only here resolves to
 * nothing at all.
 */

.tp-scrubber {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tp-scrubber__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tp-scrubber__body > [wire\:ignore] {
    overflow: hidden;
    border-radius: 0.75rem;
    background-color: #000;
}

.tp-scrubber__video {
    width: 100%;
}

.tp-scrubber__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.tp-scrubber__position {
    font-size: 0.875rem;
    color: rgb(82 82 91);
}

.dark .tp-scrubber__position {
    color: rgb(161 161 170);
}

.tp-scrubber__timecode {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 600;
}

.tp-scrubber__millis {
    font-size: 0.75rem;
    color: rgb(113 113 122);
}

.tp-scrubber__empty {
    padding: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
    color: rgb(82 82 91);
    background-color: rgb(244 244 245);
    border: 1px dashed rgb(212 212 216);
    border-radius: 0.75rem;
}

.dark .tp-scrubber__empty {
    color: rgb(161 161 170);
    background-color: rgb(39 39 42);
    border-color: rgb(63 63 70);
}

.tp-scrubber__error {
    font-size: 0.875rem;
    color: rgb(185 28 28);
}

.dark .tp-scrubber__error {
    color: rgb(248 113 113);
}
