.ama-filter-module {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    background: #f7f9fc;
    border: 1px solid #dce3ef;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 0 0 1rem;
}

.ama-filter-module__left,
.ama-filter-module__right {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.ama-filter-module__right {
    margin-left: auto;
}

.ama-filter-module__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 9rem;
}

.ama-filter-module__pair {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.ama-filter-module__field--search {
    min-width: 13rem;
}

.ama-filter-module__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3a4657;
}

.ama-filter-module__control {
    border: 1px solid #c7d3e7;
    border-radius: 0.55rem;
    background: #ffffff;
    color: #1f2a3a;
    font-size: 0.95rem;
    padding: 0.55rem 0.7rem;
    min-height: 2.5rem;
}

.ama-filter-module__control:focus {
    outline: none;
    border-color: var(--ama-primary-color);
    box-shadow: 0 0 0 3px rgba(32, 100, 178, 0.12);
}

.ama-filter-module__reset {
    border: 1px solid #c7d3e7;
    border-radius: 0.55rem;
    background: #ffffff;
    color: #2a3648;
    padding: 0.55rem 0.8rem;
    min-height: 2.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.ama-filter-module__reset:hover {
    border-color: #9eb2d4;
    background: #eef3fb;
}

@media (max-width: 991px) {
    .ama-filter-module__right {
        width: 100%;
        margin-left: 0;
    }

    .ama-filter-module__field--search {
        width: 100%;
        min-width: 100%;
    }
    .ama-filter-module__pair {
        width: 100%;
        flex-direction: column;
    }
}
