.wizard-modal-dialog {
  max-width: 1300px;
}

.wizard-modal-content {
  border-radius: 1.5rem;
  overflow: hidden;
  border: none;
}

.wizard-left {
  background: #eaeaea;
  max-height: 90vh;
  overflow-y: auto;
}

.wizard-right {
  background-color: #0b3c41;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.wizard-step-counter {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1E1E1E;
}

.wizard-step-counter--done {
  color: #12868E;
}

.wizard-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #888;
}

.wizard-dot--done {
  background: #1E1E1E;
  border-color: #1E1E1E;
  color: #fff;
}

.wizard-dot--active {
  border-color: #12868E;
  background: #12868E;
}

.wizard-progress-line {
  flex: 1;
  height: 2px;
  background: #ccc;
  margin: 0 4px;
}

.wizard-progress-line--done {
  background: #1E1E1E;
}

.wizard-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #d9ecec;
  color: #12868E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.wizard-question {
  color: #1E1E1E;
  font-weight: 700;
  font-size: 1.3rem;
}

.wizard-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.9rem 0;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.wizard-option:last-child {
  border-bottom: none;
}

.wizard-option input[type="radio"],
.wizard-option input[type="checkbox"] {
  display: none;
}

.wizard-option__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #bbb;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s ease;
}

.wizard-option__radio--checkbox {
  border-radius: 6px;
}

.wizard-option input:checked + .wizard-option__radio {
  border-color: #12868E;
}

.wizard-option input:checked + .wizard-option__radio:not(.wizard-option__radio--checkbox)::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #12868E;
}

.wizard-option input:checked + .wizard-option__radio--checkbox::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #12868E;
}

.wizard-option__label {
  color: #1E1E1E;
  font-size: 1rem;
}

.wizard-form-desc {
  color: #555;
  font-size: 0.9rem;
}

.wizard-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 6px;
}

.wizard-form-input {
  width: 100%;
  border: none;
  background: #e2e2e2;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  resize: none;
}

.wizard-form-checkbox {
  font-size: 0.85rem;
  color: #1E1E1E;
  cursor: pointer;
  margin: 0;
}

.wizard-form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #12868E;
}

.wizard-form-input:focus {
  outline: 2px solid #12868E;
  background: #fff;
}

.wizard-next-btn,.arajanlatvege {
  background: #d9d9d9;
  color: #888;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
  /* Flexboxban a margin-left:auto mindig a jobb szélre tolja ezt a gombot,
     függetlenül attól, hogy a .wizard-back-btn (d-none-nal elrejtve az
     1. lépésen) éppen ott van-e a szülő .d-flex.justify-content-between
     konténerben, vagy sem -- így nem kell a justify-content-et
     JS-ből step-enként átkapcsolni. */
  margin-left: auto;
}

.wizard-next-btn:not(:disabled),.arajanlatvege {
  background: #1E1E1E;
  color: #fff;
}

.wizard-next-btn.wizard-next-btn--submit,.arajanlatvege.wizard-next-btn--submit {
  background: #e8402f;
}

.wizard-back-btn {
  background: transparent;
  border: 1px solid #ccc;
  color: #444;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
}

.wizard-success-icon {
  position: relative;
  width: 80px;
  height: 80px;
}

.wizard-success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #d9f2e3;
  color: #1a9d5c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.wizard-sparkle {
  position: absolute;
  color: #f5b400;
  font-size: 1.1rem;
}

.wizard-sparkle--1 { top: -8px; left: -18px; }
.wizard-sparkle--2 { bottom: -6px; right: -18px; }

.wizard-thankyou-title {
  font-weight: 800;
  font-size: 1.5rem;
  color: #1E1E1E;
}

.wizard-thankyou-sub {
  color: #12868E;
  font-weight: 600;
  font-size: 0.95rem;
}

.wizard-callback-box {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e3e3;
  padding: 1rem 1.2rem;
}

.wizard-callback-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1E1E1E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wizard-callback-text {
  font-size: 0.8rem;
  color: #666;
}

.wizard-back-to-site-btn {
  background: #1E1E1E;
  color: #fff;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
}

.wizard-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  z-index: 2;
}

.wizard-stars i {
  color: #12868E;
  font-size: 1.1rem;
  margin-right: 2px;
}

.wizard-stars--filled i.bi-star-fill {
  color: #f5b400;
}

.wizard-stars__num {
  color: #fff;
  font-weight: 700;
  margin-left: 8px;
  font-size: 0.95rem;
}

.wizard-stars-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.wizard-right-title {
  font-weight: 800;
  font-size: 1.7rem;
}

.wizard-right-text {
  color: rgba(255, 255, 255, 0.8);
}

.wizard-logos img {
  max-height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.wizard-security {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

/* A jobb oldali panel-váltás blokkjai -- egymásra épülnek, mindig
   csak egy látszik (a JS kapcsolja a d-none class-t) */
.js-wizard-right-panel {
  width: 100%;
}

.wizard-summary-card,
.wizard-summary-info,
.wizard-summary-total {
  border-radius: 1.2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.wizard-summary-card,
.wizard-summary-total {
  border: 1px solid #939393;
}

.wizard-summary-card__label {
  color: #0B575C;
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
}

.wizard-summary-card__title {
  color: #1E1E1E;
  font-weight: 800;
  font-size: 1.3rem;
}

.wizard-summary-card__desc {
  color: #777;
  font-size: 0.85rem;
  line-height: 1.5;
  border-bottom: 1px solid #939393;
  padding-bottom: 1rem;
}
.wizard-summary-card__desc p:last-child{
    margin-bottom: 0;
}

.wizard-summary-card__price {
  color: #1E1E1E;
  font-weight: 800;
  font-size: 1.9rem;
}

.wizard-summary-total__price {
  color: #1E1E1E;
  font-weight: 800;
  font-size: 1.5rem;
}

.wizard-summary-card__price-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.wizard-summary-card__afa {
  color: #0B575C;
  font-weight: 700;
  font-size: 0.8rem;
}

.wizard-summary-card__afa-label {
  color: #999;
  font-size: 0.8rem;
}

.wizard-summary-edit-btn {
  background: transparent;
  border: 1px solid #0B6E76;
  color: #0B6E76;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  border-radius: 10px;
}

.wizard-summary-edit-btn:hover {
  background: #0B6E76;
  color: #fff;
}

.wizard-summary-module {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
}

.wizard-summary-module:last-child {
  border-bottom: none;
}

.wizard-summary-module__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12868E;
  font-size: 1.1rem;
}

.wizard-summary-module__name {
  flex: 1;
  color: #1E1E1E;
  font-weight: 600;
  font-size: 0.9rem;
}

.wizard-summary-module__price {
  color: #999;
  font-size: 0.8rem;
  white-space: nowrap;
}

.wizard-summary-info {
  background: linear-gradient(130deg,rgba(0, 159, 170, 1) 0%, rgba(29, 76, 80, 1) 52%, rgba(3, 55, 59, 1) 100%);
  color: #fff;
  flex-direction: row;
}

.wizard-summary-info__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #00D5E4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.wizard-summary-info__icon i{
    color: #00D5E4;
}

.wizard-summary-info__title {
  color: #6fd0da;
  font-size: 0.95rem;
}

.wizard-summary-info__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
}

.wizard-summary-total {
  background: #eee;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #939393;
}

.wizard-summary-card__price {
  color: #1E1E1E;
  font-weight: 800;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
}

.wizard-summary-total__price {
  color: #1E1E1E;
  font-weight: 800;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
}

.wizard-summary-card__title {
  color: #1E1E1E;
  font-weight: 800;
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  margin-top: 1rem;
}

.wizard-summary-module {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
}

.wizard-summary-module__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12868E;
  font-size: 1.1rem;
}

.wizard-summary-module__name {
  flex: 1;
  min-width: 0;
  color: #1E1E1E;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wizard-summary-module__price {
  color: #999;
  font-size: 0.8rem;
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 380px) {
  .wizard-summary-module {
    flex-wrap: wrap;
  }

  .wizard-summary-module__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .wizard-summary-module__price {
    width: 100%;
    text-align: right;
    margin-left: 0;
    margin-top: 2px;
  }
}