
.ff-form{max-width:900px}
.ff-grid{display:flex;flex-wrap:wrap;margin:0 -8px}
.ff-field{box-sizing:border-box;padding:0 8px;margin-bottom:18px}
.ff-w-100{width:100%}.ff-w-50{width:50%}.ff-w-33{width:33.333%}
.ff-label{display:block;font-weight:600;margin-bottom:7px}
.ff-form input[type=text],.ff-form input[type=email],.ff-form input[type=tel],.ff-form input[type=number],.ff-form input[type=url],.ff-form input[type=date],.ff-form input[type=file],.ff-form textarea,.ff-form select{
    box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid #cfcfcf;border-radius:6px;background:#fff;font:inherit
}
.ff-form textarea{resize:vertical}
.ff-choices{display:flex;flex-direction:column;gap:8px}
.ff-choice{display:flex;align-items:center;gap:7px}
.ff-choice input,.ff-choices input{width:auto!important}
.ff-required{color:#b32d2e}
.ff-submit{border:0;border-radius:6px;padding:12px 22px;cursor:pointer;font:inherit;font-weight:700;background:#1d2327;color:#fff}
.ff-success,.ff-error{padding:14px 16px;border-radius:6px;margin-bottom:18px}
.ff-success{background:#edfaef;border:1px solid #b8deb9}
.ff-error{background:#fcf0f1;border:1px solid #facfd2}
.ff-description{display:block;margin-top:5px;color:#666}
.ff-heading-field{border-bottom:1px solid #e7e7e7;padding-bottom:8px}
.ff-heading-field h3{margin-bottom:4px}
.ff-heading-field p{margin-top:0;color:#666}
.ff-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:700px){.ff-w-50,.ff-w-33{width:100%}}


/* v1.4.0 Premium frontend form fields */
.ff-form{max-width:960px;width:100%;}
.ff-field{margin-bottom:24px;}
.ff-label{
  display:block;
  margin:0 0 9px;
  color:#18212b;
  font-size:15px;
  line-height:1.35;
  font-weight:750;
  letter-spacing:.01em;
}
.ff-form input[type=text],.ff-form input[type=email],.ff-form input[type=tel],.ff-form input[type=number],.ff-form input[type=url],.ff-form input[type=date],.ff-form input[type=file],.ff-form textarea,.ff-form select{
  width:100%;
  min-height:54px;
  padding:14px 16px;
  border:1.5px solid #b9c1ca;
  border-radius:10px;
  background:#fff;
  color:#17202a;
  font-size:16px;
  line-height:1.4;
  box-shadow:0 1px 2px rgba(15,23,42,.04), inset 0 1px 0 rgba(255,255,255,.8);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  outline:none;
}
.ff-form textarea{min-height:150px;padding-top:15px;}
.ff-form input:hover,.ff-form textarea:hover,.ff-form select:hover{border-color:#8f9aa6;}
.ff-form input:focus,.ff-form textarea:focus,.ff-form select:focus{
  border-color:#168b91;
  box-shadow:0 0 0 4px rgba(22,139,145,.13),0 3px 10px rgba(15,23,42,.06);
  background:#fff;
}
.ff-form input::placeholder,.ff-form textarea::placeholder{color:#8a949e;opacity:1;}
.ff-description{margin-top:7px;color:#66717d;font-size:13px;line-height:1.45;}
.ff-required{color:#c0392b;font-weight:800;}
.ff-submit{
  min-height:50px;padding:13px 24px;border-radius:10px;
  box-shadow:0 5px 14px rgba(15,23,42,.12);
  transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease;
}
.ff-submit:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.16);}
.ff-submit:focus-visible{outline:3px solid rgba(22,139,145,.28);outline-offset:3px;}
.ff-heading-field{margin:8px 8px 24px;padding:0 0 12px;border-bottom:1px solid #dfe4e8;}
.ff-heading-field h3{margin:0 0 5px;color:#17202a;font-size:22px;line-height:1.2;font-weight:800;}
@media(max-width:700px){
  .ff-grid{margin:0;}
  .ff-field{padding:0;margin-bottom:20px;}
  .ff-form input[type=text],.ff-form input[type=email],.ff-form input[type=tel],.ff-form input[type=number],.ff-form input[type=url],.ff-form input[type=date],.ff-form input[type=file],.ff-form textarea,.ff-form select{min-height:52px;font-size:16px;border-radius:9px;}
  .ff-label{font-size:15px;margin-bottom:8px;}
}

/* v1.5.0 responsive premium choices */
.ff-w-66{width:66.666%}.ff-w-25{width:25%}
.ff-form .ff-field{margin-bottom:var(--ff-gap,18px)}
.ff-form input[type=text],.ff-form input[type=email],.ff-form input[type=tel],.ff-form input[type=number],.ff-form input[type=url],.ff-form input[type=date],.ff-form input[type=time],.ff-form input[type=file],.ff-form textarea,.ff-form select{border-radius:var(--ff-radius,12px)}
.ff-divider-field{padding-top:4px;padding-bottom:4px}.ff-divider-field span{display:block;height:1px;background:#e2e8f0}
@media(max-width:700px){
 .ff-w-66,.ff-w-50,.ff-w-33,.ff-w-25{width:100%}
 .ff-form.ff-mobile-cards .ff-field{background:#fff;border:1px solid #e2e8f0;border-radius:calc(var(--ff-radius,12px) + 4px);padding:14px;margin-bottom:12px;box-shadow:0 5px 18px rgba(15,23,42,.05)}
 .ff-form.ff-mobile-cards .ff-heading-field,.ff-form.ff-mobile-cards .ff-html-field,.ff-form.ff-mobile-cards .ff-divider-field{box-shadow:none;border-left:0;border-right:0;border-top:0;border-radius:0;padding-left:0;padding-right:0;background:transparent}
 .ff-form.ff-mobile-clean .ff-field{margin-bottom:var(--ff-gap,18px)}
 .ff-form.ff-mobile-compact .ff-field{margin-bottom:10px}.ff-form.ff-mobile-compact .ff-label{margin-bottom:5px;font-size:14px}.ff-form.ff-mobile-compact input,.ff-form.ff-mobile-compact select{min-height:46px;padding:10px 12px}.ff-form.ff-mobile-compact textarea{min-height:110px}
 .ff-form .ff-submit{width:100%;min-height:54px;border-radius:var(--ff-radius,12px)}
}


/* v1.6.3 premium time picker - consistent on desktop and mobile */
.ff-time-control{
  display:grid;grid-template-columns:minmax(92px,1fr) 18px minmax(92px,1fr) 46px;
  align-items:end;gap:10px;width:100%;max-width:430px;
  padding:12px 14px;border:1.5px solid #b9c1ca;border-radius:var(--ff-radius,12px);
  background:#fff;box-sizing:border-box;box-shadow:0 1px 2px rgba(15,23,42,.04);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.ff-time-control:focus-within{border-color:#168b91;box-shadow:0 0 0 4px rgba(22,139,145,.13),0 3px 10px rgba(15,23,42,.06)}
.ff-time-select-wrap{min-width:0}
.ff-time-mini-label{display:block;margin:0 0 4px 2px;color:#66717d;font-size:11px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.08em}
.ff-form .ff-time-control select{width:100%;min-height:44px;margin:0;padding:8px 34px 8px 12px;border:1px solid #d7dde3!important;border-radius:9px!important;background-color:#f8fafb;color:#101820;font-size:17px;font-weight:800;line-height:1.2;box-shadow:none;cursor:pointer}
.ff-form .ff-time-control select:focus{border-color:#168b91!important;box-shadow:0 0 0 3px rgba(22,139,145,.10)}
.ff-time-colon{align-self:center;padding-top:12px;color:#17202a;font-size:24px;font-weight:900;text-align:center}
.ff-time-clock{align-self:center;display:grid;place-items:center;width:42px;height:42px;margin-top:12px;border-radius:11px;background:#eaf6f6;color:#0f7f84;font-size:22px;font-weight:900}
.ff-time-value{display:none!important}
@media(max-width:700px){
 .ff-time-control{grid-template-columns:minmax(82px,1fr) 12px minmax(82px,1fr) 42px;gap:7px;max-width:none;padding:11px}
 .ff-form .ff-time-control select{min-height:48px;font-size:18px;padding-left:10px}
 .ff-time-clock{width:40px;height:46px}
}
@media(max-width:360px){
 .ff-time-control{grid-template-columns:1fr 10px 1fr;padding:10px}
 .ff-time-clock{display:none}
}
.ff-time-control.ff-time-invalid{border-color:#b32d2e;box-shadow:0 0 0 4px rgba(179,45,46,.10)}
