.ws-content-selector {
  &.stacked,
  &.expandable {
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;

    .row-md {
      &:first-child {
        .option {
          border-radius: 8px 8px 0 0;
        }
      }

      &:last-child {
        .option {
          border-radius: 0 0 8px 8px;
        }
      }
    }

    .option {
      border-color: transparent !important;
      box-shadow: none;
      margin-bottom: 0;
    }

    .value-blurb {
      float: right;
      margin: 3px 10px 0 0;
    }
  }

  &.expandable {
    @include medium {
      .blurb,
      .value-blurb {
        display: inline-block;
      }

      .value-blurb {
        float: right;
      }
    }

    .row-md {
      &:first-child {
        &:last-child {
          .option {
            border-radius: 8px;
          }
        }
      }
    }

    .option {
      background-color: $color-white;
      color: $color-gray-52;
      padding-left: 65px;

      p {
        display: none;
      }

      &.info {
        p {
          display: block;
        }
      }

      &:hover:not(.selected),
      &:focus:not(.selected) {
        background-color: $color-gray-10;
      }

      .ws-icon-info {
        background-size: 25px 25px;
        height: 25px;
        position: absolute;
        right: 25px;
        top: 23px;
        width: 25px;
        z-index: 1000;
      }

      &.selected {
        background-color: $color-green;
        color: $color-gray-15;

        &::before {
          background-image: url($check-mark-icon);
          background-position: center;
          border: 0;
        }

        &::after {
          background: none;
        }
      }

      &::before {
        background-size: 25px;
        border: 2px $color-gray-25 solid;
        border-radius: 13px;
        color: transparent;
        content: '.';
        height: 25px;
        left: 25px;
        position: absolute;
        top: 23px;
        width: 25px;
      }
    }
  }

  .option {
    background-color: $color-gray-10;
    border-left: 2px solid transparent;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: $color-gray-60;
    cursor: pointer;
    margin-bottom: 30px;
    outline: none;
    padding: 25px;
    position: relative;

    strong {
      @include font-sans-bold;

      color: $color-gray-80;
      font-size: $base-font-size;
      letter-spacing: -0.25px;

      @include large {
        font-size: 18px;
      }
    }

    p {
      margin-top: 10px;

      a {
        color: $color-gray-40;
      }
    }

    &.disabled {
      cursor: not-allowed;
    }

    &.selected {
      background-color: $color-yellow;
      color: $color-yellow;

      strong,
      p,
      a {
        color: $color-white;
      }

      &::after {
        background-image: url($check-mark-icon);
        color: transparent;
        content: '.';
        height: 25px;
        position: absolute;
        right: 25px;
        top: 23px;
        width: 25px;
      }
    }

    &:hover:not(.selected),
    &:focus:not(.selected) {
      background-color: $color-gray-35;
    }

    &.no-body {
      p {
        margin: 0;
      }
    }
  }

  &.neutral {
    &:hover {
      background-color: transparent;
    }

    .option {
      background-color: transparent;
      border-color: transparent;

      &.selected {
        background-color: rgba(0, 0, 0, 0.02);

        .blurb {
          color: $color-gray-52;
        }

        strong {
          color: $color-gray-80;
        }

        &::before {
          background-color: $color-gray-60;
          border: 2px $color-gray-40 solid;
        }
      }

      &:hover {
        &:not(.selected),
        &:focus:not(.selected) {
          background-color: rgba(0, 0, 0, 0.01);
          border-left: 2px $color-gray-25 dashed;
        }
      }
    }
  }
}
