/* =========================================================
   SpaceEdge Lead Forms
   Fixes clipped dropdown text (Astra forces select{height:40px}
   while the forms add 13px top/bottom padding) and keeps every
   field consistent on desktop and mobile.
   ========================================================= */
form.lead-form select,
#sehForm select,
form[data-se-lead] select{
  height:auto!important;
  min-height:50px!important;
  line-height:1.4!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  padding-right:44px!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  vertical-align:middle;
  cursor:pointer;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  appearance:none!important;
  background-repeat:no-repeat!important;
  background-position:right 16px center!important;
  background-size:11px 7px!important;
}
/* light forms: navy arrow; dark hero card keeps its white arrow from the theme */
form.lead-form:not(.hero-card) select,#sehForm select,form[data-se-lead] select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23080530' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")!important;
}
form.lead-form.hero-card select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")!important;
}
/* every input gets the same comfortable height so text is never cut */
form.lead-form input:not([type=checkbox]):not([type=radio]):not(.hp),
#sehForm input:not([type=checkbox]):not([type=radio]):not([name=_honey]),
form[data-se-lead] input:not([type=checkbox]):not([type=radio]):not(.hp){
  height:auto!important;min-height:50px!important;line-height:1.4!important;box-sizing:border-box!important;max-width:100%!important;
}
form.lead-form textarea,#sehForm textarea,form[data-se-lead] textarea{box-sizing:border-box!important;max-width:100%!important;min-height:96px}

/* dropdown list (native) readable on every platform */
form.lead-form select option,form.lead-form select optgroup,
#sehForm select option,#sehForm select optgroup,
form[data-se-lead] select option,form[data-se-lead] select optgroup{color:#080530!important;background:#fff!important;font-size:15px}
form.lead-form select optgroup,#sehForm select optgroup,form[data-se-lead] select optgroup{font-weight:700!important;color:#6600ff!important}
/* placeholder look while nothing is chosen */
form.lead-form select.se-lf-empty,#sehForm select.se-lf-empty,form[data-se-lead] select.se-lf-empty{color:#64748b!important}
form.lead-form.hero-card select.se-lf-empty{color:rgba(255,255,255,.75)!important}

/* honeypot always hidden */
form.lead-form .hp,#sehForm [name=_honey],form[data-se-lead] .hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

/* status messages */
.form-msg.se-lf-msg{display:block!important;margin:12px 0 0!important;padding:12px 14px!important;border-radius:12px!important;font:600 14px/1.45 'Inter','Poppins',system-ui,sans-serif!important;text-align:left}
.form-msg.se-lf-ok{background:#ecfdf3!important;color:#05603a!important;border:1px solid #abefc6!important}
.form-msg.se-lf-err{background:#fef3f2!important;color:#b42318!important;border:1px solid #fecdca!important}
form.lead-form button[disabled]{opacity:.7;cursor:wait}

/* ---------- Mobile: 16px text stops iPhone auto-zoom; full-width fields ---------- */
@media (max-width:767px){
  form.lead-form input:not([type=checkbox]):not(.hp),form.lead-form select,form.lead-form textarea,
  #sehForm input:not([type=checkbox]),#sehForm select,#sehForm textarea,
  form[data-se-lead] input:not([type=checkbox]),form[data-se-lead] select,form[data-se-lead] textarea{font-size:16px!important}
  form.lead-form .two{grid-template-columns:1fr!important}
}

/* ---------- Ready-made form from the [spaceedge_form] shortcode ---------- */
.se-lf-card{max-width:640px;margin:0 auto;background:#fff;border:1px solid #e0d6ff;border-radius:20px;padding:32px;box-shadow:0 24px 60px -30px rgba(102,0,255,.35);font-family:'Inter','Poppins',system-ui,sans-serif}
.se-lf-title{margin:0 0 18px!important;font:800 1.5rem/1.25 'Poppins',sans-serif!important;color:#080530!important}
.se-lf-form{display:grid;gap:14px}
.se-lf-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.se-lf-label{display:block;font-size:.85rem;font-weight:600;color:#334155}
.se-lf-form .field{display:block;width:100%;margin-top:6px;padding:12px 16px;border:1px solid #ddd6f5;border-radius:10px;background:#fff;color:#1e293b;font:400 .95rem 'Inter',system-ui,sans-serif;transition:.25s;box-shadow:none}
.se-lf-form .field:focus{border-color:#6600ff;box-shadow:0 0 0 4px rgba(102,0,255,.12);outline:0}
.se-lf-form .consent{display:flex;gap:10px;align-items:flex-start;font-size:.82rem;color:#64748b;line-height:1.5}
.se-lf-form .consent input{margin-top:3px;accent-color:#6600ff;width:16px;height:16px;flex:none}
.se-lf-btn{display:inline-flex;justify-content:center;align-items:center;width:100%;padding:15px 30px;border:0;border-radius:50px;background:linear-gradient(135deg,#6600ff,#8a3dff);color:#fff;font:600 1rem 'Inter',system-ui,sans-serif;cursor:pointer;transition:transform .25s,box-shadow .25s;box-shadow:0 14px 30px -14px rgba(102,0,255,.7)}
.se-lf-btn:hover{transform:translateY(-2px)}
@media (max-width:600px){.se-lf-card{padding:22px}.se-lf-two{grid-template-columns:1fr}}
