.vehicle-panel {
  .flagship-icon {
    margin-left: 5px;
    color: $gold;
  }

  .panel-image {
    .on-sale {
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 0;
      border-top: 20px solid $primary;
      border-right: 20px solid transparent;
      border-bottom: 20px solid transparent;
      border-left: 20px solid $primary;

      i,
      svg {
        position: absolute;
        top: -15px;
        left: -10px;
        color: #fff;
      }
    }

    .loaner-label {
      position: absolute;
      top: 0;
      right: 0;
      width: 0;
      height: 0;
      border-top: 20px solid $success;
      border-right: 20px solid $success;
      border-bottom: 20px solid transparent;
      border-left: 20px solid transparent;

      i,
      svg {
        position: absolute;
        top: -15px;
        right: -15px;
        color: #fff;
      }
    }

    .addons {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 0;
      border-top: 25px solid transparent;
      border-right: 25px solid transparent;
      border-bottom: 25px solid $gray;
      border-left: 25px solid $gray;
      cursor: pointer;

      &.selected {
        border-bottom: 25px solid $success;
        border-left: 25px solid $success;
      }

      i,
      svg {
        position: absolute;
        bottom: -16px;
        left: -16px;
        color: #fff;
      }
    }
  }

  .panel-heading {
    .panel-edit-menu,
    .panel-add-to-hangar-button {
      position: absolute;
      top: 0;
      right: 0;
      padding: 12px 6px;

      > button {
        font-size: 18px;
      }

      > .panel-btn-dropdown-list {
        margin-top: -2px;

        &.expand-left {
          right: 6px;
        }

        &.expand-top {
          margin-top: 0;
          margin-bottom: -2px;
        }
      }
    }

    .panel-edit-menu {
      padding: 12px 6px 10px;
    }

    .panel-add-to-hangar-button {
      font-size: 18px;
    }
  }

  .panel-hangar-groups {
    position: absolute;
    right: 5px;
    bottom: 0;
  }
}
