/* =========================================================
   UPGRADELIFESTYLE - ACCOUNT TYPE REGISTRATION
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: "Segoe UI Historic", "Segoe UI", Arial, sans-serif;

    background:
        linear-gradient(
            135deg,
            #f4fff7 0%,
            #ffffff 48%,
            #fff7ef 100%
        );

    color: #161616;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.login-container {
    width: calc(100% - 32px);
    max-width: 720px;

    margin: 55px auto;
    padding: 42px 42px 36px;

    background: #ffffff;

    border: 1px solid #e8ece9;
    border-radius: 24px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.08);

    position: relative;
    overflow: hidden;
}


/* Decorative top line */
.login-container::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background: linear-gradient(
        90deg,
        #00843d 0%,
        #00a651 50%,
        #ff6411 50%,
        #ff7a18 100%
    );
}


/* =========================================================
   TITLE
========================================================= */

.login-container h2 {
    margin: 0;

    text-align: center;

    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;

    color: #111111;
}

.description {
    max-width: 520px;

    margin: 12px auto 32px;

    text-align: center;

    color: #6b706d;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   ROLE CARDS
========================================================= */

.role-card {
    position: relative;

    display: block;

    width: 100%;

    padding: 26px 28px 26px 70px;
    margin-bottom: 18px;

    border: 2px solid transparent;
    border-radius: 20px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

    overflow: hidden;
}


/* Radio button */
.role-card input[type="radio"] {
    position: absolute;

    left: 25px;
    top: 50%;

    transform: translateY(-50%);

    width: 23px;
    height: 23px;

    margin: 0;

    cursor: pointer;

    accent-color: #ffffff;
}


/* Heading */
.role-card h3 {
    margin: 0 0 8px;

    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;

    color: #ffffff;
}


/* Description */
.role-card p {
    margin: 0;

    max-width: 520px;

    font-size: 15px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.92);
}


/* =========================================================
   CLIENT / INDIVIDUAL
========================================================= */

.client-card {
    background:
        linear-gradient(
            135deg,
            #007a38 0%,
            #00a651 100%
        );

    box-shadow:
        0 8px 24px rgba(0, 132, 61, 0.15);
}

.client-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(0, 132, 61, 0.22);
}


/* Selected */
.client-card:has(input:checked) {
    border-color: #ffffff;

    box-shadow:
        0 0 0 4px rgba(0, 132, 61, 0.18),
        0 14px 30px rgba(0, 132, 61, 0.22);

    transform: translateY(-2px);
}


/* =========================================================
   VENDOR / SERVICE PROVIDER
========================================================= */

.vendor-card {
    background:
        linear-gradient(
            135deg,
            #f4510b 0%,
            #ff7b18 100%
        );

    box-shadow:
        0 8px 24px rgba(255, 100, 17, 0.15);
}

.vendor-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(255, 100, 17, 0.22);
}


/* Selected */
.vendor-card:has(input:checked) {
    border-color: #ffffff;

    box-shadow:
        0 0 0 4px rgba(255, 100, 17, 0.18),
        0 14px 30px rgba(255, 100, 17, 0.22);

    transform: translateY(-2px);
}


/* =========================================================
   CONTINUE BUTTON
========================================================= */

#roleForm button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 28px;
    padding: 16px 24px;

    background:
        linear-gradient(
            135deg,
            #007a38,
            #00994a
        );

    color: #ffffff;

    border: none;
    border-radius: 50px;

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0, 132, 61, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#roleForm button[type="submit"]:hover {
    background:
        linear-gradient(
            135deg,
            #006d33,
            #008d44
        );

    transform: translateY(-1px);

    box-shadow:
        0 12px 24px rgba(0, 132, 61, 0.24);
}

#roleForm button[type="submit"]:active {
    transform: translateY(0);
}


/* =========================================================
   LOGIN TEXT
========================================================= */

.bottom-text {
    margin: 26px 0 0;

    text-align: center;

    font-size: 14px;

    color: #747474;
}

.bottom-text a {
    color: #00843d;

    font-weight: 700;

    text-decoration: none;
}

.bottom-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    body {
        background: #ffffff;
    }

    .login-container {
        width: 100%;

        margin: 0;
        padding: 38px 18px 30px;

        border: none;
        border-radius: 0;

        box-shadow: none;

        min-height: 100vh;
    }

    .login-container h2 {
        font-size: 28px;
    }

    .description {
        margin-bottom: 26px;

        font-size: 15px;
    }

    .role-card {
        padding:
            22px
            20px
            22px
            58px;

        border-radius: 17px;
    }

    .role-card input[type="radio"] {
        left: 20px;

        width: 21px;
        height: 21px;
    }

    .role-card h3 {
        font-size: 19px;
    }

    .role-card p {
        font-size: 14px;
    }

    #roleForm button[type="submit"] {
        padding: 15px 20px;

        font-size: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .login-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .role-card {
        padding-left: 52px;
    }

    .role-card input[type="radio"] {
        left: 17px;
    }

    .role-card h3 {
        font-size: 18px;
    }
}

/* =========================================================
   REGISTRATION HEADING
========================================================= */

.register-heading {
    text-align: center;
    margin-bottom: 32px;
}

.register-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color: #00843d;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* =========================================================
   ROLE CARD CONTENT
========================================================= */

.role-card-content {
    width: 100%;
}

.role-tag {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 12px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.18);

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.4px;
}


/* Bigger heading */
.role-card h3 {
    margin: 0 0 10px;

    font-size: 27px;
    line-height: 1.08;

    font-weight: 800;

    color: #ffffff;
}

.role-card h3 span {
    display: block;
}


/* Intro */
.role-intro {
    margin-bottom: 18px !important;

    font-size: 15px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   BENEFITS
========================================================= */

.role-benefits {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 18px;
}

.role-benefit {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.35;
}

.benefit-check {
    flex: 0 0 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    font-size: 13px;
    font-weight: 900;
}


/* Client check */
.client-card .benefit-check {
    color: #00843d;
}


/* Vendor check */
.vendor-card .benefit-check {
    color: #f4510b;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.role-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 22px;
    padding-top: 17px;

    border-top:
        1px solid rgba(255, 255, 255, 0.25);
}

.role-select-text {
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}

.role-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: #ffffff;

    font-size: 20px;

    transition: 0.2s ease;
}

.role-card:hover .role-arrow {
    transform: translateX(3px);

    background:
        rgba(255, 255, 255, 0.28);
}


/* =========================================================
   SELECTED CARD
========================================================= */

.role-card:has(input:checked)
.role-card-footer {
    border-top-color:
        rgba(255, 255, 255, 0.45);
}

.role-card:has(input:checked)
.role-arrow {
    background: #ffffff;
}

.client-card:has(input:checked)
.role-arrow {
    color: #00843d;
}

.vendor-card:has(input:checked)
.role-arrow {
    color: #f4510b;
}


/* =========================================================
   CONTINUE BUTTON
========================================================= */

.continue-button span {
    margin-left: 8px;

    font-size: 20px;

    transition:
        transform 0.2s ease;
}

.continue-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .register-heading {
        margin-bottom: 25px;
    }

    .role-card {
        padding:
            23px
            18px
            22px
            55px;
    }

    .role-tag {
        font-size: 9px;

        padding:
            5px
            9px;
    }

    .role-card h3 {
        font-size: 22px;
    }

    .role-benefit {
        font-size: 13px;
    }

    .role-benefits {
        gap: 8px;
    }

    .role-select-text {
        font-size: 13px;
    }

}

/* =========================================================
   REGISTRATION GIFT PANEL
========================================================= */

.registration-gift-box {
    margin-top: 28px;
    padding: 24px 24px 20px;

    background:
        linear-gradient(
            135deg,
            #fffdf2 0%,
            #fff8dc 100%
        );

    border: 1px solid #f3e7b6;
    border-radius: 20px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.06);

    font-family:
        "Segoe UI Historic",
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   GIFT HEADING
========================================================= */

.registration-gift-heading {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    text-align: center;
}

.registration-gift-icon {
    font-size: 32px;
    line-height: 1;
}

.registration-gift-heading strong {
    color: #161616;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.registration-gift-heading strong span {
    color: #e63323;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.registration-gift-description {
    max-width: 560px;

    margin: 10px auto 22px;

    color: #6b6253;

    text-align: center;

    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   GIFT GRID
========================================================= */

.registration-gift-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        42px
        minmax(0, 1fr)
        42px
        minmax(0, 1fr);

    align-items: center;

    gap: 8px;
}


/* =========================================================
   INDIVIDUAL GIFT
========================================================= */

.registration-gift-item {
    min-width: 0;

    text-align: center;
}

.registration-gift-image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 105px;

    margin-bottom: 8px;
}

.registration-gift-image img {
    display: block;

    max-width: 100%;
    max-height: 100px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.registration-gift-item strong {
    display: block;

    color: #181818;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.registration-gift-item > span {
    display: block;

    margin-top: 4px;

    color: #66615b;

    font-size: 11px;
    line-height: 1.3;
}


/* =========================================================
   OR CIRCLES
========================================================= */

.registration-gift-or {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin: 0 auto;

    border-radius: 50%;

    background: #00843d;

    color: #ffffff;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   BONUS
========================================================= */

.registration-bonus {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid #eadca5;

    text-align: center;
}

.registration-bonus-icon {
    font-size: 21px;
}

.registration-bonus strong {
    color: #28251f;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.registration-bonus strong span {
    color: #e63323;

    font-size: 16px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .registration-gift-box {
        margin-top: 22px;

        padding:
            20px
            14px
            17px;

        border-radius: 17px;
    }

    .registration-gift-icon {
        font-size: 27px;
    }

    .registration-gift-heading strong {
        font-size: 19px;
    }

    .registration-gift-description {
        margin-bottom: 18px;

        font-size: 12px;
    }

/* =========================================================
   GIFT PANEL
========================================================= */

    /* Keep all 3 gifts side-by-side */
    .registration-gift-grid {
        grid-template-columns:
            minmax(0, 1fr)
            26px
            minmax(0, 1fr)
            26px
            minmax(0, 1fr);

        gap: 3px;
    }

    .registration-gift-image {
        height: 75px;
    }

    .registration-gift-image img {
        max-height: 72px;
    }

    .registration-gift-item strong {
        font-size: 11px;
    }

    .registration-gift-item > span {
        font-size: 9px;
        line-height: 1.25;
    }

    .registration-gift-or {
        width: 25px;
        height: 25px;

        font-size: 8px;
    }

    .registration-bonus {
        margin-top: 16px;
        padding-top: 13px;

        gap: 5px;
    }

    .registration-bonus-icon {
        font-size: 18px;
    }

    .registration-bonus strong {
        font-size: 11px;
    }

    .registration-bonus strong span {
        font-size: 13px;
    }

}

/* =========================================================
   REGISTRATION BACKGROUND PEOPLE
========================================================= */

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;

    font-family:
        "Segoe UI Historic",
        "Segoe UI",
        Arial,
        sans-serif;
}


/* Both people */
.registration-person {
    position: fixed;

    bottom: 0;

    height: 88vh;
    max-height: 900px;

    z-index: 0;

    pointer-events: none;
}

.registration-person img {
    display: block;

    width: auto;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   LEFT - INDIVIDUAL
========================================================= */

.registration-person-left {
    left: 0;

    transform: translateX(-5%);
}


/* =========================================================
   RIGHT - VENDOR
========================================================= */

.registration-person-right {
    right: 0;

    transform: translateX(5%);
}


/* =========================================================
   REGISTRATION FORM
========================================================= */

.login-container {
    position: relative;

    z-index: 5;
}


/* =========================================================
   LARGE SCREENS
========================================================= */

@media (min-width: 1400px) {

    .registration-person {
        height: 92vh;
    }

    .registration-person-left {
        left: 2%;
    }

    .registration-person-right {
        right: 2%;
    }

}


/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .registration-person {
        height: 75vh;

        opacity: 0.85;
    }

    .registration-person-left {
        transform: translateX(-30%);
    }

    .registration-person-right {
        transform: translateX(30%);
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {

    .registration-person {
        display: none;
    }

}

.registration-person-left::before,
.registration-person-right::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: 50%;
    bottom: 15%;

    transform: translateX(-50%);

    border-radius: 50%;

    filter: blur(70px);

    opacity: 0.12;

    z-index: -1;
}

.registration-person-left::before {
    background: #00843d;
}

.registration-person-right::before {
    background: #ff6411;
}