/* - - - - - - - - - - - - - - - - - - - - -
 Title : Custom CSS for Contact Form
 Author : Adapted for EmailMeForm
 - - - - - - - - - - - - - - - - - - - - - - */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

/* -- Logo -- */
#emf-container #emf-logo a {
  background-repeat: no-repeat;
  text-indent: -99999px;
  height: 0px !important;
  display: none !important;
  background-image: none;
}

#emf-container #emf-logo {
  display: none !important;
  height: 0px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* -- Backgrounds -- */

body {
  background-image: none; 
  background-color: #F8FAFC;
  font-family: 'Inter', sans-serif;
}

#emf-container #emf-logo {
  background-image: none;
  background-color: transparent;
}

#emf-container {
  background-color: #FFFFFF;
  border-radius: 16px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  padding: 5px 20px 20px 20px !important;
  max-width: 672px !important;
  margin-top: 10px !important;
}

#emf-container div.emf-div-field input, 
#emf-container div.emf-div-field textarea,
#emf-container div.emf-div-field select {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px;
}

#emf-container #emf-form ul li.highlight-field {
  background-color: #F1F5F9;
  border-radius: 8px;
}

/* -- Typography -- */

#emf-container #emf-form-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #0F172A;
  text-align: left;
  margin-top: 0 !important;
}

#emf-container #emf-form-description {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 14px;
  color: #64748B;
}

#emf-container label.emf-label-desc {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: #0F172A;
}

#emf-container div.emf-div-field input, 
#emf-container div.emf-div-field textarea,
#emf-container div.emf-div-field select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #0F172A;
}

#emf-container li .emf-div-instruction, #emf-container li .emf-div-field label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #64748B;
}

/* -- Borders -- */

#emf-container { 
  border: 1px solid #E2E8F0 !important;
}

/* -- Separator Lines -- */

#emf-container .emf-head-widget, #emf-container li .emf-section-separator {
  border-bottom: 1px solid #E2E8F0;
  margin: 24px 0;
}

#emf-container .emf-head-widget:first-child, 
#emf-container li:first-child .emf-section-separator {
  margin-top: 0 !important;
}

/* -- Buttons -- */

#emf-container #submit_form {
  background-color: #F59E0B !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 32px !important;
  border-radius: 9999px !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#emf-container #submit_form:hover {
  background-color: #D97706 !important;
}

/* -- CAPTCHA -- */

#emf-container li#emf-li-captcha #emf-captcha-top-settings {
  background-color: #F8FAFC;
  color: #0F172A;
  border: 1px solid #E2E8F0;
}

/* -- Error message -- */

#emf-container .emf-error-message {
  background-color: #FEF2F2;
  color: #DC2626;
  margin: 10px;
  padding: 12px;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  font-size: 14px;
}
