.bank-accounts{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
}

.bank-card{
  border-radius:16px;
  padding:18px;
  background:#ffffff;
  border:1px solid #e9edf3;
  box-shadow:0 10px 24px rgba(16,24,40,.08);
}

.bank-card__top{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid #eef2f7;
  margin-bottom:14px;
}

.bank-logo{
  width:100%;
  height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
  padding: 3px 10px;
  text-align: center;
}

.bank-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.bank-meta{
  /*display:flex;*/
  display: none;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.bank-name{
  font-size:15px;
  font-weight:700;
  letter-spacing:.2px;
  color:#0f172a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.bank-branch{
  display:inline-flex;
  gap:8px;
  align-items:baseline;
  font-size:13px;
  color:#475569;
}

.bank-branch b{
  color:#0f172a;
  font-weight:700;
}

.bank-card__body{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.bank-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.bank-row__label{
  font-size:12px;
  letter-spacing:.2px;
  color:#64748b;
}

.bank-row__value{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.bank-text{
  font-size:14px;
  line-height:1.4;
  color:#0f172a;
  word-break:break-word;
  min-width:0;
}

.bank-mono{
  letter-spacing:.25px;
  color:#0b1220;
}

.copy-btn{
  position:relative;
  flex:0 0 auto;
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  outline:none;
  -webkit-tap-highlight-color: transparent;
}

.copy-btn svg{
  width:18px;
  height:18px;
  fill:#0f172a;
  opacity:.9;
  display:block;
}

.copy-btn:hover{
  background:#eef2f7;
  border-color:#dbe2ec;
}

.copy-btn:focus-visible{
  border-color:#cbd5e1;
  box-shadow:0 0 0 3px rgba(148,163,184,.30);
}

.tooltip{
  position:absolute;
  left:50%;
  top:-10px;
  transform:translate(-50%, -100%);
  font-size:12px;
  line-height:1;
  padding:8px 10px;
  border-radius:10px;
  background:#0f172a;
  color:#ffffff;
  box-shadow:0 10px 18px rgba(16,24,40,.18);
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition: opacity .16s ease, transform .16s ease;
}

.tooltip::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-6px;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-top:6px solid #0f172a;
}

.copy-btn:hover .tooltip{
  opacity:1;
  transform:translate(-50%, -112%);
}

.copy-btn.is-copied .tooltip{
  opacity:1;
  transform:translate(-50%, -112%);
}

@media (max-width: 768px){
  .bank-accounts{
    grid-template-columns:1fr;
    justify-items:center;
  }
  .bank-card{
    width:min(560px, 100%);
  }
}

@media (prefers-reduced-motion: reduce){
  .copy-btn,
  .tooltip{
    transition:none;
  }
}
