
/* ===== Search clear button =====
   A small transparent "x" that sits inside the text field itself (Bootstrap's .input-group is
   already position:relative, so this just needs to float over the input's right edge - no extra
   wrapper markup needed). */
.input-group:has(.search-clear-btn) > .form-control {
    padding-right: 2rem;
}

.search-clear-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 22px;
    height: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8091a0;
    font-size: 0.75rem;
    line-height: 1;
}

    .search-clear-btn:hover {
        color: #495057;
        background: rgba(0, 0, 0, 0.06);
    }
