.bnws-cumato-form-v2 {
  --bnws-v2-error: #b91c1c;
  --bnws-v2-row-gap: 16px;
  --bnws-v2-col-gap: 16px;
  width: 100%;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-message {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-message.is-error,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-message.is-success {
  display: block;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-message.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-message.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--bnws-v2-col-gap);
  margin-bottom: var(--bnws-v2-row-gap);
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-step[hidden] {
  display: none !important;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-steps-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-nav-item.is-active {
  border-color: #0f766e;
  background: #f0fdfa;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-nav-index {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-col {
  min-width: 0;
}

.bnws-cumato-form-v2 .col-span-1 { grid-column: span 1; }
.bnws-cumato-form-v2 .col-span-2 { grid-column: span 2; }
.bnws-cumato-form-v2 .col-span-3 { grid-column: span 3; }
.bnws-cumato-form-v2 .col-span-4 { grid-column: span 4; }
.bnws-cumato-form-v2 .col-span-5 { grid-column: span 5; }
.bnws-cumato-form-v2 .col-span-6 { grid-column: span 6; }
.bnws-cumato-form-v2 .col-span-7 { grid-column: span 7; }
.bnws-cumato-form-v2 .col-span-8 { grid-column: span 8; }
.bnws-cumato-form-v2 .col-span-9 { grid-column: span 9; }
.bnws-cumato-form-v2 .col-span-10 { grid-column: span 10; }
.bnws-cumato-form-v2 .col-span-11 { grid-column: span 11; }
.bnws-cumato-form-v2 .col-span-12 { grid-column: span 12; }

.bnws-cumato-form-v2 .bnws-cumato-form-v2-field {
  margin-bottom: 12px;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.is-hidden {
  display: none;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.bnws-cumato-form-v2:not(.boows-form) input[type='text'],
.bnws-cumato-form-v2:not(.boows-form) input[type='email'],
.bnws-cumato-form-v2:not(.boows-form) input[type='number'],
.bnws-cumato-form-v2:not(.boows-form) input[type='tel'],
.bnws-cumato-form-v2:not(.boows-form) input[type='date'],
.bnws-cumato-form-v2:not(.boows-form) input[type='time'],
.bnws-cumato-form-v2:not(.boows-form) input[type='datetime-local'],
.bnws-cumato-form-v2:not(.boows-form) textarea,
.bnws-cumato-form-v2:not(.boows-form) select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  box-sizing: border-box;
}

.bnws-cumato-form-v2 .bnws-cumato-signature-canvas {
  width: 100%;
  max-width: 100%;
  height: 220px;
  background: #fff;
  border: 1px dashed #9ca3af;
  border-radius: 6px;
  touch-action: none;
  display: block;
}

.bnws-cumato-form-v2 .bnws-cumato-signature-clear {
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: #f1f5f9;
}

.bnws-cumato-form-v2:not(.boows-form) .bnws-cumato-form-v2-submit {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-help {
  display: block;
  margin-top: 6px;
  color: var(--bnws-v2-muted);
  font-size: 12px;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-error {
  margin-top: 6px;
  min-height: 16px;
  font-size: 12px;
  color: var(--bnws-v2-error);
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error input,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error select,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error textarea,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error .bnws-cumato-signature,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error .boows-container,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error .boows-input-inner-box,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error .boows-select,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-field.has-error .boows-select-button {
  border-color: var(--bnws-v2-error);
}

.bnws-cumato-form-v2 .bnws-cumato-block-heading {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.bnws-cumato-form-v2 .bnws-cumato-block-html {
  font-size: 14px;
  line-height: 1.5;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-actions {
  margin-top: 8px;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-prev,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-next,
.bnws-cumato-form-v2 .bnws-cumato-form-v2-step-submit {
  min-width: 120px;
}

.bnws-cumato-form-v2 .bnws-cumato-form-v2-submit-btn {
  min-width: 140px;
}

.bnws-cumato-form-v2.is-submitting .bnws-cumato-form-v2-submit {
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 782px) {
  .bnws-cumato-form-v2 .bnws-cumato-form-v2-row {
    gap: 12px;
  }

  .bnws-cumato-form-v2 .bnws-cumato-form-v2-col {
    grid-column: span 12 !important;
  }
}
