@import "../../../../assets/scss/variables";

.checkbox-terms--wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;

  input {
    margin-right: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    accent-color: $secondary-color;
  }

  label {
    font-size: $subtext-size;
    color: $title-color;
    font-weight: $regular;

    a {
      color: $title-color;
    }
  }
}

.custom-checkbox-month {

  height: 50px;
  width: 100%;
  border: 1px dashed $title-color;
  color: $title-color;
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  &.disabled {
    cursor: not-allowed;
    opacity: 0.5;}
  &--add {
    width: 25px;
    border: 1px solid white;
    border-radius: 50%;
    height: 25px;
    img {
      border: 1px solid #ccc;
      border-radius: 50%;
      width: 25px;
      height: 25px;
      padding: 4px;
      filter: brightness(0) saturate(100%) invert(19%) sepia(30%) saturate(5111%) hue-rotate(233deg) brightness(58%) contrast(132%);
    }

    .checkmark{
      display: inline-block;
      transform: rotate(45deg);
      height: 20px;
      width: 12px;
      border-bottom: 3px solid white;
      border-right: 3px solid white;
      margin-left: 5px;

    }
  }


  &--text {
    font-size: 1.1rem;
  }

  &:hover{
    .custom-checkbox-month--add{
      border: unset;
    }
    background: $secondary-color;
    color: $white;
    border: 1px solid $secondary-color;

    & img{
      filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(157deg) brightness(104%) contrast(100%);
    }
  }

  &.checked{
    background-color: $secondary-color;
    border: 1px solid $secondary-color;
    color: $white;
    .custom-checkbox-month--add{
      border: unset;
    }

  }
}
