.bank-details-selection-card {
    border-radius: 1rem;
    padding: 2rem 5rem 4rem 5rem;
    border: 1px solid var(--border-subtle);
    background: var(--background-base);
    color: var(--text-brand);
}

.bank-details-count {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
    color: var(--text-brand);
}

.bank-details-account-holder-section {
    border-radius: 0.5rem;
    margin: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-subtle);
    background-color: var(--background-base);
}

.bank-details-account-holder-section h2 {
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 2rem;
    font-family: 'NuernbergerImage', sans-serif;
}

.bank-details-account-details-highlight {
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 1rem;
    background: var(--surface-subtle);
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: 'NuernbergerText', sans-serif;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.bank-details-account-details-highlight > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: start;
    align-items: start;
    flex-grow: 1;
}

.bank-details-account-details-highlight > div > span {
    font-weight: bold;
}

.text-balance-wrap {
    text-wrap: balance;
}

.bank-details-contracts-list > div {
    border-bottom: 1px solid var(--border-muted);
    font-family: 'NuernbergerImage', sans-serif;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.bank-details-contracts-list > a {
    margin: 0.625rem 0;
    font-size: 1.125rem;
    line-height: 1.625rem;
    font-weight: bold;
    color: var(--text-brand);
    font-family: 'NuernbergerText', sans-serif;

    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

@media (width < 768px) {
    .bank-details-selection-card {
        padding: 1.5rem 2rem 3rem 2rem;
    }
}

@media (width < 579px) {
    .bank-details-selection-card {
        padding: 1rem 0.8rem 2rem 0.8rem
    }

    .bank-details-account-details-highlight .BIC {
        display: none;
    }
}
