@import "../../../../../assets/styles/index.scss";

.summary-header {
    @include rem("padding", 32px 17px 10px);
    background-color: $color-dark-gray5;
    color: $color-white;

    &__section-top {
        @include rem("padding", 0 15px 10px 15px);
    }
    &__section-top:first-child {
        border-bottom: 1px solid $color-dark-gray9;
    }

    &__price {
        @include body4;
        color: $color-dark-gray9;

        span {
            @include heading1;
            display: block;
            color: $color-white;
            margin-top: -10px;

            b {
                @include heading4;
                color: $color-dark-gray9;
                font-weight: normal;
            }
        }

        div {
            @include rem("margin-bottom", 10px);
            color: $color-white;
            margin-top: -8px;
        }
    }

    &__title {
            @include heading1;
            color: $color-white;
            text-align: right;

            div {
                font-size: 16px;
                font-family: 'Daimler CS', sans-serif;
                margin-bottom: -10px;

                span {
                    color: $color-dark-gray8;
                }

                span.user {
                    background-image: url('../../../../../assets/images/user-small-icon.png');
                    background-repeat: no-repeat;
                    @include rem("padding-left", 15px);
                    background-position: 0px 2px;
                }

                &.empty {
                    @include rem("height", 16px);
                }
            }
            
    }

    &__button {
        &-left {
            @include rem('padding', 32px);
            a {
                @include body3;
                @include rem('margin-right', 10px);
                @include rem('padding', 9px 9px 9px 35px);
                background-color: $color-dark-gray5;
                color: $color-white;
                border: 1px solid $color-white;
            }
            a:hover {
                background-color: $color-dark-gray3;
            }
        }
        &-right {
            @include rem('padding', 32px 20px 32px 32px);
            text-align: right;
            a {
                @include heading5;
                @include rem('margin-right', 10px);
                color: $color-white;
            }
        }
    }

    &__btn {
        &-test, &-edit, &-mail, &-editQuote, &-save {
            @include rem('background-size', 16px);
            @include rem('background-position', 10px 12px);
            background-repeat: no-repeat;
        }
        &-test {
            background-image: url('../../../../../assets/images/test-icon@2x.png');
        }
        &-edit {
            background-image: url('../../../../../assets/images/edit-icon@2x.png');
        }
        &-editQuote {
            background-image: url('../../../../../assets/images/edit-quote.png');
            background-size: 12px;
        }
        &-save {
            background-image: url('../../../../../assets/images/save-icon.svg');
        }
        &-mail {
            background-image: url('../../../../../assets/images/mail-icon@2x.png');
        }
        &-wishlist, &-finoption {
            @include rem('background-size', 12px);
            background-repeat: no-repeat;
        }
        &-editQuoteDisabled {
            color: $color-dark-gray1;
            cursor: not-allowed;
            opacity: 0.5;
            text-decoration: none;
        }
        &-wishlist {
            @include rem('padding', 18px 70px 18px 24px);
            @include rem('background-position', 190px 26px);
            background-image: url('../../../../../assets/images/arrow-icon@2x.png');
            background-color: $color-dark-gray1;
        }
        &-finoption {
            @include rem('padding', 18px 70px 18px 24px);
            @include rem('background-position', 190px 26px);
            background-image: url('../../../../../assets/images/arrow-icon@2x.png');
            background-color: $color-blue;
        }
    }
}

.finance-options-other-options {
    @include rem("padding", 30px);
    @include rem("font-size", 24px);
    text-align: center;
  }
  
.finance-options-img {
    background-image: url('../../../../../assets/images/finance-options.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    @include rem("height", 629px);
    @include rem("margin-top", 20px);
    width: 100%;
  }

.modal-header {
    @include rem('margin-top', 20px);
    border-bottom: 0;
}
.modal-title {
    @include heading2;
    @include rem('padding-left', 10px);
}
.modal-dialog {
    @include rem('max-width', 1000px);
}
.modal-body {
    @include body3;
    @include rem('height', 800px);
    padding: 0;
    overflow-y: auto;
}
.form-head {
    @include rem('padding-left', 30px);
}
.mailModel .modal-dialog {
    @include rem('max-width', 600px);
}
.mailModel .modal-body {
    height: auto;
}
.mailModel .modal-body .form-body {
    @include rem('padding', 0 30px 30px 30px);
}
.mailModel .form-head {
    @include rem('margin-bottom', 20px);
    padding-left: 0;
}
.mailModel .form-email label{
    display: block;
}
.mailModel .modal-footer button {
    text-transform: capitalize;
}
form .p-4{
    padding-top: 10px !important;
}
.form-greybg {
    @include rem('padding', 40px);
    background-color: $color-light-gray1;
}
.custom-checkbox span.fixwidth {
    @include rem('width', 100px);
    display: inline-block;
}
.financial-head {
    @include rem('margin', 20px 0);
}
.financial-body {
    font-family: 'Daimler', sans-serif;
}
.modal-footer {
    background-color: $color-light-gray2;
}
.btn {
    @include body3;
}
.btn-secondary {
    background: linear-gradient(180deg, #737373 0%, #5A5A5A 100%);
}
.info-box {
    @include rem('margin', 0 25px 20px 25px);
    color: $color-dark-red;
}
.form-row label {
    display: block;
}
.info-icon {
    @include rem('width', 20px);
    @include rem('height', 30px);
    @include rem('margin-right', 15px);
    background-image: url('../../../../../assets/images/Cross@2x.png');
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: 0px 5px;
    display: inline-block;
}
.info-box label {
    vertical-align: top;
}
.financial-msg {
    float: right;
}
.warning {
    color: $color-dark-red;
}

.terms-conditions {
    @include rem('padding', 20px);
    @include rem('margin-bottom', 20px);
    @include rem('margin-top', 20px);
    border: 1px solid $color-light-gray4;
}
.terms-conditions-box {
    @include rem('margin-top', 10px);
    @include rem('height', 150px);
    overflow-y: auto;
}

/* width */
::-webkit-scrollbar {
    @include rem('width', 10px);
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: $color-light-gray3;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: $color-dark-gray1;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: $color-blue;
  }

  .quotation-vehiclesummary {
    @include rem("margin-top", 20px);
    background-color: $color-dark-gray5;
    color: $color-white;

    &-left {
        float: left;
        padding: 0;
        text-align: center;
        background-color: $color-white;
        img {
            width: inherit;
        }
    }
    &-right {
        @include rem("padding", 25px 17px 10px);
        float: left;
    }

    &__price {
        @include body4;
        color: $color-dark-gray1;

        span {
            @include heading4;
            display: block;
            color: $color-white;

            b {
                @include heading4;
                @include rem("font-size", 20px);
                color: $color-dark-gray1;
                font-weight: normal;
            }
        }
    }

    &__title {
        @include rem('padding-top', 20px);
        @include rem("font-size", 28px);
        color: $color-white;
        text-align: right;
    }
  }
  .quotation-modal {
      .modal-header {
          margin: 0;
          @include rem("padding", 20px 50px);
          border-bottom: 1px solid #eeeeee;

          .modal-title {
            @include rem("padding", 0 10px);
          }

          
      .quotation-modal-subheading {
            @include rem("padding", 0 10px);
            strong {
                font-weight: bold;
            }
        }
      }
      &-body {
          @include rem("height", 600px);
          b {
              font-weight: bold;
          }
      }
         &-customertable {
            @include rem("padding", 20px 55px);
        }
        &-customertableform {
            input {
                @include rem("height", 50px);
                border-radius: 0;
                border: 1px solid $color-light-gray5;
            }
            div.btn-container {
                @include rem("padding-top", 33px);
                button {
                    background-image: linear-gradient(#666665, #3b3c3c);
                    font-family: 'Daimler', sans-serif;
                    @include rem("padding", 0 25px);
                    @include rem("line-height", 50px);
                    @include rem("margin-right", 10px);
                    @include rem("border-radius", 3px);
                    @include rem("font-size", 24px);
                    color: $color-white;
                    border: 0;
                    box-shadow: none;
                }
            }

        }
        &-leadtable {
            &--header {
                @include rem("padding", 20px 55px);
                background-color: #f8f8f8;
                border-bottom: 1px solid #eeeeee;

                label {
                    display: block;
                    margin-bottom: 0;
                }

                .back__btn {
                    background-image: linear-gradient($color-dark-gray1, $color-dark-gray4);
                    @include rem("padding", 5px 15px);
                    color: $color-white;
                    @include rem("margin-right", 10px);
                    @include border('all', 0, null , null);
                    @include border-radius(3px);
                }
            }
            &--body {
                @include rem("padding", 20px 55px);
                
                button.btn-addcustomer span{
                    background-image: url('../../../../../assets/images/add-icon.png');
                    background-repeat: no-repeat;
                    @include rem("background-size", 14px);
                    @include rem("background-position", 0 5px);
                    @include rem("width", 16px);
                    @include rem("height", 21px);
                    @include rem("margin-right", 10px);
                    display: inline-block;
                    margin-bottom: -3px;
                }
            }
        }
  }
  .quotation-modal-body {
      .btn-container {
          @include rem("padding", 10px 0);
          text-align: right;
      }
  }

  ::ng-deep {
    .spinner-container {
        color: $color-dark-gray1 !important;
      }
  }

  .align-spinner {
      @include rem("margin-top", 120px);
  }