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

.rdg-blocks .rdg-register {
    width: 100%;

    @include title;

    .body {
        .box {
            width: 100%;

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

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

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

                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;
                }

                .link {
                    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: #00bb08;
                        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-footer {
                    border-top: 1px solid rgb(201, 201, 201);
                    padding-top: 1rem;
                    text-align: center;
                    
                    a {
                        color: gray;
                        text-decoration: underline;
                        font-weight: 600;
                    }
                }
            }
        }

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

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