/* ==========================================================
   VIP MLM Registration Page
   ========================================================== */

.vip-register-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 24px 55px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
}


/* ==========================================================
   Page Heading
   ========================================================== */

.vip-register-heading {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.vip-register-heading h1 {
    margin: 0;
    padding: 0;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;

    color: #182d55;
}

.vip-register-heading-decoration {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 260px;
    max-width: 80%;

    margin: 12px auto 10px;
}

.vip-register-heading-decoration span {
    display: block;
    width: 90px;
    height: 1px;
    background: #d7a52b;
}

.vip-register-heading-decoration strong {
    display: block;
    margin: 0 12px;

    color: #d7a52b;

    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.vip-register-heading p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: #667085;
}

.vip-register-heading p strong {
    color: #263d67;
    font-weight: 700;
}


/* ==========================================================
   Registration Form Wrapper
   ========================================================== */

.vip-mlm-register {
    width: 100%;
    max-width: 980px;

    margin: 0 auto;
    padding: 0;

    box-sizing: border-box;
}


/* ==========================================================
   Registration Card
   ========================================================== */

.vip-mlm-card {
    width: 100%;

    padding: 38px 42px 32px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 9px;

    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}


/* ==========================================================
   Form Rows
   ========================================================== */

.vip-row {
    display: flex;
    width: 100%;

    margin: 0 0 22px;

    box-sizing: border-box;
}

.vip-col {
    width: 50%;
    box-sizing: border-box;
}

.vip-col:first-child {
    padding-right: 12px;
}

.vip-col:last-child {
    padding-left: 12px;
}


/* ==========================================================
   Labels
   ========================================================== */

.vip-col label,
.vip-field label {
    display: block;

    margin: 0 0 8px;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    color: #263d67;
}

.vip-required {
    color: #d6a32a;
}


/* ==========================================================
   Input Wrapper
   ========================================================== */

.vip-input-wrap {
    position: relative;

    width: 100%;

    box-sizing: border-box;
}


/* ==========================================================
   Input Icons
   ========================================================== */

.vip-input-icon {
    position: absolute;

    top: 50%;
    left: 15px;

    z-index: 2;

    display: block;

    font-size: 18px;
    line-height: 1;

    color: #d3a229;

    transform: translateY(-50%);

    pointer-events: none;
}


/* ==========================================================
   Inputs
   ========================================================== */

.vip-input-wrap input {
    display: block;

    width: 100%;
    height: 48px;

    margin: 0;
    padding: 0 44px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #d9dee7;
    border-radius: 5px;

    color: #172033;

    font-family: inherit;
    font-size: 14px;
    line-height: 48px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.vip-input-wrap input::placeholder {
    color: #9aa3b2;
    opacity: 1;
}

.vip-input-wrap input:focus {
    outline: none;

    border-color: #d4a32b;

    box-shadow: 0 0 0 3px rgba(212, 163, 43, 0.12);
}

.vip-input-wrap input[readonly] {
    background: #fafafa;
    color: #667085;
    cursor: default;
}


/* ==========================================================
   Password
   ========================================================== */

.vip-password-wrap input {
    padding-right: 48px;
}

.vip-password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    z-index: 3;

    width: 34px;
    height: 34px;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;

    color: #7b8493;

    font-size: 18px;
    line-height: 34px;
    text-align: center;

    cursor: pointer;

    transform: translateY(-50%);
}

.vip-password-toggle:hover {
    color: #d3a229;
}

.vip-password-toggle:focus {
    outline: 1px solid #d3a229;
}


/* ==========================================================
   Sponsor Help
   ========================================================== */

.vip-help {
    min-height: 0;

    margin: 5px 0 0;

    font-size: 12px;
    line-height: 1.4;

    color: #667085;
}


/* ==========================================================
   Terms
   ========================================================== */

.vip-register-terms {
    width: 100%;

    margin: 3px 0 24px;

    text-align: center;
}

.vip-register-terms label {
    display: inline-flex;
    align-items: flex-start;

    margin: 0;

    color: #5f6978;

    font-size: 13px;
    line-height: 1.6;

    font-weight: 400;

    cursor: pointer;
}

.vip-register-terms input {
    width: 15px;
    height: 15px;

    margin: 3px 8px 0 0;

    padding: 0;

    flex: 0 0 auto;

    accent-color: #d3a229;
}

.vip-terms-link {
    color: #d19b18;
    font-weight: 700;
}


/* ==========================================================
   Register Button
   ========================================================== */

.vip-btn,
.vip-register-submit {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 390px;

    min-height: 48px;

    margin: 0 auto;
    padding: 12px 20px;

    box-sizing: border-box;

    border: 0;
    border-radius: 4px;

    background: #d5a62c;
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.4px;

    cursor: pointer;

    transition: background 0.2s ease;
}

.vip-btn:hover,
.vip-register-submit:hover {
    background: #bd8d18;
}

.vip-btn:disabled,
.vip-register-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.vip-register-button-icon {
    display: inline-block;

    margin-right: 9px;

    font-size: 17px;
    line-height: 1;
}


/* ==========================================================
   Login Text
   ========================================================== */

.vip-register-login {
    margin: 17px 0 0;

    text-align: center;

    color: #667085;

    font-size: 13px;
    line-height: 1.5;
}

.vip-login-link {
    margin-left: 3px;

    color: #d19b18;

    font-weight: 700;
}


/* ==========================================================
   Trust Section
   ========================================================== */

.vip-register-trust {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    max-width: 980px;

    margin: 38px auto 0;
    padding: 0 10px;

    box-sizing: border-box;
}

.vip-trust-item {
    display: flex;
    align-items: flex-start;

    width: 25%;

    padding: 0 14px;

    box-sizing: border-box;
}

.vip-trust-item > strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    margin: 1px 10px 0 0;

    flex: 0 0 35px;

    border: 1px solid #e1c26d;
    border-radius: 50%;

    color: #d0a02a;

    font-size: 16px;
    line-height: 1;
}

.vip-trust-item div {
    min-width: 0;
}

.vip-trust-item h3 {
    margin: 0 0 4px;
    padding: 0;

    color: #253b63;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
}

.vip-trust-item p {
    margin: 0;
    padding: 0;

    color: #8a929f;

    font-size: 11px;
    line-height: 1.45;
}


/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 900px) {

    .vip-register-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .vip-mlm-card {
        padding: 32px 28px 28px;
    }

    .vip-register-trust {
        flex-wrap: wrap;
    }

    .vip-trust-item {
        width: 50%;

        margin-bottom: 24px;
    }
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 700px) {

    .vip-register-page {
        padding: 30px 15px 40px;
    }

    .vip-register-heading {
        margin-bottom: 22px;
    }

    .vip-register-heading h1 {
        font-size: 25px;
    }

    .vip-register-heading-decoration {
        width: 220px;
    }

    .vip-register-heading-decoration span {
        width: 72px;
    }

    .vip-register-heading p {
        font-size: 14px;
    }

    .vip-mlm-card {
        padding: 25px 18px;
    }

    .vip-row {
        display: block;

        margin-bottom: 0;
    }

    .vip-col {
        width: 100%;

        margin-bottom: 20px;
    }

    .vip-col:first-child,
    .vip-col:last-child {
        padding-right: 0;
        padding-left: 0;
    }

    .vip-register-terms {
        margin-top: 2px;
    }
}


/* ==========================================================
   Small Mobile
   ========================================================== */

@media (max-width: 520px) {

    .vip-register-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .vip-register-heading h1 {
        font-size: 23px;
        letter-spacing: 0.5px;
    }

    .vip-register-heading p {
        font-size: 13px;
    }

    .vip-mlm-card {
        padding: 22px 15px;
        border-radius: 7px;
    }

    .vip-input-wrap input {
        height: 46px;

        padding-left: 42px;

        font-size: 14px;

        line-height: 46px;
    }

    .vip-register-trust {
        display: block;

        margin-top: 30px;
        padding: 0 5px;
    }

    .vip-trust-item {
        width: 100%;
        max-width: 300px;

        margin: 0 auto 22px;
        padding: 0;
    }
}


/* ==========================================================
   Registration Success Popup
   ========================================================== */

.vip-registration-overlay {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background: rgba(15, 23, 42, 0.65);
}

.vip-registration-popup {
    width: 100%;
    max-width: 430px;

    padding: 32px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 16px;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);

    animation: vipRegistrationPopupIn 0.25s ease-out;
}

.vip-registration-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #dcfce7;
    color: #16a34a;

    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.vip-registration-popup h2 {
    margin: 0 0 10px;

    color: #111827;

    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.vip-registration-message {
    margin: 0 0 24px;

    color: #6b7280;

    font-size: 15px;
    line-height: 1.6;
}

.vip-registration-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
    padding: 14px 16px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    text-align: left;
}

.vip-registration-detail span {
    display: block;

    margin-right: 15px;

    color: #6b7280;

    font-size: 14px;
}

.vip-registration-detail strong {
    display: block;

    color: #111827;

    font-size: 15px;
    font-weight: 700;

    word-wrap: break-word;
    word-break: break-word;

    text-align: right;
}

.vip-registration-continue {
    width: 100%;

    margin-top: 12px;
    padding: 14px 18px;

    border: 0;
    border-radius: 9px;

    background: #d5a62c;
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease;
}

.vip-registration-continue:hover {
    background: #bd8d18;
}

.vip-registration-continue:active {
    transform: translateY(1px);
}

.vip-registration-continue:focus {
    outline: 3px solid rgba(213, 166, 44, 0.25);
    outline-offset: 3px;
}

@keyframes vipRegistrationPopupIn {

    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================================
   Popup Mobile
   ========================================================== */

@media (max-width: 480px) {

    .vip-registration-overlay {
        padding: 15px;
    }

    .vip-registration-popup {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .vip-registration-popup h2 {
        font-size: 23px;
    }

    .vip-registration-success-icon {
        width: 62px;
        height: 62px;

        font-size: 32px;
    }

    .vip-registration-detail {
        padding: 12px 14px;
    }
}