@import "../../../../_common/scss/main";

.LoginPanel {
    &__Form {
        &__InputWrap {
            &__Input {
                width: 100%;
                margin-top: $gutter;
            }
        }

        &__ButtonWrap {
            margin: $gutter 0;
        }

        &__AccountWrap {
            display: flex;
            justify-content: center;
            align-items: center;

            @media (max-width: $site-width-mobile-large) {
                margin-top: -($gutter + $gutter-small);
            }

            &__Item {
                margin: 0;

                &:last-child {
                    margin-bottom: 0;
                }

                &__Label,
                &__Link {
                    font-size: $font-size-h4;
                }

                &__Label {
                    user-select: none;

                    .Checkbox__text {
                        @media (max-width: $site-width-mobile-large) {
                            font-size: 13px;
                        }
                    }

                    &__Box {
                        margin-right: $gutter;
                    }
                }

                &__Link {
                    cursor: pointer;
                    padding: 0;
                    margin-top: $gutter-small;

                    &.dcom-button.small {
                        height: 47px;

                        @media (max-width: $site-width-mobile-large) {
                            font-size: 13px;
                            padding: 4px $gutter;
                        }
                    }

                    &:hover {
                        text-decoration: underline;
                    }

                    @media (max-width: $site-width-mobile-large) {
                        &.dcom-button.small {
                            height: 47px;
                        }
                    }
                }
            }
        }
    }

    &__recaptcha {
        padding: $gutter 0 0;

        > div > div {
            display: flex;
            justify-content: flex-start;

            @include tablet {
                justify-content: center;
            }
        }
    }

    &__Error {
        margin-bottom: $gutter;
    }

    &__SignUpLink {
        &__Copy {
            padding: $gutter 0 0;
        }

        &__Button.h4 {
            background: none;
            border: none;
            padding: 0 $gutter-small;
            color: $primary-color;
            cursor: pointer;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    &__Terms,
    &__Legal {
        max-width: 300px;
        text-align: center;
        margin: 0 auto $gutter-large;
        color: $primary-text-color;
    }

    &__Terms {
        margin-top: -($gutter-small);
    }
}
