/*
 FileName:     PHASE Login CSS
 Description:  Login Page Customization by PHASE Digital
 Author:       PHASE Digital
 Author URI:   https://phase-digital.com
 Version:      0.1
*/
@font-face {
    font-family: 'Fredoka';
    font-style: normal;
    font-weight: 300 700;
    font-stretch: 100%;
    font-display: swap;
    src: url("https://kolibridaycare.com/wp-content/themes/phase_theme/includes/fonts/Fredoka-VariableFont.woff2") format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --PrimaryColor: #520196;
    --SecondaryColor: #d62685;
    --HeadFont: "Fredoka";
    --BodyFont: 'Fredoka';
}
p, li, a {
    font-family: var(--BodyFont);
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--HeadFont);
}
body {
    background: #fff;
    font-family: var(--BodyFont);
    font-weight: 400;
    position: relative;
}
.login {
    &.login-action-register {
        #login {
            padding-top: 50px;
        }
    }
    #login {
        box-sizing: border-box;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        margin: 0px;
        min-height: 100%;
        padding: 0 40px;
        position: relative;
        width: 100%;
        z-index: 2;

        form {
            background: transparent;
            border: none !important;
            box-shadow: none !important;
            max-width: 500px;
            margin: 0px;
            overflow: visible;
            padding: 0px;

            input {
                margin: 0 0 15px 0;
                width: 100%;
            }
            label {
                width: 100%;
            }
            .name {
                display: flex;
                flex-flow: row nowrap;
                gap: 0 10px;
            }
            .password {
                display: flex;
                flex-flow: row nowrap;
                gap: 0 10px;
            }
            .submit {
                display: flex;
                justify-content: center;

                #wp-submit {
                    background: var(--PrimaryColor);
                    border: 0px !important;
                    border-radius: 20px;
                    color: #fff;
                    font-size: 16px;
                    font-weight: 500;
                    margin-top: 0px;
                    padding: 3px 0;
                    transition: 0.2s;
                    width: 200px;
        
                    &:hover {
                        background: var(--SecondaryColor);
                    }
                }
            }
            &#registerform > p:first-child{
                display: none !important;
            }
        }
        h1 {
            margin-bottom: 10px;

            a {
                background-image: url('/wp-content/uploads/kolibri_logo.png');
                background-size: contain;
                background-repeat: no-repeat;
                margin-bottom: 10px;
                height: 85px;
                width: 400px;
            }
        }
        label {
            color: #7b7b7b;
            font-size: 20px;
            line-height: 1.8em;
            margin: 0px;
        }
        #backtoblog, .forgetmenot {
            display: none;
        }
        .cf-turnstile {
            margin: 5px 0 0 0 !important;
            text-align: center;
        }
        .g-recaptcha {
            margin: 0px !important;
            width: 100%;
    
            & > div {
                margin: 0 auto;
            }
        }
        .login-title {
            font-size: 18px;
            margin-bottom: 20px;
            color: #000;
        }
        .message {
            border-left: 4px solid #7605ff;
        }
        .notice {
            box-sizing: border-box;
            max-width: 500px;
            margin: 20px auto 20px auto;
            width: 100%;

            p {
                font-size: 16px;
            }
        }
        #nav {
            margin: 0px auto;
            text-align: center;
    
            & > a {
                color: #000;
                font-size: 16px;
            }
        }
        .privacy-policy-page-link {
            padding-bottom: 20px;
        }
        #reg_passmail {
            display: none !important;
        }
        .wp-generate-pw {
            background: var(--SecondaryColor);
            border: 0px !important;
            border-radius: 20px;
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            margin-right: 20px;
            margin-top: 10px;
            padding: 3px 0;
            transition: 0.2s;
            width: 200px;

            &:hover {
                background: var(--PrimaryColor);
            }
        }
    }
}
.page-dec-1 {
    display: block;
    height: 500px;
    position: absolute;
    top: 0px;
    right: 0px;
    overflow: hidden;
    width: 420px;
    z-index: 1;

    & > div {
        background: linear-gradient(45deg, rgba(118,5,255,1) 0%, rgba(118,5,255,1) 35%, rgba(160,82,255,1) 55%, rgba(160,82,255,1) 100%);
        border-radius: 180px;
        display: block;
        height: 500px;
        position: absolute;
        bottom: 80px;
        left: 10px;
        transform: rotate(35deg);
        width: 700px;
    }
}
.page-dec-2 {
    display: block;
    height: 600px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    overflow: hidden;
    width: 400px;
    z-index: 1;

    & > div {
        background: linear-gradient(225deg, rgba(118,5,255,1) 0%, rgba(118,5,255,1) 35%, rgba(160,82,255,1) 55%, rgba(160,82,255,1) 100%);
        border-radius: 180px;
        display: block;
        height: 500px;
        position: absolute;
        right: 0px;
        top: 110px;
        transform: rotate(55deg);
        width: 700px;
    }
}
.login-signup {
	max-width: 700px;
	margin: 50px auto 0 auto;
}
@media screen and (max-width: 1250px) {
    .page-dec-1 {
        height: 420px;
        width: 300px;
    }
    .page-dec-2 {
        height: 500px;
        width: 320px;
    }
}
@media screen and (max-width: 767px) {
    .login {
        #login {
            padding: 0 30px;
        }
    }
    .page-dec-1, .page-dec-2 {
        display: none;
    }
}
@media screen and (max-width: 600px) {
    .login {
        #login {
            form {
                .name {
                    flex-flow: column nowrap;
                }
                .password {
                    flex-flow: column nowrap;
                }
                .submit {
                    flex-flow: column nowrap;
                    align-items: center;

                    .wp-generate-pw {
                        margin-right: 0px;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 450px) {
	.login {
        #login {
            h1 {
                a {
                    background-position: 65px 0px;
                    height: 75px;
                    width: 340px;
                }
            }
        }
	}
}
@media screen and (max-width: 400px) {
    .login {
        #login {
            padding: 0 20px;
        }
    }
}