$bankLogos: saman, refah, dey, hekmat, iranEurope, iranVenezuela, keshavarzi, melall, sanatMadan, toseeTaavon, mellat,
  eghtesadNovin, futurebank, khavarMianeh, melli, parsian, pasargad, kosar, sepah, gardeshgari, iranZamin, ayandeh,
  caspian, zarinCard, karafarin, postbank, sina, ansar, shahr, tejarat, sarmayeh, standardChartered, taavonEslami, tosee,
  saderat, ghavamin, maskan, mehrEghtesad, mehrIran, resalat, noor, bankMarkazi, toseeSaderat;

@each $bankLogo in $bankLogos {
  .#{$bankLogo}-card {
    &::after {
      @apply bg-bank-#{$bankLogo};
    }
  }
}

.zpl-bank-cards {
  @apply bg-surface border border-[#EEEEF1] dark:border-[#2E2E2E];
  @apply rounded-md relative overflow-hidden w-full;
  @apply dark:bg-surface-dark;
  &.background {
    &::after {
      content: "";
      @apply absolute w-full h-[24px] top-0 z-0 left-0 right-0;
    }
  }
}
.zpl-bank-cards-container {
  @apply p-md bg-surface relative z-10 rounded-sm;
  @apply dark:bg-surface-dark;

  &.background {
    @apply m-2xs pt-lg px-sm pb-sm;
  }
}
.zpl-bank-cards-top {
  @apply sm:gap-x-sm flex-col flex sm:flex-row items-start gap-sm;
}
.zpl-bank-cards-bottom {
  @apply mt-xl;
}
.zpl-bank-cards-body {
  @apply pt-lg px-md pb-md;
}
.zpl-bank-cards-username {
  @apply flex items-center text-text-soft text-b3;
  @apply dark:text-text-dark-soft;
}
.zpl-bank-cards-row {
  @apply flex items-center justify-between;
  &:not(:last-child) {
    @apply mb-md;
  }
}
.zpl-bank-cards-title {
  @apply text-b3 text-text-soft;
  @apply dark:text-text-dark-soft;
}
.zpl-bank-cards-text {
  @apply flex items-center gap-2xs font-IRANYekanFaNum text-b2 text-text;
  @apply dark:text-text-dark;
}

.zpl-bank-cards-currency {
  @apply text-b2;
}
.zpl-bank-cards-iban {
  @apply relative z-10 text-b2 mb-2xs text-text font-Mono;
  @apply dark:text-text-dark;
}
