/* Style formularzy Sławogród (dokładnie wg wzoru graficznego) */
.slaw-form-wrap {
  position: relative;
  width: 100%;
}

.slaw-form-heading {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  color: #4a4a4a;
  letter-spacing: 1.5px;
  font-size: 1.85rem;
  margin-bottom: 1.75rem;
}

.slaw-form {
  display: block;
}

.slaw-fields {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}

.slaw-field {
  padding-left: 6px;
  padding-right: 6px;
  width: 100%;
  margin-bottom: 0.85rem !important;
}

.slaw-field--half {
  width: 50%;
}

@media (max-width: 575.98px) {
  .slaw-field--half {
    width: 100%;
  }
}

.slaw-form .form-control {
  border-radius: 6px !important;
  background: #ffffff !important;
  border: 1.5px solid #ded7ce !important;
  border-left: 3px solid #950200 !important;
  color: #2b2b2b !important;
  font-size: 0.98rem;
  padding: 11px 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  transition: all .2s ease;
}

.slaw-form .form-control:focus {
  background: #ffffff !important;
  border-color: #950200 !important;
  border-left-width: 4px !important;
  color: #111 !important;
  box-shadow: 0 0 0 3.5px rgba(149, 2, 0, 0.12) !important;
  outline: none !important;
}

.slaw-form .form-control::placeholder {
  color: #888078 !important;
  opacity: 1;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.93rem;
}

.slaw-form textarea.form-control {
  resize: vertical !important;
  min-height: 100px;
  height: 100px;
}

.slaw-form .form-control.is-invalid {
  border-bottom-color: #dc3545 !important;
  background: #fee !important;
}

.slaw-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  font-weight: 600;
}

.slaw-consent {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.slaw-consent .form-check-input {
  border-radius: 2px;
  border: 1.5px solid #999;
  margin-top: 0.25rem;
  cursor: pointer;
}

.slaw-consent .form-check-input:checked {
  background-color: #950200;
  border-color: #950200;
}

.slaw-consent .form-check-label {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
  padding-left: 4px;
}

.slaw-alert {
  padding: 12px 16px;
  border-radius: 0;
  margin-bottom: 16px;
  font-size: 14px;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  border-left: 4px solid #dc3545;
  color: #842029;
}

.slaw-submit {
  border-radius: 6px !important;
  border: none !important;
  background: #950200 !important;
  color: #ffffff !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.5px;
  padding: 13px 38px;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(149, 2, 0, 0.35);
}

.slaw-submit:hover,
.slaw-submit:focus {
  background: #750100 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(149, 2, 0, 0.45);
}

.slaw-submit:disabled,
.slaw-form.is-loading .slaw-submit {
  opacity: 0.65;
  cursor: not-allowed;
}

.slaw-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: slaw-spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes slaw-spin {
  to { transform: rotate(360deg); }
}

/* Stan sukcesu z animowanym ptaszkiem */
.slaw-success {
  text-align: center;
  padding: 40px 24px;
  background: #ebebeb;
  border-bottom: 4px solid #950200;
  margin-top: 10px;
}

.slaw-success-title {
  font-family: 'Cinzel', serif;
  font-style: italic;
  color: #950200;
  font-size: 1.75rem;
  margin: 16px 0 10px;
  font-weight: 600;
}

.slaw-success-text {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.slaw-check-anim {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto;
  stroke: #950200;
}

.slaw-check-anim circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke: #950200;
  fill: none;
  animation: slaw-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.slaw-check-anim path {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #950200;
  animation: slaw-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes slaw-stroke {
  100% { stroke-dashoffset: 0; }
}

.slaw-hp {
  display: none !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -1 !important;
}
