.vluxeo-system-default {
    .bg-overlay {
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background-image: radial-gradient(
            at top center,
            #ffffff 0%,
            #ffffff 0%
        );
        background-color: transparent;
        opacity: 0.3;
        transition:
            background 0.3s,
            border-radius 0.3s,
            opacity 0.3s;
    }
}
.vluxeo-system {
    background-image: url("/images/VluxeoBg.png");
    // background: linear-gradient(rgba(22, 20, 40, 0.7), rgba(22, 20, 40, 0.7)),
    //     url("/images/VluxeoBg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    footer {
        span {
            color: white !important;
            font-size: 16px !important;
        }
    }
    .bg-overlay {
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background-image: radial-gradient(
            at top center,
            #6c29ff 0%,
            #020014 55%
        );
        background-color: transparent;
        opacity: 0.3;
        transition:
            background 0.3s,
            border-radius 0.3s,
            opacity 0.3s;
    }
    .forgot-description {
        color: white !important;
    }
    .ant-layout-content {
        width: 500px !important;
    }

    //center only
    .ant-card {
        width: 500px;
        &.ant-card-bordered {
            // border: 1px solid #1c192c !important;
            border: 1px solid #fff !important;
        }
        // background-color: #1c192c;
        background-color: #fff;
        box-shadow: 5px 6px 15px -2px rgba(21, 20, 20, 0.6) !important;
        .ant-card-body {
            .title {
                color: #462c7e !important;
                margin-top: 0px;
                // font-size: 28px;
            }
            .description {
                color: #ffffff !important;
                span {
                    color: #ffffff !important;
                }
            }
            .sub-title {
                color: #ffffff !important;
            }
        }
    }

    .float-wrapper {
        border: 1px solid #3e3b4c;

        .label {
            color: #ffffff;
        }
        .float-label {
            // background: transparent;
            background: linear-gradient(0deg, #3e3b4c 52%, transparent 0);
        }
        .ant-input,
        .ant-input-mask {
            background: #3e3b4c;
            color: #ffffff;
        }

        .ant-select {
            .ant-select-selector {
                background: #3e3b4c;
                color: #ffffff;
            }
            .ant-select-arrow {
                color: $mainPrimary;
            }
        }

        .ant-input-affix-wrapper {
            background-color: #3e3b4c;
        }
        .ant-input-status-error,
        .ant-input-affix-wrapper-status-error {
            background-color: #3e3b4c !important;
        }
    }
    .password-wrapper {
        svg {
            color: $mainPrimary;
            &:hover,
            &:focus,
            &:active {
                color: #d4c2ff;
            }
        }
    }
    .btn-main-primary {
        &:hover,
        &:focus,
        &:active {
            background-color: #d4c2ff;
            border-color: #d4c2ff;
            color: black;
        }
    }
    .btn-forgot-password-wrapper {
        .ant-btn {
            &:hover,
            &:focus,
            &:active {
                color: #d4c2ff;
            }
        }
    }
}
#PageLogin {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;

    .ant-layout-content {
        background-color: transparent;
        width: 450px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 50px;

        @include atsm {
            width: 90% !important;
        }

        @include atxs {
            width: 95% !important;
        }

        .maintenance-notice-warning {
            padding: 15px 10px;
            color: #ffffff;
            border: 1px solid #7355de;
            text-align: center;
            background-color: #3e3c4b;
            margin-bottom: 25px;
        }

        .logo-wrapper {
            height: auto;
            width: 100%;
            // margin-top: 30px;
            // margin-bottom: 50px;
            text-align: center;

            img {
                width: 300px;
            }
        }

        .ant-card {
            width: 100%;

            // box-shadow: 5px 6px 15px -2px rgba(149, 146, 146, 0.6);
            border: 1px solid #525252 !important;
            border-radius: 5px !important;

            .ant-card-body {
                padding: 24px 30px;
            }
            .title {
                text-align: center;
                color: #000000;
                margin-top: 0px;
                margin-bottom: 10px;
                font-weight: 500;
                font-size: 28px;
            }

            // box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
            // -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
            // -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);

            .btn-forgot-password-wrapper {
                display: flex;
                flex-direction: column;
                margin-top: 10px;

                .ant-btn {
                    font-style: italic;
                    font-size: 16px;
                }
            }

            .form-forgot-wrapper {
                margin-top: 20px;

                .forgot-description {
                    font-style: italic;
                    font-size: 16px;
                }
            }
        }

        .ant-layout-footer {
            width: 100%;
            text-align: center;
            background-color: transparent;
            padding-block: 20px !important;

            .ant-typography {
                // color: $footerTextColor;
                font-size: 16px;
            }
        }
    }

    .public-floats {
        .float-wrapper {
            border: 1px solid #3e3c4b !important;

            .ant-input,
            .ant-input-affix-wrapper {
                background: #3e3c4b !important;
                color: #ffffff !important;
            }

            .float-label {
                // background: #3e3c4b;
                // background: transparent;
                background: linear-gradient(0deg, #3e3c4b 51%, #1c192d 0);
                color: #ffffff !important;
            }
        }

        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-text-fill-color: white !important;
            box-shadow: inset 0 0 0 30px #3e3c4b !important;
        }
    }
}

.vluxeo-system .float-wrapper .ant-input,
.vluxeo-system .float-wrapper .ant-input-mask {
    background: transparent;
    color: #000000;
}

.vluxeo-system .float-wrapper .label {
    color: #d2d2d2;
}
.vluxeo-system .float-wrapper .float-label {
    background: #fff;
    color: #d2d2d2;
}

.vluxeo-system .float-wrapper .ant-input-affix-wrapper {
    background-color: transparent;
}

.vluxeo-system .float-wrapper .ant-input-affix-wrapper-status-error,
.vluxeo-system .float-wrapper .ant-input-status-error,
.vluxeo-system .float-wrapper .ant-input-status-error,
.vluxeo-system .float-wrapper .ant-input-affix-wrapper-status-error {
    background-color: transparent !important;
}

.vluxeo-system input:-webkit-autofill,
.vluxeo-system input:-webkit-autofill:active,
.vluxeo-system input:-webkit-autofill:focus,
.vluxeo-system input:-webkit-autofill:hover {
    -webkit-text-fill-color: #000000;
    -webkit-box-shadow: 0 0 0 30px #fff inset;
}

@media screen and (max-width: 530px) {
    .vluxeo-logo-main {
        left: auto !important;
        top: 0px !important;
        width: 170px !important;
    }
    .vluxeo-system {
        .ant-card {
            margin-top: 30px !important;
        }
    }
}

@media screen and (max-height: 800px) and (max-width: 1024px) {
    .vluxeo-logo-main {
        width: 150px !important;
        left: 20px !important;
        top: 10px !important;
    }
}
@media screen and (max-height: 800px) and (max-width: 575px) {
    .vluxeo-logo-main {
        width: 150px !important;
        left: auto !important;
    }
}
.float-wrapper-pass {
    @include atMax(425) {
        height: 46px !important;

        .ant-input-affix-wrapper {
            top: -4px;
        }
    }

    svg {
        color: #7936fe !important;
    }
}

// APS login
#PageLogin.aps-system,
#page_login_ui.aps-system {
    $apsCopper: #a2623f;
    $apsCopperHover: #8a4f30;

    background: linear-gradient(180deg, #ffffff 25%, #d7d8da 100%);

    *:not(svg):not(path) {
        font-family: "Montserrat", sans-serif !important;
    }

    .ant-layout-content.aps-login {
        width: 270px !important;
        min-height: 100dvh;
        justify-content: flex-start;
        gap: 0;
        padding-top: 40px;

        @include atxs {
            width: calc(100% - 32px) !important;
        }

        .aps-logo-wrapper {
            text-align: center;
            margin-bottom: 40px;

            img {
                width: 215px;
                max-width: 100%;
            }
        }

        .aps-login-form {
            width: 100%;

            .title {
                text-align: center;
                font-size: 15px;
                font-weight: 600;
                color: #000000;
                margin-bottom: 8px;
            }

            .ant-form-item {
                margin-bottom: 16px;
            }

            .float-wrapper {
                border: 1px solid #d9d9d9 !important;
                border-radius: 4px;
                background: #ffffff;

                .ant-input,
                .ant-input-affix-wrapper,
                .ant-select .ant-select-selector {
                    background: #ffffff !important;
                    color: #000000 !important;
                    font-size: 12px;
                }

                .ant-input-lg:not(textarea),
                .ant-input-affix-wrapper,
                .ant-select-lg,
                .ant-select .ant-select-selector,
                .ant-select-selection-search-input {
                    height: 34px !important;
                }

                .ant-input-affix-wrapper {
                    padding-top: 0;
                    padding-bottom: 0;

                    .ant-input {
                        height: 32px !important;
                    }
                }

                .ant-select .ant-select-selector {
                    padding: 0 11px !important;
                    align-items: center;
                }

                .label {
                    top: 8px;
                    color: #9a9a9a;
                    font-size: 12px;

                    &.float-label {
                        top: -9px;
                        font-size: 10px;
                    }
                }

                .float-label {
                    background: #ffffff;
                    color: #9a9a9a;
                }

                .ant-select-arrow,
                svg {
                    color: #8c8c8c !important;
                }
            }

            input:-webkit-autofill,
            input:-webkit-autofill:hover,
            input:-webkit-autofill:focus,
            input:-webkit-autofill:active {
                -webkit-text-fill-color: #000000 !important;
                box-shadow: inset 0 0 0 30px #ffffff !important;
            }

            .btn-aps {
                height: 27px;
                padding: 0 15px;
                background-color: $apsCopper;
                border-color: $apsCopper;
                border-radius: 2px;
                color: #ffffff;
                font-size: 12px;
                font-weight: 500;
                letter-spacing: 0.3px;
                box-shadow: none;

                &:hover,
                &:focus,
                &:active {
                    background-color: $apsCopperHover !important;
                    border-color: $apsCopperHover !important;
                    color: #ffffff !important;
                }
            }

            .btn-forgot-password-wrapper {
                text-align: right;
                margin-top: 2px;

                .ant-btn {
                    height: auto;
                    color: $apsCopper;
                    font-size: 10px;
                    font-style: italic;

                    &:hover {
                        color: $apsCopperHover;
                    }
                }
            }

            .form-forgot-wrapper {
                margin-top: 16px;

                .forgot-description {
                    font-size: 11px;
                    font-style: italic;
                    color: #555555 !important;
                }
            }

            .aps-divider {
                border-top-color: #a3a3a3;
                margin: 36px 0 36px;
            }
        }

        .ant-layout-footer {
            margin-top: auto;
            padding: 60px 0 16px !important;
            background: transparent;
            text-align: center;
            font-size: 8px;
            line-height: 1.6;
            color: #8c8c8c;
        }
    }
}
