/* Ecaterina Community – compact responsive forms */
.ec-form-wrap{
  width:100%;max-width:900px;margin:0 auto;padding:20px 22px;
  border:1px solid rgba(24,49,43,.10);border-radius:14px;background:#fff;
  box-shadow:0 8px 28px rgba(24,49,43,.055);box-sizing:border-box
}
.ec-form-head{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid rgba(24,49,43,.07)}
.ec-form-head h3{margin:0 0 4px!important;font-size:1.18rem;line-height:1.2}
.ec-form-head p{margin:0!important;font-size:.88rem;line-height:1.45;opacity:.72}
.ec-form{margin:0}
.ec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.ec-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0!important}
.ec-full{grid-column:1/-1}
.ec-field>span,.ec-field legend{font-size:.84rem;line-height:1.25;font-weight:650;margin:0 0 1px}
.ec-field input:not([type="checkbox"]):not([type="radio"]),
.ec-field select,.ec-field textarea{
  width:100%!important;max-width:100%;box-sizing:border-box!important;
  border:1px solid rgba(24,49,43,.16)!important;border-radius:7px!important;
  background:#fff!important;box-shadow:none!important;font-size:.92rem!important;
  line-height:1.35!important;transition:border-color .18s ease,box-shadow .18s ease
}
.ec-field input:not([type="checkbox"]):not([type="radio"]),.ec-field select{
  height:42px!important;min-height:42px!important;padding:8px 11px!important
}
.ec-field textarea{min-height:88px!important;padding:9px 11px!important;resize:vertical}
.ec-field input:focus,.ec-field select:focus,.ec-field textarea:focus{
  outline:none!important;border-color:rgba(86,112,96,.62)!important;
  box-shadow:0 0 0 3px rgba(86,112,96,.08)!important
}
.ec-field fieldset,.ec-field.ec-full{min-width:0}
.ec-field legend{padding:0}
.ec-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin-top:4px}
.ec-checks label,.ec-consent{display:flex!important;align-items:flex-start!important;gap:7px!important;line-height:1.35;margin:0!important}
.ec-checks label{font-size:.84rem;font-weight:400;min-width:0}
.ec-checks label span,.ec-consent span{display:block;min-width:0}
.ec-checks input[type="checkbox"],.ec-consent input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;
  flex:0 0 16px!important;width:16px!important;height:16px!important;min-width:16px!important;
  min-height:16px!important;max-width:16px!important;margin:1px 0 0!important;padding:0!important;
  border:initial!important;border-radius:3px!important;box-shadow:none!important
}
.ec-consent{margin:12px 0 11px!important;font-size:.80rem;opacity:.88}
.ec-grid>.ec-consent.ec-full{grid-column:1/-1;margin:2px 0 0!important}
.ec-submit{
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:0;
  border-radius:7px;padding:9px 16px;font-size:.88rem;line-height:1.2;font-weight:700;
  cursor:pointer;box-shadow:none;transition:transform .15s ease,opacity .15s ease
}
.ec-submit:hover{transform:translateY(-1px)}
.ec-hp{position:absolute!important;left:-99999px!important;width:1px;height:1px;overflow:hidden}
.ec-notice{max-width:900px;margin:0 auto 12px;padding:11px 14px;border-radius:8px;font-size:.88rem}
.ec-success{background:#eef8f0}.ec-error{background:#fff0f0}
.ec-impact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ec-impact>div{padding:16px;border-radius:12px;border:1px solid rgba(0,0,0,.08);text-align:center}
.ec-impact strong{display:block;font-size:1.7rem;line-height:1.05}.ec-impact span{display:block;margin-top:6px;opacity:.75;font-size:.86rem}

@media (min-width:1100px){
  .ec-form-wrap{padding:22px 24px}
}
@media (max-width:760px){
  .ec-form-wrap{padding:17px 16px;border-radius:12px}
  .ec-grid{grid-template-columns:1fr;gap:11px}
  .ec-full{grid-column:auto}
  .ec-grid>.ec-consent.ec-full{grid-column:auto}
  .ec-checks{grid-template-columns:1fr;gap:6px}
  .ec-impact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ec-form-head{margin-bottom:12px;padding-bottom:10px}
  .ec-form-head h3{font-size:1.1rem}
  .ec-form-head p{font-size:.84rem}
  .ec-field input:not([type="checkbox"]):not([type="radio"]),.ec-field select{height:44px!important;min-height:44px!important}
  .ec-field textarea{min-height:84px!important}
}
@media (max-width:480px){
  .ec-form-wrap{padding:15px 14px}
  .ec-impact{grid-template-columns:1fr}
  .ec-submit{width:100%;min-height:42px}
  .ec-consent{font-size:.78rem}
}
