.premium-search[data-podcast-search-combobox],
.premium-search[data-premium-search-combobox] {
    --podcast-search-night: #071328;
    --podcast-search-electric: #5ccaff;
    --podcast-search-focus: #8cddff;
    --podcast-search-gold: #f2d284;
    isolation: isolate;
    z-index: 5;
}

body.premium-shell :is(.dt-search, .dataTables_filter) input[type="search"],
body.premium-shell .coupon-create__search input[type="search"] {
    min-height: 44px;
    padding: 0.62rem 0.85rem;
    border: 2px solid #0d3154;
    border-radius: 0.85rem;
    color: #071328;
    background: #f8fbff;
    box-shadow: inset 0 0 0 1px rgba(7, 19, 40, 0.06), 0 8px 24px rgba(3, 9, 22, 0.1);
}

body.premium-shell :is(.dt-search, .dataTables_filter) input[type="search"]:focus,
body.premium-shell .coupon-create__search input[type="search"]:focus {
    border-color: #071f38;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(92, 202, 255, 0.22), 0 10px 30px rgba(3, 9, 22, 0.14);
}

body.premium-shell :is(.dt-search, .dataTables_filter) input[type="search"]::-webkit-search-cancel-button,
body.premium-shell .coupon-create__search input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none;
}

.premium-search[data-podcast-search-combobox] .premium-search__input {
    color: #071328;
    background: #f8fbff;
    border: 1px solid #0d3154;
    border-radius: 0.85rem;
    box-shadow: inset 0 0 0 1px rgba(7, 19, 40, 0.06), 0 8px 24px rgba(3, 9, 22, 0.1);
    transition: border-color 0.25s ease, box-shadow 0.28s ease, background-color 0.25s ease;
}

.premium-search[data-podcast-search-combobox] .premium-search__input:hover {
    border-color: #164d7b;
    box-shadow: inset 0 0 0 1px rgba(7, 19, 40, 0.08), 0 10px 28px rgba(3, 9, 22, 0.13);
}

.premium-search[data-podcast-search-combobox] .premium-search__input:focus {
    border-color: #0d3154;
    box-shadow: 0 0 0 3px rgba(92, 202, 255, 0.26), 0 10px 30px rgba(3, 9, 22, 0.14);
}

.premium-search[data-podcast-search-combobox] .premium-search__input::-webkit-search-cancel-button,
.premium-search[data-podcast-search-combobox] .premium-search__input::-webkit-search-decoration {
    appearance: none;
    -webkit-appearance: none;
}

.premium-search[data-podcast-search-combobox] .premium-search__input::-ms-clear {
    display: none;
}

.premium-search[data-podcast-search-combobox]:focus-within .premium-search__icon {
    color: var(--podcast-search-electric);
}

.premium-search[data-podcast-search-combobox] .premium-search__icon {
    transition: color 0.25s ease;
}

.premium-search[data-podcast-search-combobox] .premium-search__clear {
    width: 44px;
    height: 44px;
    inset-inline-end: 0.25rem;
    color: var(--podcast-search-gold);
    transition: color 0.24s ease, background-color 0.24s ease;
}

.premium-search[data-podcast-search-combobox] .premium-search__clear:hover {
    color: var(--podcast-search-gold);
    background: var(--podcast-search-night);
}

.premium-search[data-podcast-search-combobox] .premium-search__clear:focus-visible {
    color: var(--podcast-search-gold);
    background: var(--podcast-search-night);
    outline: 2px solid var(--podcast-search-electric);
    outline-offset: 1px;
    box-shadow: 0 0 0 3px rgba(242, 210, 132, 0.2);
}

.podcast-search-combobox__panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    width: 100%;
    max-height: min(21rem, calc(100dvh - 7rem));
    padding: 0.42rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--podcast-search-gold);
    border-radius: 1rem;
    color: #f8fbff;
    background: var(--podcast-search-night);
    box-shadow: 0 1.15rem 2.8rem rgba(2, 10, 24, 0.4), 0 0 0 1px rgba(92, 202, 255, 0.08);
    scrollbar-color: rgba(242, 210, 132, 0.68) rgba(255, 255, 255, 0.08);
    z-index: 1090;
}

.podcast-search-combobox__panel[hidden] {
    display: none;
}

.podcast-search-combobox__option {
    display: grid;
    min-height: 44px;
    padding: 0.68rem 0.78rem;
    align-items: center;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr) auto;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    color: #f8fbff;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.35;
    transition: color 0.24s ease, background-color 0.26s ease, border-color 0.24s ease, box-shadow 0.26s ease;
}

.podcast-search-combobox__option:hover,
.podcast-search-combobox__option[aria-selected="true"] {
    color: #f8fbff;
    border-color: rgba(140, 221, 255, 0.42);
    background: rgba(92, 202, 255, 0.16);
    box-shadow: inset 3px 0 0 var(--podcast-search-electric);
}

.podcast-search-combobox__option:hover {
    background: color-mix(in srgb, var(--podcast-search-electric) 24%, var(--podcast-search-night));
}

.podcast-search-combobox__option[aria-selected="true"] {
    border-color: var(--podcast-search-focus);
    background: color-mix(in srgb, var(--podcast-search-electric) 46%, var(--podcast-search-night));
    box-shadow: inset 3px 0 0 var(--podcast-search-gold), 0 0 0 2px rgba(92, 202, 255, 0.12);
}

.podcast-search-combobox__option mark {
    padding: 0;
    color: var(--podcast-search-gold);
    background: transparent;
    font-weight: 800;
}

.podcast-search-combobox__content {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.podcast-search-combobox__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-search-combobox__origin {
    color: #aee5ff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.podcast-search-combobox__marker {
    color: var(--podcast-search-gold);
    opacity: 0.72;
    transform: translateX(0);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.podcast-search-combobox__option:hover .podcast-search-combobox__marker,
.podcast-search-combobox__option[aria-selected="true"] .podcast-search-combobox__marker {
    opacity: 1;
}

.podcast-search-combobox__panel::-webkit-scrollbar {
    width: 0.62rem;
}

.podcast-search-combobox__panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.podcast-search-combobox__panel::-webkit-scrollbar-thumb {
    border: 2px solid var(--podcast-search-night);
    border-radius: 999px;
    background: rgba(242, 210, 132, 0.68);
}

.podcast-search-combobox__empty,
.podcast-search-combobox__loading,
.podcast-search-combobox__error {
    min-height: 44px;
    padding: 0.75rem 0.8rem;
    color: #b6c9dc;
    font-size: 0.82rem;
    line-height: 1.45;
}

.podcast-search-combobox__error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.podcast-search-combobox__retry {
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(245, 217, 147, 0.82);
    border-radius: 0.72rem;
    color: #f8fbff;
    background: rgba(92, 202, 255, 0.12);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.podcast-search-combobox__retry:hover {
    border-color: var(--podcast-search-gold);
    background: rgba(92, 202, 255, 0.22);
}

.podcast-search-combobox__retry:focus-visible {
    outline: 2px solid var(--podcast-search-focus);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(245, 217, 147, 0.2);
}

.podcast-search-combobox__loading::before {
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    margin-inline-end: 0.5rem;
    border: 2px solid rgba(92, 202, 255, 0.35);
    border-top-color: var(--podcast-search-gold);
    border-radius: 50%;
    content: '';
    animation: podcast-search-spin 0.7s linear infinite;
}

.podcast-search-combobox__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes podcast-search-spin { to { transform: rotate(360deg); } }

@media (max-width: 767.98px) {
    .podcast-search-combobox__panel {
        max-height: min(18rem, 42dvh);
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-search[data-podcast-search-combobox] .premium-search__input,
    .premium-search[data-podcast-search-combobox] .premium-search__icon,
    .premium-search[data-podcast-search-combobox] .premium-search__clear,
    .podcast-search-combobox__option,
    .podcast-search-combobox__marker,
    .podcast-search-combobox__retry {
        transition: none;
    }

    .podcast-search-combobox__loading::before {
        animation: none;
    }
}
