section.signup__page {
    margin-top: 60px;
    margin-bottom: 60px;

    .signup__page-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        width: 100%;
        max-width: 886px;
        margin: 0 auto;
        padding: clamp(16px, 6vw, 40px) clamp(16px, 6vw, 56px);

        .form__button {
            .button {
                min-width: 250px;
            }
        }
    }
}

.signup__header {
    display: flex;
    justify-content: space-between;
    column-gap: 12px;
    margin-bottom: 56px;

    .signup__title {
        color: var(--Base-Dark, #171717);
        font-size: 26px;
        font-style: normal;
        font-weight: 600;
        line-height: 140%;
        letter-spacing: 0.52px;
    }
}

.signup__link {
    color: var(--Gray-6, #9A9AA2);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.16px;
    align-self: center;

    a {
        color: var(--Dark-wine-2, #770E16);

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

.signup__fast {
    position: relative;

    .signup__fast-header {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-bottom: 32px;

        &:before {
            content: "";
            display: block;
            width: 100%;
            height: 1px;
            position: absolute;
            background-color: var(--Gray-4, #D1D1D2);
        }

        .signup__fast-title {
            color: var(--Gray-7, #7A7A85);
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 160%;
            letter-spacing: 0.28px;
            text-transform: uppercase;
            background-color: var(--Gray-1, #FAFAFA);
            position: relative;
            padding: 0 10px;
        }
    }

    .signup__fast-links {
        display: flex;
        column-gap: 15px;

        .signup__fast-link {
            display: inline-flex;
            min-height: 54px;
            padding: 15px 15px;
            column-gap: 15px;
            cursor: pointer;
            border-radius: 10px;
            transition: padding-left .3s ease;
            flex: 1 0 calc(50% - 15px);

            &.signup__fast-google {
                background-color: #ffffff;
                box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.17);

                .signup__fast-name {
                    color: rgba(0, 0, 0, 0.54);
                }
            }

            &.signup__fast-apple {
                background-color: #000000;

                .signup__fast-name {
                    color: #ffffff;
                }                
            }

            &:hover {
                padding-left: 18px;
            }

            .signup__fast-name {
                font-size: 18px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
            }
        }
    }
}

.login__fast {
    position: relative;
    margin-top: 60px;
    
    
    
    
    
    

    .login__fast-header {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-bottom: 32px;

        &:before {
            content: "";
            display: block;
            width: 100%;
            height: 1px;
            position: absolute;
            background-color: var(--Gray-4, #D1D1D2);
        }

        .login__fast-title {
            color: var(--Gray-7, #7A7A85);
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 160%;
            letter-spacing: 0.28px;
            text-transform: uppercase;
            background-color: var(--Gray-1, #FAFAFA);
            position: relative;
            padding: 0 10px;
        }
    }

    .login__fast-links {
        display: flex;
        column-gap: 15px;

        .login__fast-link {
            display: inline-flex;
            min-height: 54px;
            padding: 15px 15px;
            column-gap: 15px;
            cursor: pointer;
            border-radius: 10px;
            transition: padding-left .3s ease;
            flex: 1 0 calc(50% - 15px);

            &.login__fast-google {
                background-color: #ffffff;
                box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.17);

                .login__fast-name {
                    color: rgba(0, 0, 0, 0.54);
                }
            }

            &.login__fast-apple {
                background-color: #000000;

                .login__fast-name {
                    color: #ffffff;
                }                
            }

            &:hover {
                padding-left: 18px;
            }

            .login__fast-name {
                font-size: 18px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
            }
        }
    }
}


section.login__page {
    margin-top: 60px;
    margin-bottom: 60px;

    .login__page-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        width: 100%;
        max-width: 594px;
        margin: 0 auto;
        padding: clamp(16px, 6vw, 56px) clamp(16px, 6vw, 56px);

        .form__buttons {
            margin-top: 56px;
            display: flex;
            flex-direction: column;
            row-gap: 16px;
            

            .button {
                width: 100%;
            }
        }
    }
}



.login__header {
    display: flex;
    justify-content: space-between;
    column-gap: 12px;
    margin-bottom: 56px;

    .login__title {
        color: var(--Base-Dark, #171717);
        font-size: 32px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        letter-spacing: 0.64px;
    }
}


.form__actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    row-gap: 12px;
    flex-wrap: wrap;

    .form__link {
        color: var(--Dark-wine-2, #770E16);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        letter-spacing: 0.16px;

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


section.password__page {
    margin-top: 60px;
    margin-bottom: 60px;

    .password__page-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        width: 100%;
        max-width: 594px;
        margin: 0 auto;
        padding: clamp(16px, 6vw, 56px) clamp(16px, 6vw, 56px);

        .form__buttons {
            margin-top: 56px;
            display: flex;
            flex-direction: column;
            row-gap: 16px;

            .button {
                width: 100%;
            }
        }
    }

    .page__back {
        width: 100%;
        max-width: 594px;
        margin: 0 auto 40px;
    }
}



.password__header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 12px;
    margin-bottom: 56px;
    

    .password__title {
        color: var(--Base-Dark, #171717);
        font-size: 32px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        letter-spacing: 0.64px;
    }

    .password__description {
        margin-top: 16px;
        color: var(--Base-Dark, #171717);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        letter-spacing: 0.16px;
    }
}


section.verification__page {
    margin-top: 60px;
    margin-bottom: 60px;

    .verification__page-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        width: 100%;
        max-width: 594px;
        margin: 0 auto;
        padding: clamp(16px, 6vw, 56px) clamp(16px, 6vw, 56px);

        .form__buttons {
            margin-top: 56px;
            display: flex;
            flex-direction: column;
            row-gap: 16px;

            .button {
                width: 100%;
            }
        }
    }

    .page__back {
        width: 100%;
        max-width: 594px;
        margin: 0 auto 40px;
    }
}



.verification__header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 12px;
    margin-bottom: 56px;
    

    .verification__title {
        color: var(--Base-Dark, #171717);
        font-size: 32px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        letter-spacing: 0.64px;
    }

    .verification__description {
        margin-top: 16px;
        color: var(--Base-Dark, #171717);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        letter-spacing: 0.16px;
    }
}

@media (max-width: 992px) {
    .page-template-login,
    .page-template-signup,
    .page-template-password-reset {
        .header__middle {
            background:#fff;
        }
        .header__bottom {
            display:none;
        }
        .main {
            padding-top:59px;
        }
    }
    section.login__page {
        margin-top:0;
        margin-bottom:0;

        .container {
            margin-left:0;
            margin-right:0;
            width:100%;

            .login__page-wrap {
                border-bottom-width:0px;
                max-width: 100%;
                width: 100%;
                border-radius: 0;
                padding:32px 16px 0 16px;
                box-sizing:border-box;

                .login__header {
                    margin-bottom:40px;

                    .login__title {
                        font-size: 28px;
                        font-weight: 500;
                        line-height: 140%;
                        letter-spacing: 0.56px;
                    }
                }

                .login__fast {
                    .login__fast-links {
                        justify-content:center;

                        .login__fast-link {
                            flex:none;
                            width:auto;

                            span {
                                display:none;
                            }
                        }
                    }
                }
            }

        }
    }

    section.password__page {
        margin-top:0;
        background-color: var(--Gray-1, #FAFAFA);
        padding-top:32px;
        padding-bottom:120px;
        margin-bottom:0;

        .container {
            .password__page-wrap {
                max-width:100%;
                width:100%;
                border-radius:0;
                border-width:0;
                padding:0;

                .password__header {
                    margin-bottom:56px;
                    display:block;

                    .form__buttons {
                        margin-top:40px;
                    }
                }
            }
            .page__back {
                margin-bottom:32px;
                margin-left:0;
                margin-right:0;

                .page__back-link {
                    font-size: 12px;
                    font-weight: 500;
                    line-height: 100%;
                    letter-spacing: 0.24px;
                    text-transform: uppercase;
                    gap:8px;

                    svg {
                        width:15px;
                    }
                }
            }
        }
    }

    section.signup__page {
        margin-top:0;
        background-color: var(--Gray-1, #FAFAFA);
        padding: 32px 16px 24px 16px;
        margin-bottom:0;

        .container {
            width:100%;

            .signup__page-wrap {
                border-radius:0;
                border-width:0;
                padding:0;

                .signup__header {
                    display:block;
                    margin-bottom:32px;

                    .signup__title {
                        font-size:28px;
                        margin-bottom:16px;
                    }

                }
                .signup__fast {
                    .signup__fast-header {
                        margin-bottom:16px;
                        padding-top:4px;
                        padding-bottom:4px;
                    }
                    .signup__fast-links {
                        justify-content:center;

                        a {
                            flex:none;
                            .signup__fast-name {
                                display:none;
                            }
                        }
                    }
                }
                .signup__form {

                    .form__button {
                        button {
                            width:100%;
                        }
                    }
                }
            }
        }
    }

    section.verification__page {
        margin-top:0;
        background-color: var(--Gray-1, #FAFAFA);
        padding-top:32px;
        padding-bottom:120px;
        margin-bottom:0;

        .verification__page-wrap {
            border-radius: 0;
            border-width:0;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            padding: 0;

            .verification__header {
                margin-bottom:40px;

                .verification__title {
                    font-size: 28px;
                    font-weight: 500;
                    line-height: 140%;
                    letter-spacing: 0.56px;
                }
            }

            .verification__form {
                input {
                    width:40px;
                    height:40px;
                }
            }

            .form__buttons {
                margin-top: 40px;
                display: flex;
                flex-direction: column;
                row-gap: 16px;

                .button {
                    width: 100%;
                }
            }
        }
    }
}