/* === PİL İLERLEME === */
.pill-progress {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pill {
  width: 5%;
  height: 12px;
  border-radius: 8px;
  background: #e8eaee;
  box-shadow: inset 0 0 0 1px #cfd3d7;
}
.pill.done {
  background: #333;
  box-shadow: none;
}
.pill-label {
  margin-left: 10px;
  font-weight: 600;
}
.pill-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid #edf0f3;
  padding: 10px 12px;
}

/* Recommended Equipment – üstteki kutulu radyo stili */
.block-options .block-row {
  position: relative;
  display: block;
  border: 2px solid #cfd3d7;
  border-radius: 0.35rem;
  padding: 0.85rem 1rem;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.block-options .block-row + .block-row {
  margin-top: 0.75rem;
}
.block-options .block-row input {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.block-options .block-row::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #cfd3d7;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 0.25rem;
}
.block-options .block-row.is-checked {
  background: #f4f5f6;
  border-color: #111;
  font-weight: 600;
}
.block-options .block-row.is-checked::after {
  border-color: #111;
}

/* Recommended Equipment -> option-btn ile aynı görünüm */
.block-options {
  gap: 0.75rem;
}
.block-options label {
  position: relative;
  display: block;
  background: #fff;
  border: 2px solid #cfd3d7;
  border-radius: 0.35rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
}

/* input'ı görünmez yap, tüm kutuyu tıklanabilir yap */
.block-options label > input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* metin için span normal akışta kalsın */
.block-options label > span {
  display: inline-block;
}

/* köşe tiki */
.block-options label::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #cfd3d7;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 0.25rem;
}

/* seçilince option-btn ile aynı vurgu */
.block-options label:has(> input[type="radio"]:checked) {
  background: #f4f5f6;
  border-color: #111;
  font-weight: 600;
}
.block-options label:has(> input[type="radio"]:checked)::after {
  border-color: #111;
}

/* klavye erişilebilirliği */
.block-options label:has(> input[type="radio"]:focus-visible) {
  outline: 3px solid rgba(17, 17, 17, 0.35);
  outline-offset: 2px;
}

/* üst sekmeler */
.wizard-tabs {
  overflow-x: auto;
  gap: 2rem;
  white-space: nowrap;
  scrollbar-width: none;
}
.wizard-tabs::-webkit-scrollbar {
  display: none;
}
.wizard-tabs .nav-link {
  position: relative;
  color: #222;
  padding: 0.75rem 0;
}
.wizard-tabs .nav-link.active {
  font-weight: 600;
}
.wizard-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #222;
  border-radius: 3px;
}
#configForm section.card.hidden {
  display: block !important;
}
/* kutulu radio/checkbox */
.option-btn {
  position: relative;
}
.option-btn input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.option-btn label {
  display: block;
  background: #fff;
  border: 2px solid #cfd3d7;
  border-radius: 0.35rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.option-btn label::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #cfd3d7;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 0.25rem;
}
.option-btn input:checked + label {
  background: #f4f5f6;
  border-color: #111;
}
.option-btn input:checked + label::after {
  border-color: #111;
}

/* butonlar gereksiz */
[data-next],
[data-prev] {
  display: none !important;
}

/* yardımcı */
.hidden {
  display: none !important;
}
.card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.cover-group {
  margin-bottom: 1.25rem;
}
.cover-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.swatch-list {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 14px;
}

.swatch {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eee;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.swatch:hover {
  transform: translateY(-2px);
}

.swatch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.swatch .chip {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* seçili işareti */
.swatch .tick {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111;
  display: none;
}
.swatch .tick::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.swatch input:checked + .chip + .tick {
  display: block;
}

/* örnek renkler */
.c-blue {
  background: #1e6de5;
}
.c-red {
  background: #e53935;
}
.c-clear {
  background: #dfe3eb;
}
.c-green {
  background: #36d25e;
}
.c-amber {
  background: #d49b21;
}
.c-black {
  background: #333333;
}
.light-group {
  margin-bottom: 2rem;
}
.light-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.circle-options {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.circle-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #cfd3d7;
  cursor: pointer;
  font-size: 1.25rem;
  background: #f9f9f9;
  transition: all 0.15s ease;
}
.circle-options input {
  display: none;
}
.circle-options input:checked + label {
  border-color: #111;
  background: #fff;
  font-weight: 600;
}

.block-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.block-options label {
  display: block;
  border: 2px solid #cfd3d7;
  border-radius: 0.35rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: #f9f9f9;
  transition: all 0.15s ease;
}
.block-options input {
  display: none;
}
.block-options input:checked + label {
  border-color: #111;
  background: #f4f5f6;
  font-weight: 600;
}
.sticky-images {
  position: sticky !important;
  top: 0; /* navbar yüksekliğine göre ayarla */
  z-index: 10; /* diğer içeriklerin altında kalmaması için */
}
