/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #173a43;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.78), transparent 20%),
    linear-gradient(180deg, #f8ffff 0%, #eefbfe 28%, #e3f6fa 60%, #d9f0f5 100%);
  overflow-x: hidden;
}

/* PAGE */
.form-page {
  min-height: 100vh;
  padding-bottom: 40px;
  overflow-x: hidden;
}

/* GÓRA FORMULARZA — ŁUK + LOGO */
.form-hero {
  max-width: 980px;
  margin: 0 auto 22px auto;
  padding: 0 20px;
}

.form-hero-top {
  position: relative;
  height: 250px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

/* jasny łuk */
.form-hero-curve {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1380px;
  height: 225px;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 120%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 30%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #7fe7ee 0%, #9eeef3 35%, #c9f5f8 70%, #eefcfe 100%);
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
  box-shadow:
    inset 0 -22px 40px rgba(255,255,255,0.35),
    0 6px 18px rgba(41, 167, 191, 0.06);
}

.form-hero-curve::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 65%;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(22px);
  pointer-events: none;
}

/* logo na środku */
.form-logo-badge {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  z-index: 3;
  transition: bottom 0.25s ease;
}

.form-logo-badge.step-1-logo {
  bottom: -58px;
}

.form-logo-badge.step-other-logo {
  bottom: -30px;
}

.form-hero-text {
  position: absolute;
  left: 50%;
  top: 340px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  padding: 0 20px;
}
.form-page.steps-2-6-active .form-hero-text {
  top: 100%;
  transform: translate(-50%, -6px);
}

.form-hero-text h1 {
  font-size: 28px;
  font-weight: 800;
  color: #0d4450;
  margin-bottom: 6px;
}

.form-hero-sub {
  font-size: 15px;
  color: #5c818b;
}

.form-logo-circle {
  width: 320px;
  height: 110px;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  box-shadow:
    0 14px 30px rgba(30, 143, 170, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-logo-image {
  width: 180px;
  height: auto;
}

/* ZANIM ZACZNIESZ */
.form-tip {
  max-width: 980px;
  margin: 220px auto 26px auto;
  padding: 0 20px;
}

.form-tip-box {
  position: relative;
  padding: 28px 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(241,251,253,0.80) 100%);
  border: 1px solid rgba(196, 228, 234, 0.76);
  box-shadow:
    0 18px 36px rgba(20, 79, 91, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.88);
}

.tip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f8ea4;
  background: rgba(227, 247, 250, 0.95);
  border: 1px solid rgba(190, 224, 231, 0.92);
}

.form-tip h2 {
  font-size: 34px;
  line-height: 1.1;
  color: #0d4450;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.tip-main {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  color: #3f6e79;
  margin-bottom: 12px;
  max-width: 900px;
}

.tip-sub {
  font-size: 17px;
  line-height: 1.6;
  color: #5c818b;
  max-width: 900px;
}

/* FORM WRAPPER */
.form-wrapper {
  max-width: 980px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}
.form-wrapper.steps-2-6 {
  margin-top: 90px;
}
.moving-form {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,252,253,0.98) 100%);
  border: 1px solid rgba(196, 228, 234, 0.95);
  box-shadow:
    0 24px 54px rgba(20, 79, 91, 0.07),
    inset 0 1px 0 rgba(255,255,255,0.98);
}

/* STEP PROGRESS */
.step-progress {
  margin-bottom: 34px;
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(243,252,253,0.98) 0%, rgba(235,248,250,0.98) 100%);
  border: 1px solid rgba(196, 228, 234, 0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.step-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.step-progress-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-progress-label {
  font-size: 14px;
  font-weight: 800;
  color: #2d6672;
}

.step-progress-title {
  font-size: 18px;
  font-weight: 700;
  color: #0d4450;
}

.step-progress-percent {
  font-size: 15px;
  font-weight: 800;
  color: #2d6672;
}

.step-progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(189, 226, 233, 0.55);
  box-shadow: inset 0 2px 6px rgba(16, 82, 95, 0.08);
}

.step-progress-fill {
  width: 17%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #1dc2c0 0%, #14b8a6 52%, #1492c7 100%);
  box-shadow: 0 8px 16px rgba(20, 168, 166, 0.18);
  transition: width 0.3s ease;
}

/* STEP BLOCKS */
.form-step {
  display: none;
  animation: stepFade 0.28s ease;
}

.form-step.active {
  display: block;
}

@keyframes stepFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(214, 236, 240, 0.95);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #148ba0;
  background: rgba(232, 248, 250, 0.95);
  border: 1px solid rgba(194, 229, 235, 0.92);
}

.step-heading h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0d4450;
  margin-bottom: 10px;
}

.step-heading p {
  font-size: 17px;
  color: #5c818b;
  max-width: 720px;
}

.step-summary-note {
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.6;
  background: linear-gradient(180deg, #eef9fb 0%, #e4f4f7 100%);
  border: 1px solid rgba(194, 229, 235, 0.92);
  color: #3f6c76;
}

/* GRID */
.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* GROUPS */
.form-group {
  margin-bottom: 22px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group > label,
fieldset legend {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #123f49;
  margin-bottom: 10px;
}

.field-note {
  font-size: 14px;
  color: #6a8a94;
  margin-bottom: 8px;
}

/* INPUTS */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  border: 1px solid rgba(190, 224, 231, 0.95);
  background: linear-gradient(180deg, rgba(252,255,255,0.98) 0%, rgba(244,251,252,0.98) 100%);
  color: #173a43;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: #86a3ab;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #73cddd;
  box-shadow:
    0 0 0 4px rgba(82, 193, 216, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247,253,254,1) 100%);
}

/* FIELDSETS */
fieldset {
  border: 1px solid rgba(198, 229, 235, 0.95);
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(249,254,255,0.92) 0%, rgba(242,250,252,0.92) 100%);
}

fieldset legend {
  padding: 0 10px;
}

.choice-list {
  display: grid;
  gap: 10px;
}

/* RADIO / CHECKBOX LINES */
fieldset label,
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 0;
  border-radius: 16px;
  cursor: pointer;
  color: #355f69;
  background: #ffffff !important;
  border: 1px solid #e1f2f5;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

fieldset label:hover,
.checkbox-line:hover {
  background: rgba(255,255,255,0.92);
  border-color: #cbe9ef;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(18, 90, 105, 0.05);
}

/* CUSTOM RADIOS / CHECKBOXES */
input[type="radio"],
input[type="checkbox"] {
  accent-color: #1ca8c2;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* PRIVACY / SUBMIT NOTES */
.privacy-note,
.submit-note {
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.6;
}

.privacy-note {
  background: linear-gradient(180deg, #eef9fb 0%, #e4f4f7 100%);
  border: 1px solid rgba(194, 229, 235, 0.92);
  color: #3f6c76;
}

.submit-note {
  background: linear-gradient(180deg, #ecfbf6 0%, #e0f4ed 100%);
  border: 1px solid rgba(192, 228, 218, 0.95);
  color: #2c7564;
}

/* HIDDEN */
.hidden-fields {
  display: none;
}

.hidden-submit {
  display: none;
}

/* STEP ACTIONS */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.step-btn {
  min-width: 160px;
  border: none;
  border-radius: 18px;
  padding: 17px 24px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.step-btn-secondary {
  color: #1a5a66;
  background: linear-gradient(180deg, rgba(249,253,254,1) 0%, rgba(239,248,250,1) 100%);
  border: 1px solid rgba(190, 224, 231, 0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.step-btn-secondary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(244,251,252,1) 100%);
  border-color: #bcdfe6;
  filter: brightness(1.01);
}

.step-btn-primary {
  margin-left: auto;
  color: #ffffff;
  background: linear-gradient(135deg, #19bfc0 0%, #14b8a6 52%, #1690c6 100%);
  box-shadow: 0 18px 38px rgba(22, 163, 178, 0.22);
}

.step-btn-primary:hover {
  filter: brightness(1.03);
  box-shadow: 0 22px 42px rgba(22, 163, 178, 0.28);
}

/* FINAL ACTIONS */
.form-actions {
  margin-top: 80px;
  position: relative;
}

.form-actions::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 230px;
  background: url("../images/333.png") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.form-actions button {
  width: 100%;
  border: none;
  border-radius: 28px;
  padding: 30px 40px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow:
    0 28px 60px rgba(28, 146, 185, 0.35),
    0 10px 20px rgba(28, 146, 185, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.form-actions button:hover {
  transform: none;
  box-shadow: 0 28px 60px rgba(28, 146, 185, 0.35);
  filter: brightness(1.04);
}

/* NICE SPACING FOR LONG FORM */
fieldset {
  border: 1px solid rgba(198, 229, 235, 0.6) !important;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: linear-gradient(
    180deg,
    rgba(252, 255, 255, 0.95) 0%,
    rgba(245, 252, 253, 0.9) 100%
  ) !important;
}

/* LINKS INSIDE TEXT */
a {
  color: #118ea4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .form-hero {
    margin: 0 auto;
    padding: 0;
  }

  .form-hero-top {
    height: 292px;
    overflow: hidden;
  }

  .form-hero-curve {
    width: 180%;
    height: 150px;
    top: -10px;
  }

  .form-logo-badge,
  .form-logo-badge.step-1-logo,
  .form-logo-badge.step-other-logo {
    top: 100px;
    bottom: auto;
  }

  .form-page.steps-2-6-active .form-hero-top {
    height: 188px;
  }

  .form-page.steps-2-6-active .form-logo-badge,
  .form-page.steps-2-6-active .form-logo-badge.step-other-logo {
    top: 84px;
  }

  .form-logo-circle {
    width: 178px;
    height: 68px;
    padding: 10px 18px;
    border-radius: 20px;
  }

  .form-logo-image {
    width: 142px;
  }

  .form-hero-text {
    top: 200px;
    max-width: 100%;
    padding: 0 14px;
  }

  .form-hero-text h1 {
    font-size: 24px;
    line-height: 1.18;
  }

  .form-hero-sub {
    font-size: 14px;
    line-height: 1.45;
  }

  .form-tip {
    max-width: 980px;
    margin: 28px auto 18px auto;
    padding: 0 20px;
  }

  .form-tip-box {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .form-tip h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .tip-main {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 0;
  }

  .tip-sub {
    display: none;
  }

  .form-wrapper {
    max-width: 980px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
  }

  .form-wrapper.steps-2-6 {
    margin: 0 auto 80px auto;
  }

  .moving-form {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .step-progress {
    padding: 18px 16px 16px;
    border-radius: 18px;
    margin-bottom: 24px;
  }

  .step-progress-top {
    gap: 10px;
    margin-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .step-progress-label,
  .step-progress-percent {
    font-size: 13px;
  }

  .step-progress-title {
    font-size: 16px;
  }

  .step-heading {
    margin-bottom: 22px;
    padding-bottom: 14px;
  }

  .step-heading h3 {
    font-size: 28px;
  }

  .step-heading p {
    font-size: 15px;
  }

  fieldset {
    padding: 18px 16px 14px;
    border-radius: 18px;
  }

  fieldset label,
  .checkbox-line {
    padding: 12px 13px;
    border-radius: 14px;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    padding: 14px 15px;
    border-radius: 14px;
    font-size: 15px;
  }

  .step-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .step-btn,
  .step-btn-primary,
  .step-btn-secondary {
    width: 100%;
    min-width: 0;
  }

  .step-btn-primary {
    margin-left: 0;
  }

  .form-actions {
    margin-top: 118px;
    padding-top: 0;
  }

  .form-actions::after {
    width: 148px;
    height: 148px;
    bottom: 28px;
  }

  .form-actions button {
    min-height: 72px;
    padding: 22px 18px 14px;
    font-size: 15px;
    border-radius: 16px;
  }
}

/* HINT / PORADA */
.label-with-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hint-toggle {
  font-size: 13px;
  font-weight: 700;
  color: #14a3b8;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.hint-toggle:hover {
  opacity: 0.7;
}

.hint-box {
  display: none;
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef9fb 0%, #e4f4f7 100%);
  border: 1px solid rgba(194, 229, 235, 0.92);
  color: #3f6c76;
  font-size: 14px;
  line-height: 1.5;
}

.hint-box ul {
  margin: 8px 0 10px 16px;
}

.hint-box li {
  margin-bottom: 4px;
}

.hint-example {
  font-size: 13px;
  color: #5c818b;
}
.label-with-hint label {
  font-size: 17px;
  font-weight: 700;
  color: #123f49;
}
/* === SPACING W KROKU 1 === */
.form-wrapper .form-group {
  margin-bottom: 22px;
}

.form-grid .form-group {
  margin-bottom: 0;
}

.form-grid + .form-group {
  margin-top: 22px;
}
/* === SEKCJA PREFERENCJI KONTAKTU — CZYSTA WERSJA === */
.contact-preference-group {
  margin-top: 22px;
}

.section-label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #123f49;
  margin-bottom: 10px;
}

.choice-box {
  border: 1px solid rgba(198, 229, 235, 0.95);
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(249,254,255,0.92) 0%, rgba(242,250,252,0.92) 100%);
}
.form-page.steps-2-6-active .form-hero-text {
  display: none;
}
.field-error {
  margin-top: 8px;
  font-size: 14px;
  color: #d93025;
  display: none;
}

.field-error.show {
  display: block;
}

@media (max-width: 760px) {
  .form-page.steps-2-6-active .form-hero-top {
    height: 292px;
  }

  .form-page.steps-2-6-active .form-logo-badge,
  .form-page.steps-2-6-active .form-logo-badge.step-other-logo {
    top: 100px;
  }

  .form-page.steps-2-6-active .form-hero-text {
    display: block;
    top: 200px;
  }

  .form-page.steps-2-6-active .form-hero-text h1 {
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 6px;
  }

  .form-page.steps-2-6-active .form-hero-sub {
    display: block;
  }
}

input.error,
select.error,
textarea.error {
  border-color: #d93025 !important;
}
textarea.error {
  border: 2px solid #d93025 !important;
  background: #fff5f5 !important;
}
/* === TELEFON: FLAGA +48 + INPUT === */
.phone-input {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(190, 224, 231, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(252,255,255,0.98) 0%, rgba(244,251,252,0.98) 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.phone-input:focus-within {
  border-color: #73cddd;
  box-shadow:
    0 0 0 4px rgba(82, 193, 216, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247,253,254,1) 100%);
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: rgba(244, 251, 252, 0.98);
  border-right: 1px solid rgba(190, 224, 231, 0.95);
  color: #173a43;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.phone-input input {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  outline: none;
  box-shadow: none !important;
  padding: 16px 18px 16px 22px;
  font-size: 16px;
  color: #173a43;
  border-radius: 0 !important;
}

.phone-input input::placeholder {
  color: #86a3ab;
}

.phone-input input:focus {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* błąd dla całego komponentu telefonu */
.phone-input.error {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.08);
}

@media (max-width: 760px) {
  .phone-input {
    min-height: 56px;
    border-radius: 14px;
  }

  .phone-prefix {
    padding: 0 14px;
    gap: 8px;
    font-size: 15px;
  }

  .phone-flag {
    width: 18px;
    height: 12px;
  }

  .phone-input input {
    padding: 14px 15px 14px 18px;
    font-size: 15px;
  }
}
/* === ERROR SYSTEM PRO === */

.form-group.error input,
.form-group.error textarea,
.form-group.error .phone-input {
  border-color: #ff4d4f !important;
  background: #fff5f5 !important;
}

/* RADIO / CHECKBOX */
.form-group.error fieldset {
  border-color: #ff4d4f !important;
}

/* LABEL ERROR (radio) */
label.error {
  border-color: #ff4d4f !important;
  background: #fff5f5 !important;
}

/* MESSAGE */
.error-message {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px;

  color: #0f8ea4; /* TURKUS TEKST */
  background: #e6f7fa; /* LEKKIE TURKUSOWE TŁO */
  border-left: 4px solid #14b8a6; /* AKCENT */

  border-radius: 10px;
  font-weight: 600;
}

.form-group.error .error-message {
  display: block;
}
.date-arrow-wrapper {
  position: relative;
}

/* STRZAŁKA */
.date-arrow-wrapper::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 120px;

  width: 120px;
  height: 80px;

  border-top: 3px solid #00a8a8;
  border-left: 3px solid #00a8a8;
  border-radius: 80px 0 0 0;

  transform: rotate(-20deg);
  opacity: 0.9;

  animation: arrowMove 1.5s infinite;
}

/* KOŃCÓWKA STRZAŁKI */
.date-arrow-wrapper {
  position: relative;
}

.date-arrow-wrapper::before {
  content: "";
  position: absolute;
  top: -78px;
  left: 165px;
  width: 120px;
  height: 120px;
  border-left: 4px solid #16c7c8;
  border-bottom: 4px solid #16c7c8;
  border-bottom-left-radius: 110px;
  transform: rotate(20deg);
}
/* aktywne połączenie */
.linked-active {
  border-color: #16c7c8 !important;
  box-shadow: 0 0 0 2px rgba(22, 199, 200, 0.2);
}
/* === LOADING BUTTON === */

#submitLeadBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.submit-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spinSubmit 0.8s linear infinite;
  display: none;
}

#submitLeadBtn.loading .submit-spinner {
  display: block;
}

#submitLeadBtn.loading {
  opacity: 0.92;
  cursor: wait;
}

@keyframes spinSubmit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* === WEEKEND WARNING === */

.weekend-warning {
  margin-top: 14px;
  padding: 16px 18px;

  border-radius: 16px;

  background: linear-gradient(
    180deg,
    #eef9fb 0%,
    #e4f4f7 100%
  );

  border: 1px solid rgba(194, 229, 235, 0.92);

  color: #3f6c76;

  font-size: 14px;
  line-height: 1.6;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7);
}
/* === INFO O WYCENIE === */

.privacy-note {
  margin-top: 14px;
}

select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #3f8f9f 50%),
    linear-gradient(135deg, #3f8f9f 50%, transparent 50%),
    linear-gradient(180deg, rgba(252,255,255,0.98) 0%, rgba(244,251,252,0.98) 100%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
  padding-right: 46px;
}
