/* ============================================================
   VISA ABORDO CONSULTING — TRANSFERENCIA BANCARIA
   Page-specific styles. Load after agendar-cita.css.
   ============================================================ */

/* ── MAIN LAYOUT ─────────────────────────────────────────────── */

.tb-main {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--bg-page);
}

.tb-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) 300px;
  gap: var(--space-8);
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}

/* ── INSTRUCTIONS COLUMN ─────────────────────────────────────── */

.tb-instructions {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.tb-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

/* Numbered steps */
.tb-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tb-steps-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.tb-step-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--color-primary-900);
  font-size: 11px;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── BANK CARDS ──────────────────────────────────────────────── */

.tb-banks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tb-bank {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-5) var(--space-6);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: center;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.tb-bank:hover {
  box-shadow: 0 4px 20px rgba(33, 79, 134, 0.08);
  border-color: rgba(33, 79, 134, 0.2);
}

/* Bank logo badge */
.tb-bank__logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-bank__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card content */
.tb-bank__info {
  min-width: 0;
}

.tb-bank__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.tb-bank__type {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.tb-bank__num-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.tb-bank__num {
  font-family: 'Courier New', 'Lucida Console', monospace;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  letter-spacing: 0.06em;
}

.tb-copy-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.tb-copy-btn:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.tb-copy-btn.copied {
  border-color: var(--brand-accent);
  background: rgba(90, 211, 209, 0.1);
  color: var(--brand-accent);
}

.tb-bank__holder {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ── WHATSAPP CTA ────────────────────────────────────────────── */

.tb-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
}

.tb-whatsapp-btn:hover {
  background: #1fb957;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.38);
  transform: translateY(-1px);
}

.tb-whatsapp-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── SENT CONFIRMATION ───────────────────────────────────────── */

.tb-sent-confirm {
  display: none;
  align-items: flex-start;
  gap: var(--space-4);
  background: #EFF6FF;
  border: 1.5px solid rgba(33, 79, 134, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-5) var(--space-6);
}

.tb-sent-confirm.is-visible {
  display: flex;
  animation: tb-confirm-in 0.25s ease forwards;
}

@keyframes tb-confirm-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tb-sent-confirm__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.tb-sent-confirm__icon svg { width: 17px; height: 17px; }

.tb-sent-confirm__body { min-width: 0; flex: 1; }

.tb-sent-confirm__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  margin: 0 0 var(--space-1);
}

.tb-sent-confirm__desc {
  font-size: var(--text-sm);
  color: #1e3a5f;
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

.tb-sent-confirm__home-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-5);
  transition: background 0.15s ease;
}

.tb-sent-confirm__home-btn:hover {
  background: #193d6a;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 900px) {
  .tb-layout {
    grid-template-columns: 1fr;
  }

  .ac-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 480px) {
  .tb-bank {
    grid-template-columns: 1fr;
  }

  .tb-bank__logo {
    display: none;
  }

  .tb-bank {
    padding: var(--space-5);
  }

  .ac-header__title {
    font-size: var(--text-3xl);
  }
}
