/* ===== IDX Dark Theme for Elfsight Contact Form ===== */

/* Inputs / Textareas */
.eapps-form .eapps-form__field-input,
.eapps-form input[type="text"],
.eapps-form input[type="email"],
.eapps-form input[type="tel"],
.eapps-form textarea {
  background: rgba(12,16,20,.92) !important;
  border: 1px solid #1f262d !important;
  border-radius: 12px !important;
  color: #eaf6ff !important;
  padding: 14px 16px !important;
  transition: all .25s ease !important;
}

/* Placeholder */
.eapps-form input::placeholder,
.eapps-form textarea::placeholder { color:#6b7682 !important; opacity:1 !important; }

/* Focus glow */
.eapps-form input:focus,
.eapps-form textarea:focus,
.eapps-form .eapps-form__field-input:focus {
  border-color:#00b3d9 !important;
  box-shadow: 0 0 0 3px rgba(0,179,217,.18), 0 8px 24px rgba(0,0,0,.45) !important;
  outline: none !important;
  background: rgba(8,12,16,.98) !important;
}

/* Labels */
.eapps-form .eapps-form__field-label { color:#cdd6df !important; font-size:13px !important; margin-bottom:6px !important; }

/* Submit button */
.eapps-form .eapps-form__submit-button,
.eapps-form button[type="submit"]{
  background:#00b3d9 !important;
  color:#00141a !important;
  border:0 !important;
  border-radius:14px !important;
  padding:14px 22px !important;
  font-weight:800 !important;
  letter-spacing:.2px !important;
  box-shadow:0 10px 26px rgba(0,179,217,.35) !important;
  transition:transform .08s, box-shadow .2s !important;
}
.eapps-form .eapps-form__submit-button:hover { transform:translateY(-1px) !important; box-shadow:0 14px 30px rgba(0,179,217,.45) !important; }

/* Messages */
.eapps-form .eapps-form__error { color:#ff6b6b !important; }
.eapps-form .eapps-form__success {
  border:1px solid #00b3d9 !important;
  background:#041d22 !important;
  color:#a7ebff !important;
  border-radius:10px !important;
  padding:10px 14px !important;
}

/* Autofill fix (Chrome) */
.eapps-form input:-webkit-autofill {
  -webkit-text-fill-color:#eaf6ff !important;
  box-shadow: 0 0 0 1000px rgba(12,16,20,.92) inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

/* Center the title + subtitle */
.eapps-form .eapps-form-header,
.eapps-form .eapps-form__title,
.eapps-form .eapps-form__description {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Optional: give the subtitle a softer gray */
.eapps-form .eapps-form__description {
  color: #9aa2ad !important;
  max-width: 520px !important;
}

