/* Visual reset for company bank accounts. */

.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 2px 2px 12px;
  border-bottom: 2px solid #d2dbe5;
  margin-bottom: 10px;
}

.bank-head-left {
  min-width: 0;
}

.bank-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bank-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #1f2b37;
  background: #fff;
  padding: 1px;
}

.bank-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1b2a3a;
}

.bank-subtitle {
  margin-top: 2px;
  color: #617488;
  font-weight: 700;
  font-size: 0.88rem;
}

.bank-copy-all {
  white-space: nowrap;
}

.bank-list {
  display: grid;
  gap: 7px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 9px;
  border: 2px solid #d6dee7;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bank-row:hover {
  border-color: #5d95e8;
  box-shadow: 0 8px 18px rgba(20, 99, 201, 0.16);
  transform: translateY(-1px);
}

.bank-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 230px;
}

.bank-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.bank-name {
  font-weight: 800;
  color: #213346;
  letter-spacing: 0.03em;
}

.bank-right {
  display: flex;
  align-items: center;
  gap: 11px;
}

.bank-number {
  color: #0f3f8f;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.bank-copy {
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid #8ab2ef;
  background: #eaf2ff;
  color: #0f3f8f;
  display: grid;
  place-items: center;
}

.bank-copy:hover {
  background: #d9e8ff;
}

.bank-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(8px);
  background: #1f2b37;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.bank-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 575.98px) {
  .bank-header {
    flex-direction: column;
    align-items: stretch;
  }

  .bank-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bank-left {
    min-width: auto;
  }

  .bank-right {
    width: 100%;
    justify-content: space-between;
  }
}
