.wrapper {
  cursor: var(--custom-cursor, pointer);

  position: relative;

  display: block;

  margin-bottom: 0;
  padding-inline: 3.5rem 1rem;
  border: none;

  line-height: 1.5rem;
}

.input {
  position: absolute;
  z-index: var(--z-below);
  opacity: 0;
  &:checked ~ .content {
    &::before {
      border-color: var(--color-primary);
    }

    &::after {
      opacity: 1;
    }
  }
}

.input:not(:checked) ~ .content.notChecked::before,
.input:not(:checked) ~ .content.notChecked::after {
  border-color: transparent;
  opacity: 0;
}

.content {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 0.5rem 0;

  &::before,
  &::after {
    content: "";

    position: absolute;
    top: 50%;
    inset-inline-start: 1rem;
    transform: translateY(-50%);

    display: block;

    width: 1.25rem;
    height: 1.25rem;
  }

  &::before {
    border: 2px solid var(--color-borders-input);
    border-radius: 50%;

    opacity: 1;
    background-color: var(--color-background);

    transition: border-color 0.1s ease, opacity 0.1s ease;
  }

  &::after {
    inset-inline-start: 1.3125rem;

    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;

    opacity: 0;
    background: var(--color-primary);

    transition: opacity 0.1s ease;
  }
}

.giveaway {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.title {
  margin-bottom: 0;
  color: var(--color-text);
}

.link {
  display: flex;
  align-items: center;
  color: var(--color-links);
}

.optionImg {
  width: 2.75rem;
  height: 2.75rem;
}

@media (max-width: 450px) {
  .contentText {
    line-height: 1rem;
  }
}
