/* Shared search action; preserve the existing search icon and circular button palette. */
html body .search.onecup-search-with-clear { position: relative; }
html body .search.onecup-search-with-clear > input { padding-right: 66px !important; }
html body .search.onecup-search-with-clear > input::-webkit-search-cancel-button { -webkit-appearance: none; }
html body .search.onecup-search-with-clear > .onecup-search-clear {
    position: absolute;
    top: 50%;
    right: 34px;
    transform: translateY(-50%) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    margin: 0;
    padding: 0;
    z-index: 1;
    cursor: pointer;
    color: var(--onecup-primary, #1c75ef) !important;
    background: transparent !important;
    border-color: transparent !important;
}
html body .search.onecup-search-with-clear > .onecup-search-clear > svg {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    flex: 0 0 12px;
    color: inherit;
}
html body .search.onecup-search-with-clear > .onecup-search-clear:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

html body .search.onecup-search-with-clear > .onecup-search-clear:hover {
    background: var(--onecup-primary-soft, #e9f2ff) !important;
}
