/* ── Open Messages – Frontend Form CSS ─────────────────────── */

.om-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  font-family: inherit;
}

.om-form-title {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.om-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.om-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.om-field label {
  font-size: .9em;
  font-weight: 600;
}

.om-input {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}

.om-input:focus {
  border-color: #2271b1;
  outline: none;
  box-shadow: 0 0 0 2px rgba(34,113,177,.15);
}

textarea.om-input { resize: vertical; }

.om-captcha-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.om-captcha-wrap label { font-size: .9em; font-weight: 600; }
.om-captcha-wrap .om-input { max-width: 120px; }

/* Honeypot döljs med inline-style direkt i HTML – ingen CSS-klass används */

.om-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.om-btn:hover { background: #135e96; }

.om-field--consent { margin-top: 4px; }

.om-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88em;
  line-height: 1.5;
  cursor: pointer;
}

.om-consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #2271b1;
}

.om-consent-label a { color: #2271b1; }

.om-retention-info {
  margin: 6px 0 0 26px;
  font-size: .82em;
  color: #646970;
  line-height: 1.5;
}

.om-notice {
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  border-left: 4px solid;
  font-size: .95em;
}
.om-notice--success { background: #edfaef; border-color: #00a32a; color: #1a7a2a; }
.om-notice--error   { background: #fef1f1; border-color: #d63638; color: #8b1a1a; }
