/* =====================================================
   JACF DARK FORM — CLEAN, CONSOLIDATED
===================================================== */

/* Ensure wrapper specificity */
.jacf-wrap .jacf-form,
.jacf-wrap .jacf-form * {
  box-sizing: border-box;
}

.jacf-wrap { margin: 0; padding: 0; }

/* Stronger Honeypot Hiding */
.jacf-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.jacf-field { margin-bottom: 25px; }

.jacf-message-field { margin-bottom: 30px; }

.jacf-form input[type="text"],
.jacf-form input[type="email"],
.jacf-form input[type="tel"],
.jacf-form textarea {
  width: 100%;
  margin: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #000000 !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  padding: 18px 20px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #000000 !important;
  border-radius: 2px !important;
}

.jacf-form input[type="text"]:hover,
.jacf-form input[type="email"]:hover,
.jacf-form input[type="tel"]:hover,
.jacf-form textarea:hover,
.jacf-form input[type="text"]:focus,
.jacf-form input[type="email"]:focus,
.jacf-form input[type="tel"]:focus,
.jacf-form textarea:focus,
.jacf-form input[type="text"]:active,
.jacf-form input[type="email"]:active,
.jacf-form input[type="tel"]:active,
.jacf-form textarea:active {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #000000 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #000000 !important;
}

.jacf-form input:-webkit-autofill,
.jacf-form input:-webkit-autofill:hover,
.jacf-form input:-webkit-autofill:focus,
.jacf-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #000000 !important;
  background-color: #ffffff !important;
}

.jacf-form textarea {
  height: 150px !important;
  max-height: 150px;
  resize: none;
  padding-top: 18px !important;
}

.jacf-form ::placeholder {
  color: #9a9a9a;
  line-height: 1.6;
}

/* Consent */
.jacf-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  color:#ffffff !important;
  line-height:1.4;
  margin:10px 0 35px;
}
.jacf-consent input[type="checkbox"]{
  margin:0;
  margin-top:2px;
  flex-shrink:0;
  cursor:pointer;
  width:18px;
  height:18px;
  position:relative !important;
}
.jacf-consent span{ 
  cursor:pointer; 
  color: #ffffff !important;
}

/* Button */
.jacf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: #007bff; /* Bright Blue */
  background: #007bff;
  border: none;
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-width: 200px;
}
.jacf-btn:hover {
  background-color: #0056b3;
}
.jacf-btn svg {
  margin-right: 8px;
}

/* Status Messages */
.jacf-status {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  border-radius: 8px;
  padding: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: none; /* Hidden by default */
}

/* Active Status State */
.jacf-status.jacf-success,
.jacf-status.jacf-error-msg {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  opacity: 1;
  transform: translateY(0);
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Modern Success Style */
.jacf-status.jacf-success {
  background-color: #d1e7dd;
  border-color: #badbcc;
  color: #0f5132;
}

.jacf-status.jacf-success::before {
  content: "✓";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #198754;
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Modern Error Style */
.jacf-status.jacf-error-msg {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #842029;
}

.jacf-status.jacf-error-msg::before {
  content: "!";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Row Layout for First/Last Name */
.jacf-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.jacf-row .jacf-field {
  flex: 1;
  margin-bottom: 0;
}

/* Responsive: Stack on mobile */
@media (max-width: 600px) {
  .jacf-row {
      flex-direction: column;
      gap: 25px;
  }
}
