/**
 * SAMIL Service Form - moduł dla PrestaShop
 * @copyright 2026 SAMIL Marek Ryguła. Wszelkie prawa zastrzeżone / All rights reserved.
 * @license   Proprietary - licencja komercyjna / commercial licence. Zob. LICENSE.md.
 * Kopiowanie, rozpowszechnianie i modyfikowanie bez pisemnej zgody autora są zabronione.
 */

.samilserviceform {
  max-width: 760px;
  margin: 2rem auto;
  text-align: left;
}

.samilserviceform-heading {
  margin-bottom: .5rem;
}

.samilserviceform .form-control-label {
  display: block;
  margin-bottom: .25rem;
  font-weight: 600;
}

.samilserviceform-required {
  color: #ff4c4c;
}

.samilserviceform textarea.form-control {
  min-height: 8rem;
  resize: vertical;
}

.samilserviceform .has-error textarea {
  outline: #ff4c4c solid .1875rem;
}

.samilserviceform-error:empty {
  display: none;
}

.samilserviceform-file {
  margin-bottom: .5rem;
}

.samilserviceform-files-pending .samilserviceform-file ~ .samilserviceform-file {
  display: none;
}

.samilserviceform-add {
  margin-bottom: .5rem;
}

.samilserviceform-hint {
  margin-bottom: 0;
}

.samilserviceform-consent-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-weight: normal;
  cursor: pointer;
}

.samilserviceform-consent-label .custom-checkbox {
  flex: 0 0 auto;
  margin-top: .1rem;
}

.samilserviceform-clause {
  line-height: 1.4;
}

.samilserviceform-clause p {
  margin-bottom: .5rem;
}

/* Honeypot: out of sight, still in the DOM for robots. */
.samilserviceform-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
