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

.rdg-blocks .rdg-box-list {
    width: 100%;

    @include title;

    .body {
        .box-register {
            width: 100%;

            .box-title {
                padding: .4rem;
                border-top-right-radius: .5rem;
                border-top-left-radius: .5rem;
                background-color: #f59c00;
                text-align: center;
                font-weight: 600;
                text-transform: uppercase;
                color: white;
                font-size: 1.5rem;
            }

            .box-body {
                background-color: white;
                padding: 1.5rem 2.5rem 1rem 2.5rem;

                @media (max-width: $breakpoint-md) {
                    & {
                        padding: 1rem;
                    }
                }

                .heading {
                    display: flex;
                    justify-content: center;
                    text-align: center;
                    font-size: 1.3rem;
                    font-weight: 600;
                }

                .box-content {
                    display: flex;
                    justify-content: center;
                    margin-top: 1rem;

                    ul {
                        margin: 0;

                        li {
                            list-style: none;
                            margin: 1.3rem 0;

                            i {
                                margin-right: .5rem;
                                font-weight: 600;
                                color: #00bb08;
                            }
                        }
                    }
                }

                label, input[type=text], a {
                    width: 100%;
                    display: block;
                }

                input[type=text] {
                    border-radius: .5rem;
                    margin-bottom: 1.5rem;
                    background-color: rgb(240, 240, 240);
                }

                label {
                    font-size: 1rem;
                    font-weight: 600;
                    color: black;
                    padding-bottom: .5rem;
                }

                .remember {
                    margin-left: .5rem;
                    font-size: .9rem;
                    font-weight: 600;
                    color: black;
                }

                .box-footer {
                    display: flex;
                    justify-content: center;
                    margin: 1.5rem 0;

                    a {
                        color: white;
                        width: auto;
                        text-align: center;
                        padding: .5rem 3rem;
                        border-radius: 1.5rem;
                        background-color: #f59c00;
                        text-transform: uppercase;
                        font-size: 1.2rem;
                        font-weight: 600;

                        @media (max-width: $breakpoint-md) {
                            & {
                                padding: .5rem 2rem;
                                font-size: 1rem;
                            }
                        }

                        @media (max-width: $breakpoint-sm) {
                            & {
                                padding: .5rem 1rem;
                                font-size: .9rem;
                            }
                        }
                    }
                }
            }
        }

        .box-list {
            width: 50%;
            background-color: lightgreen;
        }
    }
}

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