/* ═══════════════════════════════════════════════════════════════════════
   AK Forms — Plugin CSS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Status banners ──────────────────────────────────────────────────── */
.ef-success {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 13px;
  border-radius: 4px;
  line-height: 1.5;
}

.ef-error {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13px;
  border-radius: 4px;
  line-height: 1.5;
}

/* ── Submit button ───────────────────────────────────────────────────── */
.ef-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ── Newsletter form layout ──────────────────────────────────────────── */

/* Form: flex column — every child is its own full-width row */
.ef-form--newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Shared field wrapper */
.ef-form--newsletter .ef-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

/* Label */
.ef-form--newsletter .ef-label {
  font-size: 12px;
  font-weight: 500;
  color: #000035;
}

/* Input */
.ef-form--newsletter .ef-input {
  width: 100%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: #374151;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.ef-form--newsletter .ef-input:focus {
  border-color: #F8951D;
}
.ef-form--newsletter .ef-input.ef-field-error {
  border-color: #f87171;
}

/* Row 1: First name | Last name — two equal columns */
.ef-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Row 3: Preferences — all three checkboxes on one horizontal line */
.ef-prefs-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}

.ef-pref {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #000035;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.ef-pref input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #F8951D !important;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
   border: 1px solid red;
}

/* Row 4: Consent */
.ef-consent{
  margin-block: 10px !important;
}

.ef-consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #F8951D;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

/* Row 5: reCAPTCHA notice */
.ef-recaptcha {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
  line-height: 1.5;
}

/* Links inside form */
.ef-link {
  color: #F8951D;
  text-decoration: underline;
}
.ef-link:hover {
  color: #DF1A25;
}

/* Mobile: stack name columns */
@media (max-width: 540px) {
  .ef-row--2col {
    grid-template-columns: 1fr;
  }
  .ef-prefs-row {
    flex-wrap: wrap;
    gap: 12px;
  }
}
