body.rella-v2-user-registration-page {
    background: var(--rella-v2-green);
}

body.rella-v2-user-registration-page .rella-v2-main {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
    background: var(--rella-v2-green);
}

body.rella-v2-user-registration-page .rella-v2-header {
    z-index: 1050;
}

body.rella-v2-user-registration-page .rella-v2-header .lang-choice {
    left: auto !important;
    right: calc(100% - 1501px) !important;
    top: 100px !important;
    z-index: 1120;
}

body.rella-v2-user-registration-page #sideMenu {
    left: 0 !important;
    right: auto !important;
    width: 420px !important;
    max-width: calc(100vw - 60px) !important;
    height: 1040px;
    min-height: 100vh;
    border: 0;
    border-radius: 0 30px 30px 0;
    background: #0b6e4f !important;
    box-shadow: none;
    transform: translateX(-100%) !important;
    z-index: 1300 !important;
}

body.rella-v2-user-registration-page #sideMenu.show,
body.rella-v2-user-registration-page #sideMenu.showing {
    transform: none !important;
}

body.rella-v2-user-registration-page #sideMenu.hiding {
    transform: translateX(-100%) !important;
}

body.rella-v2-side-menu-open .offcanvas-backdrop.show {
    z-index: 1290 !important;
    background: #000 !important;
    opacity: 0.44 !important;
}

body.rella-v2-user-registration-page #sideMenu .offcanvas-header {
    height: 198px;
    padding: 0;
    background: transparent !important;
}

body.rella-v2-user-registration-page #sideMenu .offcanvas-title .logo-rella {
    left: 48px;
    top: 99px;
    width: 119px;
    height: 53px;
    filter: none;
}

body.rella-v2-user-registration-page #sideMenu .btn-close {
    position: absolute;
    right: 60px;
    top: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 85px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    background-image: none !important;
    filter: none !important;
    box-shadow: none;
    color: var(--rella-v2-white);
    opacity: 1;
}

body.rella-v2-user-registration-page #sideMenu .btn-close::before {
    content: "Chiudi";
    color: var(--rella-v2-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

body.rella-v2-user-registration-page #sideMenu .btn-close::after {
    content: "\F62A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rella-v2-white);
    color: var(--rella-v2-orange);
    font-family: "bootstrap-icons";
    font-size: 24px;
    line-height: 40px;
}

body.rella-v2-user-registration-page #sideMenu .offcanvas-header::after {
    left: 48px;
    right: 60px;
    bottom: 0;
    background: #f9ab91;
}

body.rella-v2-user-registration-page #sideMenu .offcanvas-body {
    padding: 129px 0 0 48px;
}

body.rella-v2-user-registration-page #sideMenu ul,
body.rella-v2-user-registration-page #sideMenu li,
body.rella-v2-user-registration-page #sideMenu li a {
    width: 312px;
}

@media (min-width: 810px) {
    body.rella-v2-user-registration-page .rella-v2-header .nav-right {
        gap: 5px !important;
        padding: 0 !important;
    }

    body.rella-v2-user-registration-page .rella-v2-header .nav-right > a:nth-of-type(1) {
        background: url("../../../img/v2/nav-search.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-user-registration-page .rella-v2-header .nav-right > a:nth-of-type(2) {
        background: url("../../../img/v2/nav-heart.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-user-registration-page .rella-v2-header .nav-right > a:nth-of-type(3) {
        background: url("../../../img/v2/nav-bell.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-user-registration-page .rella-v2-header .nav-right > a:nth-of-type(4) {
        background: url("../../../img/v2/nav-user.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-user-registration-page .rella-v2-header #linkCarrello {
        margin-left: 67px;
        padding: 0 !important;
    }

    body.rella-v2-user-registration-page .rella-v2-header #linkCarrello .font-8 {
        display: inline-block !important;
        text-transform: none;
    }

    body.rella-v2-user-registration-page .rella-v2-header #linkCarrello .font-8::first-letter {
        text-transform: uppercase;
    }
}

.rella-v2-user-registration {
    position: relative;
    min-height: 1040px;
    padding: 164px 0 120px;
    background: var(--rella-v2-green);
    color: var(--rella-v2-text);
}

.rella-v2-user-registration .rella-v2-registration-panel {
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 319px;
    bottom: 0;
    min-height: 771px;
    border-radius: var(--rella-v2-radius-panel) var(--rella-v2-radius-panel) 0 0;
    background: var(--rella-v2-paper);
    pointer-events: none;
}

.rella-v2-user-registration .rella-v2-registration-card {
    position: relative;
    z-index: 2;
    width: 360px !important;
    max-width: calc(100vw - 120px);
    margin: 0 auto;
    overflow: visible !important;
}

.rella-v2-user-registration .rella-v2-registration-form,
.rella-v2-user-registration .rella-v2-user-registration-step {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    width: 100%;
    min-height: max-content;
    overflow: visible !important;
}

.rella-v2-user-registration .rella-v2-registration-form h1,
.rella-v2-user-registration .rella-v2-registration-form p {
    width: 360px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    letter-spacing: 0;
}

.rella-v2-user-registration .rella-v2-registration-form h1 {
    margin-top: 0 !important;
    margin-bottom: 7px !important;
    padding: 0 !important;
    color: var(--rella-v2-white) !important;
    font-size: var(--rella-v2-font-size-title-mobile) !important;
    font-weight: var(--rella-v2-font-weight-bold) !important;
    line-height: 29px !important;
}

.rella-v2-user-registration .rella-v2-registration-form p {
    margin-top: 0 !important;
    margin-bottom: 132px !important;
    padding: 0 !important;
    color: var(--rella-v2-white) !important;
    font-size: var(--rella-v2-font-size-sm) !important;
    font-weight: var(--rella-v2-font-weight-medium) !important;
    line-height: 17px !important;
}

.rella-v2-user-registration-step .form-group {
    position: relative;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 8px;
    min-height: 56px;
    overflow: visible !important;
}

.rella-v2-user-registration-step .input-form-rella {
    position: relative;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 0 19px !important;
    border: 1px solid var(--rella-v2-border) !important;
    border-radius: 4px !important;
    background-color: var(--rella-v2-white) !important;
    color: var(--rella-v2-color-text-placeholder) !important;
    font-family: var(--rella-v2-font);
    font-size: var(--rella-v2-font-size-md) !important;
    font-weight: var(--rella-v2-font-weight-regular) !important;
    line-height: 56px !important;
    letter-spacing: 0;
    box-shadow: none !important;
}

.rella-v2-user-registration-step .input-form-rella::placeholder {
    color: var(--rella-v2-color-text-placeholder);
    opacity: 1;
}

.rella-v2-user-registration-step .input-form-rella:focus {
    border-color: var(--rella-v2-orange) !important;
    outline: 0;
    box-shadow: none !important;
}

.rella-v2-user-registration-step .input-form-rella.is-invalid,
.was-validated .rella-v2-user-registration-step .input-form-rella:invalid {
    border-color: var(--rella-v2-orange-dark) !important;
}

.rella-v2-user-registration-step .invalid-feedback {
    margin-top: 6px;
    color: var(--rella-v2-orange-dark);
    font-size: 12px;
    line-height: 16px;
}

.rella-v2-user-registration-step .r-form-actions {
    margin-top: 24px;
    min-height: 60px;
}

.rella-v2-user-registration-step .btn-rella {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: var(--rella-v2-radius-xs) !important;
    background: var(--rella-v2-orange) !important;
    color: var(--rella-v2-white) !important;
    font-size: var(--rella-v2-font-size-lg) !important;
    font-weight: var(--rella-v2-font-weight-semibold) !important;
    line-height: 22px !important;
    text-decoration: none;
}

.rella-v2-registration-mobile-nav {
    display: none;
}

@media (min-width: 810px) {
    .rella-v2-user-registration {
        min-height: 100vh;
        padding-top: 210px;
        padding-bottom: 120px;
    }

    .rella-v2-user-registration .rella-v2-registration-panel {
        left: 50%;
        top: 300px;
        bottom: auto;
        width: min(760px, calc(100% - 120px));
        min-height: calc(100% - 360px);
        border-radius: var(--rella-v2-radius-panel);
        transform: translateX(-50%);
    }

    .rella-v2-user-registration .rella-v2-registration-card {
        width: min(600px, calc(100% - 120px)) !important;
        max-width: 600px;
    }

    .rella-v2-user-registration .rella-v2-registration-form h1,
    .rella-v2-user-registration .rella-v2-registration-form p {
        width: 100%;
        text-align: center !important;
    }

    .rella-v2-user-registration .rella-v2-registration-form p {
        margin-bottom: 72px !important;
    }
}

@media (max-width: 809px) {
    body.rella-v2-user-registration-page .rella-v2-header,
    body.rella-v2-user-registration-page .rella-v2-header .nav-rella {
        height: var(--rella-v2-header-mobile-height);
    }

    .rella-v2-user-registration .rella-v2-registration-panel {
        top: var(--rella-v2-header-mobile-height);
    }

    .rella-v2-registration-mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 300;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 37px;
        width: 100%;
        height: 75px;
        border-radius: 30px 30px 0 0;
        background: var(--rella-v2-orange);
    }

    .rella-v2-registration-mobile-nav a {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px !important;
        height: 32px !important;
        color: rgba(255, 255, 255, 0.82);
        font-size: 24px;
        text-decoration: none;
    }

    .rella-v2-registration-mobile-nav a.active {
        width: 32px !important;
        height: 32px !important;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--rella-v2-white);
        font-size: 24px;
        margin-top: 0;
        transform: translateY(-9px);
    }

    .rella-v2-registration-mobile-nav a.active::before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 50%;
        top: 50%;
        width: 77px;
        height: 77px;
        border: 4px solid var(--rella-v2-orange);
        border-radius: 50%;
        background: #f35d2c;
        transform: translate(-50%, -50%);
    }

    .rella-v2-registration-mobile-nav a:hover,
    .rella-v2-registration-mobile-nav a:focus-visible {
        color: var(--rella-v2-white);
        opacity: 1 !important;
    }
}

@media (max-width: 420px) {
    body.rella-v2-user-registration-page #sideMenu .btn-close,
    body.rella-v2-user-registration-page #sideMenu .offcanvas-header::after {
        right: 40px;
    }

    .rella-v2-user-registration .rella-v2-registration-card {
        width: calc(100vw - 60px) !important;
        max-width: calc(100vw - 60px);
    }

    .rella-v2-user-registration .rella-v2-registration-form h1,
    .rella-v2-user-registration .rella-v2-registration-form p {
        width: 100%;
    }

    .rella-v2-registration-mobile-nav {
        gap: 22px;
    }
}
