html {
    font-size: 10px;
    font-family: "Barlow", Sans-serif, serif;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    html {
        font-size: 10px !important;
    }
}

.outer {
    height: 100vh;
    display: flex;
    align-items: center;
    min-height: 840px;
}

.livelarge-register-container {
    display: grid;
    margin: 0;
    padding: 5rem 0 4rem;
    width: 100%;
    position: relative;
    grid-template-columns: 1130fr 790fr;
}

.livelarge-register-image {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 1;
    max-height: 781px;
}

.livelarge-register-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.livelarge-register-form-container {
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 1;
    z-index: 2;
    width: min(540px, 80%);
    margin: 0 auto;
    min-height: 781px;
}

.livelarge-register-form-title {
    width: 100%;
    font-family: Barlow;
    font-size: 64px;
    font-weight: 400;
    line-height: 77px;
    text-align: left;
    margin-bottom: 32px;
    text-decoration: none;
    color: #000;
}

.lvielarge-register-form-role-btn-container {
    width: 100%;
    display: flex;
    margin-bottom: 48px;
    gap: 2.4rem;
    justify-content: flex-start;
}

.livelarge-register-form-role-btn {
    width: 163px;
    height: 32px;
    border: 0.5px solid #000000;
    border-radius: 0.6rem;
    background: #FFFFFF;
    color: #000000;
    cursor: pointer;
    padding: 0 0 2px;
    font-family: Barlow;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.livelarge-register-form-role-btn.active {
    background: #000000;
    color: #FFFFFF;
    font-weight: 500;
}

.livelarge-register-form {
    width: 100%;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.name-fields-container, .phone-email-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.form-group.first-name, .form-group.last-name, .form-group.phone, .form-group.email {
    width: calc(50% - 1.4rem);
}

.livelarge-register-form input {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 0;
    padding: 16px 0;
    font-family: Barlow, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background: #FFFFFF;
    color: #000000;
    border-bottom: 0.5px solid #000;
}

.form-group input[type="password"] {
    letter-spacing: 3px;
}

.form-group input[type="password"]::placeholder {
    letter-spacing: normal;
}

.livelarge-register-form input::placeholder {
    font-family: Barlow;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    opacity: 45%;
    color: #000000;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: #000;
}

.error-message {
    color: #f64949;
    position: absolute;
    bottom: -14px;
    left: 0;
    display: none;
    font-family: Barlow;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    z-index: 2;
}

.form-group button {
    margin-top: 2px;
}

.register-submit {
    width: 100%;
    height: 46px;
    background: #000;
    color: #fff;
    border: none;
    font-family: Barlow;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4.4rem;
    position: relative;
    transition: all 0.3s ease;
}

.register-submit.loading {
    color: transparent;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.form-links {
    margin-top: 20px;
    display: grid;
}

.form-links a {
    font-family: Barlow;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: center;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
}

.register-message.error {
    color: #FF0000;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

.register-message.success {
    color: #28a745;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

/* Verification message styles */
.livelarge-register-form-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.livelarge-register-form-verification-box {
    background: #fff;
    padding: 48px;
    border-radius: 8px;
    width: 100%;
    max-width: 540px;
    text-align: center;
}

.livelarge-register-form-verification-box h2 {
    font-family: Barlow;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #000;
}

.verification-message {
    padding: 0 20px;
}

.verification-message p {
    font-family: Barlow;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 16px;
}

/* Turnstile styles */
.turnstile-container {
    margin: 32px 0;
    display: flex;
    justify-content: center;
    width: unset;
}

.cf-turnstile {
    margin: 0 auto;
}

/* Resend verification styles */
.resend-verification {
    margin-top: 24px;
    text-align: center;
}

.resend-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-family: Barlow;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resend-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.resend-timer {
    display: block;
    margin-top: 12px;
    font-family: Barlow;
    font-size: 14px;
    color: #666;
}

/* Loading state for resend button */
.resend-btn.loading {
    color: transparent;
    position: relative;
}

.resend-btn.loading .spinner {
    display: block;
}

form ul.select-option-ul {
    list-style-type: none;
    padding: 0;
    margin: 1px 0 0;
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    display: none;
    position: absolute;
    z-index: 3;
    background: #fff;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
    font-size: 16px;
}

form ul.select-option-ul li {
    margin: 10px 0;
}

form ul.select-option-ul.expand {
    display: block;
}

.min-width {
    width: 540px;
}


.referral-message-container {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9100;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(25px);
}

.referral-message-container .referral-card {
    background: #fff;
    border-radius: 2rem;
    padding: 3.2rem 3.2rem 3.6rem;
    width: 34.3rem;
}

.referral-message-container .referral-card .wel {
    color: #000;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.4rem; /* 120% */
}

.referral-message-container .referral-card .referMessage {
    color: rgba(0, 0, 0, 0.65);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.2rem;
    margin: 2rem 0 3.2rem;
}

.referral-message-container .referral-card .referMessage .referrer-name {
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.referral-message-container .referral-card .btn {
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4rem;
    background: #000;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.9rem;
    font-weight: 500;
}

.referral-message-container.hidden {
    display: none;
}


@media screen and (max-width: 768px) {
    .navigation-container {
        display: none !important;
    }

    .min-width {
        width: unset;
    }

    .outer {
        height: unset;
        min-height: unset;
    }

    .livelarge-register-container {
        display: block;
        margin: 3.2rem 0 4rem;
        min-width: unset;
        padding: 0;
    }

    .livelarge-register-image {
        display: none;
    }

    .livelarge-register-form-container {
        padding: 0 2.4rem;
        margin: 0;
        max-width: unset;
        width: unset;
        height: unset;
        justify-content: flex-start;
    }

    .livelarge-register-form-title {
        width: 100%;
        font-family: Barlow;
        font-size: 3.2rem;
        font-weight: 500;
        line-height: 3.2rem;
        text-align: left;
        margin-bottom: 2rem;
        text-decoration: none;
        color: #000;
    }

    .lvielarge-register-form-role-btn-container {
        width: 100%;
        display: flex;
        margin-bottom: 2.8rem;
        gap: 1.6rem;
        justify-content: flex-start;
    }

    .livelarge-register-form-role-btn {
        width: 15.7rem;
        height: 3.2rem;
        border: 0.5px solid #000000;
        border-radius: 0.6rem;
        background: #FFFFFF;
        color: #000000;
        cursor: pointer;
        padding: 0 0 1px;
        font-family: Barlow;
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.92rem;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .phone-email-container {
        display: block;
    }

    .form-group {
        margin-bottom: 0.8rem;
        position: relative;
    }

    .form-group.phone, .form-group.email {
        width: 100%;
    }

    .livelarge-register-form input {
        height: 4.4rem;
        border: none;
        border-radius: 0;
        padding: 1.6rem 0 1.2rem;
        font-family: Barlow, serif;
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.6rem;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        background: #FFFFFF;
        color: #000000;
        border-bottom: 0.5px solid #000;
        box-shadow: none;
    }

    .error-message {
        bottom: -15px;
    }

    .register-submit {
        width: 100%;
        height: 40px;
        background: #000;
        color: #fff;
        border: none;
        font-family: Barlow;
        font-size: 1.6rem;
        font-weight: 500;
        cursor: pointer;
        border-radius: 4.4rem;
        position: relative;
        transition: all 0.3s ease;
    }

    .form-group.turnstile-container {
        width: unset;
        margin-bottom: 2rem;
    }

    form ul.select-option-ul {
        font-size: 1.4rem;
    }

    .livelarge-register-form-verification {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .livelarge-register-form-verification-box {
        background: #fff;
        padding: 24px 24px 40px;
        border-radius: 8px;
        width: 100%;
        max-width: 540px;
        text-align: center;
    }

    .livelarge-register-form-verification-box h2 {
        font-family: Barlow;
        font-size: 32px;
        font-weight: 500;
        margin-bottom: 24px;
        color: #000;
    }

    .verification-message {
        padding: 0;
    }

    .verification-message p {
        font-family: Barlow;
        font-size: 14px;
        line-height: 18px;
        color: #666;
        margin-bottom: 16px;
    }

    .resend-btn {
        height: 32px;
        font-size: 14px;
        padding: 0 24px 2px;
    }

    .referral-message-container .referral-card {
        background: #fff;
        border-radius: 2rem;
        padding: 2.8rem 2.4rem 3.2rem;
        width: 31.1rem;
    }

    .referral-message-container .referral-card .referMessage {
        color: rgba(0, 0, 0, 0.85);
        text-align: center;
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2rem;
        margin: 2rem 0 3.2rem;
    }

    .referral-message-container .referral-card .btn {

    }

}