.modal_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    top: 0;
    left: 0;
    .modal-dialog-box {
        position: absolute;
        width: 100%;
        max-width: 800px;
        height: 90%;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        right: 0;
        .modal-content {
            height: 100%;
            width: 100%;
            float: left;
            padding: 20px;
            text-align: center;
            button.close {
                position: absolute;
                top: 5px;
                right: 10px;
                span {
                    font-size: 35px;
                }
            }
            .modal-header {
                text-align: center;
                border: none;
                padding: 0;
                h5 {
                    width: 100%;
                }
                button.close:focus {
                    outline: none;
                }
            }
            .modal-body {
                overflow: auto;
                form.custom-form {
                    .form-group {
                        select.form-control {
                            background-color: transparent !important;
                            border: none;
                            border-bottom: 1px solid #454857;
                            border-radius: 0;
                            padding-left: 0;
                            font-size: 14px;
                            font-weight: 500;
                        }
                        .form-control {
                            background-color: transparent !important;
                            border: none;
                            border-bottom: 1px solid #454857;
                            border-radius: 0;
                            padding-left: 0;
                            font-size: 14px;
                            font-weight: 500;
                        }
                        label {
                            padding-left: 0;
                            margin: 0;
                            font-style: normal;
                            font-weight: 500;
                            opacity: 1;
                            color: #8f8f8f;
                            left: 0;
                            top: 15px;
                            font-size: 14px;
                            sup {
                                color: red;
                                font-size: 18px;
                                top: 0px;
                            }
                        }
                        label.custom {
                            font-size: 75%;
                            transform: translate3d(0, -100%, 0);
                            opacity: 1;
                            top: 15px;
                            sup {
                                color: red;
                                font-size: 18px;
                                top: 0px;
                            }
                        }
                    }
                }
                .btns {
                    width: auto;
                    border-radius: 100px;
                    margin: 0;
                    padding: 6px 40px;
                    font-size: 14px;
                    font-weight: 500;
                }
                .btns.blue {
                    color: #28a8e0 !important;
                    border: 2px solid #28a8e0;
                }
            }
        }
    }
}

.sales-detail,
.enquiry-list {
    .modal-header {
        text-align: center;
        border: none;
        padding-bottom: 0;
        h5 {
            width: 100%;
        }
    }
    .left_card {
        height: 100%;
    }
    .modal-body {
        padding: 0;
    }
    .table {
        border: none;
        border-collapse: separate;
        border-spacing: 0px 10px;
        padding: 0 5px;
        margin: 0;
        thead {
            background-color: transparent !important;
            tr {
                th {
                    padding: 0;
                    font-size: 14px;
                    font-weight: 500;
                }
                th:before {
                    background-color: transparent;
                }
            }
        }
        tbody {
            tr {
                box-shadow: 0 0px 5px rgba(0, 0, 0, 0.4);
                border-radius: 3px;
                td:before {
                    background-color: #DDDDDD;
                }
                td {
                    vertical-align: middle;
                    font-weight: 500;
                    color: #00334D;
                    img {
                        max-width: 90px;
                    }
                    b {
                        font-size: 24px;
                    }
                }
                td:nth-child(2) {
                    width: 60%;
                    text-align: left;
                }
            }
            tr:nth-child(even) {
                background: none;
            }
        }
    }
}

.terms {
    .modal-body {
        overflow: inherit !important;
    }
}

.dse-alert {
    .modal-dialog-box {
        max-width: 460px;
        height: max-content;
    }
}

.dse-alert.test-ride {
    .modal-header {
        height: 12px;
    }
    .modal-body {
        .form-group {
            text-align: left;
            font-weight: 500;
            input {
                font-weight: 500;
            }
            .custom-date {
                padding-left: 0;
                input {
                    width: 100%;
                }
            }
        }
    }
}

#pinModal_testride {
    .modal-dialog {
        max-width: 800px;
    }
    .modal-body {
        .main_content {
            width: 60%;
            text-align: center;
            margin: 0px auto;
            .input_left {
                .box {
                    height: inherit !important;
                }
                .form-group.box.input_square {
                    background-color: transparent;
                    width: 72%;
                    height: 50px;
                    cursor: pointer;
                    webkit-box-shadow: none;
                    box-shadow: none;
                    padding: 0;
                    float: left;
                    margin: 10px 50px;
                    .form-control {
                        border: none;
                        border: 2px solid #28a8e0;
                        border-radius: 0;
                        -webkit-box-shadow: none;
                        height: 50px;
                        font-size: 16px;
                        color: #28a8e0 !important;
                        font-weight: bold;
                        padding: .375rem 0;
                        height: 50px;
                        border-radius: 0;
                        background-color: transparent;
                        padding-left: 70px;
                        padding-top: 20px;
                        background-size: 30px;
                        background-repeat: no-repeat;
                        background-position: 30px center;
                        width: 60px;
                        background-image: none !important;
                        padding: 0;
                        font-size: 24px;
                        /* line-height: 1; */
                        text-align: center;
                    }
                    input {
                        float: left;
                        margin: 5px;
                    }
                    input[type=number]::-webkit-inner-spin-button,
                    input[type=number]::-webkit-outer-spin-button {
                        -webkit-appearance: none;
                        margin: 0;
                    }
                    .color_error {
                        top: 44px !important;
                    }
                }
                .form-group.otpbox.input_square {
                    background-color: transparent;
                    width: 72%;
                    height: 50px;
                    cursor: pointer;
                    webkit-box-shadow: none;
                    box-shadow: none;
                    padding: 0;
                    float: left;
                    margin: 10px 14%;
                    .form-control {
                        border: none;
                        border: 2px solid #28a8e0;
                        border-radius: 0;
                        -webkit-box-shadow: none;
                        height: 50px;
                        font-size: 16px;
                        color: #28a8e0 !important;
                        font-weight: bold;
                        padding: .375rem 0;
                        height: 50px;
                        border-radius: 0;
                        background-color: transparent;
                        padding-left: 70px;
                        padding-top: 20px;
                        background-size: 30px;
                        background-repeat: no-repeat;
                        background-position: 30px center;
                        width: 60px;
                        background-image: none !important;
                        padding: 0;
                        font-size: 24px;
                        /* line-height: 1; */
                        text-align: center;
                    }
                    input {
                        float: left;
                        margin: 5px;
                    }
                    input[type=number]::-webkit-inner-spin-button,
                    input[type=number]::-webkit-outer-spin-button {
                        -webkit-appearance: none;
                        margin: 0;
                    }
                    .color_error {
                        top: 44px !important;
                    }
                }
                .expire {
                    margin: 10px 50px;
                }
            }
            .form-control::placeholder {
                color: #28a8e0;
                opacity: 0.5;
            }
        }
        .final_btn {
            width: 100%;
            margin: 15px 0 0 0;
            text-align: center;
            float: left;
        }
        p.otp {
            float: left;
            margin: 20px 0 0 0;
            font-weight: 500;
        }
    }
    .logo {
        border-right: 1px solid #ccc;
        padding: 2px 25px;
        text-align: center;
        width: 40%;
        float: left;
    }
    .section1.modalcenter {
        width: 88%;
        margin: 0 6%;
        float: left;
        .forgot_pin_css {
            display: inline-block;
            margin: 20px 0 0 0;
            font-size: 12px;
            text-decoration: underline;
            cursor: pointer;
        }
    }
}

.dse-alert {
    .tick {
        padding-bottom: 10px;
    }
    .test-success {
        p {
            font-weight: 500;
        }
    }
}

#pinModal_testride {
    .modal-header {
        border: none;
        .close {
            position: absolute;
            right: 10px;
            top: 10px;
        }
    }
}