/* Luxthemes Forms: front end. Colours: --lxf-accent, --lxf-radius. */
.luxthemes-form {
  --lxf-accent: #1d2327;
  --lxf-radius: 8px;
  --lxf-border: #dcdcde;
  max-width: 640px;
  margin: 24px auto;
  font: inherit;
  color: inherit;
}
.luxthemes-form *, .luxthemes-form *::before, .luxthemes-form *::after { box-sizing: border-box; }
.luxthemes-form-title { margin: 0 0 6px; }
.luxthemes-form-description { margin: 0 0 20px; opacity: .8; }

.luxthemes-form-field { margin-bottom: 18px; }
.luxthemes-form-field > label, .luxthemes-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
.luxthemes-form-field .required { color: #b32d2e; }
.luxthemes-form-field input[type="text"],
.luxthemes-form-field input[type="email"],
.luxthemes-form-field input[type="url"],
.luxthemes-form-field input[type="tel"],
.luxthemes-form-field input[type="number"],
.luxthemes-form-field input[type="datetime-local"],
.luxthemes-form-field input[type="file"],
.luxthemes-form-field textarea,
.luxthemes-form-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--lxf-border);
  border-radius: var(--lxf-radius);
  background: #fff;
  color: #1d2327;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.luxthemes-form-field input[type="file"] { padding: 9px 12px; }
.luxthemes-form-field textarea { min-height: 120px; resize: vertical; }
.luxthemes-form-field input[type="range"] { width: 100%; accent-color: var(--lxf-accent); }
.luxthemes-form-field :is(input, textarea, select):focus {
  outline: none;
  border-color: var(--lxf-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lxf-accent) 18%, transparent);
}
.luxthemes-form .luxthemes-has-error :is(input, textarea, select) { border-color: #b32d2e; }
.luxthemes-form .luxthemes-has-error :is(input, textarea, select):focus { box-shadow: 0 0 0 3px rgba(179, 45, 46, .18); }
.luxthemes-help { display: block; margin-top: 6px; font-size: 13px; opacity: .7; }

.luxthemes-form-field > .luxthemes-inline-option, .luxthemes-inline-option { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 15px; font-weight: 400; cursor: pointer; }
.luxthemes-inline-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--lxf-accent); }

/* Rating: stars, highest first in the markup so :checked ~ fills the lower ones. */
.luxthemes-rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.luxthemes-rating-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.luxthemes-rating-stars label { font-size: 28px; line-height: 1; color: #c3c4c7; cursor: pointer; }
.luxthemes-rating-stars input:checked ~ label,
.luxthemes-rating-stars label:hover, .luxthemes-rating-stars label:hover ~ label { color: #f0b400; }
.luxthemes-rating-stars input:focus-visible + label { outline: 2px solid var(--lxf-accent); outline-offset: 2px; border-radius: 4px; }

.luxthemes-layout-row { display: grid; gap: 0 16px; grid-template-columns: repeat(var(--lxf-cols, 2), minmax(0, 1fr)); }
.luxthemes-layout-row.columns-1 { --lxf-cols: 1; }
.luxthemes-layout-row.columns-3 { --lxf-cols: 3; }
.luxthemes-layout-row.columns-4 { --lxf-cols: 4; }
@media (max-width: 600px) { .luxthemes-layout-row { grid-template-columns: 1fr; } }

.luxthemes-divider { border: 0; border-top: 1px solid var(--lxf-border); margin: 24px 0; }

.luxthemes-step-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.luxthemes-submit-button, .luxthemes-next-step, .luxthemes-prev-step {
  min-height: 46px;
  padding: 10px 24px;
  border-radius: var(--lxf-radius);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s ease;
}
.luxthemes-submit-button, .luxthemes-next-step { border: 1px solid var(--lxf-accent); background: var(--lxf-accent); color: #fff; }
.luxthemes-prev-step { border: 1px solid var(--lxf-border); background: #fff; color: #1d2327; }
.luxthemes-submit-button:hover, .luxthemes-next-step:hover { filter: brightness(1.2); }
.luxthemes-submit-button:focus-visible, .luxthemes-next-step:focus-visible, .luxthemes-prev-step:focus-visible { outline: 2px solid var(--lxf-accent); outline-offset: 2px; }
.luxthemes-submit-button.is-sending { opacity: .6; cursor: progress; }
[hidden] { display: none !important; }

.luxthemes-form-success, .luxthemes-form-error {
  max-width: 640px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: var(--lxf-radius, 8px);
  font-size: 15px;
}
.luxthemes-form-success { background: #edfaef; border: 1px solid #b8e6bf; color: #1e4620; }
.luxthemes-form-error { background: #fcf0f1; border: 1px solid #f1adad; color: #8a1f1f; }
.luxthemes-form-error ul { margin: 0; padding-left: 18px; }
.luxthemes-form-notice { padding: 10px 14px; border: 1px dashed #c3c4c7; border-radius: var(--lxf-radius, 8px); font-size: 13px; opacity: .8; }

/* Spam trap: hidden from people, visible to bots. */
.luxthemes-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.luxthemes-form .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
