.edit-bike-page-alert {
  form {
    button {
      border-radius: 5px;
      height: 45px;
      vertical-align: middle;
    }

    .times {
      font-size: 150%;
      line-height: 0.8em;
      vertical-align: middle;
    }
  }

  .image-selection-container {
    ul {
      display: flex;
      flex-wrap: nowrap;
      height: 100px;
      list-style-type: none;
      overflow-x: auto;
      padding: 0;
      width: 100%;
    }

    li {
      border: 1px solid $gray-lightish;
      cursor: pointer;
      flex: 0 0 auto;
      margin: auto 5px;
      padding: 2px;
      height: 100%;
      img {
        max-height: 100%;
      }
    }

    li:first-of-type {
      margin-left: 0;
    }

    .selected {
      background: $blue;
    }

    .selection-preview-image-template {
      background-image: url("promoted_alerts/preview-template.png");
      background-size: cover;
      margin: auto;
      max-width: 420px;
      padding: 0 0 0 28px;
      position: relative;
      vertical-align: middle;
      width: auto;
    }

    .selection-preview-image {
      display: inline-block;
      vertical-align: middle;
      width: 100%;

      img {
        max-width: 95%;
        max-height: 200px;
        margin: 0 auto;
      }
    }

    .selection-preview-caption {
      background: $black;
      bottom: 8px;
      color: $white;
      font-size: 1rem;
      font-style: italic;
      height: 12%;
      line-height: 1.5;
      position: absolute;
      right: 0;
      text-align: center;
      vertical-align: middle;
      width: 42%;
    }
  }

  @media (max-width: $grid-breakpoint-md) {
    .image-selection-container {
      .selection-preview-caption {
        font-size: 0.7rem;
      }
    }
  }

  .detail-card-container {
    background-color: $white;
    border: 1px solid $gray-subtle;
    border-radius: 4px;
    margin: 15px auto;
    max-width: 350px;
    transition: all 125ms ease-in-out;
    cursor: pointer;
  }

  .detail-card-title {
    background-color: $black;
    border-bottom: 0;
    color: $white;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.25px;
    padding: 0.75rem 0;
    position: relative;
    text-align: center;
  }

  .preferred-tag {
    background-color: $blue;
    bottom: -7px;
    color: $white;
    font-size: 12px;
    line-height: 1;
    margin: 0;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    text-align: right;
    width: 93px;
  }

  .detail-card {
    background: $white;
    margin: 10px;
  }

  .detail-card-subtitle {
    background-color: $white;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
  }

  .detail-card-price {
    color: $header-font-color;
    font-size: 45px;
    letter-spacing: 1.5px;
    margin: 25px auto;
  }

  .detail-card-button {
    border-radius: 4px;
    font-size: 18px;
    margin: auto;
    padding-bottom: 18px;
    padding-top: 18px;
    width: 90%;
  }

  .detail-card-content-main {
    background-color: $white;
    border-radius: 4px;
    font-size: 12px;
    margin: 10px;
    padding: 0;

    ul {
      list-style-type: none;
      margin: auto;
      padding: 0;
    }

    li:first-of-type {
      margin-top: 0;
    }

    li {
      line-height: 1.75em;
      margin: 10px auto;
    }

    li:last-of-type {
      border: 0;
      margin-bottom: 0;
    }
  }

  .detail-card-footer {
    background-color: #f4f4f3;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    bottom: 0;
    font-size: 18px;
    font-weight: 500;
    left: 0;
    line-height: 27px;
    padding: 0.618em;
    right: 0;
    transition: all 125ms ease-in-out;

    &::before {
      background-color: $white;
      border: 2px solid #919197;
      border-radius: 50%;
      content: "";
      display: inline-block;
      height: 2em;
      vertical-align: middle;
      width: 2em;
    }
  }

  .detail-card-container.selected {
    border: 1px solid $blue;
    .detail-card-footer {
      background-color: $blue;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      &::before {
        background-color: $blue;
        border-color: $white;
        color: $white;
        content: "\2713";
        font-family: "zp-icons";
        font-style: normal;
        font-variant: normal;
        font-weight: normal;
        line-height: 1.8;
        text-rendering: optimizeLegibility;
        text-transform: none;
      }
    }
  }
}
