/*
 * Поле времени (App\Filament\Support\TimeField): список «часы / минуты» вместо нативного выбора времени браузера.
 * Обычный CSS на переменных Filament, подключается в AppServiceProvider.
 */

.tf { display: flex; align-items: center; cursor: pointer; }
.tf .fi-input { cursor: text; font-variant-numeric: tabular-nums; }
.tf-icon { width: 1.25rem; height: 1.25rem; margin-inline-end: 0.75rem; flex-shrink: 0; color: var(--gray-400); }

.tf-panel {
    position: absolute;
    z-index: 30;
    padding: 0.375rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    background: white;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.12), 0 4px 10px -6px rgb(0 0 0 / 0.1);
    cursor: default;
}

.tf-cols { display: flex; gap: 0.25rem; }

.tf-col {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    width: 3.75rem;
    max-height: 14rem;
    overflow-y: auto;
    scrollbar-width: thin;
    position: relative;
}
.tf-col + .tf-col { border-inline-start: 1px solid var(--gray-100); padding-inline-start: 0.25rem; }

.tf-opt {
    flex-shrink: 0;
    padding: 0.375rem 0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: var(--gray-700);
    transition: background-color 75ms;
}
.tf-opt:hover:not(:disabled) { background: var(--gray-100); color: var(--gray-950); }
.tf-opt[aria-selected="true"], .tf-opt[aria-selected="true"]:hover, .tf-opt[aria-selected="true"]:disabled { background: var(--primary-600); color: white; font-weight: 600; }
.tf-opt:disabled { color: var(--gray-300); cursor: not-allowed; }
.tf-opt:focus-visible { outline: 2px solid var(--primary-500); outline-offset: -2px; }

.dark .tf-icon { color: var(--gray-500); }
.dark .tf-panel { background: var(--gray-900); border-color: var(--gray-700); }
.dark .tf-col + .tf-col { border-color: var(--gray-800); }
.dark .tf-opt { color: var(--gray-200); }
.dark .tf-opt:hover:not(:disabled) { background: var(--gray-800); color: white; }
.dark .tf-opt[aria-selected="true"] { background: var(--primary-500); color: var(--gray-950); }
.dark .tf-opt:disabled { color: var(--gray-600); }
