.activity-request-booking-dropdown {
  font-size: 14px;
  padding: 8px 12px 9px;
  border-bottom: 2px solid $light-mint;
  cursor: pointer;
  &:hover {
    border-color: $charcoal;
  }
  &.active {
    border-bottom: 2px solid $mint;
  }
}

.main-dropdown {
  background-color: white;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px;
  @include breakpoint(medium up) {
    border: 2px solid $light-mint !important;
  }
}

.main-dropdown-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
  height: 50px;
  &:hover {
    background-color: $mint;
    color: white;
    .sub-dropdown {
      display: block;
    }
    span.circle {
      border-color: white;
      background: $mint;
    }
    .circle {
      &.active {
        background-color: $mint;
        border: 2px solid white;
        &::after {
          background-color: white;
        }
      }
    }
  }
  &::after {
    content: "";
    height: 50px;
    width: 16px;
    right: -16px;
    position: absolute;
  }
  &.active {
    .title {
      font-weight: bold;
    }
  }
  &.active-background-mint {
    background-color: $mint;
    color: white;
  }
  .circle {
    border-radius: 9999px;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid $mint;
    margin-right: 8px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    &.active {
      background-color: white;
      border: 2px solid $mint;
      &::after {
        content: "";
        width: 12px;
        height: 12px;
        border-radius: 9999px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: $mint;
      }
    }
  }
  .square {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: white;
    border: 2px solid $mint;
    margin-right: 8px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    &.active {
      background-color: $mint;
      border: 1px solid white;
      &::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 12px;
        position: absolute;
        top: 2px;
        left: 6px;
        transform: rotate(45deg);
        border-bottom: 2px solid white;
        border-right: 2px solid white;
      }
    }
  }
}
.sub-dropdown {
  position: absolute;
  top: 0;
  left: calc(100% + 16px);
  background-color: white;
  width: 380px;
  display: none;
  &.activities {
    left: 0;
    right: 0;
    width: unset;
    z-index: 999;
    top: 50px;
    border: 0 !important;
    @include breakpoint(medium up) {
      top: 0;
      left: calc(100% + 16px);
      background-color: white;
      width: 380px;
      border: 2px solid $light-mint !important;
    }
  }
  .tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
    height: 50px;
    color: $charcoal;
    &:first-child {
      @include breakpoint(medium up) {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
      }
    }
    &:last-child {
      @include breakpoint(medium up) {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
      }
    }
    &:hover {
      background-color: $mint;
      color: white;
      span.square {
        border: 2px solid white;
        background-color: $mint;
      }
    }
  }
  .square {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: white;
    border: 2px solid $mint;
    margin-right: 8px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    &.active {
      background-color: $mint;
      border: 1px solid white;
      &::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 12px;
        position: absolute;
        top: 2px;
        left: 6px;
        transform: rotate(45deg);
        border-bottom: 2px solid white;
        border-right: 2px solid white;
      }
    }
  }
}