.radio-flex-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0.25rem 0;
  gap: 0.5rem;
}

/* На ширині від 768px робимо вирівнювання по центру */
@media (min-width: 768px) {
  .radio-flex-container {
    justify-content: center;
  }
}

.radio-container {
  display: flex;
  gap: 5px;
  align-items: center;
}

@media (max-width: 768px) {
  .radio-flex-container {
    justify-content: center;
    flex-direction: column;
  }
}

/* Стиль загального контейнера мітки */
.radioLabel {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff; /* колір тексту */
  transition: background-color 0.2s ease;
}

.radioLabel:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Приховуємо стандартну радіокнопку */
.radioLabel input[type='radio'] {
  display: none;
}

/* Кастомний кружечок (рамка) поруч із текстом */
.radioLabel .control {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #666;
  border-radius: 50%;
  margin-right: 0.5rem;
  position: relative;
}

.radioLabel input[type='radio']:checked + .control {
  border-color: #fa936f; /* оранжевий/персиковий колір */
}

/* Малюємо “точку” всередині при обраному стані */
.radioLabel input[type='radio']:checked + .control::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #fa936f;
  border-radius: 50%;
}
