/* Base Settings */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --white: #fff;
    --black: #000;
    --darkbg-color: #202123;
    --primary-font: "Lato", sans-serif;
    --title-font: "Montserrat", sans-serif;
}


/* LEFT PANEL */
html {
    height: auto;
}

body {
    font-family: var(--primary-font) !important;
    line-height: normal !important;
}

.admin__field:not(.admin__field-option)>.admin__field-label {
    font-family: var(--primary-font) !important;
    line-height: normal !important;
}

a {
    color: var(--black);
    text-decoration: none;
    font-family: var(--primary-font);
    transition: all 0.3s ease;

    &:hover {
        color: var(--black);
        text-decoration: underline;
        opacity: 0.6;
        transition: all 0.3s ease;
    }
}

.action-primary {
    border: 2px solid var(--black);
    background: var(--black);
    transition: all 0.3s ease-in;
    font-family: var(--primary-font);

    &:hover {
        transition: all 0.3s ease-in;
        background-color: transparent;
        color: var(--black);
        box-shadow: none;
        text-shadow: none;
        border-color: var(--black);
    }
}

.vendor-register-left {
    background: #0F1419;
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    font-family: var(--title-font);
}

.vendor-register-left h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.vendor-register-left p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 350px;
}

/* LEFT IMAGE */
.left-image img {
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

/* RIGHT PANEL */
.vendor-register-right,
.kami-login-panel {
    width: 55%;
    padding: 60px;
    background: #ffffff;

    .copyright-content {
        margin: 0 auto;
        text-align: left !important;
        margin-top: 40px;

        @media (min-width:768px) {
            max-width: 40%;
        }
    }
}

/* FORM title */
.vendor-register-right legend span,
.kami-login-panel legend span {
    font-size: 24px !important;
    color: var(--black) !important;
    display: block;
    font-weight: 700;
    line-height: normal;
    font-family: var(--title-font);
}

.page-layout-admin-login .admin__legend {
    font-size: 24px !important;
    color: var(--black) !important;
    display: block;
    font-weight: 700;
    line-height: normal;
    font-family: var(--title-font);
}

/* form field spacing */
.admin__field {
    margin-bottom: 20px;
}

.page-layout-admin-login {
    .page-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0;
        min-height: 100dvh;

        .login-header {
            margin: 20px;
            display: none;
        }

        .login-content {

            .vendor-register-wrapper,
            .vendor-admin-ogin-wrapper {
                display: flex;
                flex-wrap: wrap;

                [data-content-type='row'][data-appearance='contained'],
                .vendor-admin-login-left {
                    max-width: 100%;
                    margin: 0;
                    width: 100%;
                    display: none;

                    [data-pb-style=LEKO9TC] {
                        height: 100%;

                        >div {
                            height: 100%;
                        }
                    }

                    @media (min-width:768px) {
                        width: 35%;
                        display: block;
                        position: sticky;
                        z-index: 99;
                        top: 0;
                        left: 0;
                        height: 99.9dvh;
                        overflow: hidden;
                        margin-top: -1px;
                        margin-left: -1px;
                    }
                }

                .vendor-register-right,
                .kami-login-panel {
                    width: 100%;

                    @media (min-width:768px) {
                        width: 65%;
                    }

                    #login-form {
                        max-width: 100%;
                        margin: 0 auto;

                        @media (min-width:1024px) {
                            max-width: 60%;
                        }

                        @media (min-width:1200px) {
                            max-width: 40%;
                        }

                        span.note {
                            display: block;
                            margin-top: 4px;
                            font-size: 13px;
                            font-style: italic;
                            letter-spacing: 0.2px;
                        }

                        .admin__fieldset {
                            .admin__legend {
                                max-width: 100%;

                                span {
                                    display: block;
                                    font-weight: 700;
                                    line-height: normal;
                                }
                            }
                        }

                        .admin__field {
                            margin-left: 0 !important;
                            letter-spacing: -0.3px;

                            &.field-captcha {
                                padding-left: 0 !important;

                            }

                            label {
                                margin-left: 0 !important;
                            }

                            .admin__field-control {
                                margin-left: 0 !important;

                                span {
                                    a {
                                        text-decoration: underline;
                                    }
                                }

                                .admin__field-error,
                                label.mage-error {
                                    background: rgba(238, 125, 125, 0.2);
                                    border: 1px solid #ee7d7d;
                                    box-sizing: border-box;
                                    color: #555555;
                                    display: block;
                                    font-size: 1.2rem;
                                    font-weight: 400;
                                    line-height: 1.2;
                                    margin: 6px 0;
                                    padding: 5px;
                                }

                                #website_visibility {
                                    width: 100%;
                                    margin-bottom: 5px;
                                }
                            }

                        }
                    }

                    .login_form_wrapper {
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        fieldset.admin__fieldset.kami-fieldset {
                            width: 100%;
                        }
                    }

                    .admin__legend {
                        max-width: 100%;
                        margin: 0 auto;
                        line-height: 1.2;
                        margin: -1rem 0 2.5rem;

                        @media (min-width:1024px) {
                            max-width: 60%;
                        }

                        @media (min-width:1200px) {
                            max-width: 40%;
                        }
                    }
                }
            }

            [data-pb-style=GD53TYO] {
                height: 100%;
            }

            [data-pb-style=GD53TYO]>div {
                height: 100%;
            }
        }
    }

    .form-actions {
        .links {
            .action-back {
                font-size: 15px;
                padding-left: 15px;
                position: relative;
                text-decoration: underline;

                &::before {
                    content: "";
                    position: absolute;
                    border: solid var(--black);
                    border-width: 0 2px 2px 0;
                    display: inline-block;
                    padding: 3px;
                    transform: rotate(135deg);
                    -webkit-transform: rotate(135deg);
                    top: 6px;
                    left: 0;
                }
            }
        }
    }

    .form-actions.kami-form-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 25px;
        padding-bottom: 25px;
        flex-wrap: wrap;
        gap: 20px 0;

        .actions {
            padding-top: 0;
            padding-bottom: 0;
        }
    }

    .login-footer {
        color: var(--black);
        font-size: 14px;
        font-weight: 400;
        left: 0;
        margin: 25px 0;
        position: relative;
        text-align: center;
        top: 100%;
        width: 100%;
        line-height: normal;
    }

    [data-pb-style=SMQ5XE3] {
        height: 100%;

        >div {
            height: 100%;
        }
    }

    .vendor-register-left {
        height: 100%;

        p {
            font-size: 14px;
            line-height: 1.6;
            max-width: 100%;
        }

        .left-content {
            .brand-title {
                color: #fff;
            }

            h3 {
                color: #fff;
            }
        }
    }
}

.vendor-admin-login-left {
    [data-content-type='row'][data-appearance='contained'] {
        max-width: 100% !important;
        width: 100% !important;
        position: relative !important;
        height: 100dvh !important;
    }
}

.kami-create-account,
.form-actions.kami-form-actions .links {

    .kami-create-link,
    a.action-forgotpassword {
        text-decoration: underline;
    }
}

.page-footer {
    .footer {
        padding: 60px 0 0;
        color: var(--white);
        background-color: var(--darkbg-color);

        @media (max-width:767px) {
            padding: 40px 0 0;
        }

        .inner-footer {
            .footer-container {
                display: flex;
                gap: 50px;
                margin-bottom: 50px;
                justify-content: space-between;

                @media (max-width:767px) {
                    margin-bottom: 40px;
                    flex-wrap: wrap;
                }

                .footer-brand {
                    @media (max-width:767px) {
                        max-width: 100%;
                        flex: 0 0 100%;
                    }

                    a {
                        display: block;
                        width: fit-content;
                    }
                }

                .footer-support,
                .footer-follow {
                    h4 {
                        font-size: 22px;
                        color: var(--white);
                        font-weight: 600;
                        letter-spacing: 0.3px;
                        line-height: normal;
                        margin-bottom: 20px;
                    }

                    .icons {
                        display: flex;
                        gap: 20px;
                        align-items: center;

                        a {
                            display: block;

                            img {
                                height: 22px;
                                width: auto;
                                filter: invert(1);
                                transition: all 0.3s ease;
                            }

                            &:hover {
                                img {
                                    transition: all 0.3s ease;
                                    opacity: 0.6;
                                }
                            }
                        }
                    }

                    ul {
                        li {
                            a {
                                color: var(--white);
                                font-size: 16px;
                                line-height: normal;
                                margin-bottom: 6px;
                                transition: all 0.3s ease;
                                display: inline-block;

                                &:hover {
                                    transition: all 0.3s ease;
                                    opacity: 0.6;
                                    transition: all 0.3s ease;
                                }
                            }
                        }
                    }

                }
            }

            .footer-bottom {
                padding: 30px 0;
                background-color: var(--darkbg-color);
                border-top: 1px solid rgba(255, 255, 255, 0.32);

                .r_container {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 20px;
                    flex-wrap: wrap;

                    p {
                        margin-bottom: 0;
                        font-size: 14px;
                        line-height: normal;
                        color: var(--white);

                        @media (max-width:767px) {
                            font-size: 12px;
                        }
                    }

                    .bottom-links {
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;

                        a {
                            display: inline-block;
                            font-size: 14px;
                            color: var(--white);
                            line-height: normal;
                            transition: all 0.3s ease;
                            padding-right: 10px;
                            margin-right: 10px;
                            position: relative;

                            @media (max-width:767px) {
                                font-size: 12px;
                            }

                            &::after {
                                content: "|";
                                position: absolute;
                                right: 0;
                                color: var(--white);
                                opacity: 0.6;
                            }

                            &:hover {
                                transition: all 0.3s ease;
                                opacity: 0.6;
                            }

                            &:last-child {
                                padding-right: 0;
                                margin-right: 0;

                                &::after {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
.admin__field.field-invisible-recaptcha {
    padding-left: 0 !important;
}