body.cartquotationwizardedit {

}

#cqw-quote-view {

    .js-disabled {
        opacity: 0.4;
        pointer-events: none;
    }

    #customerInfo {
        background-color: #f3f3f3;

        label {
            position: relative;

            i.md-checkbox-control {
                position: absolute;
                left: 0px;
                top:-3px;
            }
        }
    }

    .badge {
        padding: 0.45rem 0.6rem;
        margin: 0.1rem 0;
        font-size: .875rem;
        font-weight: 600;
        color: #6c868e;
        white-space: normal;
        background: #fff;
        border-radius: 1000px;
    }

    .info-block {
        padding: 12px;
        background-color: #f3f3f3;

        .header {
            font-weight: bold;
            font-size: 20px;
        }
    }

    #messages {
        #form {
            .form-group {
                display: block !important;
            }
        }
    }

    .messages-block {
        padding: 3rem 0;
        background-color: #f3f3f3;

        li .row {
            -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
        }

        .employee-icon::before {
            font-family: "Material Icons", sans-serif;
            content: "account_circle";
            color: #36b9d7;
        }

        .messages-block-icon {
            width: 100%;
            max-width: 3.7rem;
            text-align: center;
        }

        .row .messages-block-content {
            width: 100%;

            .message {
                padding: 0.7rem;
                box-shadow: 0 6px 12px 0 #eaebec;
            }
        }

        li.messages-block-employee {
            padding-left: 3.7rem;
        }

        .message.employee-message {
            background-color: #d3f1f7;
        }

        li.messages-block-customer {
            padding-right: 3.7rem;

            .message.customer-message {
                background-color: white;
            }
        }

    }
}

.cqw-dialog {
    position: absolute; 
    width: 400px; 
    height: 200px; 
    z-index:999;

    .cqw-dialog-title {
        font-size:1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .cqw-dialog-footer {
        margin-top: 10px;
        text-align: right;
    }
}

#pf-related-modules-wrapper {
    opacity: 0.6;
    transition: all 300ms ease;

    &:hover {
        opacity: 1;
    }

    #pf-related-modules-title {
        margin-bottom: 20px;
        font-weight: bold;
    }

    #pf-related-modules {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;

        .pf-related-module {
            cursor: pointer;
            flex: 1 1 300px;
            max-width: 1fr;
            display: grid;
            width: 400px;
            grid-template-columns: 100px 1fr;
            grid-template-rows: 1fr 30px;
            border: 1px solid rgba(0, 0, 0, 0.2);
            padding: 20px;
            background-color: white;

            .pf-related-module-icon {
                grid-column: 1;
                grid-row: 1;
            }

            .pf-related-module-info {
                grid-column: 2;
                grid-row: 1;
            }

            .pf-related-module-link {
                grid-column: 1 / span 2;
                grid-row: 2;
                height: 30px;
                text-align: right;
            }
        }
    }

    #pf-related-modules-link {
        margin: 20px 0;

        a {
            text-decoration: none;
        }
    }
}