/* ============================================
   MODERN BANK ACCOUNTS PAGE – banka.css
   Tennis Green / Orange Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* === PAGE BASE === */
#main, .container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

.page-content {
  background: #FAF8F5 !important;
  padding-bottom: 60px;
}

/* === BREADCRUMB === */
.page-top.page-header-6 {
  background: #FAF8F5 !important;
  padding: 14px 0 !important;
  margin-top: 0 !important;
  border-bottom: 1px solid #E0E0E0;
}

.solok {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  color: #757575 !important;
  font-weight: 500 !important;
  margin-left: 5px;
}

.solok a {
  color: #2E7D32 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.solok a:hover {
  color: #1B5E20 !important;
  text-decoration: underline !important;
}

/* === BANK HERO HEADER === */
.banka-hero {
  text-align: center;
  padding: 48px 20px 36px;
}

.banka-hero__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.banka-hero__icon svg {
  width: 40px;
  height: 40px;
}

.banka-hero__icon svg path {
  fill: #2E7D32;
}

.banka-hero h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #212121;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.banka-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #757575;
  margin: 0;
  line-height: 1.5;
}

/* === BANK CARDS GRID === */
.banka-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BANK CARD === */
.banka-card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: bankaFadeIn 0.5s ease both;
}

.banka-card:nth-child(1) { animation-delay: 0.05s; }
.banka-card:nth-child(2) { animation-delay: 0.10s; }
.banka-card:nth-child(3) { animation-delay: 0.15s; }
.banka-card:nth-child(4) { animation-delay: 0.20s; }

.banka-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(46, 125, 50, 0.1);
  border-color: #66BB6A;
}

.banka-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2E7D32, #66BB6A);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banka-card:hover::before {
  opacity: 1;
}

/* Bank Logo */
.banka-card__logo {
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.banka-card__logo img {
  max-height: 100%;
  max-width: 150px;
  object-fit: contain;
}

/* Bank Info List */
.banka-info {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banka-info li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banka-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9E9E9E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banka-info__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212121;
}

/* IBAN Section */
.banka-iban {
  background: #F5F5F5;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.banka-iban__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banka-iban__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.banka-iban__value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B5E20;
  word-break: break-all;
}

.banka-copy-btn {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2E7D32;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.banka-copy-btn:hover {
  background: #2E7D32;
  color: #ffffff;
  border-color: #2E7D32;
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #212121;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.copy-toast i {
  color: #43A047;
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Empty state */
.banka-empty {
  text-align: center;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px dashed #BDBDBD;
  color: #757575;
  font-weight: 500;
  grid-column: 1 / -1;
}

/* === ANIMATIONS === */
@keyframes bankaFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .banka-hero {
    padding: 32px 20px 24px;
  }
  
  .banka-hero h2 {
    font-size: 1.5rem;
  }
  
  .banka-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
