/* One-page submission form (templates/frontend/pages/submissions.tpl) */
.sf { background: #f1f1f1; padding: 28px 32px 24px; border-radius: 6px; margin: 0 0 36px; }
.sf-title { margin: 0 0 4px; font-size: 26px; }
.sf-section { margin: 28px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #00a65a; font-size: 17px; font-weight: 700; color: #333; }
.sf-section:first-of-type { margin-top: 16px; }

.sf-row { display: grid; grid-template-columns: 32% 1fr; gap: 0 28px; align-items: start; margin-bottom: 14px; }
.sf-row > label { margin: 0; padding-top: 11px; font-family: Georgia, "Noto Serif", serif; font-weight: 400; font-size: 15px; line-height: 1.35; color: #222; }
.sf-row input, .sf-row textarea { display: block; width: 100%; box-sizing: border-box; padding: 11px 13px; font-size: 15px; background: #fff; border: 1px solid #d0d0d0; border-radius: 4px; box-shadow: none; }
.sf-row input:focus, .sf-row textarea:focus { outline: 0; border-color: #00a65a; box-shadow: 0 0 0 3px rgba(0, 166, 90, .15); }
.sf-row textarea { min-height: 220px; resize: vertical; }
.sf-row input[type=file] { padding: 22px 13px; border: 2px dashed #9bd6b8; background: #fafffc; cursor: pointer; }

.sf-group { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px 20px 6px; margin-bottom: 16px; }
.sf-group .sf-row input { background: #f8f8f8; }

.sf-action { text-align: right; margin: 22px 0 0; }
.sf-button { background: #00a65a; color: #fff; border: 0; padding: 12px 40px; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; }
.sf-button:hover { background: #008d4c; }
.sf-button:disabled { opacity: .6; cursor: wait; }
.sf-msg { margin: 14px 0 0; text-align: right; }
.sf-msg:empty { display: none; }
.sf-err { color: #a94442; font-weight: 600; }
.sf-ok { color: #00a65a; font-weight: 600; }

@media (max-width: 700px) {
  .sf { padding: 18px 16px; }
  .sf-row { grid-template-columns: 1fr; }
  .sf-row > label { padding-top: 0; margin-bottom: 5px; }
}
