/**
 * Estilos do formulário B2B.
 *
 * Por que existe:
 * - Garante uma base visual profissional.
 * - Mantém o formulário responsivo.
 * - Pode ser sobrescrito pelo tema ou Elementor se necessário.
 */

.nslp-form {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.nslp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nslp-field {
  margin-bottom: 16px;
}

.nslp-field label {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.nslp-field input[type="text"],
.nslp-field input[type="tel"],
.nslp-field input[type="email"],
.nslp-field input[type="password"],
.nslp-field input[type="url"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.nslp-field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.nslp-field input:focus {
  border-color: #d8b46a;
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.18);
}

.nslp-lgpd label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.nslp-lgpd input {
  margin-top: 3px;
}

.nslp-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.nslp-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b46a, #f1d38b);
  color: #201507;
  font-size: 16px;
  font-weight: 700;
  text-transform: lowercase;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nslp-submit:hover {
  transform: translateY(-1px);
}

.nslp-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.nslp-message {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 14px;
  text-align: center;
}

.nslp-message[data-type="success"] {
  color: #7ee787;
}

.nslp-message[data-type="error"] {
  color: #ff8a8a;
}

.nslp-secure-text {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .nslp-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nslp-form {
    max-width: 100%;
  }
}