#PageRegistration {
    background-color: #020014 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    background-image: none !important;

    .ant-layout-content {
        background-color: transparent;
        width: 100% !important;
        padding: 50px 0px 0px 0px !important;
        position: relative;

        @include atMax(767) {
            padding-top: 20px !important;
        }
        @include atMax(575) {
            padding-top: 5px !important;
        }

        .ant-layout-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0px 70px;
            height: 110px;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #020014;
            z-index: 3;
            transition: height 0.3s ease, background-color 0.3s ease,
                top 0.3s ease;
            overflow: hidden;

            &::before {
                content: "";
                position: absolute;
                top: -100%;
                left: 50%;
                transform: translateX(-50%);
                width: 60%;
                height: 200%;

                // background: #8b54fb;
                // background: radial-gradient(at center, #8b54fb, #030014 70%);

                background: #8c54fb;
                background: radial-gradient(
                    at center top,
                    #8c54fb,
                    #040014 70%
                );
                opacity: 0.4;
                mix-blend-mode: lighten; // Example blend mode
                z-index: -1;

                transition: top 0.3s ease, height 0.3s ease,
                    background 0.3s ease;
            }

            .logo-wrapper {
                width: 240px;
                // height: 80px;
                padding: 10px 0px;
                transition: width 0.3s ease, height 0.3s ease;
                display: flex;

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

            .nav-menu {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                gap: 50px;

                .menu-item {
                    &:not(&.extra) {
                        a {
                            position: relative; // Needed to position the pseudo-elements
                            color: #ffffff;
                            font-size: 16px;
                            font-weight: 600;
                            transition: color 0.3s ease;

                            &::after {
                                content: "";
                                position: absolute;
                                bottom: -5px;
                                right: 0;
                                width: 0;
                                height: 2px;
                                background-color: #8a54fb;
                                transition: width 0.3s ease;
                            }

                            &:hover {
                                color: #8a54fb;

                                &::after {
                                    width: 100%; // Expand the pseudo-element to the full width on hover
                                    transition-delay: 0s, 0.3s; // Apply delay only to visibility
                                    left: 0;
                                }
                            }
                        }
                    }

                    &.divider {
                        border-left: 2px solid #4e4d5b;
                        height: calc(30px * 1.5);
                    }

                    &.extra {
                        a {
                            border-radius: 8px;
                            padding: clamp(14px, 0.8em, 18px)
                                clamp(18px, 1.8em, 36px);
                            background: #8954ff;
                            border: 1px solid
                                rgba(188, 188, 188, 0.1607843137254902);

                            position: relative; // Needed to position the pseudo-elements
                            color: #ffffff;
                            font-size: 16px;
                            font-weight: 600;
                            transition: all 0.2s
                                cubic-bezier(0.68, 0.01, 0.58, 0.75);

                            &:hover {
                                background: rgba(255, 255, 255, 0.05);
                                border-color: #ddcffe;
                                color: #ddcffe;
                                // color: #8a54fb;
                                &::before {
                                    visibility: hidden; // Make it visible on hover
                                }
                            }
                        }
                    }
                }
            }

            &.smaller-header {
                background-color: #020014;
                box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
                height: 70px;

                &::before {
                    background: transparent;
                }

                .logo-wrapper {
                    width: 110px;
                    height: auto;
                }
            }
        }

        .btn-main-primary {
            background: #8954ff;
            border-color: rgba(188, 188, 188, 0.1607843137254902);
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
            padding-left: 20px;
            padding-right: 20px;
            transition: all 0.2s cubic-bezier(0.68, 0.01, 0.58, 0.75);

            &:hover,
            &:focus {
                background: rgba(255, 255, 255, 0.05) !important;
                border-color: #ddcffe !important;
                color: #ddcffe !important;
            }

            &:disabled {
                background: #8954ff !important;
                color: #ffffff !important;
            }
        }

        .form-wrapper {
            margin: 0 auto;
            max-width: 1176px;

            @include atMax(991) {
                max-width: 90%;
            }

            @include atMax(767) {
                max-width: 95%;
            }

            @include atMax(575) {
                max-width: 98%;
            }

            .ant-form {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: flex-start;
                gap: 20px;

                @include atMax(991) {
                    flex-direction: column !important;
                }
            }
        }

        .vluxeo-registration-form {
            width: 70% !important;

            @include atMax(991) {
                width: 100% !important;
            }
        }

        .order-summary {
            width: 30% !important;

            @include atMax(991) {
                width: 100% !important;
            }
        }

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

        .ant-card {
            &:first-child {
                width: 70%;
            }
            &:last-child {
                width: 30%;
            }

            .ant-card-body {
                padding: 18px 20px;

                @include atMax(575) {
                    padding: 10px 10px !important;
                }

                .ant-divider {
                    border-color: #434054;
                    margin: 15px 0px;

                    @include atMax(575) {
                        margin: 10px 0px;
                    }
                }

                .header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    color: #ffffff;

                    @include atMax(576) {
                        align-items: flex-start;
                    }

                    h3.ant-typography.header-title {
                        line-height: 1;
                        color: #ffffff !important;
                        margin-bottom: 0px;
                        font-weight: 500;

                        // @include atMax(576) {
                        //     font-size: 18px !important;
                        // }
                    }

                    div {
                        .ant-btn {
                            margin-left: 10px;
                            color: #ffffff;
                            background-color: #8a54fb;
                            border-color: #8a54fb;
                            font-size: 16px !important;
                            height: auto;
                            border-radius: 5px;
                        }
                    }

                    .ant-typography.header-description {
                        color: #ffffff !important;
                        font-size: 13px !important;

                        @include atMax(576) {
                            font-size: 12px !important;
                        }
                    }
                }

                .card-billing-info,
                .card-web-address,
                .card-item-terms-and-condition-info {
                    width: 100%;
                    box-shadow: none !important;
                    border: 0px !important;

                    .ant-card-head {
                        padding: 0px !important;
                        background-color: transparent;
                        color: #ffffff;
                        min-height: 0px !important;

                        .ant-card-head-wrapper {
                            .ant-card-head-title {
                                padding: 0px !important;
                                background-color: transparent;
                                color: #ffffff;

                                .title {
                                    margin-top: 0px;

                                    .title-number {
                                        font-size: 16px;
                                        color: #dfcefe;
                                        margin-right: 10px;
                                    }
                                    .title-text {
                                        font-size: 16px;
                                        color: #ffffff;
                                    }
                                }

                                .description {
                                    font-size: 12px;
                                    color: #a7a6aa !important;
                                    margin-left: 18px;
                                }
                            }
                        }
                    }

                    .ant-card-body {
                        padding-right: 0px !important;

                        .ant-checkbox-group {
                            .ant-checkbox-wrapper {
                                > span {
                                    color: #ffffff;
                                }

                                .ant-checkbox {
                                    .ant-checkbox-inner {
                                        background-color: transparent;
                                    }
                                }

                                &.ant-checkbox-wrapper-checked {
                                    .ant-checkbox-checked {
                                        .ant-checkbox-inner {
                                            background-color: #8a54fb;
                                            border-color: #8a54fb;
                                        }

                                        &::after {
                                            border-color: #8a54fb;
                                        }
                                    }
                                }
                            }
                        }

                        .ant-form-item {
                            .float-wrapper {
                                border-radius: 2px;

                                .ant-input {
                                    border-radius: 0px;
                                }

                                .ant-select {
                                    .ant-select-selector {
                                        border-radius: 0px;
                                    }
                                }
                            }

                            .float-label {
                                background-color: #3e3b4c;
                            }

                            &.company_sub_domain_search {
                                .ant-input-group-wrapper {
                                    .ant-input-wrapper {
                                        &.ant-input-group {
                                            display: flex;
                                            align-items: center;
                                            gap: 5px;

                                            .ant-input {
                                                background-color: #484654;
                                                border: 0px;
                                                height: 47px;
                                                color: #ffffff;
                                                border-radius: 2px;
                                            }
                                            .ant-input-group-addon {
                                                color: #ffffff;
                                                font-size: 16px;
                                                background-color: #484654;
                                                height: 47px;
                                                padding: 0px 10px;
                                                border-radius: 2px;
                                                width: 100px;
                                                border: 0px;
                                                display: flex;
                                                align-items: center;
                                            }
                                        }
                                    }
                                }
                            }
                            &.company_sub_domain {
                                .ant-input {
                                    background-color: #484654;
                                    border: 0;
                                    height: 47px;
                                    color: #afafaf;
                                    border-radius: 2px;
                                }
                            }
                        }

                        .company_sub_domain_search-message-success {
                            margin-bottom: 20px;
                            .label {
                                color: #139617;
                            }
                            .notes {
                                color: #a6a8aa;
                                margin-left: 3px;
                            }
                        }

                        .company_sub_domain_search-message-danger {
                            margin-bottom: 20px;
                            .label {
                                color: #e13c3c;
                            }
                            .notes {
                                color: #ffffff;
                                margin-left: 3px;
                            }
                        }

                        .ant-btn {
                            height: 47px;
                            background-color: #8a54fb;
                            border-radius: 5px;
                            border: 0px;

                            &:hover {
                                background-color: transparent;
                                color: #8a54fb;
                                border: 1px solid #fff;
                            }

                            &.btn-clear {
                                background-color: transparent;
                                color: #8a54fb;
                                border: 1px solid #8a54fb;
                            }
                        }

                        .btn-saved-cong {
                            min-width: 88.75px;
                        }

                        .terms-and-condition-wrapper {
                            display: flex;
                            gap: 20px;
                            flex-direction: column;
                            min-height: 150px;
                            max-height: 250px;
                            overflow-y: auto;
                            padding: 10px;

                            // border: 1px solid #d9d9d9;

                            $scrollbar-2-thumb-width: 5px;
                            $scrollbar-2-thumb-color: #abacae;
                            $scrollbar-2-track-color: #eeeeee;

                            background-color: #484654;

                            font-family: "SourceSansProRegular";

                            .content strong {
                                font-family: "SourceSansProRegular";
                            }

                            // Chrome & Opera
                            &::-webkit-scrollbar {
                                width: $scrollbar-2-thumb-width;
                                height: $scrollbar-2-thumb-width;

                                &-track {
                                    background-color: $scrollbar-2-track-color;
                                }

                                &-thumb {
                                    background-color: $scrollbar-2-thumb-color;
                                }

                                &-track,
                                &-thumb {
                                    border-radius: 5px;
                                }
                            }

                            // Firefox
                            // scrollbar-width: thin;
                            // scrollbar-color: $scrollbar-2-thumb-color $scrollbar-2-track-color;

                            --webkit-overflow-scrolling: touch;

                            --scrollbar-color-thumb: #abacae;
                            --scrollbar-color-track: #eeeeee;
                            --scrollbar-width: thin;
                            --scrollbar-width-legacy: 5px;

                            scrollbar-color: #abacae#eeeeee;
                            scrollbar-width: thin;

                            @include support_scrollbar_width_auto {
                                scrollbar-color: var(--scrollbar-color-thumb)
                                    var(--scrollbar-color-track);
                                scrollbar-width: var(--scrollbar-width);
                            }

                            .title {
                                color: #000;
                                font-weight: 500;
                            }

                            .content {
                                color: $white;
                                font-family: "SourceSansProRegular";

                                p {
                                    margin-bottom: 0px;

                                    strong {
                                        font-family: "SourceSansProRegular";
                                    }
                                }
                            }
                        }

                        .ant-checkbox-wrapper {
                            span:not(.ant-checkbox) {
                                color: #ffffff !important;
                            }

                            .ant-checkbox-inner::after {
                                // background-color: #1c192c !important;
                                border-color: #1c192c !important;
                            }

                            &.ant-checkbox-wrapper-disabled {
                                .ant-checkbox-inner {
                                    background-color: #484654 !important;
                                    border-color: #484654 !important;
                                }
                            }
                        }

                        .float-wrapper {
                            &.float-select {
                                .ant-select {
                                    .ant-select-selector {
                                        @include atMax(425) {
                                            height: 45px !important;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                .card-item-terms-and-condition-info {
                    @include atMax(424) {
                        margin-top: 15px;
                    }
                }

                .ant-collapse {
                    .ant-collapse-item {
                        border: 0px !important;

                        .ant-collapse-header {
                            background-color: transparent;
                            color: #ffffff;
                            padding-left: 0px;
                            padding-right: 0px;

                            .ant-collapse-expand-icon {
                                svg {
                                    background-color: #8a54fb;
                                    padding: 2px 4px;
                                    font-size: 14px;
                                    border-radius: 2px;
                                }
                            }
                        }

                        .ant-collapse-content {
                            background-color: transparent;
                            color: #ffffff;

                            .ant-collapse-content-box {
                                padding: 0px;
                            }
                        }

                        &.item-plan {
                            .ant-collapse-content {
                                .ant-collapse-content-box {
                                    .ant-checkbox-group {
                                        display: flex;
                                        gap: 100px;
                                    }
                                }
                            }
                        }

                        &.item-options {
                            .ant-collapse-content-box {
                                .ant-checkbox-group {
                                    display: flex;
                                    gap: 20px;

                                    .ant-checkbox-wrapper {
                                        width: calc(50% - 31px);
                                        // .description {
                                        //     .title {
                                        //         margin-top: 15px;
                                        //     }
                                        // }
                                    }

                                    .divider {
                                        display: flex;
                                        flex-direction: column;
                                        color: #ffffff;

                                        &::before,
                                        &::after {
                                            content: "";
                                            flex: 1;
                                            border-left: 1px solid #434054;
                                            margin: 0 10px;
                                        }
                                    }
                                }
                            }
                        }

                        &.item-company-sub-domain {
                            .ant-collapse-header {
                                .ant-collapse-header-text {
                                    .description {
                                        font-size: 12px;
                                        color: #a7a6aa !important;
                                        margin-left: 18px;
                                    }
                                }
                            }

                            .ant-collapse-content {
                                .ant-collapse-content-box {
                                    .ant-form-item {
                                        .ant-flex {
                                            .ant-input {
                                                background-color: #484654;
                                                border: 0px;
                                                height: 47px;
                                                color: #ffffff;
                                                border-radius: 2px;
                                            }
                                            .suffix {
                                                color: #ffffff;
                                                font-size: 16px;
                                                background-color: #484654;
                                                height: 47px;
                                                padding: 0px 10px;
                                                display: flex;
                                                align-items: center;
                                                border-radius: 2px;
                                            }
                                        }
                                    }

                                    .company_sub_domain_search-message-success {
                                        margin-bottom: 20px;
                                        .label {
                                            color: #139617;
                                        }
                                        .notes {
                                            color: #a6a8aa;
                                            margin-left: 3px;
                                        }
                                    }

                                    .company_sub_domain_search-message-danger {
                                        margin-bottom: 20px;
                                        .label {
                                            color: #e13c3c;
                                        }
                                        .notes {
                                            color: #ffffff;
                                            margin-left: 3px;
                                        }
                                    }

                                    .ant-btn {
                                        height: 47px;
                                        background-color: #8a54fb;
                                        border-radius: 5px;
                                        border: 0px;

                                        &:hover {
                                            background-color: transparent;
                                            color: #8a54fb;
                                            border: 1px solid #8a54fb;
                                        }

                                        &.btn-clear {
                                            background-color: transparent;
                                            color: #8a54fb;
                                            border: 1px solid #8a54fb;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            &.order-summary {
                .ant-card-body {
                    .ant-typography {
                        color: #ffffff;
                        margin-bottom: 0px;
                        font-weight: 500;
                    }

                    .label {
                        display: flex;
                        justify-content: space-between;

                        .ant-typography {
                            margin-top: 0px;
                        }

                        &.per {
                            .ant-typography {
                                color: #aaacad !important;
                            }
                        }
                    }

                    .ant-checkbox-wrapper {
                        .ant-checkbox {
                            .ant-checkbox-inner {
                                background-color: transparent;
                            }

                            &.ant-checkbox-checked {
                                .ant-checkbox-inner {
                                    background-color: #8a54fb;
                                    border-color: #8a54fb;
                                }

                                &::after {
                                    border-color: #8a54fb;
                                }
                            }
                        }
                    }

                    .read {
                        color: #ffffff;
                    }

                    .btn-purchase {
                        width: 100%;
                        background-color: #8a54fb !important;
                        border-color: #8a54fb !important;
                        color: #ffffff;
                        font-size: 18px !important;
                        height: 47px;
                        border-radius: 5px;

                        &.ant-btn-disabled,
                        &:disabled {
                            background-color: #ffffff !important;
                            border-color: #ffffff !important;
                            color: #3e3b4c !important;
                            opacity: 0.5;
                            cursor: not-allowed;
                        }
                    }
                }
            }
        }

        .ant-layout-footer {
            background-color: transparent;
            padding: 80px 0px 0px 0px;

            > div {
                margin: 0 auto;
            }

            .section1 {
                padding: 40px 0px;
                border-bottom: 1px solid #1b192b;

                > .ant-flex {
                    max-width: 1176px;
                    margin: 0 auto;

                    .logo-wrapper,
                    .contact-info {
                        width: 50%;
                    }

                    .logo-wrapper {
                        img {
                            width: 170px;
                        }
                    }
                    .contact-info {
                        .flex-item {
                            display: flex;
                            align-items: center;
                            gap: 5px;

                            .icon {
                                font-size: 20px;
                                color: #8a54fb;
                            }

                            .text {
                                color: #ffffff;
                                font-size: 16px;
                                transition: color 0.3s;

                                &:hover {
                                    color: #8a54fb;
                                }
                            }
                        }
                    }
                }
            }

            .section2 {
                padding: 30px 0px;
                border-bottom: 1px solid #1b192b;

                > .ant-flex {
                    max-width: 1176px;
                    margin: 0 auto;

                    .flex-info {
                        width: 40%;
                        height: 140px;

                        .btn-signup-login-wrapper {
                            .ant-btn {
                                height: auto;
                                color: #ffffff;
                                // background-color: #8a54fb;
                                // border-color: #8a54fb;
                                padding: 10px 30px;
                                border-radius: 8px;
                                box-shadow: 0px 1px 0px 0px
                                    rgba(255, 255, 255, 0.15) inset;
                            }
                        }
                    }

                    .menus {
                        width: 20%;
                        height: 140px;

                        .ant-typography {
                            color: #ffffff;
                            font-size: 16px;
                            transition: color 0.3s;

                            &:hover {
                                color: #8a54fb;
                            }
                        }
                    }

                    .logo-wrapper {
                        width: 20%;

                        img {
                            width: 200px;
                        }
                    }
                }
            }

            .section3 {
                padding: 40px 0px;

                > .ant-flex {
                    max-width: 1176px;
                    margin: 0 auto;

                    .ant-typography {
                        font-size: 16px;
                        color: rgba(255, 255, 255, 0.6);
                        transition: color 0.3s;

                        &:hover {
                            color: #8a54fb;
                        }
                    }
                }
            }
        }

        .vluxeo-registration-footer {
            .vluxeo-registration-footer__recaptcha {
                color: #ffffff;
                font-size: 14px;
                text-align: center;
                width: 100%;

                @include atMin(576) {
                    width: 330px;
                }

                a {
                    color: #8a54fb;
                    text-decoration: none;

                    &:hover {
                        color: #ffffff;
                    }
                }
            }

            .vluxeo-registration-footer__copyright {
                color: rgba(255, 255, 255, 0.6);
                font-size: 14px;
                text-align: center;
                margin-top: 15px;
            }
        }
    }
}

.modal-payment-gateway {
    .ant-modal-header {
        background: #8c53fb !important;
    }
}

.btn-main-primary-submit {
    color: #ffffff !important;
    background-color: #8a54fb !important;
    border-color: #8a54fb !important;
    font-size: 16px !important;
    height: auto !important;
    border-radius: 5px !important;
    height: 46px !important;
    width: 40px !important;
    padding: 0px !important;
}

.custom-col-subdomain-availability-message {
    display: flex !important;
    justify-content: flex-end !important;
}
