/* ====== Lead form ====== */
.lead-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 0;
  font-family: inherit;
}

/* --- Nagłówek --- */
.lead-form .lf-title {
  font-weight: 800 !important;
  font-size: clamp(26px, 4.5vw, 35px) !important;
  line-height: 1.15;
  margin: 0 0 6px;
  color: #000;
  letter-spacing: -0.015em;
}
.lead-form .lf-title span {color: #1645c6;}

.lead-form .lf-sub {
  margin: 4px 0 14px;
  font-size: clamp(15px, 2.5vw, 18px);
  color: #1a1a1a;
}

/* --- Lista z „checkami” --- */
.lead-form .lf-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  color: #000 !important;
}
.lead-form .lf-bullets li{
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  font-size: clamp(15px, 2.5vw, 14px);
}
.lead-form .lf-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top: 1px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#0dbf96;
}
.lead-form .lf-bullets li::after{
  content:"";
  position:absolute;
  left:6px;
  top: 5px;
  width:6px;
  height:10px;
  border:2px solid #fff;
  border-top:0;
  border-left:0;
  transform: rotate(45deg);
}

/* --- Pola tekstowe --- */
.lead-form .lf-field input[type="text"],
.lead-form .lf-field input[type="email"],
.lead-form .lf-field input[type="tel"],
.lead-form .lf-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  background: #f6f6f6;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.lead-form .lf-field { margin-bottom: 12px; }

/* --- Radio buttons (systemowe, zielone) --- */
.lead-form .lf-group { margin: 6px 0 12px; }
.lead-form .lf-label { 
  margin: 0 0 6px; 
  font-weight:600; 
  color:#1a1a1a; 
}

.lead-form .lf-radios {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* ✅ Tutaj cała magia */
.lead-form .lf-radios input[type="radio"] {
  accent-color: #31a389 !important; /* działa w 99% przeglądarek */
  width: 18px;
  height: 18px;
  cursor: pointer;
  vertical-align: middle;
  appearance: auto !important; /* przywraca natywny wygląd */
}

/* Safari fallback (gdy accent-color zignorowany) */
@supports not (accent-color: #0dbf96) {
  .lead-form .lf-radios input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #0dbf96;
    position: relative;
  }
  .lead-form .lf-radios input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: #0dbf96;
    border-radius: 50%;
  }
}

/* Tekst opcji */
.lead-form .lf-radios label {
  font-size: 16px;
  color: #1a1a1a;
  cursor: pointer;
}

/* --- Przycisk --- */
.lead-form .lf-submit input[type="submit"]{
  width:100%;
  color:#fff;
  cursor:pointer;
  transition: transform .05s ease, filter .2s ease, box-shadow .2s ease;
}
.lead-form .lf-submit input[type="submit"]:hover{ filter:brightness(0.95); }
.lead-form .lf-submit input[type="submit"]:active{ transform: translateY(1px); }
.lead-form .wpcf7-spinner { margin-left:10px; }

/* --- Disclaimer --- */
.lead-form .lf-disclaimer{
  font-size: 13.5px;
  color:#4b5563;
  margin-top: -50px;
}

/* --- Responsywność --- */
@media (max-width:480px){
  .lead-form { padding: 0 8px; }
}

/* --- Reset niektórych styli CF7 --- */
.lead-form .wpcf7-form-control{ box-sizing:border-box; }
.lead-form .wpcf7-not-valid-tip{ margin-top:6px; font-size:13px; }
.lead-form .wpcf7-response-output{ margin-top:12px; }
.lead-form .lf-bullets li p {color: #000;}

/* --- wrapper telefonu z country code --- */
.lf-phone { position: relative; }

.lf-phone #tel_no {
  padding-left: 120px; /* miejsce na przycisk z flagą */
}

/* przycisk z flagą i kodem */
.cc-trigger{
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  z-index: 2;
}
.cc-trigger .cc-caret{ opacity:.6; margin-left: 2px; }

/* menu rozwijane */
.cc-menu{
  position: absolute;
  left: 6px;
  top: calc(100% + 6px);
  min-width: 130px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 5;
}
.cc-menu.show{ display:block; }

.cc-menu li{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.cc-menu li:hover{ background:#f3f4f6; }

/* drobne kosmetyki */
.cc-flag{ font-size: 16px; }
.lf-row.lf-phone-split {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}

/* Szerokości: select wąski, input szeroki */
.lf-phone-split select#wcc,
.lf-phone-split select#cc {
  flex: 0 0 130px;              /* szer. przybliżona jak „+420” */
  padding: 12px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.lf-phone-split #tel_local {
  flex: 1 1 auto;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  background:#fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

/* Focus w kolorze brandowym */
.lf-phone-split select#cc:focus,
.lf-phone-split #tel_local:focus {
  border-color:#0dbf96;
  box-shadow: 0 0 0 3px rgba(13,191,150,.15);
}

/* Mobile: pod sobą */
@media (max-width: 480px){
  .lf-row.lf-phone-split { flex-direction: column; }
  .lf-phone-split select#cc { flex-basis: auto; width: 100%; }
}
.iti-mobile .iti--container {
left: 0px !important;
}
.jnews-dark-mode .bspopup-content {
    background: #232323 !important;
}
.jnews-dark-mode .lf-field input.wpcf7-form-control.wpcf7-text {background: #1b1b1b;}