/*SearchAion2 shared search controls.*/

button,
input,
select {
    font-family: inherit;
}

.search-panel {
    width: 100%;
    padding: 18px;
    background: #181a20;
    border: 1px solid #2a2d36;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.race-buttons {
    display: flex;
}

.race-btn {
    height: 40px;
    padding: 0 22px;
    border: 1px solid #343844;
    border-right: 0;
    border-radius: 0;
    background: #101114;
    color: #c5c9d6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.race-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.race-btn:last-child {
    border-right: 1px solid #343844;
    border-radius: 0 6px 6px 0;
}

.race-btn:hover {
    background: #1d2030;
    color: #ffffff;
}

.race-btn.active {
    background: #606774;
    border-color: #606774;
    color: #ffffff;
}

.race-btn[data-race="1"] {
    color: #8fb7ff;
}

.race-btn[data-race="1"].active {
    background: #2f73ff;
    border-color: #2f73ff;
    color: #ffffff;
}

.race-btn[data-race="2"] {
    color: #ff9b9b;
}

.race-btn[data-race="2"].active {
    background: #d84646;
    border-color: #d84646;
    color: #ffffff;
}

.race-select {
    width: 490px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #343844;
    border-radius: 6px;
    background: #101114;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.race-select:focus {
    border-color: #6f8cff;
}

.search-row {
    width: 100%;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
    border: 1px solid #343844;
    border-radius: 8px;
    background: #101114;
    overflow: hidden;
}

.search-input-wrap:focus-within {
    border-color: #6f8cff;
}

.search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #747b8c;
}

.search-button {
    width: 64px;
    height: 100%;
    border: 0;
    border-left: 1px solid #343844;
    border-radius: 0;
    background: #6f8cff;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: #5d7af0;
}
