/* Login Component */
.login-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 48.25rem;
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.25);
    margin: auto;
    position: relative;
    z-index: 3;
    padding: var(--wp--preset--spacing--8);

    .site-logo {
        display: inline-block;
        width: 15.125rem;
        height: auto;
        max-height: 1.75rem;

        svg {
            height: 100%;
            width: 100%;
        }
    }

    /* Uncanny Owl - Front End Login Module*/

    .uo_loginForm {
        label {
            font-size: var(--wp--preset--font-size--small);
            display: inline-block;
            margin-bottom: var(--wp--preset--spacing--2);
        }

        input:not([type="submit"], [type="checkbox"]) {
            width: 100%;
            border: 1px solid var(--color-gray-300);
        }

        input[type="submit"] {
            min-width: 10rem;
        }

        .login-username {
            margin-bottom: var(--wp--preset--spacing--6);

            input[type="text"] {
                height: unset;
            }
        }

        .login-password {
            margin-bottom: var(--wp--preset--spacing--6);

            input[type="password"]{
                padding: var(--wp--preset--spacing--8);
                width: 100%;
                height: unset;            
            }
        }

        .login-remember {
            margin-bottom: var(--wp--preset--spacing--6);

            input[type="checkbox"] {
                margin-right: var(--wp--preset--spacing--2);
                width: 1rem;
                height: 1rem;
            }

            label {
                font-size: var(--wp--preset--font-size--x-small);
                font-weight: 400 !important;
            }
        }

        .login-links-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: var(--wp--preset--spacing--5);
            font-size: var(--wp--preset--font-size--small);
            margin-top: var(--wp--preset--spacing--7);

            .bys-ult-register {
                border-radius: 0.5rem;
                background-color: var(--color-gray-50);
                padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);

                p {
                    margin: 0;
                }
            }

            .forgot-link {
                font-weight: 500;
            }
        }


        /* Custom password field wrapper */
        .password-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;

            /* Visibility button */
            .toggle-visibility {
                background-color: transparent !important;
                border: 0;
                border-radius: 0.25rem;
                height: 1.5rem !important;
                width: 1.5rem !important;
                padding: 1rem;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: 1rem;
                background-size: 80%;
                background-position: center center;
                background-repeat: no-repeat;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true' focusable='false'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");

                &.is-visible {
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true' focusable='false'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
                }

                &:hover {
                    background-color: var(--color-gray-100) !important;
                } 

            }
        }

        /* Lost Password Form */
        form[name="lostpasswordform"] {
            margin-top: var(--wp--preset--spacing--6);

            .submit {
                margin-top: var(--wp--preset--spacing--7);
            }
        }
    }
}
