
/* ── INLINE ROW FORM ─────────────────────────────────────── */
.contact-wrap {
  width: 100%;
  padding: 0;
  margin: 0;
}

.contact-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

/* Each text field cell */
.cf-cell {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.cf-cell input,
.cf-cell textarea {
  width: 90%;
  height: 52px;
  padding: 0 12px;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.92);
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: #222;
  outline: none;
  vertical-align: top;
  resize: none;
  line-height: 52px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .15s;
}

.cf-cell input::placeholder,
.cf-cell textarea::placeholder {
  color: #888;
  font-size: 13px;
}

.cf-cell input:focus,
.cf-cell textarea:focus {
  background: #fff;
  outline: none;
}

.cf-cell input.invalid,
.cf-cell textarea.invalid {
  background: #fff0f0;
}

/* Message cell wider */
.cf-cell--msg {
  flex: 1.5 1 0;
}

/* ── CAPTCHA CELL ────────────────────────────────────────── */
.cf-captcha-cell {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border-right:1px solid #000;
  padding: 0 8px;
  gap: 6px;
  height: 52px;
  flex-shrink: 0;
}

.cf-captcha-cell img {
  height: 34px;
  width: auto;
  border-radius: 2px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.captcha-refresh {
  font-size: 18px;
  cursor: pointer;
  color: #555;
  background: none;
  border: none;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  user-select: none;
}

.captcha-refresh:hover {
  color: #000;
}

/* ── CAPTCHA INPUT CELL ──────────────────────────────────── */
.cf-captcha-input-cell {
  flex-shrink: 0;
  width: 100px;
}

.cf-captcha-input-cell input {
  width: 100%;
  height: 52px;
  padding: 0 10px;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.92);
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: #222;
  outline: none;
  text-align: center;
  letter-spacing: 2px;
}

.cf-captcha-input-cell input::placeholder {
  letter-spacing: 0;
  color: #888;
  font-size: 12px;
}

.cf-captcha-input-cell input:focus {
  background: #fff;
}

/* ── SEND BUTTON CELL ────────────────────────────────────── */
.cf-btn-cell {
  flex-shrink: 0;
}

.btn-send {
  height: 52px;
  padding: 0 28px;
  background: #4caf22;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .3px;
  white-space: nowrap;
}

.btn-send:hover {
  background: #3d9918;
}

.btn-send.loading {
  opacity: .65;
  cursor: default;
  pointer-events: none;
}

/* ── ERRORS (below row) ──────────────────────────────────── */
.field-errors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 4px 0 0 0;
}

.field-error {
  display: none;
  color: #ff4444;
  font-size: 11px;
  font-family: Arial, sans-serif;
  background: rgba(0,0,0,0.55);
  padding: 2px 7px;
  border-radius: 3px;
}

.captcha-error {
  display: none;
  color: #ff4444;
  font-size: 11px;
  font-family: Arial, sans-serif;
  background: rgba(0,0,0,0.55);
  padding: 2px 7px;
  border-radius: 3px;
}

.response-box {
  margin-top: 8px;
  font-size: 13px;
  font-family: Arial, sans-serif;
}

.vpb_success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 4px solid #2e7d32;
}

.vpb_error {
  background: #ffebee;
  color: #c62828;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 4px solid #e53935;
}

/* ── RESPONSIVE: stack on small screens ─────────────────── */
@media (max-width: 900px) {

.cf-captcha-input-cell input {
  width: 90%;
}
  .contact-row {
    flex-wrap: wrap;
  }

  .cf-cell,
  .cf-cell--msg {
    flex: 1 1 calc(50% - 1px);
    min-width: 0;
  }

  .cf-cell input,
  .cf-cell textarea {
    border-right: 1px solid rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }

  .cf-captcha-cell,
  .cf-captcha-input-cell {
    flex: 1 1 auto;
  }

  .cf-captcha-input-cell {
    width: auto;
  }

  .cf-btn-cell {
    flex: 1 1 100%;
  }

  .btn-send {
    width: 100%;
    padding: 0 20px;
  }
  
  .contact-row
  {
	  background:#fff;
  }
}

@media (max-width: 560px) {
.cf-captcha-input-cell input {
  width: 90%;
}.contact-row
  {
	  background:#fff;
  }
  
  .cf-cell,
  .cf-cell--msg,
  .cf-captcha-cell,
  .cf-captcha-input-cell,
  .cf-btn-cell {
    flex: 1 1 100%;
  }

  .cf-cell input,
  .cf-cell textarea,
  .cf-captcha-input-cell input {
    border-right: none;
    border-bottom: 1px solid #000;
    font-size: 16px;
  }

  .cf-captcha-cell {
    border-right: none;
    border-bottom: 1px solid #000;
    justify-content: center;
    padding: 8px;
    height: auto;
    min-height: 52px;
  }

  .cf-captcha-cell img {
    height: 50px;
  }
}