/* VionaHosting invoice payment panel + gateway CTA + forward page */

.vh-pay-panel {
  display: block;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.vh-pay-panel__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

.vh-pay-panel__select {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
}

.vh-pay-panel__method-name {
  display: block;
  font-weight: 700;
  color: #0f172a;
}

.vh-pay-panel__action {
  margin-top: 14px !important;
  text-align: left !important;
}

.vh-pay-panel--bank {
  max-width: 400px;
}

.vh-pay-panel__bank-hint {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px 12px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.vh-pay-panel__bank-hint > i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.95rem;
}

.vh-pay-panel__bank-hint strong {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
}

.vh-pay-panel__bank-hint span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.vh-pay-panel__bank-jump {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #0f172a;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none !important;
  cursor: pointer;
}

.vh-pay-panel__bank-jump:hover {
  background: #2563eb;
  color: #fff !important;
}

/* ===== Gateway pay CTA (invoice + forward) ===== */
.vh-gateway-cta,
#frmPayment .vh-gateway-cta {
  display: grid !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  padding: 18px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
  text-align: left !important;
}

.vh-gateway-cta__head,
.vh-gateway-cta__amount {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 0 12px !important;
  border-bottom: 1px dashed #e2e8f0 !important;
}

.vh-gateway-cta__label,
.vh-gateway-cta__amount span {
  display: block !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.vh-gateway-cta__value,
.vh-gateway-cta__amount strong {
  display: block !important;
  color: #0f172a !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.vh-gateway-cta__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.vh-gateway-cta__btn span,
.vh-gateway-cta__btn i {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.vh-gateway-cta__btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-1px) !important;
}

.vh-gateway-cta__btn:hover span,
.vh-gateway-cta__btn:hover i {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.vh-gateway-cta__hint {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.vh-gateway-cta__hint i {
  color: #11d377 !important;
}

/* ===== Forward / redirect page ===== */
.vh-forward {
  display: grid;
  place-items: center;
  min-height: 48vh;
  padding: 28px 16px 40px;
}

.vh-forward__card {
  width: min(520px, 100%);
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.vh-forward__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 1.35rem;
}

.vh-forward__title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
}

.vh-forward__msg {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vh-forward__progress {
  height: 8px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
  margin: 0 0 20px;
}

.vh-forward__progress-bar {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #11d377);
  animation: vhForwardSlide 1.2s ease-in-out infinite;
}

@keyframes vhForwardSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.vh-forward__pay {
  width: 100%;
}

.vh-forward__pay .vh-gateway-cta {
  max-width: 100% !important;
  box-shadow: none !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #f8fafc !important;
}

.vh-forward__hint {
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 0.82rem;
}

/* Invoice back CTA */
.vh-doc-footer-link {
  margin-top: 18px !important;
}

.vh-doc-footer-link a,
a.vh-doc-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  background: #fff !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

.vh-doc-footer-link a:hover,
a.vh-doc-back:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
}

@media (max-width: 575.98px) {
  .vh-pay-panel {
    max-width: none;
  }
}

/* ===== Bank transfer (invoice standalone — no mertpin CSS loaded) ===== */
.vh-havale {
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.vh-havale__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.vh-havale__head strong {
  display: block;
  color: #0f172a !important;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.vh-havale__head span {
  display: block;
  margin-top: 4px;
  color: #64748b !important;
  font-size: 0.88rem;
  line-height: 1.45;
}

.vh-havale__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid #f1f5f9;
}

.vh-havale__step:first-of-type {
  border-top: 0;
}

.vh-havale__step-n {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.vh-havale__step-body {
  min-width: 0;
}

.vh-havale__step-title {
  margin: 0 0 12px;
  color: #0f172a !important;
  font-size: 0.95rem;
  font-weight: 800;
}

.vh-havale__ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #0f172a;
}

.vh-havale__ref .vh-havale__mono {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.vh-havale__ref .vh-havale__copy {
  margin-left: auto;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.vh-havale__ref .vh-havale__copy:hover,
.vh-havale__ref .vh-havale__copy.is-copied {
  border-color: #11d377;
  background: #11d377;
  color: #052e16 !important;
}

.vh-havale__meta {
  margin: 10px 0 0;
  color: #64748b !important;
  font-size: 0.84rem;
  line-height: 1.45;
}

.vh-havale__meta strong {
  color: #0f172a !important;
}

.vh-havale__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.vh-havale__card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.vh-havale__card-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vh-havale__badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  flex-shrink: 0;
}

.vh-havale__badge i {
  margin: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
}

.vh-havale__titles strong {
  display: block;
  color: #0f172a !important;
  font-size: 0.98rem;
  line-height: 1.3;
}

.vh-havale__branch {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.78rem;
  color: #64748b !important;
}

.vh-havale__row {
  display: grid;
  gap: 6px;
}

.vh-havale__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b !important;
}

.vh-havale__value {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}

.vh-havale__mono,
.vh-havale code,
.vh-havale__value code {
  flex: 1 1 180px;
  min-width: 0;
  display: block;
  padding: 11px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #dbeafe !important;
  background: #fff !important;
  color: #0f172a !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  word-break: break-word;
  line-height: 1.35;
}

.vh-havale__mono--iban {
  letter-spacing: 0.04em !important;
  word-break: break-all;
}

/* Must come AFTER base .vh-havale__mono or ref code stays invisible (dark on dark) */
.vh-havale__ref .vh-havale__mono,
.vh-havale__mono--ref {
  flex: 1 1 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  word-break: break-all;
}

.vh-havale--closed[hidden],
.vh-havale[hidden] {
  display: none !important;
}

.vh-havale__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155 !important;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.vh-havale__copy:hover {
  border-color: #2563eb;
  color: #2563eb !important;
  background: #eff6ff;
}

.vh-havale__copy.is-copied {
  border-color: #11d377;
  background: #ecfdf5;
  color: #047857 !important;
}

.vh-havale__notify {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.vh-havale__notify-label {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569 !important;
}

.vh-havale__notify-label em {
  font-style: normal;
  font-weight: 500;
  color: #94a3b8;
}

.vh-havale__input,
.vh-havale select.vh-havale__input,
.vh-havale input.vh-havale__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 0.92rem;
  box-shadow: none !important;
}

.vh-havale__input:focus {
  border-color: #2563eb !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.vh-havale__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
}

.vh-havale__submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.vh-havale__submit:disabled {
  opacity: 0.7;
  cursor: default;
  box-shadow: none;
  background: #94a3b8;
}

.vh-havale__flash {
  margin: 0 20px 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.vh-havale__flash--ok {
  background: #ecfdf5;
  color: #065f46 !important;
  border: 1px solid #a7f3d0;
}

.vh-havale__flash--err {
  background: #fef2f2;
  color: #991b1b !important;
  border: 1px solid #fecaca;
}

@media (max-width: 575.98px) {
  .vh-havale__step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vh-havale__step-n {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .vh-havale__value {
    flex-direction: column;
  }

  .vh-havale__copy {
    width: 100%;
  }
}
