// COMMON STYLES
.modal-step-1,
.modal-step-2 {
  font-family: 'Open Sans';
  line-height: 21px;
  padding: 19px 19px 30px;
  display: flex;
  align-items: center;
  flex-direction: column;

  h1 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
  }

  .header {
    .close-icon {
      position: absolute;
      top: 19px;
      right: 19px;
    }

    .close-icon:hover {
      cursor: pointer;
    }
  }
}

// FIRST STEP DESIGN
.modal-step-1 {
  height: 430px;
  justify-content: center;

  .header {
    padding-top: 19px;
  }

  .body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;

    .option {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: column;
      height: 100%;
      width: 193px;

      &__top-container {
        margin-top: 48px;
      }

      &__content-container {
        margin-top: 7px;
      }

      .description {
        font-size: 16px;
        line-height: 21px;
        margin: 10px 0;
        display: block;
      }

      h2 {
        font-size: 26px;
        font-weight: bold;
        line-height: 36px;
        margin: 15px 0 0;
      }

      .dropdown-icon {
        height: 9px;
        width: 17px;
      }

      .check {
        padding-right: 5px;
      }

      .price {
        font-size: 20px;
        font-weight: bold;
        line-height: 27px;
        margin-bottom: 24px;
        display: block;
      }

      .delivery {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 180px;
        font-size: 16px;
        text-align: left;
        position: relative;
        top: -2px;
        padding: 5px 0;
        padding-left: 6px;

        &-date {
          font-size: 16px;
          font-weight: bold;
          width: 187px;
          position: relative;
          top: -1px;
          left: 2px;
        }
      }

      .location {
        &-take-away {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          display: block;
        }

        &-date {
          font-size: 16px;
          font-weight: bold;
        }

        &-dropdown {
          display: flex;
          justify-content: center;
          font-size: 16px;
          font-weight: 600;
          line-height: 21px;
          position: relative;
          min-width: 165px;

          ::ng-deep .dropdown-options {
            top: -30px !important;
          }
        }
      }
    }
  }
}

// SECOND STEP DESIGN

.modal-step-2 {
  height: 394px;
  justify-content: flex-start;

  .header {
    h1 {
      margin-top: 30px;
    }
  }

  .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    margin-top: 15px;

    .body-heading {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      width: 100%;
      margin-bottom: 13px;

      .img {
        margin-right: 13px;
        margin-top: 5px;
        margin-left: 25px;
      }
    }
  }

  .body-content {
    display: flex;
    flex-flow: column;
    width: 100%;
  }

  .item-row {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;

    img {
      height: 39px;
      width: 24px;

      &.thumbnail {
        position: relative;
        left: 25px;
        padding-right: 15px;
      }
    }

    .book-title {
      font-size: 16px;
      font-weight: 600;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 112px;
      white-space: nowrap;
    }

    .order-details {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-direction: column;
      height: 50px;
      width: 215px;
      position: relative;
      top: 13px;

      .order-book-icon {
        position: relative;
        top: 2px;
        padding-right: 8px;
      }

      span {
        font-size: 16px;
        text-align: left;
        line-height: 25px;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      &-delivery-info {
        font-weight: bold;
      }
    }

    .price {
      font-weight: 600;
      font-size: 16px;
      line-height: 25px;
    }
  }

  .bottom-line {
    margin-top: 30px;
  }

  .overview {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    width: 93%;
    margin-top: 30px;

    .items {
      font-size: 16px;
      font-weight: bold;
      color: #557596;
      text-align: left;
    }

    .overview-price-container {
      display: flex;
      justify-content: flex-start;
      justify-items: center;
      flex-direction: column;

      .overview-price {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
      }

      .overview-tax {
        font-size: 14px;
        text-align: right;
      }
    }
  }

  .modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 93%;
    margin-top: 30px;
  }
}

.secondary-info {
  width: 100%;
  margin-top: -10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.errors {
  margin-left: auto;
  min-width: 170px;
  margin-right: 20px;
  span {
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: bold;
    color: rgba(247, 4, 0, 1);
    text-align: right;
  }
}
