@import '../../../../assets/scss/abstracts/variables';
@import '../../../../assets/scss/abstracts/mixins';

.rdg-blocks .rdg-product-report {
    width: 100%;

    .content {
        width: 100%;
        display: flex;
        flex-direction: column;

        @include title;

        .header {
            display: flex;
            justify-content: space-between;
            padding: .6rem 1rem;
            border-top-right-radius: .6rem;
            border-top-left-radius: .6rem;
            background-color: var(--color-product-report-title-bg);

            .header-title {
                color: var(--color-product-report-title);
            }

            .header-icon {
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 1.2rem;
                
                svg {
                    fill: var(--color-product-report-title-icon);
                }
            }
        }

        .body {
            padding: 1rem;

            p {
                margin-bottom: 1.2rem;

                &:last-of-type {
                    margin-bottom: 0;
                }
            }
        }

        .message {
            font-size: 1.2rem;
            text-align: center;
            padding: 1rem;
            color: var(--color-white);
            background-color: var(--color-message-bg);
            border: 1px solid var(--color-message-border);
        }
    }
}

.acf-block-preview {
    .rdg-product-report {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}
