@charset "UTF-8";
* {
  box-sizing: border-box;
}

body {
  background-color: #111;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.quiz-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2vw 0;
  text-align: center;
  font-size: 1.8vw;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: #70fa00;
  z-index: 100;
  box-shadow: 0 0 0.5vw rgba(0, 0, 0, 0.4);
}

.quiz-section {
  width: 99vw;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 7vw;
}

.progress-bar {
  width: 70vw;
  height: 0.7vw;
  background-color: #222;
  border-radius: 0.35vw;
  margin-bottom: 2vw;
}
.progress-bar .progress {
  height: 100%;
  background: #70fa00;
  border-radius: 0.35vw;
  width: 0;
  transition: width 0.3s ease;
}

.quiz-container {
  width: 60vw;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5vw;
  border-radius: 0.7vw;
  box-shadow: 0 0 0.6vw rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.section-title {
  font-size: 1.6vw;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1vw;
  color: #70fa00;
}

.question,
.question-text,
.question-input {
  font-size: 1.4vw;
  margin-bottom: 2vw;
  text-align: center;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1vw;
}

.option-card {
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6vw;
  padding: 1.5vw 1vw;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.option-card .option-image img {
  width: 10vw;
  height: auto;
  border-radius: 0.35vw;
  margin-bottom: 0.7vw;
  object-fit: contain;
}
.option-card .option-text {
  font-size: 1vw;
  font-weight: 500;
  text-align: center;
}
.option-card:hover {
  background: rgb(22.35, 22.35, 22.35);
}
.option-card.selected {
  border-color: #70fa00;
  background: rgba(112, 250, 0, 0.15);
}

.text-options-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1vw;
}

.text-option {
  flex: 1 1 40%;
  min-width: 12vw;
  max-width: 20vw;
  padding: 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7vw;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2vw;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.text-option input[type=radio] {
  appearance: none;
  width: 1.2vw;
  height: 1.2vw;
  border: 0.15vw solid #555;
  border-radius: 50%;
  background: #1b1b1b;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.text-option input[type=radio]:checked {
  border-color: #70fa00;
  background: #70fa00;
}
.text-option input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5vw;
  height: 0.5vw;
  border-radius: 50%;
  background: #fff;
}
.text-option label {
  font-size: 1vw;
  font-weight: 500;
  cursor: pointer;
}
.text-option:hover {
  background: rgb(22.35, 22.35, 22.35);
}
.text-option.selected {
  border-color: #70fa00;
  background: rgba(112, 250, 0, 0.15);
}

.text-option input[type=checkbox] {
  appearance: none;
  width: 1.2vw;
  height: 1.2vw;
  border: 0.15vw solid #555;
  border-radius: 0.2vw;
  background: #1b1b1b;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s ease;
}
.text-option input[type=checkbox]:checked {
  border-color: #70fa00;
  background: #70fa00;
}
.text-option input[type=checkbox]:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8vw;
  color: #fff;
}

.multi-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5vw;
  margin-top: 3vw;
}

.multi-buttons button {
  font-size: 1vw;
  padding: 0.8vw 1.7vw;
  border: none;
  border-radius: 0.5vw;
  cursor: pointer;
  background: #70fa00;
  color: black;
  font-weight: 600;
  transition: all 0.25s ease;
}
.multi-buttons button i {
  font-size: 1vw;
}
.multi-buttons button:hover {
  background: rgb(93.7216, 209.2, 0);
}

#slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.8vw;
  background: #222;
  border-radius: 1vw;
  margin: 2vw 0;
}
#slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.6vw;
  height: 1.6vw;
  background: #70fa00;
  border-radius: 50%;
  cursor: grab;
}
#slider::-moz-range-thumb {
  width: 1.6vw;
  height: 1.6vw;
  background: #70fa00;
  border-radius: 50%;
  cursor: grab;
}

.slider-label {
  font-size: 1.1vw;
  font-weight: 600;
  text-align: center;
  color: #70fa00;
}

.input-container {
  margin-left: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  margin-left: 1vw;
}
.input-container #input-field {
  width: 50%;
  padding: 0.8vw;
  font-size: 1.2vw;
  text-align: center;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5vw;
  color: #fff;
  transition: border-color 0.25s ease;
}
.input-container #input-field:focus {
  border-color: #70fa00;
  outline: none;
}
.input-container .input-unit {
  font-size: 1.1vw;
  color: #fff;
}

.navigation {
  display: flex;
  justify-content: center;
  margin-top: 2vw;
}

button {
  font-size: 1.2vw;
  padding: 0.8vw 2vw;
  border: none;
  border-radius: 0.5vw;
  background: #70fa00;
  color: black;
  cursor: pointer;
  transition: all 0.25s ease;
}
button:disabled {
  background: #666;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  background: rgb(93.7216, 209.2, 0);
}

.result-page {
  display: none;
  width: 100vw;
  min-height: 100vh;
  padding: 5vw;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #1a1a1a;
}

.result-page.visible {
  display: flex;
}

@media (max-width: 800px) {
  .quiz-header {
    font-size: 5vw;
    padding: 3vw 0;
  }
  .quiz-section {
    padding-top: 18vw;
    width: 100%;
  }
  .progress-bar {
    width: 90vw;
    height: 2vw;
    border-radius: 1vw;
    margin-bottom: 6vw;
  }
  .quiz-container {
    width: 92vw;
    padding: 5vw;
    border-radius: 2vw;
    margin: 0 auto;
  }
  .section-title {
    font-size: 5vw;
    margin-bottom: 4vw;
  }
  .question,
  .question-text,
  .question-input {
    font-size: 4.5vw;
    margin-bottom: 5vw;
  }
  .options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }
  .option-card {
    padding: 4vw 2vw;
    border-radius: 3vw;
    transition: all 0.25s ease;
  }
  .option-card .option-image img {
    width: 28vw;
    margin-bottom: 2vw;
    border-radius: 2vw;
    object-fit: contain;
  }
  .option-card .option-text {
    font-size: 3.8vw;
    font-weight: 600;
  }
  .option-card.selected {
    border-color: #70fa00;
    background: rgba(112, 250, 0, 0.15);
    box-shadow: 0 0 2vw rgba(112, 250, 0, 0.4);
  }
  .text-options-container {
    flex-direction: column;
    gap: 3vw;
    align-items: center;
  }
  .text-option {
    min-width: 70vw;
    max-width: 90vw;
    padding: 3vw;
    border-radius: 5vw;
  }
  .text-option input[type=radio] {
    width: 6vw;
    height: 6vw;
    border: 0.5vw solid #555;
  }
  .text-option input[type=radio]:checked::after {
    width: 3vw;
    height: 3vw;
  }
  .text-option label {
    padding: 2vw;
    font-size: 4vw;
  }
  .multi-buttons {
    gap: 3vw;
  }
  .multi-buttons button {
    font-size: 5vw;
    padding: 3vw 5vw;
    width: 40vw;
    border-radius: 2vw;
    text-align: center;
  }
  .multi-buttons button i {
    font-size: 4vw;
    margin-right: 1vw;
  }
  #slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80vw;
    height: 3vw;
    background: #222;
    border-radius: 1.5vw;
    margin: 6vw auto;
    touch-action: none;
  }
  #slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8vw;
    height: 8vw;
    background: #70fa00;
    border-radius: 50%;
    border: 0.5vw solid #111;
    box-shadow: 0 0 2vw rgba(0, 0, 0, 0.5);
    cursor: grab;
    transition: transform 0.2s ease;
  }
  #slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
    cursor: grabbing;
  }
  #slider::-moz-range-thumb {
    width: 8vw;
    height: 8vw;
    background: #70fa00;
    border-radius: 50%;
    border: 0.5vw solid #111;
    box-shadow: 0 0 2vw rgba(0, 0, 0, 0.5);
    cursor: grab;
    transition: transform 0.2s ease;
  }
  #slider::-moz-range-thumb:active {
    transform: scale(1.2);
    cursor: grabbing;
  }
  #slider:focus {
    outline: none;
  }
  .slider-label {
    font-size: 4.8vw;
    margin-top: 4vw;
    text-align: center;
    color: #70fa00;
  }
  .input-container {
    flex-direction: row;
    gap: 2vw;
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .input-container #input-field {
    width: 60vw;
    padding: 2.5vw;
    font-size: clamp(16px, 4.5vw, 22px);
    border-radius: 2vw;
    text-align: center;
  }
  .input-container .input-unit {
    font-size: 4vw;
  }
  button {
    font-size: 4.5vw;
    padding: 3vw 2vw;
    width: 30vw;
    text-align: center;
    border-radius: 2vw;
    margin: 4vw auto 0;
  }
  .navigation {
    flex-direction: column;
    gap: 3vw;
    justify-content: center;
  }
  /* --- NOWY DESIGN MULTI-SELECT --- */
  .multi-select-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5vw;
    padding: 3vw 0;
  }
  .multi-select-container .multi-option {
    width: 85vw;
    padding: 3.5vw 4vw;
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 3vw;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.2);
    position: relative;
  }
  .multi-select-container .multi-option * {
    pointer-events: none;
  }
  .multi-select-container .multi-option:hover {
    background: rgba(30, 30, 30, 0.95);
    transform: scale(1.02);
    box-shadow: 0 0.8vw 1.5vw rgba(0, 0, 0, 0.3);
  }
  .multi-select-container .multi-option.selected {
    border-color: #70fa00;
    background: linear-gradient(to right, rgba(112, 250, 0, 0.2), rgba(30, 30, 30, 0.9));
    box-shadow: 0 0 2.5vw rgba(112, 250, 0, 0.4);
  }
  .multi-select-container .multi-option input[type=checkbox] {
    appearance: none;
    width: 7vw;
    height: 7vw;
    border: 0.4vw solid #fff;
    border-radius: 1.5vw;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
  }
  .multi-select-container .multi-option input[type=checkbox]:checked {
    border-color: #70fa00;
    background: #70fa00;
  }
  .multi-select-container .multi-option input[type=checkbox]:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5vw;
    color: #fff;
    font-weight: 700;
  }
  .multi-select-container .multi-option label {
    font-size: 4.2vw;
    font-weight: 600;
    color: #fff;
    flex-grow: 1;
    text-align: left;
    line-height: 1.3;
  }
  .multi-select-container .multi-option:after {
    content: "";
    position: absolute;
    bottom: -1vw;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 0.3vw;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1vw;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .multi-select-container .multi-option.selected:after {
    opacity: 1;
  }
  input, select, textarea {
    font-size: 16px;
  }
  #input-field {
    font-size: clamp(16px, 4.5vw, 22px);
  }
  .input-container {
    margin-left: 0;
  }
}
html, body {
  overflow-x: hidden;
}

/*# sourceMappingURL=quiz.css.map */
