.FilterCard {
    /* 22rem was picked because anything thinner would cause one of the filter headings to wrap. */
    min-width: 22rem;

    /* Setting the max to be lower than the min ensures the element will always be the min size, unlike using `width` or `height` alone. */
    max-width: 0;
    margin: 0.5rem 0 0.5rem 0.5rem;
    border-radius: 3px;
    border: 1px solid #ddd;
    box-shadow: 3px 3px #f9f9f9;
    display: flex;
    flex-direction: column;
}

.FilterCard-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    background-color: #f4f4f4;
    height: 2.5rem;
    text-transform: uppercase;
    font-size: 1rem;
    flex-grow: 0;
    align-items: center;
    padding: 0.1rem 0.1rem 0.1rem 15px;
    flex-shrink: 0;
}

.FilterCard-header--dark {
    color: #333;
}

.FilterCard-displayName {
    flex-grow: 1;
}

.FilterCard-body {
    flex-grow: 1;
    min-height: 1vh;
    padding: 1rem 0;
    overflow-y: auto;
}
