.transfers {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    overflow: hidden;
}

.transfers-searchbar {
    width: min(100%, 30rem);
    display: flex;
    height: max-content;
    padding: 1rem;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    flex-shrink: 0;
}

.transfers-searchbar .button {
    border: 2px solid var(--text-color);
}

.transfers-searchbar-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}


.transfers-display {
    width: 100%;
    flex: 1;
    display: flex;
    align-content: start;
    justify-content: start;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    min-width: 0;
    font-family: var(--fredoka);
}

.transfers-display::-webkit-scrollbar {
    display: none;
}

@media (max-width: 700px) {
    .transfers {
        gap: 1rem;
    }

    .transfers-searchbar {
        width: min(100% - 2rem, 31rem);
    }

    .transfers-display {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 500px) {
    .transfers {
        gap: 0.75rem;
    }

    .transfers-searchbar {
        width: calc(100% - 2rem);
    }

    .transfers-searchbar-filters {
        grid-template-columns: 1fr 1fr;
    }

    .transfers-display {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
}

@media (max-width: 350px) {
    .transfers-searchbar-filters {
        grid-template-columns: 1fr;
    }
}