
.rc-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 36px;
    width: 320px;
    padding: 0 14px;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: 999px;
    box-sizing: border-box;
    transition: width 0.18s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.18s ease;
}

.rc-search:hover:not(:focus-within) {
    background: #e2e8f0;
}

.rc-search:focus-within {
    background: #fff;
    border-color: #0891b2;
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
    width: 380px;
}

.rc-search-icon {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    margin-right: 10px;
    transition: color 0.18s ease;
}

.rc-search:focus-within .rc-search-icon {
    color: #0891b2;
}

.rc-search input {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #0c1b33;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
}

.rc-search input::placeholder {
    color: #94a3b8;
}

.rc-search input::-webkit-search-cancel-button,
.rc-search input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.rc-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.rc-search.has-value .rc-search-clear {
    display: inline-flex;
}

.rc-search-clear:hover {
    background: #e2e8f0;
    color: #0c1b33;
}

.rc-search.is-hidden {
    display: none;
}

.rc-search--block,
.rc-search--block:focus-within {
    display: flex;
    width: 100%;
    flex: 1 1 280px;
    min-width: 0;
}

@media (max-width: 640px) {
    .rc-search,
    .rc-search:focus-within {
        width: 100%;
    }
}
