/*----------------------------------------------
    # Order details
----------------------------------------------*/
.order-status-wrap {
    overflow-x: auto;
    &.order-details-page {
        background-color: var(--form-bg-color);
    }
    
    tbody {
        tr {
            td {
                &:nth-child(1) {
                    min-width: 180px;
                }

                &:nth-child(2) {
                    min-width: 120px;
                }

                &:nth-child(3) {
                    min-width: 270px;
                }
            }
        }
    }
}

.order-inner-content-wrap {
    border: 1px solid var(--form-bg-color);
    padding: 29px 30px 28px;
    border-radius: 5px;
    margin-bottom: 40px;

    .title {
        font-family: var(--heading-font);
        font-size: 24px;
        font-weight: 700;
        line-height: 35px;
        color: var(--heading-color);
        text-transform: capitalize;
        margin-bottom: 15px;
    }

    .billing-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 25px;

        .date-time {
            color: var(--heading-color);

            .date {
                display: block;
            }

            .time {
                display: block;
            }
        }

        .address {
            text-align: right;
            color: var(--heading-color);

            .topic-title {
                font-size: 20px;
                font-weight: 600;
                line-height: 26px;
                text-transform: capitalize;
                margin-bottom: 25px;

            }

            .address {
                width: 190px;
            }
        }
    }

    .order-summery-list {
        .single-order-summery {
            font-size: 16px;
            line-height: 26px;
            text-transform: capitalize;
            color: #666666;
            padding-bottom: 1px;

            .text-deep {
                font-weight: 600;
                color: var(--heading-color);
            }

            .color-main {
                color: var(--main-color-one);
                font-size: 20px;
            }

            .content {
                display: flex;
                flex-flow: row wrap;
                justify-content: space-between;
                padding: 7px 0;

                .subject {}

                .object {}

                &.ex {
                    padding-bottom: 15px;
                    margin-bottom: 15px;
                }
            }

            .internal-order-summery-list {
                .internal-single-order-summery {
                    display: flex;
                    flex-flow: row wrap;
                    justify-content: space-between;
                    padding-bottom: 8px;

                    &:last-child {
                        padding-bottom: 7px;
                    }

                    .internal-subject {
                        .times {}
                    }

                    .internal-object {}
                }
            }

            .order-form {
                padding-top: 8px;

                .form-check-input {
                    margin-top: 7px;
                }

                .form-check-label {
                    padding-left: 8px;

                    &.cursor {
                        &:hover {
                            cursor: pointer;
                        }
                    }
                }

                .terms-and-cond {
                    font-weight: 600;

                    a {
                        color: var(--main-color-one);
                    }
                }

                .payment-gateway-list {
                    display: flex;
                    padding: 8px 0;
                    margin-left: -28px;

                    .single-gateway-item {
                        margin-right: 10px;
                        display: inline-block;
                        position: relative;

                        &::before {
                            position: absolute;
                            content: "";
                            width: 100%;
                            height: 100%;
                            border: 1px solid transparent;
                        }

                        &.selected {
                            position: relative;

                            &::before {
                                position: absolute;
                                content: "";
                                width: 100%;
                                height: 100%;
                                border: 1px solid var(--main-color-one);
                            }

                            &::after {
                                position: absolute;
                                right: 0;
                                top: 0;
                                width: 10px;
                                height: 10px;
                                background-color: var(--main-color-one);
                                content: "";
                                font-weight: 900;
                                color: #fff;
                                font-family: "Font Awesome 5 Free";
                                font-size: 5px;
                                line-height: 7px;
                                text-align: center;
                                padding-top: 2px;
                                padding-left: 2px;
                                visibility: visible;
                                opacity: 1;
                                -webkit-transition: all 0.3s;
                                transition: all 0.3s;
                            }

                        }

                        &:hover {
                            cursor: pointer;
                        }
                    }
                }

                .ex-padding {
                    padding-top: 20px;
                }

                .btn-wrapper {
                    padding-top: 5px;

                    .btn-default {
                        display: block;
                        font-weight: 600;
                        border-radius: 25px;
                        height: 50px;
                        line-height: 30px;

                        &:last-child {
                            margin-top: 20px;
                            background-color: $white;
                            color: var(--heading-color);
                            border-color: $white;

                            &:hover {
                                background-color: transparent;
                                border-color: var(--main-color-one);
                                color: var(--main-color-one);
                            }
                        }
                    }
                }
            }

            &.border-bottom {
                border-bottom: 1px solid #DDDDDD;
                padding-bottom: 9px;
                margin-bottom: 8px;
            }
        }
    }
}