.pl-header-search {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.pl-header-search__form {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-sizing: border-box;
    cursor: text;
}

.pl-header-search__icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    opacity: 0.8;
    pointer-events: none;
}

.pl-header-search__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    display: block;
    box-sizing: border-box !important;

    -webkit-appearance: none;
    appearance: none;
    margin: 0 !important;
    padding: 5px 10px 5px 34px !important;

    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;

    font-family: var(--pl-font-base, 'Exo 2', system-ui, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: #333333 !important;
    opacity: 0.8;
    vertical-align: middle;
}

.pl-header-search__input::placeholder {
    color: #333333 !important;
    opacity: 0.8;
    font-family: var(--pl-font-base, 'Exo 2', system-ui, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.pl-header-search__input:focus,
.pl-header-search__input:focus-visible {
    outline: none !important;
    border-color: var(--pl-color-primary, #193f79) !important;
    box-shadow: none !important;
}

.pl-header-search__dropdown {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1200;
    margin: 6px 0 0;
    padding: 4px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    font-family: var(--pl-font-base, 'Exo 2', system-ui, sans-serif);
    font-size: 14px;
    line-height: 18px;
    color: #333333;
    max-height: min(280px, 45vh);
    overflow-y: auto;
    display: none;
}

.pl-header-search__dropdown.pl-header-search__dropdown--visible {
    display: block;
}

@media (min-width: 768px) {
    .pl-header-search__dropdown {
        left: 0;
        right: auto;
        width: max(100%, 32rem);
    }
}

.pl-header-search__section-title {
    margin: 0;
    padding: 6px 10px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.pl-header-search__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: transparent;
    box-sizing: border-box;
    width: 100%;
    border: none;
    font: inherit;
}

.pl-header-search__row:hover:not(.pl-header-search__row--active) {
    background: #f8fafc;
}

.pl-header-search__row--active {
    background: rgba(15, 55, 168, 0.08);
    color: #333333;
}

.pl-header-search__name {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
}

.pl-header-search__name b {
    font-weight: 600;
    font-style: normal;
    background-color: #fef08e;
    color: inherit;
    padding: 0.06em 0.12em;
    border-radius: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.pl-header-search__hint {
    margin: 0;
    padding: 8px 10px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.pl-header-search__hint--error {
    color: #b91c1c;
}
