/* Business timezone picker and appointment minute controls. */
.tm-timezone-select { width:100%; }
.select2-container.tm-business-select2 { width:100%!important; max-width:100%; }
.tm-business-select2 .select2-selection--single { min-height:42px; border:1px solid var(--bs-border-color,#cbd5e1); border-radius:8px; background:var(--bs-body-bg,#fff); }
.tm-business-select2 .select2-selection--single .select2-selection__rendered { line-height:40px; padding-left:12px; padding-right:28px; color:var(--bs-body-color,#172033); }
.tm-business-select2 .select2-selection--single .select2-selection__arrow { height:40px; right:7px; }
.tm-business-time-dropdown { background:var(--bs-body-bg,#fff); color:var(--bs-body-color,#172033); border-color:var(--bs-border-color,#cbd5e1); }
.tm-business-time-dropdown .select2-search__field { background:var(--bs-body-bg,#fff); color:var(--bs-body-color,#172033); border:1px solid var(--bs-border-color,#cbd5e1)!important; border-radius:5px; }
.tm-business-time-dropdown .select2-results__option { color:var(--bs-body-color,#172033); }
.tm-business-time-dropdown .select2-results__option--selected { background:var(--bs-tertiary-bg,#e2e8f0); color:var(--bs-body-color,#172033); }
.tm-business-time-dropdown .select2-results__option--highlighted.select2-results__option--selectable { background:#4f46e5; color:#fff; }
.tm-time-stepper { display:flex; align-items:stretch; width:100%; }
.tm-time-stepper .form-control { min-width:0; flex:1; text-align:center; border-radius:0; appearance:textfield; -moz-appearance:textfield; }
.tm-time-stepper .form-control::-webkit-inner-spin-button,.tm-time-stepper .form-control::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.tm-step-button { min-width:39px; border:1px solid var(--bs-border-color,#cbd5e1); background:var(--bs-tertiary-bg,#f1f5f9); color:var(--bs-body-color,#172033); font-weight:700; font-size:18px; }
.tm-step-button:first-child { border-radius:8px 0 0 8px; border-right:0; }
.tm-step-button:last-child { border-radius:0 8px 8px 0; border-left:0; }
.tm-step-button:disabled { opacity:.45; cursor:not-allowed; }
.tm-step-button:focus-visible { outline:2px solid #7367f0; outline-offset:2px; }

html[data-bs-theme="dark"] .tm-business-select2 .select2-selection__rendered,
html[data-bs-theme="dark"] .select2-container--default .tm-business-select2 .select2-selection__rendered { color:#f8fafc!important; -webkit-text-fill-color:#f8fafc!important; }
html[data-bs-theme="dark"] .tm-business-select2 .select2-selection--single,
html[data-bs-theme="dark"] .tm-business-time-dropdown { background:#1e293b!important; color:#f8fafc!important; border-color:#475569!important; }

/* Business creation timezone: Select2 4.x generates the wrapper outside the select.
   Target the actual selected-value element and its own selection background. */
html[data-bs-theme="dark"] .tm-timezone-container .select2-selection--single,
html[data-theme="dark"] .tm-timezone-container .select2-selection--single,
html.dark .tm-timezone-container .select2-selection--single,
body.dark .tm-timezone-container .select2-selection--single,
body[data-bs-theme="dark"] .tm-timezone-container .select2-selection--single,
html[data-bs-theme="dark"] .tm-timezone-selection,
html[data-theme="dark"] .tm-timezone-selection,
html.dark .tm-timezone-selection,
body.dark .tm-timezone-selection,
body[data-bs-theme="dark"] .tm-timezone-selection {
    background-color: #111827 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .tm-timezone-container .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] .tm-timezone-container .select2-selection--single .select2-selection__rendered,
html.dark .tm-timezone-container .select2-selection--single .select2-selection__rendered,
body.dark .tm-timezone-container .select2-selection--single .select2-selection__rendered,
body[data-bs-theme="dark"] .tm-timezone-container .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html[data-bs-theme="dark"] .tm-business-time-dropdown,
html[data-theme="dark"] .tm-business-time-dropdown,
html.dark .tm-business-time-dropdown,
body.dark .tm-business-time-dropdown,
body[data-bs-theme="dark"] .tm-business-time-dropdown {
    background: #111827 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}
html[data-bs-theme="dark"] .tm-business-time-dropdown .select2-results__option,
html[data-theme="dark"] .tm-business-time-dropdown .select2-results__option,
html.dark .tm-business-time-dropdown .select2-results__option,
body.dark .tm-business-time-dropdown .select2-results__option,
body[data-bs-theme="dark"] .tm-business-time-dropdown .select2-results__option {
    background-color: #111827 !important;
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .tm-business-time-dropdown .select2-results__option--selected,
html[data-theme="dark"] .tm-business-time-dropdown .select2-results__option--selected,
html.dark .tm-business-time-dropdown .select2-results__option--selected,
body.dark .tm-business-time-dropdown .select2-results__option--selected,
body[data-bs-theme="dark"] .tm-business-time-dropdown .select2-results__option--selected { background-color:#334155!important; color:#fff!important; }
html[data-bs-theme="dark"] .tm-business-time-dropdown .select2-results__option--highlighted,
html[data-theme="dark"] .tm-business-time-dropdown .select2-results__option--highlighted,
html.dark .tm-business-time-dropdown .select2-results__option--highlighted,
body.dark .tm-business-time-dropdown .select2-results__option--highlighted,
body[data-bs-theme="dark"] .tm-business-time-dropdown .select2-results__option--highlighted { background-color:#4f46e5!important; color:#fff!important; }
html[data-bs-theme="dark"] .tm-business-time-dropdown .select2-search__field,
html[data-theme="dark"] .tm-business-time-dropdown .select2-search__field,
html.dark .tm-business-time-dropdown .select2-search__field,
body.dark .tm-business-time-dropdown .select2-search__field,
body[data-bs-theme="dark"] .tm-business-time-dropdown .select2-search__field { background:#111827!important; color:#fff!important; border-color:#475569!important; }
