@charset "UTF-8";
:root {
  --primary-color: #1167d8;
}

body {
  padding: 0px;
}

fieldset {
  margin: 0 0 1rem 0;
  border: none;
  padding: 0;
}

legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}
legend small {
  display: block;
  text-transform: uppercase;
  color: #1167d8;
  font-weight: normal;
  letter-spacing: 0.5rem;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
legend span {
  font-size: 1.75rem;
}

label {
  display: block;
  margin: 0.25rem 0;
}
label span {
  color: #1167d8;
}
label strong {
  font-size: 1.25rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=number],
select,
textarea {
  width: 100%;
  font-size: 1.125rem;
  padding: 0.5rem;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: #999;
  margin-top: 0.25rem;
}
input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
  outline: 1px solid #1167d8;
  border-color: #1167d8;
  box-shadow: 0px 0px 2px #1167d8;
}

input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
}
input[type=checkbox]:focus {
  outline: 1px solid #1167d8;
  border-color: #1167d8;
  box-shadow: 0px 0px 2px #1167d8;
}

.hint,
.field-hint {
  font-size: 0.9rem;
  opacity: 0.85;
  text-align: center;
}

#formAlert {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.section-header-logo {
  width: 100%;
  display: flex;
  align-items: center;
}
.section-header-logo img, .section-header-logo svg {
  max-width: 128px;
  display: inline-block;
}
.section-header-logo span {
  display: block;
  height: 40px;
  width: 2px;
  background: #eee;
  margin: 0 1rem;
}
.section-header h2 {
  margin: 0;
  font-weight: 400;
  display: inline-block;
}

@media screen and (max-width: 480px) {
  .section-header h2,
  .section-header-logo span {
    display: none;
  }
}
.goback {
  background: #f8f8f8;
  padding: 0.5rem 1rem;
  margin-bottom: 2.5rem;
}
.goback a {
  font-size: 0.875rem;
  color: #1167d8;
}
.goback a:hover {
  color: #000;
  text-decoration: none;
}

.salesman {
  position: absolute;
  background: rgba(17, 103, 216, 0.1);
  right: 0;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  padding: 0.5rem 0.5rem 1rem;
  width: 160px;
  text-align: center;
}
.salesman img {
  max-height: 80px;
  display: block;
  margin: 1rem auto;
}
.salesman .close {
  position: absolute;
  top: -2rem;
  right: 0;
  font-size: 1.25rem;
  padding: 0.5rem 0.5rem 0.25rem;
  font-weight: 700;
  color: #000;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0.35;
}
.salesman .close:hover {
  opacity: 1;
  cursor: pointer;
}
.salesman a {
  font-weight: 700;
  text-decoration: none;
  color: #1167d8;
}

@media screen and (max-width: 480px) {
  .salesman {
    display: none;
  }
}
/* Stepper */
#formProgress {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}
#formProgress .step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d0d0d0;
}

/* Warianty */
.variant-wrap {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
}
.variant-wrap .variant-card {
  flex: 1 1 260px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 2rem 1rem;
  cursor: pointer;
  transition: 0.15s ease;
  background: #fff;
  text-align: center;
  color: #666;
}
.variant-wrap .variant-card svg {
  width: 96px;
  height: 96px;
  stroke: #1167d8;
  fill: #1167d8;
}
.variant-wrap .variant-card:hover {
  transform: translateY(-4px);
  background-color: rgba(17, 103, 216, 0.15);
}
.variant-wrap .variant-card:hover svg {
  stroke: #1167d8;
  fill: #1167d8;
}
.variant-wrap .variant-card input {
  margin-right: 0.5rem;
  visibility: hidden;
  display: none;
}
.variant-wrap .variant-card input:checked + label svg {
  stroke: #fff;
}
.variant-wrap .variant-card.active {
  border-color: #1167d8;
  background-color: #1167d8;
  color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(17, 103, 216, 0.5);
}
.variant-wrap .variant-card.active svg {
  stroke: #fff;
  fill: #fff;
}
.variant-wrap .variant-card.active strong {
  color: #fff;
}
.variant-wrap .variant-card strong {
  color: #000;
  font-size: 1.25rem;
  display: block;
  margin: 0 0 0.5rem;
}

.perk-banner {
  display: none;
  margin: -0.35rem 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(17, 103, 216, 0.1);
  border: 1px solid #1167d8;
  font-size: 0.95rem;
}
.perk-banner h3 {
  font-size: 1rem;
  margin: 0;
  color: #1167d8;
}
.perk-banner span {
  font-size: 1.25rem;
  display: inline-block;
  margin: 0.5rem 0;
}

/* Kafelki zakresów */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 0.5rem;
}
.icon-grid .icon-body {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: 0.15s ease;
  position: relative;
  /* Tooltipy - zagnieżdżenie w .icon-body, ponieważ dotyczą tego elementu */
}
.icon-grid .icon-body svg {
  width: 96px;
  height: 96px;
  stroke: #1167d8;
  fill: #1167d8;
}
.icon-grid .icon-body:hover {
  transform: translateY(-4px);
  background-color: rgba(17, 103, 216, 0.15);
}
.icon-grid .icon-body:hover svg {
  stroke: #1167d8;
  fill: #1167d8;
}
.icon-grid .icon-body[data-tooltip]:hover::after, .icon-grid .icon-body[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 20; /* Zapewnienie, że tooltip jest na wierzchu */
}
.icon-grid .icon-body[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  transform: translate(-50%, -8px);
  background: #111;
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: normal;
  max-width: 320px;
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.icon-grid .icon-body[data-tooltip]:hover::before {
  transform: translate(-50%, -2px);
  border: 6px solid transparent;
  border-top-color: #111;
}
.icon-grid .icon-tile input:checked + .icon-body {
  border-color: #1167d8;
  background: #1167d8;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(17, 103, 216, 0.25);
}
.icon-grid .icon-tile input:checked + .icon-body svg {
  fill: #fff;
  stroke: #fff;
}

/* Tooltipy (dla .has-tip) */
.has-tip {
  position: relative;
  cursor: help;
  align-items: center;
  display: inline-flex;
}
.has-tip:hover::after, .has-tip:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 20;
}
.has-tip:hover::after {
  content: attr(data-tooltip);
  transform: translate(-50%, -8px);
  background: #111;
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: normal;
  max-width: 320px;
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.has-tip:hover::before {
  transform: translate(-50%, -2px);
  border: 6px solid transparent;
  border-top-color: #111;
}

/* Layout paneli */
.grid-3,
.grid-2 {
  display: grid;
  gap: 0.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subpanel {
  display: none;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.75rem;
}
.subpanel-title {
  font-weight: 600;
  margin: -0.25rem 0 0.5rem 0;
}

.advanced-only {
  display: none;
}

@media (max-width: 900px) {
  .icon-grid {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* Bonus lokalizacji */
.bonus-wrap {
  margin-top: 1rem;
}
.bonus-wrap .bonus-panel {
  display: none;
  border: 1px dashed #1167d8;
  background: rgba(17, 103, 216, 0.1);
  border-radius: 10px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}
.bonus-wrap .bonus-hint {
  font-size: 0.9rem;
  opacity: 0.9;
}

.btn-ghost {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

#bonus_map {
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}

/* STEROWANIE */
.navbar {
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}
.navbar .btn-primary {
  background-color: rgba(17, 103, 216, 0.25);
  color: #1167d8;
  border: none;
  font-weight: 700;
  transition: 0.33s ease color, 0.33s ease background-color;
}
.navbar .btn-primary:hover {
  background-color: #1167d8;
  color: #fff;
}
.navbar .btn-secondary {
  border: 1px solid rgba(17, 103, 216, 0.25);
  color: #1167d8;
  background: #fff;
  transition: 0.33s ease background-color;
}
.navbar .btn-secondary:hover {
  background-color: rgba(17, 103, 216, 0.15);
}
.navbar .btn-submit {
  border: 1px solid rgba(61, 156, 54, 0.25);
  color: #fff;
  background: #3d9c36;
  transition: 0.33s ease background-color;
}
.navbar .btn-submit:hover {
  background-color: #1167d8;
}

#prevBtn,
#nextBtn {
  width: 25%;
  font-family: "Maven Pro", Arial, Helvetica, sans-serif;
  padding: 1rem;
  border-radius: 8px;
  border-width: 1px;
  font-size: 1rem;
}
#prevBtn:hover,
#nextBtn:hover {
  cursor: pointer;
}

#submitBtn {
  width: 25%;
  font-family: "Maven Pro", Arial, Helvetica, sans-serif;
  padding: 1rem;
  border-radius: 8px;
  border-width: 1px;
  font-size: 1rem;
  font-weight: 700;
}
#submitBtn:hover {
  cursor: pointer;
}/*# sourceMappingURL=style-form.css.map */