.invette-survey {
  max-width: 760px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #eee;
}
.inv-q label {
  display: block;
  margin-bottom: 6px;
}
.inv-other-text {
  display: block;
  margin: 6px 0;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.invette-survey-form {
  padding: 60px;
  border-radius: 10px;
  background: #f6f6f6;
  margin-bottom: 30px;
}

.invette-survey-group__title {
  font-size: 32px !important;
  text-align: center;
}

.invette-survey-group__note {
  margin-bottom: 35px;
  color: #666;
  text-align: center;
  font-size: 20px;
}

.invette-question {
  margin-bottom: 30px;
}

/* Ukrywamy domyślny checkbox/radio */
.invette-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Styl dla labela */
.invette-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
  position: relative;
  user-select: none;
}

/* Hover efekt */
.invette-option label:hover {
  border-color: #b8963f;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
  transform: translateY(-2px);
}

.invette-option label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #bbb;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Animacja kliknięcia (fale) */
.invette-option-input:checked + span::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translateY(-50%) scale(1);
  background: rgba(74, 144, 226, 0.4);
  animation: ripple 0.4s ease forwards;

  z-index: -1;
}

.invette-option-input:checked + span::before {
  content: "";
  display: block;
  position: absolute;
  border-color: #b8963f;
  background: #b8963f;
  width: 16px;
  height: 16px;
  left: 16px;
  top: 12px;
  border-radius: 16px;
  box-shadow: 0 0 10px #b8963f;
}

.invette-option span {
  padding-left: 5px;
}

@keyframes ripple {
  from {
    transform: translateY(-50%) scale(0.8);
    opacity: 1;
  }
  to {
    transform: translateY(-50%) scale(2.5);
    opacity: 0;
  }
}

.free-text-input {
  border-radius: 12px;
  margin-top: 10px;
}

.invette-option {
  margin-bottom: 10px;
}
