.fipal-vd {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 16px;
  font-family: inherit;
}

.fipal-vd__card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
  padding: clamp(24px, 5vw, 44px);
}

.fipal-vd__eyebrow {
  margin: 0 0 8px;
  color: #003b71;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.fipal-vd h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.fipal-vd h3 {
  color: #003b71;
}

.fipal-vd__intro,
.fipal-vd__hint {
  color: #475569;
  font-size: 17px;
  margin: 0 0 28px;
}

.fipal-vd__form label,
.fipal-vd__bank-form label {
  display: block;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.fipal-vd__row {
  display: flex;
  gap: 12px;
}

.fipal-vd input,
.fipal-vd select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: #0f172a;
  background: #fff;
  box-sizing: border-box;
}

.fipal-vd__row input {
  flex: 1;
  min-width: 0;
}

.fipal-vd input:focus,
.fipal-vd select:focus {
  outline: 3px solid rgba(0, 59, 113, .18);
  border-color: #003b71;
}

.fipal-vd input[readonly] {
  color: #64748b;
  background: #f8fafc;
}

.fipal-vd button {
  border: 0;
  border-radius: 14px;
  padding: 15px 22px;
  background: #003b71;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.fipal-vd button:hover {
  background: #002d57;
}

.fipal-vd button:disabled {
  opacity: .7;
  cursor: wait;
}

.fipal-vd small {
  display: block;
  color: #64748b;
  margin-top: 10px;
}

.fipal-vd__result {
  margin-top: 24px;
  border-radius: 18px;
  padding: 20px;
}

.fipal-vd__result--loading {
  background: #eff6ff;
  color: #1d4ed8;
}

.fipal-vd__result--error,
.fipal-vd__inline-error {
  background: #fef2f2;
  color: #991b1b;
}

.fipal-vd__inline-error {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.fipal-vd__result--success {
  background: #ecfdf5;
  color: #064e3b;
}

.fipal-vd__table-wrap {
  overflow-x: auto;
  margin: 18px 0 26px;
  border-radius: 14px;
  border: 1px solid rgba(6, 78, 59, .16);
  background: #fff;
}

.fipal-vd__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.fipal-vd__table th,
.fipal-vd__table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(6, 78, 59, .12);
}

.fipal-vd__table th {
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fipal-vd__bank-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(6, 78, 59, .16);
}

.fipal-vd__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fipal-vd__submit-bank {
  margin-top: 20px;
  width: 100%;
}

.fipal-vd__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 640px) {
  .fipal-vd__row,
  .fipal-vd__grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .fipal-vd button {
    width: 100%;
  }
}
