* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
    background: #050b13;
    color: #fff;
}

button,
input {
    font-family: inherit;
}

.hide {
    display: none !important;
}

/* =====================================================
COMMON - PAGE
===================================================== */

.login-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: radial-gradient(circle at 50% -10%, rgba(25, 115, 255, .16) 0%, transparent 35%), radial-gradient(circle at 15% 85%, rgba(215, 173, 91, .07) 0%, transparent 25%), radial-gradient(circle at 85% 80%, rgba(20, 100, 255, .08) 0%, transparent 28%), linear-gradient(145deg, #07101c 0%, #050b13 48%, #07111f 100%);
}

    .login-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
        background-size: 70px 70px;
        -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
        mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
        pointer-events: none;
    }

    .login-page::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 800px;
        height: 800px;
        transform: translate(-50%, -50%);
        background: radial-gradient(circle, rgba(15,92,220,.08), transparent 65%);
        pointer-events: none;
    }

.login-area {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
}

/* =====================================================
COMMON - EMPTY LIST
===================================================== */

.g-empty-list {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 24px;
    color: #66758A;
    font-size: 12px;
    text-align: center;
}

/* =====================================================
COMMON - MORE
===================================================== */

.g-more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.g-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 120px;
    height: 38px;
    padding: 0 18px;
    background: #111A28;
    border: 1px solid #29384D;
    border-radius: 8px;
    color: #96A3B7;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

    .g-more-btn:hover:not(:disabled) {
        background: #162235;
        border-color: #364962;
        color: #F4F7FB;
    }

    .g-more-btn .material-symbols-rounded {
        font-size: 17px;
    }

    .g-more-btn:disabled {
        opacity: .5;
        cursor: default;
    }

/* =====================================================
LOGIN
===================================================== */

.login-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 58px 52px 45px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .login-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.login-title {
    margin-bottom: 45px;
    text-align: center;
}

.login-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4f7fb;
    font-size: 68px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
}

    .login-logo-text strong {
        color: #dfb357;
    }

    .login-logo-text span {
        color: #f4f7fb;
    }

.login-title > p {
    margin: 14px 0 0;
    color: #8898ae;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
}

.welcome-text {
    margin-top: 32px;
    color: #c0cada;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .5px;
}

/* =====================================================
COMMON - INPUT
===================================================== */

.input-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 64px;
    margin-bottom: 15px;
    border: 1px solid #2b4564;
    border-radius: 12px;
    background: rgba(3,14,27,.48);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .input-box:hover {
        border-color: #3b5879;
    }

    .input-box:focus-within {
        border-color: #2787ff;
        background: rgba(4,18,35,.7);
        box-shadow: 0 0 0 3px rgba(39,135,255,.07), 0 0 25px rgba(39,135,255,.06);
    }

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
}

    .input-icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: #91a6c2;
    }

.input-box input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 18px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

    .input-box input::placeholder {
        color: #75869d;
    }

/* =====================================================
COMMON - BUTTON
===================================================== */

.login-button {
    position: relative;
    width: 100%;
    height: 64px;
    margin-top: 12px;
    padding: 0 60px;
    border: 1px solid rgba(241,207,135,.55);
    border-radius: 12px;
    background: linear-gradient(110deg, #f0cf87 0%, #d7ad5b 45%, #b88635 100%);
    color: #0b111b;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(215,173,91,.16), inset 0 1px 0 rgba(255,255,255,.30);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .login-button:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
        box-shadow: 0 16px 38px rgba(215,173,91,.24), inset 0 1px 0 rgba(255,255,255,.35);
    }

    .login-button:active {
        transform: translateY(0);
    }

    .login-button .arrow {
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-52%);
        color: #111722;
        font-size: 26px;
        font-weight: 400;
    }

.disabled-button:disabled {
    border-color: rgba(118,100,65,.5);
    background: linear-gradient(110deg, #756849, #655838);
    color: #29271f;
    cursor: default;
    box-shadow: none;
    filter: none;
    opacity: .7;
}

    .disabled-button:disabled:hover {
        transform: none;
        filter: none;
        box-shadow: none;
    }

/* =====================================================
SECURITY PASSWORD MODAL
===================================================== */

.security-password-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .security-password-modal.show {
        display: flex;
    }

.security-password-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.security-password-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border: 1px solid #29384D;
    border-radius: 14px;
    background: #111A28;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.security-password-modal-header {
    padding: 20px 22px 0;
}

    .security-password-modal-header strong {
        color: #F4F7FB;
        font-size: 16px;
        font-weight: 700;
    }

.security-password-modal-body {
    padding: 15px 22px 22px;
}

    .security-password-modal-body p {
        margin: 0 0 13px;
        color: #96A3B7;
        font-size: 13px;
    }

    .security-password-modal-body input {
        width: 100%;
        height: 48px;
        padding: 0 15px;
        border: 1px solid #29384D;
        border-radius: 9px;
        outline: none;
        background: #0D1420;
        color: #F4F7FB;
        font-size: 15px;
    }

        .security-password-modal-body input:focus {
            border-color: #2878FF;
            box-shadow: 0 0 0 3px rgba(40, 120, 255, .10);
        }

.security-password-modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 22px 22px;
}

.security-password-modal-button {
    height: 44px;
    border: 0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

    .security-password-modal-button.cancel {
        border: 1px solid #29384D;
        background: #162235;
        color: #96A3B7;
    }

    .security-password-modal-button.confirm {
        background: #2878FF;
        color: #fff;
    }

        .security-password-modal-button.confirm:hover {
            background: #4B90FF;
        }

@media (max-width: 600px) {
    .security-password-modal {
        padding: 16px;
    }

    .security-password-modal-box {
        max-width: 360px;
    }

    .security-password-modal-header {
        padding: 18px 18px 0;
    }

    .security-password-modal-body {
        padding: 13px 18px 18px;
    }

    .security-password-modal-buttons {
        padding: 0 18px 18px;
    }
}

/* =====================================================
LOGIN - LINKS
===================================================== */

.login-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 37px;
    padding-top: 28px;
    border-top: 1px solid #293d55;
}

    .login-links a {
        color: #9dabbc;
        font-size: 14px;
        text-decoration: none;
        transition: color .2s ease;
    }

        .login-links a:hover {
            color: #fff;
        }

    .login-links > span {
        width: 1px;
        height: 14px;
        flex-shrink: 0;
        background: #475a70;
    }

/* =====================================================
RESET PASSWORD
===================================================== */

.reset-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 52px 52px 42px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .reset-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.reset-title {
    text-align: center;
}

    .reset-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

    .reset-title h1 {
        margin: 38px 0 0;
        color: #f4f7fb;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -1px;
    }

.reset-description {
    margin-top: 15px;
    color: #91a5c0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

/* =====================================================
RESET PASSWORD - STEP
===================================================== */

.reset-step {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 32px 0 30px;
}

.reset-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 105px;
    flex-shrink: 0;
    color: #7187a5;
}

    .reset-step-item span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid #536f94;
        border-radius: 50%;
        background: #081528;
        color: #8da4c2;
        font-size: 14px;
        font-weight: 600;
        box-shadow: 0 0 0 4px rgba(8,21,40,.8);
    }

    .reset-step-item strong {
        margin-top: 10px;
        color: inherit;
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
    }

    .reset-step-item.active {
        color: #e7bd62;
    }

        .reset-step-item.active span {
            border-color: #f0cf87;
            background: linear-gradient(135deg, #f0cf87, #d7ad5b);
            color: #101722;
            box-shadow: 0 0 0 4px rgba(215,173,91,.08), 0 0 20px rgba(215,173,91,.14);
        }

        .reset-step-item.active strong {
            font-weight: 700;
        }

.reset-step-line {
    height: 1px;
    margin-top: 17px;
    flex: 1;
    background: #334b6a;
}

.reset-step-item.active + .reset-step-line {
    background: linear-gradient(90deg, #d7ad5b, #334b6a);
}

/* =====================================================
RESET PASSWORD - BACK
===================================================== */

.reset-back {
    margin-top: 31px;
    padding-top: 26px;
    border-top: 1px solid #293d55;
    text-align: center;
}

    .reset-back a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #91a5c0;
        font-size: 14px;
        text-decoration: none;
        transition: color .2s ease;
    }

        .reset-back a span {
            font-size: 20px;
            line-height: 1;
        }

        .reset-back a:hover {
            color: #fff;
        }

/* =====================================================
COMMON - FOOTER
===================================================== */

.login-footer {
    margin-top: 25px;
    color: #4f5e70;
    font-size: 12px;
    letter-spacing: .5px;
}

/* =====================================================
MOBILE
===================================================== */

@media (max-width: 600px) {
    .login-page {
        align-items: center;
        padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
        overflow-y: auto;
        background: radial-gradient(circle at 50% 0%, rgba(22,112,255,.14), transparent 38%), radial-gradient(circle at 50% 100%, rgba(215,173,91,.05), transparent 35%), linear-gradient(160deg, #07111e 0%, #040a12 100%);
    }

    .login-area {
        padding: 0;
    }

    .login-box {
        max-width: 430px;
        padding: 40px 23px 30px;
        border-radius: 21px;
    }

    .login-title {
        margin-bottom: 34px;
    }

    .login-logo-text {
        font-size: 52px;
    }

    .login-title > p,
    .reset-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .welcome-text {
        margin-top: 26px;
        font-size: 14px;
    }

    .input-box {
        height: 58px;
        margin-bottom: 13px;
    }

    .input-icon {
        width: 53px;
    }

        .input-icon svg {
            width: 21px;
            height: 21px;
        }

    .input-box input {
        font-size: 14px;
    }

    .login-button {
        height: 58px;
        margin-top: 11px;
        font-size: 16px;
    }

        .login-button .arrow {
            right: 21px;
            font-size: 24px;
        }

    .login-links {
        gap: 18px;
        margin-top: 29px;
        padding-top: 24px;
    }

        .login-links a {
            font-size: 13px;
        }

        .login-links > span {
            height: 13px;
        }

    .reset-box {
        max-width: 430px;
        padding: 38px 22px 29px;
        border-radius: 21px;
    }

    .reset-title h1 {
        margin-top: 30px;
        font-size: 25px;
    }

    .reset-description {
        margin-top: 12px;
        font-size: 13px;
    }

    .reset-step {
        margin: 27px 0 26px;
    }

    .reset-step-item {
        width: 82px;
    }

        .reset-step-item span {
            width: 30px;
            height: 30px;
            font-size: 12px;
        }

        .reset-step-item strong {
            margin-top: 8px;
            font-size: 12px;
        }

    .reset-step-line {
        margin-top: 15px;
    }

    .reset-back {
        margin-top: 27px;
        padding-top: 23px;
    }

        .reset-back a {
            font-size: 13px;
        }

    .login-footer {
        margin-top: 20px;
        font-size: 12px;
    }
}

/* =====================================================
SMALL MOBILE
===================================================== */

@media (max-width: 380px) {
    .login-page {
        padding-left: 13px;
        padding-right: 13px;
    }

    .login-box {
        padding: 33px 18px 26px;
        border-radius: 19px;
    }

    .login-logo-text {
        font-size: 46px;
    }

    .login-title {
        margin-bottom: 29px;
    }

        .login-title > p,
        .reset-title > p {
            font-size: 11px;
            letter-spacing: 2.3px;
        }

    .welcome-text {
        margin-top: 22px;
        font-size: 13px;
    }

    .input-box {
        height: 55px;
    }

    .input-icon {
        width: 49px;
    }

    .login-button {
        height: 56px;
    }

    .login-links {
        gap: 16px;
    }

    .reset-box {
        padding: 32px 17px 25px;
        border-radius: 19px;
    }

    .reset-title h1 {
        margin-top: 26px;
        font-size: 23px;
    }

    .reset-description {
        font-size: 12px;
    }

    .reset-step-item {
        width: 75px;
    }

        .reset-step-item strong {
            font-size: 11px;
        }
}

/* =====================================================
LOW HEIGHT
===================================================== */

@media (max-height: 700px) {
    .login-page {
        align-items: flex-start;
        overflow-y: auto;
    }

    .login-area {
        margin: auto 0;
    }

    .login-box {
        padding-top: 35px;
        padding-bottom: 30px;
    }

    .login-title {
        margin-bottom: 28px;
    }

    .welcome-text {
        margin-top: 20px;
    }

    .login-links {
        margin-top: 26px;
        padding-top: 22px;
    }

    .reset-box {
        padding-top: 32px;
        padding-bottom: 28px;
    }

    .reset-title h1 {
        margin-top: 26px;
    }

    .reset-step {
        margin-top: 24px;
        margin-bottom: 23px;
    }

    .reset-back {
        margin-top: 24px;
        padding-top: 20px;
    }
}


.verification-info {
    margin-bottom: 16px;
    color: #91a5c0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

    .verification-info strong {
        color: #d5deea;
        font-weight: 600;
    }

.verification-input input {
    padding-right: 75px;
    letter-spacing: 2px;
}

.verification-timer {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #d7ad5b;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.verification-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #71839b;
    font-size: 12px;
}

    .verification-resend button {
        padding: 0;
        border: 0;
        background: transparent;
        color: #d7ad5b;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }

        .verification-resend button:hover {
            color: #f0cf87;
            text-decoration: underline;
        }

.reset-step-item.completed {
    color: #91a5c0;
}

    .reset-step-item.completed span {
        border-color: #59708f;
        background: #14243a;
        color: #d5deea;
        box-shadow: 0 0 0 4px rgba(8,21,40,.8);
    }

    .reset-step-item.completed + .reset-step-line {
        background: linear-gradient(90deg, #59708f, #334b6a);
    }

/* =====================================================
AGREEMENT
===================================================== */
.agreement-box {
    position: relative;
    width: 100%;
    max-width: 760px;
    padding: 46px 52px 38px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .agreement-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.agreement-title {
    text-align: center;
}

    .agreement-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

    .agreement-title h1 {
        margin: 31px 0 0;
        color: #f4f7fb;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -1px;
    }

.agreement-description {
    margin-top: 12px;
    color: #91a5c0;
    font-size: 14px;
    line-height: 1.7;
}

.agreement-list {
    margin-top: 31px;
    margin-bottom: 20px;
}

.agreement-item + .agreement-item {
    margin-top: 32px;
}

.agreement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.agreement-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

    .agreement-name > span {
        flex-shrink: 0;
        color: #d7ad5b;
        font-size: 15px;
        font-weight: 700;
    }

    .agreement-name > strong {
        color: #f4f7fb;
        font-size: 16px;
        font-weight: 600;
    }

.agreement-check {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: #a5b4c8;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

    .agreement-check input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.check-box {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid #58759a;
    border-radius: 6px;
    background: #081528;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.agreement-check:not(.disabled):hover .check-box {
    border-color: #d7ad5b;
}

.agreement-check input:checked + .check-box {
    border-color: #d7ad5b;
    background: linear-gradient(135deg, #f0cf87, #d7ad5b);
    box-shadow: 0 0 16px rgba(215,173,91,.14);
}

    .agreement-check input:checked + .check-box::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 4px;
        width: 5px;
        height: 10px;
        border: solid #101722;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.agreement-check.disabled {
    color: #5e7189;
    cursor: default;
}

    .agreement-check.disabled .check-box {
        border-color: #344a64;
        background: #091423;
        opacity: .65;
    }

.agreement-content {
    width: 100%;
    height: 190px;
    padding: 21px 24px;
    overflow-y: auto;
    border: 1px solid #416184;
    border-radius: 13px;
    background: rgba(3,14,27,.45);
    color: #9fb0c5;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-wrap;
    scrollbar-width: thin;
    scrollbar-color: #506985 transparent;
}

    .agreement-content::-webkit-scrollbar {
        width: 6px;
    }

    .agreement-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .agreement-content::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #506985;
    }

    .agreement-content h1,
    .agreement-content h2,
    .agreement-content h3,
    .agreement-content h4 {
        margin: 0 0 9px;
        color: #d6dfeb;
        font-size: 14px;
        font-weight: 600;
    }

    .agreement-content p {
        margin: 0 0 16px;
    }

        .agreement-content p:last-child {
            margin-bottom: 0;
        }

.agreement-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 9px;
    color: #7f94af;
    font-size: 12px;
}

.agreement-status-text {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #6f91ba;
    color: #08111e;
    font-size: 11px;
    font-weight: 800;
}

.agreement-percent {
    flex-shrink: 0;
    color: #91a5c0;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.agreement-status.completed {
    color: #8fa8a0;
}

    .agreement-status.completed .status-icon {
        background: #22c997;
        color: #07140f;
    }

    .agreement-status.completed .agreement-percent {
        color: #22c997;
    }

/* =====================================================
AGREEMENT - MOBILE
===================================================== */

@media (max-width: 600px) {
    .agreement-box {
        max-width: 430px;
        padding: 35px 21px 28px;
        border-radius: 21px;
    }

    .agreement-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .agreement-title h1 {
        margin-top: 27px;
        font-size: 25px;
    }

    .agreement-description {
        margin-top: 10px;
        font-size: 13px;
    }

    .agreement-list {
        margin-top: 27px;
    }

    .agreement-item + .agreement-item {
        margin-top: 27px;
    }

    .agreement-header {
        gap: 10px;
        margin-bottom: 10px;
    }

    .agreement-name {
        gap: 5px;
    }

        .agreement-name > span {
            font-size: 12px;
        }

        .agreement-name > strong {
            font-size: 13px;
        }

    .agreement-check {
        gap: 6px;
        font-size: 12px;
    }

    .check-box {
        width: 21px;
        height: 21px;
        border-radius: 5px;
    }

    .agreement-check input:checked + .check-box::after {
        left: 7px;
        top: 3px;
        width: 5px;
        height: 10px;
    }

    .agreement-content {
        height: 160px;
        padding: 17px 18px;
        font-size: 12px;
        line-height: 1.75;
    }

        .agreement-content h1,
        .agreement-content h2,
        .agreement-content h3,
        .agreement-content h4 {
            font-size: 13px;
        }

    .agreement-status {
        gap: 8px;
        font-size: 12px;
    }

    .agreement-status-text {
        gap: 5px;
    }

    .status-icon {
        width: 15px;
        height: 15px;
        font-size: 9px;
    }

    .agreement-percent {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .agreement-box {
        padding: 31px 16px 25px;
        border-radius: 19px;
    }

    .agreement-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .agreement-title h1 {
        margin-top: 24px;
        font-size: 23px;
    }

    .agreement-header {
        align-items: flex-end;
    }

    .agreement-name > span {
        font-size: 12px;
    }

    .agreement-name > strong {
        font-size: 12px;
    }

    .check-text {
        display: none;
    }

    .agreement-content {
        height: 150px;
        padding: 15px;
    }
}

/* =====================================================
VERIFY EMAIL
===================================================== */

.verify-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 52px 52px 42px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .verify-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.verify-title {
    text-align: center;
}

    .verify-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

    .verify-title h1 {
        margin: 38px 0 0;
        color: #f4f7fb;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -1px;
    }

.verify-description {
    margin-top: 15px;
    color: #91a5c0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

/* =====================================================
VERIFY EMAIL - STEP
===================================================== */

.verify-step {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 32px auto 30px;
}

.verify-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    flex-shrink: 0;
    color: #7187a5;
}

    .verify-step-item span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid #536f94;
        border-radius: 50%;
        background: #081528;
        color: #8da4c2;
        font-size: 14px;
        font-weight: 600;
        box-shadow: 0 0 0 4px rgba(8,21,40,.8);
    }

    .verify-step-item strong {
        margin-top: 10px;
        color: inherit;
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
    }

    .verify-step-item.active {
        color: #e7bd62;
    }

        .verify-step-item.active span {
            border-color: #f0cf87;
            background: linear-gradient(135deg, #f0cf87, #d7ad5b);
            color: #101722;
            box-shadow: 0 0 0 4px rgba(215,173,91,.08), 0 0 20px rgba(215,173,91,.14);
        }

        .verify-step-item.active strong {
            font-weight: 700;
        }

    .verify-step-item.completed {
        color: #91a5c0;
    }

        .verify-step-item.completed span {
            border-color: #59708f;
            background: #14243a;
            color: #d5deea;
            box-shadow: 0 0 0 4px rgba(8,21,40,.8);
        }

.verify-step-line {
    height: 1px;
    margin-top: 17px;
    flex: 1;
    background: #334b6a;
}

.verify-step-item.active + .verify-step-line {
    background: linear-gradient(90deg, #d7ad5b, #334b6a);
}

.verify-step-item.completed + .verify-step-line {
    background: linear-gradient(90deg, #59708f, #334b6a);
}

/* =====================================================
VERIFY EMAIL - CODE
===================================================== */

.verify-email-info {
    margin-bottom: 16px;
    color: #91a5c0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

    .verify-email-info strong {
        color: #d5deea;
        font-weight: 600;
    }

.verify-code-input input {
    padding-right: 78px;
    letter-spacing: 2px;
}

    .verify-code-input input::placeholder {
        letter-spacing: normal;
    }

.verify-timer {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #d7ad5b;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.verify-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #71839b;
    font-size: 12px;
}

    .verify-resend button {
        padding: 0;
        border: 0;
        background: transparent;
        color: #d7ad5b;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }

        .verify-resend button:hover {
            color: #f0cf87;
            text-decoration: underline;
        }

/* =====================================================
VERIFY EMAIL - BACK
===================================================== */

.verify-back {
    margin-top: 31px;
    padding-top: 26px;
    border-top: 1px solid #293d55;
    text-align: center;
}

    .verify-back a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #91a5c0;
        font-size: 14px;
        text-decoration: none;
        transition: color .2s ease;
    }

        .verify-back a span {
            font-size: 20px;
            line-height: 1;
        }

        .verify-back a:hover {
            color: #fff;
        }

/* =====================================================
VERIFY EMAIL - MOBILE
===================================================== */

@media (max-width: 600px) {
    .verify-box {
        max-width: 430px;
        padding: 38px 22px 29px;
        border-radius: 21px;
    }

    .verify-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .verify-title h1 {
        margin-top: 30px;
        font-size: 25px;
    }

    .verify-description {
        margin-top: 12px;
        font-size: 13px;
    }

    .verify-step {
        max-width: 290px;
        margin: 27px auto 26px;
    }

    .verify-step-item {
        width: 90px;
    }

        .verify-step-item span {
            width: 30px;
            height: 30px;
            font-size: 12px;
        }

        .verify-step-item strong {
            margin-top: 8px;
            font-size: 12px;
        }

    .verify-step-line {
        margin-top: 15px;
    }

    .verify-email-info {
        margin-bottom: 13px;
        font-size: 12px;
    }

    .verify-resend {
        gap: 6px;
        margin-top: 16px;
        font-size: 12px;
    }

        .verify-resend button {
            font-size: 12px;
        }

    .verify-back {
        margin-top: 27px;
        padding-top: 23px;
    }

        .verify-back a {
            font-size: 13px;
        }
}

@media (max-width: 380px) {
    .verify-box {
        padding: 32px 17px 25px;
        border-radius: 19px;
    }

    .verify-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .verify-title h1 {
        margin-top: 26px;
        font-size: 23px;
    }

    .verify-description {
        font-size: 12px;
    }

    .verify-step {
        max-width: 260px;
    }
}

/* =====================================================
JOIN
===================================================== */
.join-box {
    position: relative;
    width: 100%;
    max-width: 680px;
    padding: 48px 54px 40px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .join-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.join-title {
    text-align: center;
}

    .join-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

    .join-title h1 {
        margin: 31px 0 0;
        color: #f4f7fb;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -1px;
    }

.join-description {
    margin-top: 12px;
    color: #91a5c0;
    font-size: 14px;
    line-height: 1.7;
}

.join-form {
    margin-top: 32px;
}

.join-field {
    margin-bottom: 21px;
}

    .join-field > label {
        display: block;
        margin-bottom: 9px;
        color: #c7d2e1;
        font-size: 13px;
        font-weight: 500;
    }

    .join-field .input-box {
        margin-bottom: 0;
    }

        .join-field .input-box.readonly {
            background: rgba(6,17,31,.72);
        }

            .join-field .input-box.readonly input {
                padding-right: 105px;
                color: #8fa1b9;
                cursor: default;
            }

.verified-text {
    position: absolute;
    top: 50%;
    right: 17px;
    display: flex;
    align-items: center;
    gap: 5px;
    transform: translateY(-50%);
    color: #22c997;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

    .verified-text > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 17px;
        height: 17px;
        border-radius: 50%;
        background: rgba(34,201,151,.14);
        color: #22c997;
        font-size: 12px;
    }

/* =====================================================
JOIN - COUNTRY
===================================================== */

.join-select-box {
    position: relative;
    width: 100%;
}

    .join-select-box select {
        width: 100%;
        height: 54px;
        padding: 0 46px 0 17px;
        border: 1px solid #334a66;
        border-radius: 11px;
        outline: none;
        background: #0a1728;
        color: #d5deea;
        font-size: 14px;
    }

/* =====================================================
JOIN - PHONE
===================================================== */

.phone-box {
    display: flex;
    width: 100%;
    min-width: 0;
}

.phone-country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 64px;
    flex: 0 0 86px;
    border: 1px solid #334a66;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #0b1b30;
    color: #d7ad5b;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.phone-box .input-box {
    width: auto;
    min-width: 0;
    flex: 1;
    height: 64px;
    margin-bottom: 0;
    border-radius: 0 12px 12px 0;
}

    .phone-box .input-box input {
        width: 100%;
        min-width: 0;
        padding-left: 17px;
    }

.phone-box:focus-within .phone-country-code,
.phone-box:focus-within .input-box {
    border-color: #2878ff;
}

/* =====================================================
JOIN - BUTTON / BACK
===================================================== */

.join-button {
    margin-top: 10px;
}

.join-back {
    margin-top: 31px;
    padding-top: 26px;
    border-top: 1px solid #293d55;
    text-align: center;
}

    .join-back a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #91a5c0;
        font-size: 14px;
        text-decoration: none;
        transition: color .2s ease;
    }

        .join-back a span {
            font-size: 20px;
            line-height: 1;
        }

        .join-back a:hover {
            color: #fff;
        }

/* =====================================================
JOIN - SELECT2
===================================================== */

.join-select-box .select2-container {
    width: 100% !important;
}

    .join-select-box .select2-container .select2-selection--single {
        height: 54px;
        border: 1px solid #334a66;
        border-radius: 11px;
        background: #0a1728;
    }

        .join-select-box .select2-container .select2-selection--single .select2-selection__rendered {
            height: 52px;
            padding: 0 45px 0 17px;
            color: #d5deea;
            font-size: 14px;
            line-height: 52px;
        }

        .join-select-box .select2-container .select2-selection--single .select2-selection__placeholder {
            color: #8291A6;
        }

        .join-select-box .select2-container .select2-selection--single .select2-selection__arrow {
            top: 50%;
            right: 14px;
            width: 20px;
            height: 20px;
            transform: translateY(-50%);
        }

            .join-select-box .select2-container .select2-selection--single .select2-selection__arrow b {
                border-color: #8296b1 transparent transparent transparent;
            }

.join-select-box .select2-container--open .select2-selection--single {
    border-color: #2878ff;
    box-shadow: 0 0 0 3px rgba(40,120,255,.08);
}

.select2-dropdown {
    overflow: hidden;
    border: 1px solid #334a66 !important;
    border-radius: 11px !important;
    background: #0a1728 !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.select2-search--dropdown {
    padding: 10px !important;
}

    .select2-search--dropdown .select2-search__field {
        height: 42px;
        padding: 0 13px !important;
        border: 1px solid #334a66 !important;
        border-radius: 8px;
        outline: none;
        background: #081422;
        color: #f4f7fb;
        font-size: 13px;
    }

        .select2-search--dropdown .select2-search__field:focus {
            border-color: #2878ff !important;
        }

.select2-results__options {
    max-height: 240px !important;
}

.select2-results__option {
    padding: 11px 14px !important;
    color: #aebed2;
    font-size: 13px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #162b47 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: rgba(215,173,91,.12) !important;
    color: #f0cf87 !important;
}

/* =====================================================
JOIN - MOBILE
===================================================== */

@media (max-width: 600px) {
    .join-box {
        max-width: 430px;
        padding: 36px 22px 29px;
        border-radius: 21px;
    }

    .join-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .join-title h1 {
        margin-top: 27px;
        font-size: 25px;
    }

    .join-description {
        margin-top: 10px;
        font-size: 13px;
    }

    .join-form {
        margin-top: 27px;
    }

    .join-field {
        margin-bottom: 18px;
    }

        .join-field > label {
            margin-bottom: 8px;
            font-size: 12px;
        }

    .phone-country-code {
        width: 75px;
        height: 58px;
        flex-basis: 75px;
    }

    .phone-box .input-box {
        height: 58px;
    }

    .join-back {
        margin-top: 27px;
        padding-top: 23px;
    }

        .join-back a {
            font-size: 13px;
        }
}

@media (max-width: 380px) {
    .join-box {
        padding: 32px 17px 25px;
        border-radius: 19px;
    }

    .join-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .join-title h1 {
        margin-top: 24px;
        font-size: 23px;
    }

    .verified-text {
        right: 13px;
        font-size: 12px;
    }

    .phone-country-code {
        width: 67px;
        height: 55px;
        flex-basis: 67px;
        font-size: 12px;
    }

    .phone-box .input-box {
        height: 55px;
    }
}

/* =====================================================
JOIN RESULT
===================================================== */

.join-result-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 52px 52px 42px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .join-result-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.join-result-title {
    text-align: center;
}

    .join-result-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

.join-result-content {
    margin-top: 42px;
    text-align: center;
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    border-radius: 50%;
}

    .result-icon svg {
        width: 37px;
        height: 37px;
        fill: none;
    }

    .result-icon.success {
        border: 1px solid rgba(215,173,91,.7);
        background: radial-gradient(circle, rgba(215,173,91,.18), rgba(215,173,91,.05));
        box-shadow: 0 0 0 7px rgba(215,173,91,.035), 0 0 32px rgba(215,173,91,.12);
    }

        .result-icon.success svg {
            stroke: #f0cf87;
        }

    .result-icon.fail {
        border: 1px solid rgba(255,100,124,.55);
        background: radial-gradient(circle, rgba(255,100,124,.15), rgba(255,100,124,.04));
        box-shadow: 0 0 0 7px rgba(255,100,124,.025), 0 0 32px rgba(255,100,124,.08);
    }

        .result-icon.fail svg {
            stroke: #ff647c;
        }

.join-result-content h1 {
    margin: 27px 0 0;
    color: #f4f7fb;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.8px;
}

.result-message {
    color: #91a5c0;
    font-size: 14px;
    white-space: pre-line;
    word-break: keep-all;
}

    .result-message p {
        margin: 0;
    }

.result-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    text-decoration: none;
}

.result-back {
    margin-top: 23px;
    text-align: center;
}

    .result-back a {
        color: #91a5c0;
        font-size: 13px;
        text-decoration: none;
        transition: color .2s ease;
    }

        .result-back a:hover {
            color: #fff;
        }

/* =====================================================
JOIN RESULT - MOBILE
===================================================== */

@media (max-width: 600px) {
    .join-result-box {
        max-width: 430px;
        padding: 38px 22px 31px;
        border-radius: 21px;
    }

    .join-result-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .join-result-content {
        margin-top: 34px;
    }

    .result-icon {
        width: 68px;
        height: 68px;
    }

        .result-icon svg {
            width: 32px;
            height: 32px;
        }

    .join-result-content h1 {
        margin-top: 23px;
        font-size: 24px;
    }

    .result-message {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.75;
    }

    .result-button {
        margin-top: 30px;
    }

    .result-back {
        margin-top: 20px;
    }
}

@media (max-width: 380px) {
    .join-result-box {
        padding: 33px 18px 27px;
        border-radius: 19px;
    }

    .join-result-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .result-icon {
        width: 62px;
        height: 62px;
    }

        .result-icon svg {
            width: 29px;
            height: 29px;
        }

    .join-result-content h1 {
        font-size: 22px;
    }
}

.error-message {
    margin-top: 15px;
    color: #91a5c0;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

/* =====================================================
MAINTENANCE
===================================================== */

.maintenance-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 52px 52px 58px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .maintenance-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.maintenance-title {
    text-align: center;
}

    .maintenance-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

.maintenance-content {
    margin-top: 42px;
    text-align: center;
}

.maintenance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    border: 1px solid rgba(215,173,91,.65);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215,173,91,.18), rgba(215,173,91,.04));
    box-shadow: 0 0 0 7px rgba(215,173,91,.03), 0 0 32px rgba(215,173,91,.11);
}

    .maintenance-icon svg {
        width: 36px;
        height: 36px;
        fill: none;
        stroke: #f0cf87;
    }

.maintenance-content h1 {
    margin: 27px 0 0;
    color: #f4f7fb;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.8px;
}

.maintenance-message {
    margin-top: 15px;
    color: #91a5c0;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

/* =====================================================
MAINTENANCE - MOBILE
===================================================== */

@media (max-width: 600px) {
    .maintenance-box {
        max-width: 430px;
        padding: 38px 22px 43px;
        border-radius: 21px;
    }

    .maintenance-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .maintenance-content {
        margin-top: 34px;
    }

    .maintenance-icon {
        width: 68px;
        height: 68px;
    }

        .maintenance-icon svg {
            width: 32px;
            height: 32px;
        }

    .maintenance-content h1 {
        margin-top: 23px;
        font-size: 24px;
    }

    .maintenance-message {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.75;
    }
}

@media (max-width: 380px) {
    .maintenance-box {
        padding: 33px 18px 38px;
        border-radius: 19px;
    }

    .maintenance-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .maintenance-icon {
        width: 62px;
        height: 62px;
    }

        .maintenance-icon svg {
            width: 29px;
            height: 29px;
        }

    .maintenance-content h1 {
        font-size: 22px;
    }
}

/* =====================================================
BLOCKED
===================================================== */

.blocked-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 52px 52px 58px;
    border: 1px solid rgba(255,100,124,.28);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(255,100,124,.025), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .blocked-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,100,124,.75), transparent);
        pointer-events: none;
    }

.blocked-title {
    text-align: center;
}

    .blocked-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

.blocked-content {
    margin-top: 42px;
    text-align: center;
}

.blocked-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    border: 1px solid rgba(255,100,124,.6);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,100,124,.16), rgba(255,100,124,.04));
    box-shadow: 0 0 0 7px rgba(255,100,124,.025), 0 0 32px rgba(255,100,124,.10);
}

    .blocked-icon svg {
        width: 37px;
        height: 37px;
        fill: none;
        stroke: #ff647c;
    }

.blocked-content h1 {
    margin: 27px 0 0;
    color: #f4f7fb;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.8px;
}

.blocked-message {
    margin-top: 15px;
    color: #91a5c0;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

/* =====================================================
BLOCKED - MOBILE
===================================================== */

@media (max-width: 600px) {
    .blocked-box {
        max-width: 430px;
        padding: 38px 22px 43px;
        border-radius: 21px;
    }

    .blocked-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .blocked-content {
        margin-top: 34px;
    }

    .blocked-icon {
        width: 68px;
        height: 68px;
    }

        .blocked-icon svg {
            width: 32px;
            height: 32px;
        }

    .blocked-content h1 {
        margin-top: 23px;
        font-size: 24px;
    }

    .blocked-message {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.75;
    }
}

@media (max-width: 380px) {
    .blocked-box {
        padding: 33px 18px 38px;
        border-radius: 19px;
    }

    .blocked-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .blocked-icon {
        width: 62px;
        height: 62px;
    }

        .blocked-icon svg {
            width: 29px;
            height: 29px;
        }

    .blocked-content h1 {
        font-size: 22px;
    }
}

/* =====================================================
ERROR
===================================================== */

.error-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 52px 52px 42px;
    border: 1px solid rgba(53,139,245,.45);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(14,31,54,.90), rgba(5,16,30,.94));
    box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,96,255,.035), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

    .error-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(70,164,255,.85), transparent);
        pointer-events: none;
    }

.error-title {
    text-align: center;
}

    .error-title > p {
        margin: 14px 0 0;
        color: #8898ae;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 4px;
    }

.error-content {
    margin-top: 42px;
    text-align: center;
}

.error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    border: 1px solid rgba(255,100,124,.55);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,100,124,.15), rgba(255,100,124,.04));
    box-shadow: 0 0 0 7px rgba(255,100,124,.025), 0 0 32px rgba(255,100,124,.08);
}

    .error-icon svg {
        width: 37px;
        height: 37px;
        fill: none;
        stroke: #ff647c;
    }

.error-content h1 {
    margin: 27px 0 0;
    color: #f4f7fb;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.8px;
}

.error-message {
    margin-top: 15px;
    color: #91a5c0;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    word-break: keep-all;
}

.error-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    text-decoration: none;
}

@media (max-width: 600px) {
    .error-box {
        max-width: 430px;
        padding: 38px 22px 31px;
        border-radius: 21px;
    }

    .error-title > p {
        margin-top: 11px;
        font-size: 11px;
        letter-spacing: 2.8px;
    }

    .error-content {
        margin-top: 34px;
    }

    .error-icon {
        width: 68px;
        height: 68px;
    }

        .error-icon svg {
            width: 32px;
            height: 32px;
        }

    .error-content h1 {
        margin-top: 23px;
        font-size: 24px;
    }

    .error-message {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.75;
    }

    .error-button {
        margin-top: 30px;
    }
}

@media (max-width: 380px) {
    .error-box {
        padding: 33px 18px 27px;
        border-radius: 19px;
    }

    .error-title > p {
        font-size: 11px;
        letter-spacing: 2.3px;
    }

    .error-icon {
        width: 62px;
        height: 62px;
    }

        .error-icon svg {
            width: 29px;
            height: 29px;
        }

    .error-content h1 {
        font-size: 22px;
    }
}

/* Common Modal */
.common-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease,visibility .2s ease;
}

    .common-modal.show {
        visibility: visible;
        opacity: 1;
    }

.common-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,7,14,.76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.common-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 430px;
    padding: 36px 34px 30px;
    border: 1px solid rgba(53,139,245,.35);
    border-radius: 22px;
    background: linear-gradient(145deg,#101c2d,#08111e);
    box-shadow: 0 30px 80px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.04);
    text-align: center;
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}

.common-modal.show .common-modal-box {
    transform: translateY(0) scale(1);
}

.common-modal-box::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(70,164,255,.8),transparent);
}

.common-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border: 1px solid rgba(215,173,91,.55);
    border-radius: 50%;
    background: rgba(215,173,91,.08);
    box-shadow: 0 0 28px rgba(215,173,91,.07);
}

    .common-modal-icon svg {
        width: 30px;
        height: 30px;
        fill: none;
        stroke: #f0cf87;
    }

    .common-modal-icon .icon-confirm {
        display: none;
    }

.common-modal.confirm-mode .icon-alert {
    display: none;
}

.common-modal.confirm-mode .icon-confirm {
    display: block;
}

.common-modal-message {
    margin-top: 22px;
    color: #96a3b7;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}

.common-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.common-modal-button {
    flex: 1;
    height: 52px;
    border: 0;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

    .common-modal-button.cancel {
        display: none;
        border: 1px solid #29384d;
        background: #111a28;
        color: #96a3b7;
    }

        .common-modal-button.cancel:hover {
            background: #162235;
            color: #f4f7fb;
        }

    .common-modal-button.confirm {
        background: linear-gradient(110deg,#f0cf87 0%,#d7ad5b 45%,#b88635 100%);
        color: #0b111b;
        box-shadow: 0 8px 24px rgba(215,173,91,.14);
    }

        .common-modal-button.confirm:hover {
            filter: brightness(1.06);
        }

.common-modal.confirm-mode .common-modal-button.cancel {
    display: block;
}

@media(max-width:600px) {
    .common-modal {
        padding: 18px;
    }

    .common-modal-box {
        max-width: 390px;
        padding: 31px 22px 25px;
        border-radius: 19px;
    }

    .common-modal-icon {
        width: 58px;
        height: 58px;
    }

        .common-modal-icon svg {
            width: 27px;
            height: 27px;
        }

    .common-modal-message {
        font-size: 13px;
    }

    .common-modal-buttons {
        margin-top: 24px;
    }

    .common-modal-button {
        height: 50px;
    }
}

.common-toast-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10999;
    background: rgba(2,7,14,.45);
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease,visibility .2s ease;
}

    .common-toast-backdrop.show {
        visibility: visible;
        opacity: 1;
    }

.common-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    bottom: auto;
    z-index: 11000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    padding: 14px 20px;
    background: #162235;
    border: 1px solid #29384d;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0,0,0,.45);
    color: #f4f7fb;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%,-40%);
    transition: opacity .2s ease,visibility .2s ease,transform .2s ease;
}

    .common-toast.show {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%,-50%);
    }

    .common-toast .material-symbols-rounded {
        flex-shrink: 0;
        color: #4b90ff;
        font-size: 19px;
    }

/* Loading */
.loading-bg {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2,7,14,.68);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 1;
    visibility: visible;
    transition: opacity .2s ease,visibility .2s ease;
}

    .loading-bg.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.loading-spinner {
    position: relative;
    width: 54px;
    height: 54px;
    border: 3px solid rgba(215,173,91,.15);
    border-top-color: #f0cf87;
    border-right-color: #d7ad5b;
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(215,173,91,.08);
    animation: loading-spin .8s linear infinite;
}

    .loading-spinner::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #2878ff;
        box-shadow: 0 0 14px rgba(40,120,255,.8);
        transform: translate(-50%,-50%);
    }

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media(max-width:600px) {
    .loading-spinner {
        width: 48px;
        height: 48px;
    }
}

/* =====================================================
COMMON - LANGUAGE
===================================================== */

.language-selector {
    position: absolute;
    top: 20px;
    right: 22px;
    z-index: 10;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 5px;
    border: 0;
    background: transparent;
    color: #91a5c0;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s ease;
}

    .language-button:hover {
        color: #f0cf87;
    }

    .language-button > svg:first-child {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        fill: none;
        stroke: #91a5c0;
        transition: stroke .2s ease;
    }

    .language-button:hover > svg:first-child {
        stroke: #d7ad5b;
    }

.language-arrow {
    width: 13px;
    height: 13px;
    margin-left: 1px;
    flex-shrink: 0;
    fill: none;
    stroke: #7187a5;
}

.language-dropdown {
    position: absolute;
    top: 34px;
    right: 0;
    display: none;
    width: 140px;
    padding: 6px;
    border: 1px solid #293d55;
    border-radius: 10px;
    background: #0b1829;
    box-shadow: 0 18px 45px rgba(0,0,0,.4);
}

.language-selector.open .language-dropdown {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9fb0c5;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease,color .2s ease;
}

    .language-option:hover {
        background: #162b47;
        color: #fff;
    }

    .language-option.active {
        background: rgba(215,173,91,.09);
        color: #f0cf87;
    }

.language-check {
    color: #d7ad5b;
    font-size: 12px;
    font-weight: 700;
}

@media(max-width:600px) {
    .language-selector {
        top: 13px;
        right: 15px;
    }

    .language-button {
        height: 28px;
        font-size: 12px;
    }

        .language-button > svg:first-child {
            width: 14px;
            height: 14px;
        }

    .language-arrow {
        width: 12px;
        height: 12px;
    }

    .language-dropdown {
        top: 32px;
        width: 132px;
    }

    .language-option {
        height: 36px;
        font-size: 12px;
    }
}

/* =====================================================
LAYOUT - LOGIN
===================================================== */

:root {
    --layout-sidebar-width: 240px;
    --layout-header-height: 68px;
}

/* =====================================================
HEADER
===================================================== */

.layout-header {
    position: fixed;
    top: 0;
    left: var(--layout-sidebar-width);
    right: 0;
    height: var(--layout-header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid #202c3d;
    background: rgba(8,13,22,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .header-menu-button svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: #96a3b7;
    }

.header-mobile-brand {
    display: none;
}

/* =====================================================
HEADER - LANGUAGE
===================================================== */

.header-right .language-selector {
    position: relative;
    top: auto;
    right: auto;
    z-index: 20;
}

.header-right .language-dropdown {
    top: 38px;
    right: 0;
}

/* =====================================================
HEADER - ACCOUNT
===================================================== */

.header-account {
    position: relative;
}

.header-account-button {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 5px 0 8px;
    border: 0;
    background: transparent;
    color: #d7deea;
    cursor: pointer;
    transition: color .2s ease;
}

    .header-account-button:hover {
        color: #fff;
    }

.header-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #29384d;
    border-radius: 50%;
    background: #111a28;
}

    .header-account-icon svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: #91a5c0;
    }

.header-account-email {
    max-width: 220px;
    overflow: hidden;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-account-arrow {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #7187a5;
    transition: transform .2s ease;
}

.header-account.open .header-account-arrow {
    transform: rotate(180deg);
}

.header-account-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    display: none;
    width: 210px;
    padding: 7px;
    border: 1px solid #293d55;
    border-radius: 12px;
    background: #0b1829;
    box-shadow: 0 18px 45px rgba(0,0,0,.4);
}

.header-account.open .header-account-dropdown {
    display: block;
}

.header-account-dropdown a,
.header-logout {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9fb0c5;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease,color .2s ease;
}

    .header-account-dropdown a:hover,
    .header-logout:hover {
        background: #162b47;
        color: #fff;
    }

.header-account-divider {
    height: 1px;
    margin: 6px 5px;
    background: #203149;
}

.header-logout {
    color: #ff7b8f;
}

    .header-logout:hover {
        background: rgba(255,100,124,.08);
        color: #ff8fa0;
    }

/* =====================================================
SIDEBAR
===================================================== */

.layout-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    width: var(--layout-sidebar-width);
    border-right: 1px solid #202c3d;
    background: #0b111c;
}

.sidebar-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--layout-header-height);
    flex: 0 0 var(--layout-header-height);
    border-bottom: 1px solid #202c3d;
}

    /* _Brand.cshtml */
    .sidebar-header .login-logo-text {
        font-size: 27px;
        line-height: 1;
    }

    .sidebar-header > p {
        margin: 5px 0 0;
        color: #8291A6;
        font-size: 7px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 2px;
    }

.sidebar-brand {
    text-align: center;
}

    .sidebar-brand .login-logo-text {
        font-size: 27px;
        line-height: 1;
    }

    .sidebar-brand > p {
        margin: 5px 0 0;
        color: #8291A6;
        font-size: 7px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 2px;
    }

.sidebar-close {
    position: absolute;
    top: 17px;
    right: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .sidebar-close svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: #91a5c0;
    }

/* =====================================================
SIDEBAR - MENU
===================================================== */

.sidebar-menu {
    flex: 1;
    padding: 22px 14px;
    overflow-y: auto;
}

.sidebar-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    height: 48px;
    margin-bottom: 4px;
    padding: 0 15px;
    border-radius: 10px;
    color: #8797ac;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease,color .2s ease;
}

    .sidebar-item:hover {
        background: #111d2d;
        color: #e7edf5;
    }

    .sidebar-item.active {
        background: rgba(40,120,255,.12);
        color: #f4f7fb;
    }

        .sidebar-item.active::before {
            content: "";
            position: absolute;
            top: 12px;
            bottom: 12px;
            left: 0;
            width: 3px;
            border-radius: 0 3px 3px 0;
            background: #2878ff;
            box-shadow: 0 0 12px rgba(40,120,255,.45);
        }

.sidebar-icon {
    width: 22px;
    flex: 0 0 22px;
    color: #7187a5;
    font-size: 21px;
    font-weight: 300;
    text-align: center;
    transition: color .2s ease;
}

.sidebar-item:hover .sidebar-icon {
    color: #a9b8ca;
}

.sidebar-item.active .sidebar-icon {
    color: #4b90ff;
}

.sidebar-divider {
    height: 1px;
    margin: 14px 12px;
    background: #1c2939;
}

/* =====================================================
CONTENT
===================================================== */

.layout-content {
    min-height: 100vh;
    margin-left: var(--layout-sidebar-width);
    padding-top: var(--layout-header-height);
    background: #080d16;
}

    .layout-content .g-container {
        width: 100%;
        max-width: 1500px;
        margin: 0 auto;
        padding: 32px 34px 50px;
    }

/* =====================================================
SIDEBAR BACKDROP
===================================================== */

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
    background: rgba(2,7,14,.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* =====================================================
TABLET / MOBILE
===================================================== */

@media(max-width:900px) {
    :root {
        --layout-header-height: 62px;
    }

    .layout-header {
        left: 0;
        padding: 0 18px;
    }

    .header-menu-button {
        display: flex;
    }

    .header-mobile-brand {
        display: block;
        margin-left: 9px;
    }

        .header-mobile-brand .login-logo-text {
            font-size: 23px;
        }

    .layout-sidebar {
        width: 260px;
        transform: translateX(-100%);
        box-shadow: 18px 0 50px rgba(0,0,0,.35);
        transition: transform .25s ease;
    }

        .layout-sidebar.open {
            transform: translateX(0);
        }

            .layout-sidebar.open + .sidebar-backdrop {
                display: block;
            }

    .sidebar-close {
        display: flex;
    }

    .layout-content {
        margin-left: 0;
    }

        .layout-content .g-container {
            padding: 26px 22px 45px;
        }
}

/* =====================================================
MOBILE
===================================================== */

@media(max-width:600px) {
    .layout-header {
        padding: 0 13px;
    }

    .header-right {
        gap: 9px;
    }

    .header-account-button {
        width: 34px;
        height: 34px;
        padding: 0;
    }

    .header-account-icon {
        width: 32px;
        height: 32px;
    }

    .header-account-email,
    .header-account-arrow {
        display: none;
    }

    .header-account-dropdown {
        top: 42px;
        right: 0;
        width: 205px;
    }

    .header-right .language-button {
        height: 32px;
    }

    .header-right .language-dropdown {
        top: 36px;
    }

    .layout-content .g-container {
        padding: 22px 15px 40px;
    }

    .sidebar-menu {
        padding: 18px 12px;
    }

    .sidebar-item {
        height: 46px;
    }
}

/* =====================================================
SMALL MOBILE
===================================================== */

@media(max-width:380px) {
    .layout-header {
        padding: 0 10px;
    }

    .header-mobile-brand {
        margin-left: 5px;
    }

        .header-mobile-brand .login-logo-text {
            font-size: 21px;
        }

    .header-right {
        gap: 5px;
    }

    .layout-content .g-container {
        padding: 18px 12px 35px;
    }
}

/* =====================================================
DASHBOARD
===================================================== */

.dashboard {
    width: 100%;
}

.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
}

    .dashboard-header h1 {
        margin: 0;
        color: #f4f7fb;
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -.8px;
    }

    .dashboard-header p {
        margin: 8px 0 0;
        color: #718097;
        font-size: 13px;
    }

/* =====================================================
DASHBOARD - SUMMARY
===================================================== */

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.dashboard-asset-icon.total {
    background: rgba(215,173,91,.12);
    color: #f0cf87;
}

    .dashboard-asset-icon.total .material-symbols-rounded {
        font-size: 18px;
    }

.dashboard-asset-icon.reward {
    background: rgba(215,173,91,.12);
    color: #d7ad5b;
}

    .dashboard-asset-icon.reward .material-symbols-rounded {
        font-size: 18px;
    }

.dashboard-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #202c3d;
    border-radius: 14px;
    background: #0d1623;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.dashboard-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.dashboard-card-label {
    color: #91a0b5;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-card-value {
    overflow: hidden;
    color: #f4f7fb;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .dashboard-card-value small {
        color: #7f8ea4;
        font-size: 12px;
        font-weight: 600;
    }

.dashboard-card-sub {
    margin-top: 8px;
    color: #8291A6;
    font-size: 12px;
}

.dashboard-total {
    position: relative;
    overflow: hidden;
    border-color: rgba(215,173,91,.28);
    background: linear-gradient(135deg,rgba(215,173,91,.09) 0%,#0d1623 55%);
}

    .dashboard-total::after {
        content: "";
        position: absolute;
        top: -70px;
        right: -60px;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: rgba(215,173,91,.07);
        filter: blur(10px);
    }

.dashboard-total-value {
    position: relative;
    z-index: 1;
    margin-top: 17px;
    color: #f0cf87;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.dashboard-asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
}

    .dashboard-asset-icon.usdt {
        background: rgba(34,201,151,.12);
        color: #22c997;
    }

    .dashboard-asset-icon.tsp {
        background: rgba(215,173,91,.12);
        color: #f0cf87;
    }

    .dashboard-asset-icon.staking {
        background: rgba(40,120,255,.12);
        color: #4b90ff;
    }

        .dashboard-asset-icon.staking .material-symbols-rounded {
            font-size: 18px;
        }

/* =====================================================
DASHBOARD - SECTION
===================================================== */

.dashboard-section {
    margin-top: 32px;
}

.dashboard-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .dashboard-section-header h2 {
        margin: 0;
        color: #eaf0f8;
        font-size: 17px;
        font-weight: 650;
    }

    .dashboard-section-header p {
        margin: 5px 0 0;
        color: #8291A6;
        font-size: 12px;
    }

.dashboard-more {
    display: flex;
    align-items: center;
    color: #96A3B7;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}

    .dashboard-more:hover {
        color: #f0cf87;
    }

    .dashboard-more .material-symbols-rounded {
        font-size: 17px;
    }

/* =====================================================
DASHBOARD - ASSETS
===================================================== */

.dashboard-assets {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 14px;
}

.dashboard-assets-group {
    min-width: 0;
    padding: 20px;
    border: 1px solid #202c3d;
    border-radius: 14px;
    background: #0d1623;
}

.dashboard-assets-title {
    margin-bottom: 13px;
    color: #71839B;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.dashboard-asset-row {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 10px 34px 10px 10px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}

    .dashboard-asset-row + .dashboard-asset-row {
        border-top: 1px solid #1b2839;
        border-radius: 0 0 10px 10px;
    }

.dashboard-asset-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 130px;
}

    .dashboard-asset-info strong {
        display: block;
        color: #eaf0f8;
        font-size: 13px;
        font-weight: 650;
    }

    .dashboard-asset-info span {
        display: block;
        margin-top: 4px;
        color: #71839B;
        font-size: 12px;
    }

.dashboard-asset-balance {
    flex: 1;
    min-width: 0;
    text-align: right;
}

    .dashboard-asset-balance strong {
        display: block;
        overflow: hidden;
        color: #dce4ef;
        font-size: 13px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-asset-balance span {
        display: block;
        margin-top: 4px;
        color: #8291A6;
        font-size: 12px;
    }

    .dashboard-asset-balance span,
    .dashboard-point-item small {
        color: #96A3B7;
        font-size: 12px;
    }

.dashboard-row-arrow {
    position: absolute;
    top: 50%;
    right: 8px;
    color: #45576e;
    font-size: 18px;
    transform: translateY(-50%);
}

.dashboard-point-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 8px;
}

.dashboard-point-item {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 14px;
    border: 1px solid #1c2a3c;
    border-radius: 10px;
    background: #0b1420;
    text-decoration: none;
    transition: border-color .2s ease,background .2s ease;
}

    .dashboard-point-item:nth-child(4),
    .dashboard-point-item:nth-child(5) {
        grid-column: span 3;
    }

    .dashboard-point-item > span {
        color: #4b90ff;
        font-size: 12px;
        font-weight: 700;
    }

    .dashboard-point-item strong {
        overflow: hidden;
        margin-top: 10px;
        color: #dce4ef;
        font-size: 12px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-point-item small {
        margin-top: 5px;
        color: #96A3B7;
        font-size: 12px;
    }

/* =====================================================
DASHBOARD - REWARDS
===================================================== */

.dashboard-rewards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.dashboard-reward-card {
    padding: 20px;
    border: 1px solid #202c3d;
    border-radius: 14px;
    background: #0d1623;
}

.dashboard-reward-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 9px;
    background: rgba(215,173,91,.1);
    color: #d7ad5b;
}

    .dashboard-reward-icon .material-symbols-rounded {
        font-size: 19px;
    }

.dashboard-reward-name {
    margin-bottom: 20px;
    color: #dfe7f1;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-reward-today {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 13px;
    border-bottom: 1px solid #1d2a3b;
}

    .dashboard-reward-today span,
    .dashboard-reward-total span {
        color: #8291A6;
        font-size: 12px;
    }

    .dashboard-reward-today strong {
        color: #f0cf87;
        font-size: 17px;
        font-weight: 650;
    }

.dashboard-reward-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 13px;
}

    .dashboard-reward-total strong {
        color: #9dacbf;
        font-size: 12px;
        font-weight: 600;
    }

/* =====================================================
DASHBOARD - TABLET
===================================================== */

@media(max-width:1200px) {
    .dashboard-assets {
        grid-template-columns: 1fr;
    }
}

@media(max-width:1100px) {
    .dashboard-summary {
        grid-template-columns: repeat(2,1fr);
    }
}

/* =====================================================
DASHBOARD - MOBILE
===================================================== */

@media(max-width:700px) {
    .dashboard-header {
        margin-bottom: 20px;
    }

        .dashboard-header h1 {
            font-size: 23px;
        }

        .dashboard-header p {
            margin-top: 6px;
            font-size: 12px;
        }

    .dashboard-summary {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 28px;
    }

    .dashboard-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 16px;
        border-radius: 12px;
    }

    .dashboard-card-top {
        min-width: 0;
        margin-bottom: 0;
    }

    .dashboard-card-label {
        white-space: nowrap;
    }

    .dashboard-card-value,
    .dashboard-total-value {
        min-width: 0;
        margin-top: 0;
        font-size: 16px;
        text-align: right;
        white-space: nowrap;
    }

    .dashboard-section {
        margin-top: 27px;
    }

    .dashboard-section-header {
        margin-bottom: 12px;
    }

        .dashboard-section-header h2 {
            font-size: 16px;
        }

        .dashboard-section-header p {
            display: none;
        }

    .dashboard-assets-group {
        padding: 15px;
        border-radius: 12px;
    }

    .dashboard-asset-row {
        padding: 10px 0;
    }

    .dashboard-point-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-point-item,
    .dashboard-point-item:nth-child(4),
    .dashboard-point-item:nth-child(5) {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

        .dashboard-point-item > span {
            grid-row: 1 / 3;
            align-self: center;
            font-size: 13px;
            font-weight: 700;
        }

        .dashboard-point-item strong {
            grid-column: 2;
            margin-top: 0;
            text-align: right;
        }

        .dashboard-point-item small {
            grid-column: 2;
            margin-top: 5px;
            text-align: right;
        }

    .dashboard-rewards {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .dashboard-reward-card {
        padding: 17px;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .dashboard-header {
        display: block;
    }

        .dashboard-header p {
            margin-top: 6px;
        }
}

/* =====================================================
DASHBOARD - SMALL MOBILE
===================================================== */

@media(max-width:380px) {
    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .dashboard-total {
        grid-column: auto;
    }

    .dashboard-point-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-point-item,
    .dashboard-point-item:nth-child(4),
    .dashboard-point-item:nth-child(5) {
        grid-column: auto;
    }
}

/* =====================================================
ASSETS
===================================================== */

.assets-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.assets-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    padding: 22px 24px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

.assets-total-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.assets-total-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(215,173,91,.12);
    border-radius: 12px;
    color: #F0CF87;
}

    .assets-total-icon .material-symbols-rounded {
        font-size: 21px;
    }

.assets-total-left > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.assets-total-label {
    color: #96A3B7;
    font-size: 12px;
}

.assets-total-value {
    color: #F0CF87;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.assets-total-description {
    color: #8291A6;
    font-size: 12px;
}

.assets-section {
    margin-bottom: 32px;
}

    .assets-section:last-child {
        margin-bottom: 0;
    }

.assets-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .assets-section-header h2 {
        margin: 0 0 4px;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

    .assets-section-header p {
        margin: 0;
        color: #8291A6;
        font-size: 12px;
    }

.assets-list {
    overflow: hidden;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 15px;
}

.assets-item {
    display: grid;
    grid-template-columns: minmax(160px,1fr) minmax(200px,auto) 24px;
    align-items: center;
    gap: 20px;
    min-height: 82px;
    padding: 15px 20px;
    border-bottom: 1px solid #202C3D;
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}

    .assets-item:last-child {
        border-bottom: 0;
    }

    .assets-item:hover {
        background: #162235;
    }

.assets-item-info {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.assets-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

    .assets-icon.usdt {
        background: rgba(34,201,151,.12);
        color: #22C997;
    }

    .assets-icon.tsp {
        background: rgba(215,173,91,.12);
        color: #F0CF87;
    }

    .assets-icon.point {
        background: rgba(40,120,255,.12);
        color: #4B90FF;
    }

.assets-name {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

    .assets-name strong {
        overflow: hidden;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .assets-name span {
        color: #8291A6;
        font-size: 12px;
    }

.assets-item-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
    gap: 4px;
}

    .assets-item-balance strong {
        color: #F4F7FB;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }

    .assets-item-balance span {
        color: #96A3B7;
        font-size: 12px;
    }

.assets-arrow {
    color: #526176;
    font-size: 20px;
    transition: color .2s ease, transform .2s ease;
}

.assets-item:hover .assets-arrow {
    transform: translateX(2px);
    color: #4B90FF;
}

/* =====================================================
ASSETS - MOBILE
===================================================== */

@media(max-width:700px) {
    .assets-container {
        max-width: none;
    }

    .assets-total {
        margin-bottom: 28px;
        padding: 18px;
    }

    .assets-total-icon {
        width: 40px;
        height: 40px;
    }

    .assets-total-value {
        font-size: 22px;
    }

    .assets-total-description {
        display: none;
    }

    .assets-section {
        margin-bottom: 27px;
    }

    .assets-item {
        grid-template-columns: minmax(0,1fr) auto 20px;
        gap: 10px;
        min-height: 74px;
        padding: 13px 14px;
    }

    .assets-icon {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .assets-item-balance strong {
        font-size: 13px;
    }

    .assets-arrow {
        font-size: 18px;
    }
}

@media(max-width:420px) {
    .assets-item {
        grid-template-columns: minmax(0,1fr) auto;
    }

    .assets-arrow {
        display: none;
    }

    .assets-name strong {
        font-size: 13px;
    }

    .assets-item-balance strong {
        font-size: 12px;
    }
}

/* =====================================================
SWAP
===================================================== */

.swap-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 0 50px;
}

.swap-page-header {
    margin-bottom: 24px;
}

    .swap-page-header h1 {
        margin: 0 0 8px;
        color: #F4F7FB;
        font-size: 28px;
        font-weight: 700;
    }

    .swap-page-header p {
        margin: 0;
        color: #96A3B7;
        font-size: 14px;
    }

.swap-card {
    width: 100%;
    padding: 24px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.swap-asset-box {
    padding: 18px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 14px;
    transition: border-color .2s ease, background .2s ease;
}

    .swap-asset-box:focus-within {
        background: #101927;
        border-color: rgba(40,120,255,.55);
    }

.swap-asset-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #96A3B7;
    font-size: 12px;
}

.swap-balance {
    color: #8291A6;
}

    .swap-balance strong {
        margin-left: 4px;
        color: #96A3B7;
        font-weight: 500;
    }

.swap-asset-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.swap-asset {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.swap-asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
}

    .swap-asset-icon.usdt {
        background: rgba(34,201,151,.12);
        color: #22C997;
    }

    .swap-asset-icon.tsp {
        background: rgba(215,173,91,.12);
        color: #F0CF87;
    }

.swap-asset-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .swap-asset-name strong {
        color: #F4F7FB;
        font-size: 15px;
        font-weight: 700;
    }

    .swap-asset-name span {
        color: #8291A6;
        font-size: 12px;
    }

.swap-input-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex: 1;
    gap: 8px;
}

.swap-amount-input {
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #F4F7FB;
    font-size: 24px;
    font-weight: 700;
    text-align: right;
}

    .swap-amount-input::placeholder {
        color: #4F5D70;
    }

.swap-max-btn {
    padding: 5px 8px;
    background: rgba(40,120,255,.12);
    border: 0;
    border-radius: 6px;
    color: #4B90FF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

    .swap-max-btn:hover {
        background: rgba(40,120,255,.2);
    }

.swap-receive-amount {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: #F4F7FB;
    font-size: 24px;
    font-weight: 700;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.swap-usd-value {
    margin-top: 8px;
    color: #8291A6;
    font-size: 12px;
    text-align: right;
}

.swap-switch-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    height: 16px;
}

.swap-switch-btn {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    background: #162235;
    border: 4px solid #111A28;
    border-radius: 50%;
    color: #4B90FF;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

    .swap-switch-btn:hover {
        transform: translateY(-50%) rotate(180deg);
        background: #1B2A40;
        color: #F0CF87;
    }

    .swap-switch-btn .material-symbols-rounded {
        font-size: 21px;
    }

.swap-info {
    margin-top: 20px;
    padding: 16px 2px 4px;
    border-top: 1px solid #202C3D;
}

.swap-info-title {
    margin-bottom: 13px;
    color: #96A3B7;
    font-size: 12px;
    font-weight: 600;
}

.swap-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
    color: #8291A6;
    font-size: 12px;
}

    .swap-info-row strong {
        color: #96A3B7;
        font-weight: 500;
        text-align: right;
    }

    .swap-info-row.rate {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed #202C3D;
    }

        .swap-info-row.rate strong {
            color: #F4F7FB;
            font-weight: 600;
        }

.swap-submit-btn {
    width: 100%;
    height: 52px;
    margin-top: 18px;
    background: #2878FF;
    border: 0;
    border-radius: 10px;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

    .swap-submit-btn:hover:not(:disabled) {
        background: #4B90FF;
    }

    .swap-submit-btn:disabled {
        background: #1B293C;
        color: #8291A6;
        cursor: default;
    }

/* =====================================================
SWAP - MOBILE
===================================================== */

@media(max-width:700px) {
    .swap-container {
        padding: 6px 0 30px;
    }

    .swap-card {
        padding: 16px;
        border-radius: 15px;
    }

    .swap-asset-box {
        padding: 15px;
    }

    .swap-asset-row {
        gap: 10px;
    }

    .swap-asset-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .swap-amount-input,
    .swap-receive-amount {
        font-size: 20px;
    }

    .swap-info {
        margin-top: 17px;
    }

    .swap-submit-btn {
        height: 50px;
    }
}

@media(max-width:380px) {
    .swap-card {
        padding: 13px;
    }

    .swap-asset-box {
        padding: 13px;
    }

    .swap-asset-name span {
        display: none;
    }

    .swap-amount-input,
    .swap-receive-amount {
        font-size: 18px;
    }
}

/* =====================================================
STAKING
===================================================== */

.staking-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.staking-summary {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1px 1fr 1px 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 34px;
    padding: 24px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

.staking-summary-item {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.staking-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(215,173,91,.12);
    border-radius: 12px;
    color: #F0CF87;
}

    .staking-summary-icon.active {
        background: rgba(40,120,255,.12);
        color: #4B90FF;
    }

    .staking-summary-icon.completed {
        background: rgba(34,201,151,.12);
        color: #22C997;
    }

    .staking-summary-icon .material-symbols-rounded {
        font-size: 21px;
    }

.staking-summary-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 5px;
}

    .staking-summary-info > span {
        color: #96A3B7;
        font-size: 12px;
    }

    .staking-summary-info strong {
        color: #F4F7FB;
        font-size: 22px;
        font-weight: 700;
        white-space: nowrap;
    }

        .staking-summary-info strong em {
            color: #96A3B7;
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
        }

.staking-summary-divider {
    width: 1px;
    height: 44px;
    background: #202C3D;
}

.staking-history-link {
    position: absolute;
    right: 22px;
    bottom: 16px;
    display: flex;
    align-items: center;
    color: #4B90FF;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

    .staking-history-link:hover {
        color: #77A9FF;
    }

    .staking-history-link .material-symbols-rounded {
        font-size: 16px;
    }

.staking-summary-header {
    position: relative;
}

    .staking-summary-header .staking-history-link {
        position: absolute;
        z-index: 1;
        right: 24px;
        top: 24px;
    }

/* =====================================================
STAKING - PURCHASE
===================================================== */

.staking-section-header {
    margin-bottom: 12px;
}

    .staking-section-header h2 {
        margin: 0 0 4px;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

    .staking-section-header p {
        margin: 0;
        color: #8291A6;
        font-size: 12px;
    }

.staking-purchase-card {
    padding: 24px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

/* =====================================================
STAKING - CONDITION
===================================================== */

.staking-condition {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #202C3D;
}

.staking-condition-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 0 20px;
    border-right: 1px solid #202C3D;
}

    .staking-condition-item:first-child {
        padding-left: 0;
    }

    .staking-condition-item:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .staking-condition-item > span {
        color: #8291A6;
        font-size: 12px;
    }

    .staking-condition-item strong {
        color: #F4F7FB;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }

    .staking-condition-item:first-child strong {
        color: #F0CF87;
    }

    .staking-condition-item strong em {
        color: #8291A6;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
    }

/* =====================================================
STAKING - INPUT
===================================================== */

.staking-input-area {
    padding: 18px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 14px;
    transition: border-color .2s ease, background .2s ease;
}

    .staking-input-area:focus-within {
        background: #101927;
        border-color: rgba(40,120,255,.55);
    }

.staking-input-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    color: #96A3B7;
    font-size: 12px;
}

.staking-available {
    color: #8291A6;
    font-size: 12px;
}

    .staking-available strong {
        margin-left: 4px;
        color: #96A3B7;
        font-weight: 500;
    }

.staking-input-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.staking-asset {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.staking-usdt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: rgba(34,201,151,.12);
    border-radius: 50%;
    color: #22C997;
    font-size: 16px;
    font-weight: 800;
}

.staking-asset > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.staking-asset strong {
    color: #F4F7FB;
    font-size: 15px;
    font-weight: 700;
}

.staking-asset div span {
    color: #8291A6;
    font-size: 12px;
}

.staking-amount-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex: 1;
    gap: 8px;
}

.staking-amount-input {
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #F4F7FB;
    font-size: 24px;
    font-weight: 700;
    text-align: right;
}

    .staking-amount-input::placeholder {
        color: #4F5D70;
    }

.staking-max-btn {
    padding: 5px 8px;
    background: rgba(40,120,255,.12);
    border: 0;
    border-radius: 6px;
    color: #4B90FF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

    .staking-max-btn:hover {
        background: rgba(40,120,255,.2);
    }

/* =====================================================
STAKING - WARNING
===================================================== */

.staking-warning {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 11px 13px;
    background: rgba(244,183,64,.07);
    border: 1px solid rgba(244,183,64,.16);
    border-radius: 9px;
    color: #B9A36F;
    font-size: 12px;
    line-height: 1.5;
}

    .staking-warning .material-symbols-rounded {
        flex-shrink: 0;
        color: #F4B740;
        font-size: 17px;
    }

/* =====================================================
STAKING - BUTTON
===================================================== */

.staking-submit-btn {
    width: 100%;
    height: 52px;
    margin-top: 18px;
    background: #2878FF;
    border: 0;
    border-radius: 10px;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

    .staking-submit-btn:hover:not(:disabled) {
        background: #4B90FF;
    }

    .staking-submit-btn:disabled {
        background: #1B293C;
        color: #8291A6;
        cursor: default;
    }

/* =====================================================
STAKING - TABLET
===================================================== */

@media(max-width:900px) {
    .staking-summary {
        grid-template-columns: 1.5fr 1px .8fr 1px .8fr;
        gap: 18px;
    }

    .staking-summary-info strong {
        font-size: 19px;
    }

    .staking-condition {
        grid-template-columns: repeat(3,1fr);
    }

    .staking-condition-item {
        padding: 14px 18px;
        border-bottom: 1px solid #202C3D;
    }

        .staking-condition-item:first-child {
            padding: 14px 18px 14px 0;
        }

        .staking-condition-item:nth-child(2) {
            padding-right: 0;
            border-right: 0;
        }

        .staking-condition-item:nth-child(3) {
            padding-left: 0;
            border-bottom: 0;
        }

        .staking-condition-item:last-child {
            padding: 14px 0 14px 18px;
            border-bottom: 0;
        }
}

/* =====================================================
STAKING - MOBILE
===================================================== */

@media(max-width:700px) {
    .staking-summary {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 28px;
        padding: 0 0 38px;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .staking-summary-divider {
        display: none;
    }

    .staking-summary-item,
    .staking-summary-item:first-child {
        grid-column: auto;
        justify-content: space-between;
        gap: 15px;
        padding: 16px;
        background: #111A28;
        border: 1px solid #202C3D;
        border-radius: 12px;
    }

        .staking-summary-item,
        .staking-summary-item:first-child {
            grid-column: auto;
            justify-content: flex-start;
            gap: 14px;
            padding: 16px;
            background: #111A28;
            border: 1px solid #202C3D;
            border-radius: 12px;
        }

    .staking-summary-info {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex: 1;
        gap: 12px;
    }

        .staking-summary-info > span {
            flex: 1;
        }

        .staking-summary-info strong {
            margin-left: auto;
            flex-shrink: 0;
            text-align: right;
        }

    .staking-summary-icon {
        width: 40px;
        height: 40px;
    }

        .staking-summary-icon .material-symbols-rounded {
            font-size: 19px;
        }

    .staking-summary-info strong {
        font-size: 17px;
    }

    .staking-history-link {
        right: 18px;
        bottom: 15px;
    }

    .staking-purchase-card {
        padding: 16px;
    }

    .staking-condition {
        grid-template-columns: 1fr;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .staking-condition-item,
    .staking-condition-item:first-child,
    .staking-condition-item:nth-child(2),
    .staking-condition-item:nth-child(3),
    .staking-condition-item:last-child {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 8px 0;
        border-right: 0;
        border-bottom: 0;
    }

        .staking-condition-item strong {
            font-size: 13px;
        }

    .staking-input-area {
        padding: 15px;
    }

    .staking-input-box {
        gap: 10px;
    }

    .staking-usdt-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .staking-amount-input {
        font-size: 20px;
    }

    .staking-submit-btn {
        height: 50px;
    }

    .staking-summary-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

        .staking-summary-header .staking-history-link {
            position: static;
        }
}

/* =====================================================
STAKING - SMALL MOBILE
===================================================== */

@media(max-width:480px) {
    .staking-input-label {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

@media(max-width:380px) {
    .staking-summary {
        padding: 16px 14px 44px;
    }

    .staking-summary-item {
        gap: 9px;
    }

    .staking-summary-icon {
        width: 36px;
        height: 36px;
    }

    .staking-summary-info > span {
        font-size: 12px;
    }

    .staking-summary-info strong {
        font-size: 15px;
    }

        .staking-summary-info strong em {
            font-size: 12px;
        }

    .staking-purchase-card {
        padding: 14px;
    }

    .staking-condition-item > span {
        font-size: 12px;
    }

    .staking-condition-item strong {
        font-size: 12px;
    }

    .staking-amount-input {
        font-size: 18px;
    }
}

/* =====================================================
STAKING - DAILY REWARD
===================================================== */

.staking-daily-reward {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 14px;
    padding: 15px 17px;
    background: rgba(215,173,91,.06);
    border: 1px solid rgba(215,173,91,.18);
    border-radius: 10px;
}

.staking-daily-reward-label {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.staking-daily-reward-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(215,173,91,.12);
    border-radius: 9px;
    color: #F0CF87;
}

    .staking-daily-reward-icon .material-symbols-rounded {
        font-size: 18px;
    }

.staking-daily-reward-label > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .staking-daily-reward-label > div > span {
        color: #D6DFEB;
        font-size: 12px;
        font-weight: 600;
    }

.staking-daily-reward-label small {
    color: #8291A6;
    font-size: 11px;
    font-weight: 400;
}

.staking-daily-reward-value {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
    gap: 5px;
}

    .staking-daily-reward-value strong {
        color: #F0CF87;
        font-size: 18px;
        font-weight: 700;
    }

    .staking-daily-reward-value span {
        color: #96A3B7;
        font-size: 12px;
        font-weight: 500;
    }

@media(max-width:700px) {
    .staking-daily-reward {
        padding: 14px;
    }

    .staking-daily-reward-value strong {
        font-size: 16px;
    }
}

@media(max-width:380px) {
    .staking-daily-reward {
        gap: 10px;
        padding: 12px;
    }

    .staking-daily-reward-icon {
        width: 32px;
        height: 32px;
    }

    .staking-daily-reward-label small {
        display: none;
    }

    .staking-daily-reward-value strong {
        font-size: 15px;
    }
}

/* =====================================================
STAKING HISTORY
===================================================== */

.staking-history-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* =====================================================
STAKING HISTORY - TAB
===================================================== */

.staking-history-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.staking-history-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 15px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 8px;
    color: #96A3B7;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

    .staking-history-tab strong {
        color: #8291A6;
        font-size: 12px;
        font-weight: 600;
    }

    .staking-history-tab:hover {
        border-color: #29384D;
        color: #F4F7FB;
    }

    .staking-history-tab.active {
        background: rgba(40,120,255,.12);
        border-color: rgba(40,120,255,.45);
        color: #4B90FF;
    }

        .staking-history-tab.active strong {
            color: #77A9FF;
        }

/* =====================================================
STAKING HISTORY - LIST
===================================================== */

.staking-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staking-history-card {
    padding: 20px 22px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 14px;
}

    .staking-history-card.completed {
        background: rgba(17,26,40,.75);
    }

.staking-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.staking-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

    .staking-status .material-symbols-rounded {
        font-size: 15px;
    }

    .staking-status.active {
        background: rgba(40,120,255,.12);
        color: #4B90FF;
    }

    .staking-status.completed {
        background: rgba(34,201,151,.10);
        color: #22C997;
    }

.staking-history-number {
    color: #8291A6;
    font-size: 12px;
    font-weight: 500;
}

/* =====================================================
STAKING HISTORY - MAIN
===================================================== */

.staking-history-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staking-history-amount {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    padding: 16px 18px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
}

    .staking-history-amount > div {
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
        align-items: center;
        text-align: center;
    }

        .staking-history-amount > div + div {
            border-left: 1px solid #202C3D;
            padding-left: 18px;
        }

        .staking-history-amount > div > span {
            color: #8291A6;
            font-size: 12px;
        }

        .staking-history-amount > div > strong {
            color: #F4F7FB;
            font-size: 16px;
            font-weight: 700;
            white-space: nowrap;
        }

            .staking-history-amount > div > strong em {
                color: #96A3B7;
                font-size: 12px;
                font-style: normal;
                font-weight: 500;
            }

.staking-history-reward-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
    overflow: hidden;
}

.staking-history-reward-section {
    min-width: 0;
    padding: 16px 18px;
}

    .staking-history-reward-section + .staking-history-reward-section {
        border-left: 1px solid #202C3D;
    }

.staking-history-reward-title {
    display: block;
    margin-bottom: 13px;
    color: #8291A6;
    font-size: 12px;
}

.staking-history-reward-assets {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .staking-history-reward-assets > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
    }

        .staking-history-reward-assets > div > span {
            color: #96A3B7;
            font-size: 12px;
            font-weight: 600;
        }

        .staking-history-reward-assets > div > strong {
            color: #F0CF87;
            font-size: 13px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            text-align: right;
        }

/* =====================================================
STAKING HISTORY - PROGRESS
===================================================== */

.staking-reward-progress {
    padding: 15px 16px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
}

.staking-reward-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 11px;
}

    .staking-reward-head > span {
        color: #96A3B7;
        font-size: 12px;
    }

    .staking-reward-head strong {
        color: #4B90FF;
        font-size: 13px;
        font-weight: 700;
    }

        .staking-reward-head strong em {
            color: #8291A6;
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
        }

.staking-history-card.completed .staking-reward-head strong {
    color: #22C997;
}

.staking-progress-bar {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: #1A2637;
    border-radius: 10px;
}

    .staking-progress-bar > span {
        display: block;
        height: 100%;
        background: #2878FF;
        border-radius: inherit;
    }

    .staking-progress-bar.completed > span {
        background: #22C997;
    }

/* =====================================================
STAKING HISTORY - INFO
===================================================== */

.staking-history-info {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid #202C3D;
}

    .staking-history-info > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .staking-history-info span {
        color: #8291A6;
        font-size: 12px;
    }

    .staking-history-info strong {
        color: #96A3B7;
        font-size: 12px;
        font-weight: 500;
    }

/* =====================================================
STAKING HISTORY - TABLET
===================================================== */

@media(max-width:900px) {
    .staking-history-main {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* =====================================================
STAKING HISTORY - MOBILE
===================================================== */

@media(max-width:700px) {
    .staking-history-tabs {
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }

    .staking-history-tab {
        width: 100%;
        padding: 0 8px;
    }

    .staking-history-card {
        padding: 17px;
    }

    .staking-history-head {
        margin-bottom: 15px;
    }

    .staking-history-amount {
        padding: 14px;
    }

        .staking-history-amount strong {
            font-size: 18px;
        }

    .staking-history-reward-summary > div {
        padding: 14px;
    }

    .staking-history-reward-summary strong {
        font-size: 14px;
    }

    .staking-reward-progress {
        padding: 14px;
    }

    .staking-history-info {
        gap: 22px;
    }
}

/* =====================================================
STAKING HISTORY - SMALL MOBILE
===================================================== */

@media(max-width:480px) {
    .staking-history-amount {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 4px 14px;
    }

        .staking-history-amount > div {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 0;
            text-align: left;
        }

            .staking-history-amount > div + div {
                border-left: 0;
                border-top: 1px solid #202C3D;
                padding-left: 0;
            }

            .staking-history-amount > div > strong {
                font-size: 15px;
                text-align: right;
            }

    .staking-history-reward-summary {
        grid-template-columns: 1fr;
    }

    .staking-history-reward-section {
        padding: 14px;
    }

        .staking-history-reward-section + .staking-history-reward-section {
            border-top: 1px solid #202C3D;
            border-left: 0;
        }

    .staking-history-reward-assets > div > strong {
        font-size: 13px;
    }

    .staking-history-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

        .staking-history-info > div {
            width: 100%;
            justify-content: space-between;
        }
}

/* =====================================================
ASSET HISTORY
===================================================== */

.asset-history-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* =====================================================
ASSET HISTORY - SUMMARY
===================================================== */

.asset-history-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding: 22px 24px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

.asset-history-summary-info {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
}

.asset-history-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 17px;
    font-weight: 800;
}

    .asset-history-summary-icon.usdt {
        background: rgba(34,201,151,.12);
        color: #22C997;
    }

.asset-history-summary-name {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .asset-history-summary-name strong {
        color: #F4F7FB;
        font-size: 16px;
        font-weight: 700;
    }

    .asset-history-summary-name span {
        color: #8291A6;
        font-size: 12px;
    }

.asset-history-summary-right {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    min-width: 0;
    gap: 14px;
}

.asset-history-summary-balance {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

    .asset-history-summary-balance > span {
        color: #8291A6;
        font-size: 12px;
    }

    .asset-history-summary-balance strong {
        color: #F4F7FB;
        font-size: 22px;
        font-weight: 700;
        white-space: nowrap;
    }

        .asset-history-summary-balance strong em {
            color: #96A3B7;
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
        }

    .asset-history-summary-balance small {
        color: #D7AD5B;
        font-size: 12px;
        font-weight: 600;
    }

/* =====================================================
ASSET HISTORY - ACTIONS
===================================================== */

.asset-history-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.asset-history-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 11px;
    background: rgba(40,120,255,.08);
    border: 1px solid rgba(40,120,255,.22);
    border-radius: 7px;
    color: #8DB5FF;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

    .asset-history-action .material-symbols-rounded {
        font-size: 15px;
    }

    .asset-history-action:hover {
        background: rgba(40,120,255,.15);
        border-color: rgba(40,120,255,.45);
        color: #B5CEFF;
    }

/* =====================================================
ASSET HISTORY - TITLE / FILTER
===================================================== */

.asset-history-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

    .asset-history-title h2 {
        margin: 0;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

.asset-history-filter {
    position: relative;
    width: 150px;
    flex-shrink: 0;
}

    .asset-history-filter select {
        width: 100%;
        height: 36px;
        padding: 0 34px 0 12px;
        background: #111A28;
        border: 1px solid #29384D;
        border-radius: 8px;
        outline: 0;
        color: #96A3B7;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        transition: border-color .2s ease, background .2s ease, color .2s ease;
    }

        .asset-history-filter select:hover {
            background: #162235;
            border-color: #364962;
            color: #F4F7FB;
        }

        .asset-history-filter select:focus {
            border-color: rgba(40,120,255,.65);
        }

    .asset-history-filter > .material-symbols-rounded {
        position: absolute;
        top: 50%;
        right: 10px;
        color: #8291A6;
        font-size: 17px;
        pointer-events: none;
        transform: translateY(-50%);
    }

/* =====================================================
ASSET HISTORY - LIST
===================================================== */

.asset-history-list {
    overflow: hidden;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 14px;
}

.asset-history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px;
    min-height: 96px;
    padding: 16px 20px;
    border-bottom: 1px solid #202C3D;
    transition: background .2s ease;
}

    .asset-history-item:last-child {
        border-bottom: 0;
    }

    .asset-history-item:hover {
        background: #131E2E;
    }

/* =====================================================
ASSET HISTORY - LEFT
===================================================== */

.asset-history-left {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.asset-history-title-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.asset-history-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    color: #96A3B7;
    font-size: 12px;
    font-weight: 600;
}

    .asset-history-type.positive {
        background: rgba(34,201,151,.10);
        color: #22C997;
    }

    .asset-history-type.negative {
        background: rgba(255,100,124,.10);
        color: #FF647C;
    }

.asset-history-status {
    font-size: 12px;
    font-weight: 600;
}

    .asset-history-status.code_0001 {
        color: #96A3B7;
    }

    .asset-history-status.code_0002 {
        color: #F4B740;
    }

    .asset-history-status.code_0003 {
        color: #22C997;
    }

    .asset-history-status.code_0004 {
        color: #8291A6;
    }

    .asset-history-status.code_0005 {
        color: #FF647C;
    }

/* =====================================================
ASSET HISTORY - EXPLORER
===================================================== */

.asset-history-explorer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 8px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #6EA2FF;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: color .2s ease;
}

    .asset-history-explorer:hover {
        color: #8DB6FF;
    }

    .asset-history-explorer .material-symbols-rounded {
        font-size: 13px;
        line-height: 1;
    }

/* =====================================================
ASSET HISTORY - RIGHT
===================================================== */

.asset-history-right {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    text-align: right;
}

.asset-history-date {
    margin-bottom: 3px;
    color: #8291A6;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.asset-history-right strong {
    color: #F4F7FB;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

    .asset-history-right strong.positive {
        color: #22C997;
    }

    .asset-history-right strong.negative {
        color: #FF647C;
    }

    .asset-history-right strong em {
        color: inherit;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        opacity: .8;
    }

.asset-history-right > span:not(.asset-history-date) {
    color: #8291A6;
    font-size: 12px;
    white-space: nowrap;
}

/* =====================================================
ASSET HISTORY - TABLET
===================================================== */

@media(max-width:900px) {
    .asset-history-summary {
        margin-bottom: 28px;
    }
}

/* =====================================================
ASSET HISTORY - MOBILE
===================================================== */

@media(max-width:700px) {
    .asset-history-summary {
        align-items: flex-start;
        margin-bottom: 26px;
        padding: 18px;
    }

    .asset-history-summary-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .asset-history-summary-right {
        gap: 12px;
    }

    .asset-history-summary-balance strong {
        font-size: 18px;
    }

    .asset-history-action {
        height: 30px;
        padding: 0 9px;
    }

        .asset-history-action .material-symbols-rounded {
            font-size: 14px;
        }

    .asset-history-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 96px;
        padding: 14px 16px;
    }

    .asset-history-right strong {
        font-size: 14px;
    }
}

/* =====================================================
ASSET HISTORY - SMALL MOBILE
===================================================== */

@media(max-width:480px) {
    .asset-history-summary {
        flex-direction: column;
        gap: 16px;
    }

    .asset-history-summary-info {
        width: 100%;
    }

    .asset-history-summary-right {
        align-items: stretch;
        width: 100%;
        gap: 15px;
        padding-top: 15px;
        border-top: 1px solid #202C3D;
    }

    .asset-history-summary-balance {
        align-items: flex-start;
        width: 100%;
    }

    .asset-history-actions {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        width: 100%;
        gap: 7px;
    }

    .asset-history-action {
        width: 100%;
        height: 36px;
        padding: 0 5px;
    }

    .asset-history-title {
        gap: 12px;
    }

    .asset-history-filter {
        width: 135px;
    }

    .asset-history-item {
        gap: 10px;
        padding: 14px;
    }

    .asset-history-left {
        gap: 9px;
    }

    .asset-history-title-info {
        gap: 6px;
    }

    .asset-history-date {
        white-space: normal;
    }

    .asset-history-right strong {
        font-size: 15px;
    }
}

/* =====================================================
ASSET HISTORY - EXTRA SMALL
===================================================== */

@media(max-width:380px) {
    .asset-history-summary {
        padding: 16px;
    }

    .asset-history-action {
        gap: 4px;
        font-size: 11px;
    }

        .asset-history-action .material-symbols-rounded {
            font-size: 13px;
        }

    .asset-history-title h2 {
        font-size: 13px;
    }

    .asset-history-filter {
        width: 125px;
    }

        .asset-history-filter select {
            padding-left: 10px;
            font-size: 12px;
        }

    .asset-history-item {
        padding: 13px 14px;
    }
}

/* =====================================================
REWARDS
===================================================== */
.rewards-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* =====================================================
REWARDS - SUMMARY
===================================================== */
.rewards-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}

.rewards-summary-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 20px 22px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 14px;
}

    .rewards-summary-item > span {
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

.rewards-summary-assets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

    .rewards-summary-assets > div {
        display: flex;
        flex-direction: column;
        gap: 7px;
        min-width: 0;
        padding: 12px;
        background: #0D1420;
        border: 1px solid #202C3D;
        border-radius: 8px;
    }

        .rewards-summary-assets > div > span {
            color: #96A3B7;
            font-size: 12px;
            font-weight: 600;
        }

        .rewards-summary-assets > div > strong {
            color: #F4F7FB;
            font-size: 13px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            overflow-wrap: anywhere;
        }

.rewards-summary-item.total .rewards-summary-assets > div > strong {
    color: #F0CF87;
}

/* =====================================================
REWARDS - HISTORY HEADER
===================================================== */

.rewards-history-section {
    padding-top: 24px;
    border-top: 1px solid #202C3D;
}

.rewards-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.rewards-history-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

    .rewards-history-title h2 {
        margin: 0;
        color: #F4F7FB;
        font-size: 16px;
        font-weight: 700;
    }

    .rewards-history-title p {
        margin: 0;
        color: #8291A6;
        font-size: 12px;
        line-height: 1.6;
    }

/* =====================================================
REWARDS - LIST
===================================================== */
.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-card {
    overflow: hidden;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 14px;
}

.reward-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid #202C3D;
}

.reward-type {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    background: rgba(215,173,91,.10);
    border-radius: 6px;
    color: #F0CF87;
    font-size: 12px;
    font-weight: 600;
}

.reward-date {
    color: #8291A6;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* =====================================================
REWARDS - ASSETS
===================================================== */
.reward-assets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px 20px 14px;
}

.reward-asset {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 15px;
    padding: 14px 16px;
    border-right: 1px solid #202C3D;
    border-bottom: 1px solid #202C3D;
}

    .reward-asset:nth-child(3n) {
        border-right: 0;
    }

    .reward-asset:nth-last-child(-n+3) {
        border-bottom: 0;
    }

.reward-asset-info {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}

.reward-asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

    .reward-asset-icon.tsp {
        background: rgba(215,173,91,.12);
        color: #F0CF87;
    }

    .reward-asset-icon.point {
        background: rgba(40,120,255,.14);
        color: #4B90FF;
    }

.reward-asset-info > div {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 5px;
}

.reward-asset-info strong {
    color: #F4F7FB;
    font-size: 12px;
    font-weight: 700;
}

.reward-asset-info div span {
    color: #8291A6;
    font-size: 11px;
}

.reward-asset-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    min-width: 0;
    flex: 1;
    gap: 5px;
}

    .reward-asset-value strong {
        overflow: hidden;
        color: #D6DFEB;
        font-size: 13px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .reward-asset-value span {
        flex-shrink: 0;
        color: #8291A6;
        font-size: 11px;
    }

.rewards-filter {
    position: relative;
    flex-shrink: 0;
    width: 170px;
}

    .rewards-filter select {
        width: 100%;
        height: 38px;
        padding: 0 34px 0 13px;
        appearance: none;
        background: #111A28;
        border: 1px solid #202C3D;
        border-radius: 8px;
        color: #D6DFEB;
        font-size: 12px;
        cursor: pointer;
    }

    .rewards-filter > .material-symbols-rounded {
        position: absolute;
        top: 50%;
        right: 10px;
        color: #8291A6;
        font-size: 19px;
        pointer-events: none;
        transform: translateY(-50%);
    }

/* =====================================================
REWARDS - TABLET
===================================================== */
@media(max-width:1100px) {
    .rewards-summary {
        margin-bottom: 28px;
    }

    .reward-assets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reward-asset {
        border-right: 1px solid #202C3D;
        border-bottom: 1px solid #202C3D;
    }

        .reward-asset:nth-child(3n) {
            border-right: 1px solid #202C3D;
        }

        .reward-asset:nth-last-child(-n+3) {
            border-bottom: 1px solid #202C3D;
        }

        .reward-asset:nth-child(2n) {
            border-right: 0;
        }

        .reward-asset:nth-last-child(-n+2) {
            border-bottom: 0;
        }
}

/* =====================================================
REWARDS - MOBILE
===================================================== */
@media(max-width:700px) {
    .rewards-summary {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 26px;
    }

    .rewards-summary-item {
        padding: 17px;
    }

    .reward-card-head {
        padding: 15px 16px;
    }

    .reward-assets {
        padding: 4px 16px 12px;
    }

    .reward-asset {
        padding: 13px 10px;
    }
}

/* =====================================================
REWARDS - SMALL MOBILE
===================================================== */
@media(max-width:480px) {
    .rewards-summary-item {
        padding: 15px;
    }

    .rewards-summary-assets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

        .rewards-summary-assets > div {
            padding: 11px;
        }

            .rewards-summary-assets > div > strong {
                font-size: 12px;
            }

    .rewards-history-section {
        padding-top: 20px;
    }

    .rewards-history-header {
        align-items: flex-start;
        gap: 12px;
    }

    .rewards-history-title h2 {
        font-size: 14px;
    }

    .rewards-history-title p {
        font-size: 11px;
    }

    .rewards-filter {
        width: 135px;
    }

    .reward-card-head {
        padding: 14px 16px;
    }

    .reward-date {
        font-size: 11px;
    }

    .reward-assets {
        grid-template-columns: 1fr;
        padding: 4px 16px 10px;
    }

    .reward-asset,
    .reward-asset:nth-child(2n),
    .reward-asset:nth-child(3n),
    .reward-asset:nth-last-child(-n+2),
    .reward-asset:nth-last-child(-n+3) {
        border-right: 0;
        border-bottom: 1px solid #202C3D;
    }

        .reward-asset:last-child {
            border-bottom: 0;
        }

        .reward-asset > div:last-child strong {
            font-size: 12px;
        }
}

/* =====================================================
REWARDS - EXTRA SMALL
===================================================== */
@media(max-width:380px) {
    .rewards-summary-assets > div {
        padding: 9px;
    }

        .rewards-summary-assets > div > strong {
            font-size: 11px;
        }

    .rewards-filter {
        width: 125px;
    }

        .rewards-filter select {
            padding-left: 10px;
            font-size: 11px;
        }

    .reward-card-head {
        gap: 8px;
        padding: 14px;
    }

    .reward-date {
        font-size: 10px;
    }

    .reward-assets {
        padding: 3px 14px 9px;
    }

    .reward-asset {
        padding: 12px 8px;
    }
}

/* =====================================================
ACCOUNT
===================================================== */
.account-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.account-section {
    margin-bottom: 30px;
}

    .account-section:last-child {
        margin-bottom: 0;
    }

.account-section-header {
    margin-bottom: 12px;
}

    .account-section-header h2 {
        margin: 0 0 4px;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

    .account-section-header p {
        margin: 0;
        color: #8291A6;
        font-size: 12px;
    }

/* =====================================================
ACCOUNT - INFO
===================================================== */
.account-info-card {
    overflow: hidden;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 14px;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 6px 20px;
}

.account-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 20px;
    padding: 15px 16px;
    border-right: 1px solid #202C3D;
    border-bottom: 1px solid #202C3D;
}

    .account-info-item:nth-child(2n) {
        border-right: 0;
    }

    .account-info-item:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .account-info-item > span {
        flex-shrink: 0;
        color: #8291A6;
        font-size: 12px;
    }

    .account-info-item strong {
        overflow: hidden;
        color: #D6DFEB;
        font-size: 12px;
        font-weight: 600;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.account-referral {
    padding: 18px 20px 20px;
    border-top: 1px solid #202C3D;
}

    .account-referral > span {
        display: block;
        margin-bottom: 8px;
        color: #96A3B7;
        font-size: 12px;
        font-weight: 600;
    }

.account-referral-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 7px 6px 13px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 9px;
}

    .account-referral-box > span {
        overflow: hidden;
        min-width: 0;
        flex: 1;
        color: #96A3B7;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .account-referral-box button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        padding: 0;
        background: rgba(40,120,255,.12);
        border: 0;
        border-radius: 7px;
        color: #4B90FF;
        cursor: pointer;
        transition: background .2s ease, color .2s ease;
    }

        .account-referral-box button:hover {
            background: rgba(40,120,255,.20);
            color: #77A9FF;
        }

        .account-referral-box button .material-symbols-rounded {
            font-size: 16px;
        }

/* =====================================================
ACCOUNT - MENU
===================================================== */
.account-menu-card {
    overflow: hidden;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 14px;
}

.account-menu-item {
    display: flex;
    align-items: center;
    min-height: 70px;
    gap: 13px;
    padding: 13px 18px;
    border-bottom: 1px solid #202C3D;
    text-decoration: none;
    transition: background .2s ease;
}

    .account-menu-item:last-child {
        border-bottom: 0;
    }

    .account-menu-item:hover {
        background: #162235;
    }

.account-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(40,120,255,.10);
    border-radius: 9px;
    color: #4B90FF;
}

    .account-menu-icon .material-symbols-rounded {
        font-size: 19px;
    }

.account-menu-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    gap: 4px;
}

    .account-menu-info > strong,
    .account-menu-title strong {
        color: #F4F7FB;
        font-size: 12px;
        font-weight: 600;
    }

    .account-menu-info > span {
        color: #8291A6;
        font-size: 12px;
    }

.account-menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    background: rgba(244,183,64,.10);
    border-radius: 5px;
    color: #F4B740;
    font-size: 11px;
    font-weight: 600;
}

    .account-status.active {
        background: rgba(34,201,151,.10);
        color: #22C997;
    }

.account-menu-arrow {
    flex-shrink: 0;
    color: #8291A6;
    font-size: 19px;
    transition: color .2s ease, transform .2s ease;
}

.account-menu-item:hover .account-menu-arrow {
    color: #4B90FF;
    transform: translateX(2px);
}

/* =====================================================
ACCOUNT - DANGER
===================================================== */
.account-menu-item.danger .account-menu-icon {
    background: rgba(255,100,124,.10);
    color: #FF647C;
}

.account-menu-item.danger .account-menu-info strong {
    color: #FF647C;
}

.account-menu-item.danger:hover .account-menu-arrow {
    color: #FF647C;
}

/* =====================================================
ACCOUNT - TABLET
===================================================== */
@media(max-width:1100px) {
    .account-section {
        margin-bottom: 26px;
    }
}

/* =====================================================
ACCOUNT - MOBILE
===================================================== */
@media(max-width:700px) {
    .account-info-grid {
        grid-template-columns: 1fr;
        padding: 5px 16px;
    }

    .account-info-item {
        padding: 13px 4px;
        border-right: 0;
        border-bottom: 1px solid #202C3D;
    }

        .account-info-item:nth-last-child(-n+2) {
            border-bottom: 1px solid #202C3D;
        }

        .account-info-item:last-child {
            border-bottom: 0;
        }

    .account-referral {
        padding: 16px;
    }

    .account-menu-item {
        min-height: 66px;
        padding: 12px 15px;
    }

    .account-menu-icon {
        width: 34px;
        height: 34px;
    }
}

/* =====================================================
ACCOUNT - SMALL MOBILE
===================================================== */
@media(max-width:480px) {
    .account-section {
        margin-bottom: 24px;
    }

    .account-info-item {
        gap: 12px;
    }

        .account-info-item strong {
            max-width: 65%;
        }

    .account-referral-box {
        padding-left: 11px;
    }

    .account-menu-info > span {
        line-height: 1.45;
    }
}

/* =====================================================
ACCOUNT PASSWORD
===================================================== */
.account-password-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

/* =====================================================
ACCOUNT PASSWORD - STEP NAV
===================================================== */
.account-password-step-nav {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 0 20px;
}

.account-password-step-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    gap: 6px;
}

    .account-password-step-item > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: #111A28;
        border: 1px solid #29384D;
        border-radius: 50%;
        color: #8291A6;
        font-size: 12px;
        font-weight: 700;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }

    .account-password-step-item strong {
        color: #8291A6;
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
        transition: color .2s ease;
    }

    .account-password-step-item.active > span {
        background: #2878FF;
        border-color: #2878FF;
        color: #FFF;
    }

    .account-password-step-item.active strong {
        color: #D6DFEB;
    }

    .account-password-step-item.completed > span {
        background: rgba(34,201,151,.12);
        border-color: rgba(34,201,151,.30);
        color: #22C997;
    }

    .account-password-step-item.completed strong {
        color: #96A3B7;
    }

.account-password-step-line {
    height: 1px;
    flex: 1;
    margin: 0 12px 15px;
    background: #29384D;
}

    .account-password-step-line.completed {
        background: rgba(34,201,151,.45);
    }

/* =====================================================
ACCOUNT PASSWORD - CARD
===================================================== */
.account-password-card {
    padding: 24px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

.account-password-content {
    width: 100%;
}

/* =====================================================
ACCOUNT PASSWORD - HEADER
===================================================== */
.account-password-step-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.account-password-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(40,120,255,.12);
    border-radius: 11px;
    color: #4B90FF;
}

    .account-password-step-icon .material-symbols-rounded {
        font-size: 21px;
    }

.account-password-step-header > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-password-step-header h2 {
    margin: 0;
    color: #F4F7FB;
    font-size: 15px;
    font-weight: 700;
}

.account-password-step-header p {
    margin: 0;
    color: #8291A6;
    font-size: 12px;
}

/* =====================================================
ACCOUNT PASSWORD - EMAIL
===================================================== */
.account-password-email {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 0 16px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
}

    .account-password-email span {
        flex-shrink: 0;
        color: #8291A6;
        font-size: 12px;
    }

    .account-password-email strong {
        overflow: hidden;
        min-width: 0;
        color: #D6DFEB;
        font-size: 12px;
        font-weight: 600;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* =====================================================
ACCOUNT PASSWORD - VERIFICATION INFO
===================================================== */
.account-password-verification-info {
    margin-bottom: 18px;
    padding: 11px 13px;
    background: rgba(40,120,255,.06);
    border: 1px solid rgba(40,120,255,.12);
    border-radius: 8px;
    color: #96A3B7;
    font-size: 12px;
    line-height: 1.5;
}

    .account-password-verification-info strong {
        color: #4B90FF;
        font-weight: 600;
    }

/* =====================================================
ACCOUNT PASSWORD - FIELD
===================================================== */
.account-password-field {
    margin-bottom: 18px;
}

    .account-password-field label {
        display: block;
        margin-bottom: 8px;
        color: #96A3B7;
        font-size: 12px;
        font-weight: 600;
    }

    .account-password-field > input {
        width: 100%;
        height: 46px;
        padding: 0 13px;
        background: #0D1420;
        border: 1px solid #29384D;
        border-radius: 9px;
        outline: 0;
        color: #F4F7FB;
        font-size: 12px;
        transition: background .2s ease, border-color .2s ease;
    }

        .account-password-field > input::placeholder {
            color: #4F5D70;
        }

        .account-password-field > input:focus {
            background: #101927;
            border-color: rgba(40,120,255,.65);
        }

/* =====================================================
ACCOUNT PASSWORD - CODE
===================================================== */
.account-password-code {
    display: flex;
    align-items: center;
    position: relative;
    background: #0D1420;
    border: 1px solid #29384D;
    border-radius: 9px;
    transition: background .2s ease, border-color .2s ease;
}

    .account-password-code:focus-within {
        background: #101927;
        border-color: rgba(40,120,255,.65);
    }

    .account-password-code input {
        width: 100%;
        height: 46px;
        padding: 0 66px 0 13px;
        background: transparent;
        border: 0;
        outline: 0;
        color: #F4F7FB;
        font-size: 12px;
    }

        .account-password-code input::placeholder {
            color: #4F5D70;
        }

.account-password-timer {
    position: absolute;
    top: 50%;
    right: 13px;
    color: #FF647C;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    transform: translateY(-50%);
}

/* =====================================================
ACCOUNT PASSWORD - RESEND
===================================================== */
.account-password-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

    .account-password-resend span {
        color: #8291A6;
        font-size: 12px;
    }

    .account-password-resend button {
        padding: 0;
        background: transparent;
        border: 0;
        color: #4B90FF;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }

        .account-password-resend button:hover:not(:disabled) {
            color: #77A9FF;
        }

        .account-password-resend button:disabled {
            color: #66758A;
            cursor: default;
            opacity: .55;
        }

/* =====================================================
ACCOUNT PASSWORD - GUIDE
===================================================== */
.account-password-guide {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: -4px;
    padding: 10px 12px;
    background: rgba(40,120,255,.06);
    border: 1px solid rgba(40,120,255,.12);
    border-radius: 8px;
    color: #8291A6;
    font-size: 12px;
    line-height: 1.5;
}

    .account-password-guide .material-symbols-rounded {
        flex-shrink: 0;
        margin-top: 1px;
        color: #4B90FF;
        font-size: 15px;
    }

/* =====================================================
ACCOUNT PASSWORD - BUTTON
===================================================== */
.account-password-btn {
    width: 100%;
    height: 48px;
    margin-top: 20px;
    background: #2878FF;
    border: 0;
    border-radius: 9px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

    .account-password-btn:hover:not(:disabled) {
        background: #4B90FF;
    }

    .account-password-btn:disabled {
        background: #1B293C;
        color: #8291A6;
        cursor: default;
    }

/* =====================================================
ACCOUNT PASSWORD - MOBILE
===================================================== */
@media(max-width:700px) {
    .account-password-step-nav {
        padding: 0 10px;
    }

    .account-password-step-line {
        margin-right: 8px;
        margin-left: 8px;
    }

    .account-password-card {
        padding: 20px;
    }

    .account-password-step-header {
        margin-bottom: 22px;
    }

    .account-password-step-icon {
        width: 40px;
        height: 40px;
    }

    .account-password-btn {
        height: 46px;
    }
}

@media(max-width:480px) {
    .account-password-step-nav {
        padding: 0;
    }

    .account-password-step-item > span {
        width: 26px;
        height: 26px;
    }

    .account-password-step-item strong {
        font-size: 11px;
    }

    .account-password-step-line {
        margin-right: 5px;
        margin-left: 5px;
    }

    .account-password-card {
        padding: 16px;
        border-radius: 14px;
    }

    .account-password-step-header {
        gap: 11px;
        margin-bottom: 20px;
    }

    .account-password-step-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

        .account-password-step-icon .material-symbols-rounded {
            font-size: 19px;
        }

    .account-password-step-header h2 {
        font-size: 14px;
    }

    .account-password-email {
        min-height: 50px;
        padding: 0 13px;
    }

    .account-password-field > input,
    .account-password-code input {
        height: 44px;
    }

    .account-password-resend {
        flex-wrap: wrap;
    }

    .account-password-btn {
        margin-top: 18px;
    }
}

@media(max-width:380px) {
    .account-password-step-item strong {
        font-size: 7px;
    }

    .account-password-step-line {
        margin-right: 3px;
        margin-left: 3px;
    }

    .account-password-card {
        padding: 14px;
    }
}


/* =====================================================
POLICY
===================================================== */
.policy-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.policy-card {
    overflow: hidden;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

.policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #202C3D;
}

    .policy-header > div {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .policy-header h2 {
        margin: 0;
        color: #F4F7FB;
        font-size: 15px;
        font-weight: 700;
    }

    .policy-header p {
        margin: 7px 0 0;
        color: #96A3B7;
        font-size: 12px;
        line-height: 1.6;
    }

.policy-content {
    padding: 24px 22px 28px;
    color: #A4B2C5;
    font-size: 13px;
    line-height: 1.9;
    white-space: pre-line;
    word-break: keep-all;
}

    .policy-content h1,
    .policy-content h2,
    .policy-content h3,
    .policy-content h4 {
        margin: 28px 0 10px;
        color: #D6DFEB;
        font-weight: 700;
        line-height: 1.5;
    }

        .policy-content h1:first-child,
        .policy-content h2:first-child,
        .policy-content h3:first-child,
        .policy-content h4:first-child {
            margin-top: 0;
        }

    .policy-content h1 {
        font-size: 15px;
    }

    .policy-content h2 {
        font-size: 14px;
    }

    .policy-content h3,
    .policy-content h4 {
        font-size: 12px;
    }

    .policy-content p {
        margin: 0 0 12px;
    }

    .policy-content ul,
    .policy-content ol {
        margin: 8px 0 16px;
        padding-left: 20px;
    }

    .policy-content li {
        margin-bottom: 5px;
    }

    .policy-content strong {
        color: #D6DFEB;
        font-weight: 600;
    }

    .policy-content a {
        color: #4B90FF;
        text-decoration: none;
    }

        .policy-content a:hover {
            text-decoration: underline;
        }

/* =====================================================
POLICY - MOBILE
===================================================== */
@media(max-width:700px) {
    .policy-card {
        border-radius: 14px;
    }

    .policy-header {
        padding: 18px;
    }

    .policy-content {
        padding: 20px 18px 24px;
        font-size: 12px;
        line-height: 1.85;
        word-break: break-word;
    }
}

@media(max-width:480px) {
    .policy-header {
        padding: 16px;
    }

    .policy-content {
        padding: 20px 18px 24px;
    }
}

/* =====================================================
ACCOUNT CLOSURE
===================================================== */
.account-closure-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

/* =====================================================
ACCOUNT CLOSURE - WARNING
===================================================== */
.account-closure-warning {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
    padding: 16px 18px;
    background: rgba(255,100,124,.06);
    border: 1px solid rgba(255,100,124,.18);
    border-radius: 12px;
}

.account-closure-warning-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: rgba(255,100,124,.10);
    border-radius: 10px;
    color: #FF647C;
}

    .account-closure-warning-icon .material-symbols-rounded {
        font-size: 20px;
    }

.account-closure-warning > div:last-child {
    min-width: 0;
    padding-top: 1px;
}

.account-closure-warning strong {
    display: block;
    margin-bottom: 5px;
    color: #FF8093;
    font-size: 12px;
    font-weight: 700;
}

.account-closure-warning p {
    margin: 0;
    color: #96A3B7;
    font-size: 12px;
    line-height: 1.6;
}

/* =====================================================
ACCOUNT CLOSURE - CARD
===================================================== */
.account-closure-card {
    margin-bottom: 16px;
    padding: 22px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

.account-closure-header {
    margin-bottom: 20px;
}

    .account-closure-header h2 {
        margin: 0 0 5px;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

    .account-closure-header p {
        margin: 0;
        color: #8291A6;
        font-size: 12px;
        line-height: 1.5;
    }

/* =====================================================
ACCOUNT CLOSURE - NOTICE
===================================================== */
.account-closure-notice {
    overflow: hidden;
    margin-bottom: 20px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
}

.account-closure-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
    border-bottom: 1px solid #202C3D;
}

    .account-closure-notice-item:last-child {
        border-bottom: 0;
    }

    .account-closure-notice-item .material-symbols-rounded {
        flex-shrink: 0;
        margin-top: 1px;
        color: #8291A6;
        font-size: 15px;
    }

    .account-closure-notice-item p {
        margin: 0;
        color: #96A3B7;
        font-size: 12px;
        line-height: 1.6;
    }

/* =====================================================
ACCOUNT CLOSURE - AGREE
===================================================== */
.account-closure-agree {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    user-select: none;
}

    .account-closure-agree input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.account-closure-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background: #0D1420;
    border: 1px solid #29384D;
    border-radius: 5px;
    color: transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

    .account-closure-checkbox .material-symbols-rounded {
        font-size: 14px;
        font-weight: 700;
    }

.account-closure-agree > span:last-child {
    color: #96A3B7;
    font-size: 12px;
    line-height: 1.7;
}

.account-closure-agree input:checked + .account-closure-checkbox {
    background: rgba(255,100,124,.14);
    border-color: #FF647C;
    color: #FF647C;
}

/* =====================================================
ACCOUNT CLOSURE - FIELD
===================================================== */
.account-closure-field label {
    display: block;
    margin-bottom: 8px;
    color: #96A3B7;
    font-size: 12px;
    font-weight: 600;
}

.account-closure-field input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    background: #0D1420;
    border: 1px solid #29384D;
    border-radius: 9px;
    outline: 0;
    color: #F4F7FB;
    font-size: 12px;
    transition: background .2s ease, border-color .2s ease;
}

    .account-closure-field input::placeholder {
        color: #4F5D70;
    }

    .account-closure-field input:focus {
        background: #101927;
        border-color: rgba(40,120,255,.65);
    }

/* =====================================================
ACCOUNT CLOSURE - ACTION
===================================================== */
.account-closure-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.account-closure-cancel,
.account-closure-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.account-closure-cancel {
    background: #111A28;
    border: 1px solid #29384D;
    color: #96A3B7;
}

    .account-closure-cancel:hover {
        background: #162235;
        border-color: #3A4B63;
        color: #D6DFEB;
    }

.account-closure-submit {
    background: #FF647C;
    border: 1px solid #FF647C;
    color: #FFF;
    cursor: pointer;
}

    .account-closure-submit:hover:not(:disabled) {
        background: #FF7B90;
        border-color: #FF7B90;
    }

    .account-closure-submit:disabled {
        background: #1B293C;
        border-color: #1B293C;
        color: #8291A6;
        cursor: default;
    }

/* =====================================================
ACCOUNT CLOSURE - MOBILE
===================================================== */
@media(max-width:700px) {
    .account-closure-warning {
        padding: 15px 16px;
    }

    .account-closure-card {
        padding: 20px;
        border-radius: 14px;
    }

    .account-closure-cancel,
    .account-closure-submit {
        height: 46px;
    }
}

@media(max-width:480px) {
    .account-closure-warning {
        gap: 11px;
        padding: 14px;
    }

    .account-closure-warning-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .account-closure-card {
        padding: 16px;
    }

    .account-closure-header {
        margin-bottom: 18px;
    }

    .account-closure-notice {
        margin-bottom: 18px;
    }

    .account-closure-notice-item {
        padding: 11px 12px;
    }

    .account-closure-actions {
        grid-template-columns: 1fr;
    }

    .account-closure-submit {
        order: 1;
    }

    .account-closure-cancel {
        order: 2;
    }
}

/* =====================================================
RESET PASSWORD RESULT
===================================================== */
.reset-result-box {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 42px 36px 36px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

/* =====================================================
RESET PASSWORD RESULT - TITLE
===================================================== */
.reset-result-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .reset-result-title h1 {
        margin: 18px 0 7px;
        color: #F4F7FB;
        font-size: 20px;
        font-weight: 700;
    }

    .reset-result-title > p {
        margin: 0;
        color: #96A3B7;
        font-size: 12px;
        line-height: 1.6;
    }

/* =====================================================
RESET PASSWORD RESULT - ICON
===================================================== */
.reset-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-top: 30px;
    border-radius: 50%;
}

    .reset-result-icon .material-symbols-rounded {
        font-size: 32px;
        font-weight: 500;
    }

    .reset-result-icon.success {
        background: rgba(34,201,151,.10);
        border: 1px solid rgba(34,201,151,.25);
        color: #22C997;
    }

    .reset-result-icon.fail {
        background: rgba(255,100,124,.10);
        border: 1px solid rgba(255,100,124,.25);
        color: #FF647C;
    }

/* =====================================================
RESET PASSWORD RESULT - MESSAGE
===================================================== */
.reset-result-message {
    margin-top: 22px;
    padding: 14px 16px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 9px;
    color: #96A3B7;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    white-space: pre-line;
    word-break: keep-all;
}

/* =====================================================
RESET PASSWORD RESULT - BUTTON
===================================================== */
.reset-result-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 26px;
    background: linear-gradient(110deg,#F0CF87 0%,#D7AD5B 45%,#B88635 100%);
    border: 1px solid rgba(241,207,135,.55);
    border-radius: 9px;
    color: #0B111B;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}

    .reset-result-button:hover {
        color: #0B111B;
        filter: brightness(1.06);
    }

    .reset-result-button:active {
        transform: translateY(1px);
    }

/* =====================================================
RESET PASSWORD RESULT - MOBILE
===================================================== */
@media(max-width:480px) {
    .reset-result-box {
        max-width: 100%;
        padding: 38px 24px 28px;
        border-radius: 16px;
    }

    .reset-result-icon {
        width: 58px;
        height: 58px;
        margin-top: 26px;
    }

        .reset-result-icon .material-symbols-rounded {
            font-size: 30px;
        }

    .reset-result-title h1 {
        margin-top: 16px;
        font-size: 18px;
    }

    .reset-result-message {
        margin-top: 20px;
        padding: 13px 14px;
    }

    .reset-result-button {
        height: 46px;
        margin-top: 22px;
    }
}

/* =====================================================
DEPOSIT
===================================================== */
.deposit-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
DEPOSIT - CARD
===================================================== */
.deposit-card {
    overflow: hidden;
    margin-bottom: 16px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

/* =====================================================
DEPOSIT - ASSET
===================================================== */
.deposit-asset {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 22px;
    border-bottom: 1px solid #202C3D;
}

.deposit-asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
}

    .deposit-asset-icon.usdt {
        background: rgba(34,201,151,.12);
        color: #22C997;
    }

.deposit-asset-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

    .deposit-asset-info strong {
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

    .deposit-asset-info span {
        color: #AAB6C7;
        font-size: 12px;
    }

.deposit-network {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-left: auto;
    gap: 4px;
}

    .deposit-network span {
        color: #AAB6C7;
        font-size: 11px;
    }

    .deposit-network strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        padding: 0 9px;
        background: rgba(40,120,255,.10);
        border: 1px solid rgba(40,120,255,.18);
        border-radius: 6px;
        color: #4B90FF;
        font-size: 12px;
        font-weight: 700;
    }

/* =====================================================
DEPOSIT - QR
===================================================== */
.deposit-qr {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 30px 22px 26px;
    text-align: center;
}

.deposit-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    padding: 10px;
    background: #FFF;
    border-radius: 12px;
}

    .deposit-qr-box img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.deposit-qr p {
    margin: 13px 0 0;
    color: #AAB6C7;
    font-size: 12px;
    line-height: 1.6;
}

/* =====================================================
DEPOSIT - ADDRESS
===================================================== */
.deposit-address {
    padding: 0 22px 24px;
}

    .deposit-address > label {
        display: block;
        margin-bottom: 8px;
        color: #96A3B7;
        font-size: 12px;
        font-weight: 600;
    }

.deposit-address-box {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    gap: 10px;
    padding: 7px 7px 7px 13px;
    background: #0D1420;
    border: 1px solid #29384D;
    border-radius: 9px;
}

    .deposit-address-box > span {
        min-width: 0;
        flex: 1;
        overflow: hidden;
        color: #D6DFEB;
        font-size: 12px;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .deposit-address-box > button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        padding: 0;
        background: rgba(40,120,255,.10);
        border: 0;
        border-radius: 7px;
        color: #4B90FF;
        cursor: pointer;
        transition: background .2s ease, color .2s ease;
    }

        .deposit-address-box > button:hover {
            background: rgba(40,120,255,.18);
            color: #77A9FF;
        }

        .deposit-address-box > button .material-symbols-rounded {
            font-size: 16px;
        }

/* =====================================================
DEPOSIT - NOTICE
===================================================== */
.deposit-notice {
    padding: 18px 20px;
    background: rgba(244,183,64,.05);
    border: 1px solid rgba(244,183,64,.16);
    border-radius: 12px;
}

.deposit-notice-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
}

    .deposit-notice-title .material-symbols-rounded {
        color: #F4B740;
        font-size: 18px;
    }

    .deposit-notice-title strong {
        color: #E8C46F;
        font-size: 12px;
        font-weight: 700;
    }

.deposit-notice ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.deposit-notice li {
    margin-bottom: 7px;
    color: #AAB6C7;
    font-size: 12px;
    line-height: 1.7;
}

    .deposit-notice li:last-child {
        margin-bottom: 0;
    }

    .deposit-notice li::marker {
        color: #8291A6;
    }

    .deposit-notice li strong {
        color: #D6DFEB;
        font-weight: 600;
    }

/* =====================================================
DEPOSIT - MOBILE
===================================================== */
@media(max-width:700px) {
    .deposit-card {
        border-radius: 14px;
    }

    .deposit-asset {
        padding: 18px;
    }

    .deposit-qr {
        padding: 26px 18px 22px;
    }

    .deposit-qr-box {
        width: 180px;
        height: 180px;
    }

    .deposit-address {
        padding: 0 18px 20px;
    }

    .deposit-notice {
        padding: 16px 18px;
    }
}

@media(max-width:480px) {
    .deposit-asset {
        padding: 16px;
    }

    .deposit-asset-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .deposit-qr {
        padding: 24px 16px 20px;
    }

    .deposit-qr-box {
        width: 170px;
        height: 170px;
        padding: 9px;
    }

    .deposit-address {
        padding: 0 16px 18px;
    }

    .deposit-address-box > span {
        font-size: 12px;
    }

    .deposit-notice {
        padding: 15px 16px;
    }

        .deposit-notice li {
            line-height: 1.65;
        }
}

/* =====================================================
WITHDRAW
===================================================== */
.withdraw-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
WITHDRAW - CARD
===================================================== */
.withdraw-card {
    overflow: hidden;
    margin-bottom: 16px;
    background: #111A28;
    border: 1px solid #202C3D;
    border-radius: 16px;
}

/* =====================================================
WITHDRAW - ASSET
===================================================== */
.withdraw-asset {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 22px;
    border-bottom: 1px solid #202C3D;
}

.withdraw-asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
}

    .withdraw-asset-icon.usdt {
        background: rgba(34,201,151,.12);
        color: #22C997;
    }

.withdraw-asset-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

    .withdraw-asset-info strong {
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 700;
    }

    .withdraw-asset-info span {
        color: #8291A6;
        font-size: 12px;
    }

.withdraw-network {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-left: auto;
    gap: 4px;
}

    .withdraw-network span {
        color: #8291A6;
        font-size: 11px;
    }

    .withdraw-network strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        padding: 0 9px;
        background: rgba(40,120,255,.10);
        border: 1px solid rgba(40,120,255,.18);
        border-radius: 6px;
        color: #4B90FF;
        font-size: 12px;
        font-weight: 700;
    }

/* =====================================================
WITHDRAW - CONTENT
===================================================== */
.withdraw-content {
    padding: 22px;
}

/* =====================================================
WITHDRAW - LIMIT
===================================================== */
.withdraw-limit {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    overflow: hidden;
    margin-bottom: 24px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
}

.withdraw-limit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    min-height: 78px;
    padding: 12px 8px;
    border-right: 1px solid #202C3D;
    text-align: center;
}

    .withdraw-limit-item:last-child {
        border-right: 0;
    }

    .withdraw-limit-item > span {
        margin-bottom: 7px;
        color: #AAB6C7;
        font-size: 11px;
        white-space: nowrap;
    }

    .withdraw-limit-item strong {
        max-width: 100%;
        overflow: hidden;
        color: #D6DFEB;
        font-size: 12px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .withdraw-limit-item.available strong {
        color: #D7AD5B;
        font-size: 16px;
    }

    .withdraw-limit-item small {
        margin-top: 3px;
        color: #8291A6;
        font-size: 11px;
        font-weight: 500;
    }

/* =====================================================
WITHDRAW - FIELD
===================================================== */
.withdraw-field {
    margin-bottom: 22px;
}

    .withdraw-field > label {
        display: block;
        margin-bottom: 8px;
        color: #D6DFEB;
        font-size: 12px;
        font-weight: 600;
    }

    .withdraw-field > input {
        width: 100%;
        height: 48px;
        padding: 0 13px;
        background: #0D1420;
        border: 1px solid #29384D;
        border-radius: 9px;
        outline: 0;
        color: #F4F7FB;
        font-size: 12px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .withdraw-field > input::placeholder {
            color: #8291A6;
        }

        .withdraw-field > input:focus {
            border-color: #2878FF;
            box-shadow: 0 0 0 3px rgba(40,120,255,.08);
        }

    .withdraw-field > p {
        margin: 7px 0 0;
        color: #AAB6C7;
        font-size: 11px;
        line-height: 1.6;
    }

/* =====================================================
WITHDRAW - AMOUNT
===================================================== */
.withdraw-amount-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    background: #0D1420;
    border: 1px solid #29384D;
    border-radius: 9px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .withdraw-amount-box:focus-within {
        border-color: #2878FF;
        box-shadow: 0 0 0 3px rgba(40,120,255,.08);
    }

    .withdraw-amount-box input {
        width: 100%;
        height: 100%;
        min-width: 0;
        padding: 0 12px;
        background: transparent;
        border: 0;
        outline: 0;
        color: #F4F7FB;
        font-size: 14px;
        font-weight: 600;
    }

        .withdraw-amount-box input::placeholder {
            color: #8291A6;
            font-size: 12px;
            font-weight: 400;
        }

    .withdraw-amount-box > span {
        padding-right: 13px;
        color: #96A3B7;
        font-size: 12px;
        font-weight: 600;
    }

/* =====================================================
WITHDRAW - PERCENT
===================================================== */
.withdraw-percent {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 7px;
    margin-top: 8px;
}

    .withdraw-percent button {
        height: 32px;
        padding: 0;
        background: #0D1420;
        border: 1px solid #29384D;
        border-radius: 7px;
        color: #96A3B7;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }

        .withdraw-percent button:hover {
            background: rgba(40,120,255,.08);
            border-color: rgba(40,120,255,.45);
            color: #8DB5FF;
        }

        .withdraw-percent button.active {
            background: rgba(40,120,255,.12);
            border-color: #2878FF;
            color: #4B90FF;
        }

/* =====================================================
WITHDRAW - AMOUNT INFO
===================================================== */
.withdraw-amount-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

    .withdraw-amount-info span {
        color: #8291A6;
        font-size: 11px;
    }

    .withdraw-amount-info strong {
        color: #D7AD5B;
        font-size: 12px;
        font-weight: 600;
    }

/* =====================================================
WITHDRAW - SUMMARY
===================================================== */
.withdraw-summary {
    margin-top: 4px;
    margin-bottom: 20px;
    padding: 15px 16px;
    background: #0D1420;
    border: 1px solid #202C3D;
    border-radius: 10px;
}

    .withdraw-summary > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        min-height: 28px;
    }

        .withdraw-summary > div > span {
            color: #8291A6;
            font-size: 12px;
        }

            .withdraw-summary > div > span em {
                color: #96A3B7;
                font-style: normal;
            }

        .withdraw-summary > div > strong {
            color: #D6DFEB;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

    .withdraw-summary .receive {
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid #202C3D;
    }

        .withdraw-summary .receive > span {
            color: #96A3B7;
            font-weight: 600;
        }

        .withdraw-summary .receive > strong {
            color: #22C997;
            font-size: 13px;
            font-weight: 700;
        }

/* =====================================================
WITHDRAW - BUTTON
===================================================== */
.withdraw-button {
    width: 100%;
    height: 48px;
    padding: 0;
    background: #2878FF;
    border: 1px solid #2878FF;
    border-radius: 9px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

    .withdraw-button:hover:not(:disabled) {
        background: #4B90FF;
        border-color: #4B90FF;
    }

    .withdraw-button:active:not(:disabled) {
        transform: translateY(1px);
    }

    .withdraw-button:disabled {
        background: #1A2A40;
        border-color: #24364D;
        color: #8291A6;
        cursor: default;
        opacity: .7;
    }

/* =====================================================
WITHDRAW - NOTICE
===================================================== */
.withdraw-notice {
    padding: 18px 20px;
    background: rgba(244,183,64,.05);
    border: 1px solid rgba(244,183,64,.16);
    border-radius: 12px;
}

.withdraw-notice-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
}

    .withdraw-notice-title .material-symbols-rounded {
        color: #F4B740;
        font-size: 18px;
    }

    .withdraw-notice-title strong {
        color: #E8C46F;
        font-size: 12px;
        font-weight: 700;
    }

.withdraw-notice ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.withdraw-notice li {
    margin-bottom: 7px;
    color: #AAB6C7;
    font-size: 12px;
    line-height: 1.7;
}

    .withdraw-notice li:last-child {
        margin-bottom: 0;
    }

    .withdraw-notice li::marker {
        color: #8291A6;
    }

    .withdraw-notice li strong {
        color: #D6DFEB;
        font-weight: 600;
    }

/* =====================================================
WITHDRAW - MOBILE
===================================================== */
@media(max-width:700px) {
    .withdraw-card {
        border-radius: 14px;
    }

    .withdraw-asset {
        padding: 18px;
    }

    .withdraw-content {
        padding: 18px;
    }

    .withdraw-limit {
        grid-template-columns: repeat(2,1fr);
    }

    .withdraw-limit-item {
        min-height: 72px;
    }

        .withdraw-limit-item:nth-child(2) {
            border-right: 0;
        }

        .withdraw-limit-item:nth-child(-n+2) {
            border-bottom: 1px solid #202C3D;
        }

        .withdraw-limit-item:nth-child(3) {
            border-right: 1px solid #202C3D;
        }

        .withdraw-limit-item:nth-child(4) {
            border-right: 0;
        }

    .withdraw-notice {
        padding: 16px 18px;
    }
}

@media(max-width:480px) {
    .withdraw-asset {
        padding: 16px;
    }

    .withdraw-asset-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .withdraw-content {
        padding: 16px;
    }

    .withdraw-limit {
        margin-bottom: 20px;
    }

    .withdraw-limit-item {
        min-height: 68px;
        padding: 10px 6px;
    }

        .withdraw-limit-item strong {
            font-size: 12px;
        }

    .withdraw-field {
        margin-bottom: 20px;
    }

    .withdraw-percent {
        gap: 6px;
    }

        .withdraw-percent button {
            height: 34px;
        }

    .withdraw-summary {
        padding: 14px;
    }

        .withdraw-summary > div {
            gap: 10px;
        }

            .withdraw-summary > div > strong {
                font-size: 12px;
            }

        .withdraw-summary .receive > strong {
            font-size: 12px;
        }

    .withdraw-notice {
        padding: 15px 16px;
    }

        .withdraw-notice li {
            line-height: 1.65;
        }
}

/* =====================================================
NOTICE POPUP
===================================================== */
.notice-popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(4,8,14,.76);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.notice-popup {
    width: 100%;
    max-width: 540px;
    overflow: hidden;
    background: #111A28;
    border: 1px solid #29384D;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

/* =====================================================
NOTICE POPUP - HEADER
===================================================== */
.notice-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
}

.notice-popup-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #D7AD5B;
}

    .notice-popup-label .material-symbols-rounded {
        font-size: 18px;
    }

    .notice-popup-label > span:last-child {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

.notice-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #8291A6;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

    .notice-popup-close:hover {
        background: rgba(255,255,255,.05);
        color: #F4F7FB;
    }

    .notice-popup-close .material-symbols-rounded {
        font-size: 19px;
    }

/* =====================================================
NOTICE POPUP - CONTENT
===================================================== */
.notice-popup-content {
    max-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 22px 20px;
    color: #B1BDCD;
    font-size: 12px;
    line-height: 1.8;
    white-space: pre-line;
    word-break: break-word;
}

    .notice-popup-content p {
        margin: 0 0 14px;
    }

        .notice-popup-content p:last-child {
            margin-bottom: 0;
        }

    .notice-popup-content strong {
        color: #F4F7FB;
        font-weight: 700;
    }

    .notice-popup-content a {
        color: #4B90FF;
        text-decoration: none;
    }

        .notice-popup-content a:hover {
            text-decoration: underline;
        }

    .notice-popup-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .notice-popup-content ul,
    .notice-popup-content ol {
        margin: 10px 0;
        padding-left: 20px;
    }

    .notice-popup-content li {
        margin-bottom: 5px;
    }

    .notice-popup-content::-webkit-scrollbar {
        width: 5px;
    }

    .notice-popup-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .notice-popup-content::-webkit-scrollbar-thumb {
        background: #29384D;
        border-radius: 10px;
    }

/* =====================================================
NOTICE POPUP - FOOTER
===================================================== */
.notice-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #0D1420;
    border-top: 1px solid #202C3D;
}

.notice-popup-today {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #96A3B7;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

    .notice-popup-today input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.notice-popup-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: #111A28;
    border: 1px solid #3A485C;
    border-radius: 5px;
    color: transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

    .notice-popup-checkbox .material-symbols-rounded {
        font-size: 14px;
        font-weight: 700;
    }

.notice-popup-today input:checked + .notice-popup-checkbox {
    background: #2878FF;
    border-color: #2878FF;
    color: #FFF;
}

.notice-popup-confirm {
    min-width: 76px;
    height: 34px;
    padding: 0 16px;
    background: #2878FF;
    border: 1px solid #2878FF;
    border-radius: 7px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

    .notice-popup-confirm:hover {
        background: #4B90FF;
        border-color: #4B90FF;
    }

/* =====================================================
NOTICE POPUP - MOBILE
===================================================== */
@media(max-width:600px) {
    .notice-popup-bg {
        padding: 16px;
    }

    .notice-popup {
        max-height: calc(100vh - 32px);
        border-radius: 14px;
    }

    .notice-popup-header {
        padding: 16px 16px 11px;
    }

    .notice-popup-content {
        max-height: calc(100vh - 240px);
        padding: 18px 16px;
        font-size: 12px;
    }

    .notice-popup-footer {
        padding: 13px 16px;
    }
}

@media(max-width:400px) {
    .notice-popup-footer {
        gap: 10px;
    }

    .notice-popup-today {
        gap: 6px;
        font-size: 11px;
    }

    .notice-popup-confirm {
        min-width: 66px;
        padding: 0 13px;
    }
}

.verify-resend button:disabled {
    cursor: default;
    opacity: .45;
    pointer-events: none;
}

.referrer-input-box {
    padding-right: 10px;
}

    .referrer-input-box input {
        padding-right: 75px;
    }

.input-check-button {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid rgba(215,173,91,.45);
    border-radius: 8px;
    background: rgba(215,173,91,.1);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    .input-check-button:hover {
        background: rgba(215,173,91,.18);
        border-color: var(--gold);
    }

    .input-check-button.verified {
        border-color: rgba(34,201,151,.45);
        background: rgba(34,201,151,.1);
        color: var(--positive);
    }

.join-result-box .result-button {
    height: 64px;
    margin-top: 36px;
    border: 1px solid rgba(241,207,135,.55);
    border-radius: 12px;
    background: linear-gradient(110deg, #f0cf87 0%, #d7ad5b 45%, #b88635 100%);
    color: #0b111b;
    font-size: 17px;
    box-shadow: 0 12px 30px rgba(215,173,91,.16), inset 0 1px 0 rgba(255,255,255,.30);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .join-result-box .result-button:hover {
        background: linear-gradient(110deg, #f0cf87 0%, #d7ad5b 45%, #b88635 100%);
        border-color: rgba(241,207,135,.55);
        color: #0b111b;
        filter: brightness(1.05);
        box-shadow: 0 16px 38px rgba(215,173,91,.24), inset 0 1px 0 rgba(255,255,255,.35);
    }

    .join-result-box .result-button .arrow {
        color: #111722;
    }

/* =====================================================
READABILITY V3 - PASSWORD / SECURITY PASSWORD
===================================================== */
.reset-description {
    color: #A4B2C5;
}

.reset-step-item {
    color: #8296B0;
}

    .reset-step-item span {
        color: #9AAEC7;
    }

    .reset-step-item strong {
        font-size: 12px;
    }

.verification-info {
    color: #A4B2C5;
}

.verification-resend {
    color: #8291A6;
}

.account-password-step-item > span {
    color: #96A8BE;
    font-size: 12px;
}

.account-password-step-item strong {
    color: #96A8BE;
    font-size: 12px;
}

.account-password-step-item.active strong {
    color: #E2E8F0;
}

.account-password-step-header p {
    color: #96A8BE;
    font-size: 12px;
}

.account-password-verification-info {
    color: #A4B2C5;
    font-size: 12px;
}

.account-password-field label {
    color: #A4B2C5;
    font-size: 12px;
}

.account-password-field > input,
.account-password-code input {
    font-size: 13px;
}

    .account-password-field > input::placeholder,
    .account-password-code input::placeholder {
        color: #667A94;
    }

.account-password-timer {
    font-size: 12px;
}

.account-password-resend span,
.account-password-resend button {
    font-size: 12px;
}

.account-password-resend span {
    color: #96A8BE;
}

.account-password-guide {
    color: #96A8BE;
    font-size: 12px;
}

@media(max-width:480px) {
    .account-password-step-item strong {
        font-size: 11px;
    }
}

/* =====================================================
AFTER LOGIN - COMMON MODAL
===================================================== */
.after-login .common-modal-icon {
    border-color: rgba(40, 120, 255, .55);
    color: #4B90FF;
}

.after-login .common-modal-button.confirm {
    border-color: #2878FF;
    background: #2878FF;
    color: #fff;
}

    .after-login .common-modal-button.confirm:hover {
        border-color: #4B90FF;
        background: #4B90FF;
    }

/* =====================================================
AFTER LOGIN - RESULT
===================================================== */
.result-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 680px;
    min-height: 420px;
    margin: 0 auto;
}

    .result-container .result-card {
        width: 100%;
        padding: 46px 36px 38px;
        background: #111A28;
        border: 1px solid #202C3D;
        border-radius: 16px;
        text-align: center;
    }

    .result-container .result-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 66px;
        height: 66px;
        margin: 0 auto;
        border-radius: 50%;
    }

        .result-container .result-icon .material-symbols-rounded {
            font-size: 34px;
            font-weight: 500;
        }

        .result-container .result-icon.success {
            background: rgba(34,201,151,.10);
            border: 1px solid rgba(34,201,151,.25);
            color: #22C997;
            box-shadow: none;
        }

        .result-container .result-icon.fail {
            background: rgba(255,100,124,.10);
            border: 1px solid rgba(255,100,124,.25);
            color: #FF647C;
            box-shadow: none;
        }

    .result-container .result-content {
        margin-top: 22px;
    }

        .result-container .result-content h1 {
            margin: 0;
            color: #F4F7FB;
            font-size: 20px;
            font-weight: 700;
            line-height: 1.4;
        }

        .result-container .result-content p {
            margin: 10px 0 0;
            color: #96A3B7;
            font-size: 12px;
            line-height: 1.7;
            white-space: pre-line;
            word-break: keep-all;
        }

    .result-container .result-message-sub {
        color: #8291A6;
        font-size: 12px;
    }

    .result-container .result-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        margin-top: 30px;
        background: #2878FF;
        border: 1px solid #2878FF;
        border-radius: 9px;
        color: #FFF;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }

        .result-container .result-button:hover {
            background: #4B90FF;
            border-color: #4B90FF;
            color: #FFF;
        }

        .result-container .result-button:active {
            transform: translateY(1px);
        }

@media(max-width:700px) {
    .result-container {
        min-height: 360px;
    }

        .result-container .result-card {
            padding: 40px 28px 32px;
            border-radius: 14px;
        }
}

@media(max-width:480px) {
    .result-container {
        min-height: 320px;
    }

        .result-container .result-card {
            padding: 34px 20px 26px;
        }

        .result-container .result-icon {
            width: 58px;
            height: 58px;
        }

            .result-container .result-icon .material-symbols-rounded {
                font-size: 30px;
            }

        .result-container .result-content h1 {
            font-size: 18px;
        }

        .result-container .result-button {
            height: 46px;
            margin-top: 26px;
        }
}

.g-pageBack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-sub);
    text-decoration: none;
}

    .g-pageBack:hover {
        color: var(--primary-hover);
    }

@media(max-width:600px) {
    .g-pageTitle h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .g-pageTitle p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 700px) {
    .asset-history-item-title {
        display: grid;
        grid-template-columns: auto auto 1fr;
        align-items: center;
        gap: 7px;
        width: 100%;
    }

    .asset-history-date {
        justify-self: end;
        text-align: right;
    }
}

/* ========================================
   ORGANIZATION CHART PAGE
======================================== */

.organization-chart-page {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    background: #f8fafc;
    overflow: hidden;
}

/* ========================================
   HEADER
======================================== */

.organization-chart-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    width: 100%;
    height: 56px;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.organization-chart-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.organization-chart-back {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

    .organization-chart-back:hover {
        background: #f3f4f6;
    }

    .organization-chart-back .material-symbols-rounded {
        font-size: 24px;
    }

.organization-chart-title {
    display: block;
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

/* ========================================
   CHART CONTROL BUTTONS
======================================== */

.organization-chart-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.organization-chart-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #4b5563;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

    .organization-chart-tool:hover {
        background: #f3f4f6;
        border-color: #e5e7eb;
    }

    .organization-chart-tool:active {
        background: #e5e7eb;
    }

    .organization-chart-tool .material-symbols-rounded {
        font-size: 22px;
    }

/* ========================================
   CHART DISPLAY AREA
======================================== */

.organization-chart-main {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.organization-chart-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f8fafc;
}

    /* D3 SVG */

    .organization-chart-container svg {
        display: block;
        width: 100%;
        height: 100%;
        cursor: grab;
    }

        .organization-chart-container svg:active {
            cursor: grabbing;
        }

/* ========================================
   CHART NODE
======================================== */

.organization-chart-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 100px;
    padding: 10px 14px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .organization-chart-node:hover {
        border-color: #6366f1;
        box-shadow: 0 5px 18px rgba(99, 102, 241, 0.12);
    }

.organization-chart-node {
    position: relative;
}

.organization-chart-load-button {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 22px;
    height: 21px;
    padding: 2px 4px;
    background: #ffffff;
    border: 1px solid #e4e2e9;
    border-radius: 3px;
    color: #716e7b;
    font-size: 10px;
    cursor: pointer;
    z-index: 2;
}

#referralChart .node-button-foreign-object svg {
    display: none !important;
}

/* UNIFY TEMPORARY AND D3 DEFAULT BUTTON SIZES */
#referralChart .organization-chart-load-button,
#referralChart .organization-chart-count-button {
    box-sizing: border-box;
    min-width: 24px;
    height: 24px;
    padding: 3px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E4E2E9;
    border-radius: 3px;
    background: #ffffff;
    color: #716E7B;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

/* EMAIL */

.organization-chart-node-email {
    display: block;
    flex-shrink: 0;
    width: 100%;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* AVATAR NUMBER */

.organization-chart-node-sequence {
    display: block;
    flex-shrink: 0;
    margin-top: 4px;
    color: #91a5c0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* STAKING AMOUNT */

.organization-chart-node-amount {
    display: block;
    flex-shrink: 0;
    margin-top: 8px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ROOT NODE */

.organization-chart-node.is-root {
    border: 2px solid #6366f1;
    background: #f5f3ff;
}

    .organization-chart-node.is-root .organization-chart-node-amount {
        color: #4f46e5;
    }

/* OWN AVATAR */

.organization-chart-node.is-mine {
    border: 3px solid #6366ff;
    background: #f5f3ff;
    box-shadow: 0 8px 24px rgba(99, 102, 255, 0.12);
}

    .organization-chart-node.is-mine .organization-chart-node-amount {
        color: #4f46e5;
    }

/* EMPTY AVATAR POSITION */

.organization-chart-node-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    box-shadow: none;
    cursor: default;
}

    .organization-chart-node-placeholder:hover {
        border-color: #cbd5e1;
        box-shadow: none;
    }

/* CHART EXPAND BUTTON */

.organization-chart-expand-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    color: #64748b;
}

    .organization-chart-expand-button .material-symbols-rounded {
        font-size: 16px;
    }

.organization-chart-avatar-load-button {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    color: #64748b;
    cursor: pointer;
    z-index: 2;
}

    .organization-chart-avatar-load-button .material-symbols-rounded {
        font-size: 16px;
    }

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {
    .organization-chart-header {
        height: 52px;
        padding: 0 10px;
    }

    .organization-chart-header-left {
        gap: 6px;
    }

    .organization-chart-back {
        width: 34px;
        height: 34px;
    }

    .organization-chart-title {
        font-size: 15px;
    }

    .organization-chart-toolbar {
        gap: 2px;
    }

    .organization-chart-tool {
        width: 32px;
        height: 32px;
    }

        .organization-chart-tool .material-symbols-rounded {
            font-size: 20px;
        }
}


/* =====================================================
   NOTICE
===================================================== */

.notice-container {
    width: 100%;
    min-width: 0;
}

.notice-list {
    overflow: hidden;
    border: 1px solid #29384D;
    border-radius: 14px;
    background: #111A28;
}

.notice-item + .notice-item {
    border-top: 1px solid #29384D;
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 90px;
    padding: 20px 24px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease;
}

    .notice-header:hover,
    .notice-item.active .notice-header {
        background: #162235;
    }

.notice-header-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.notice-subject {
    color: #F4F7FB;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.notice-date {
    color: #8299B8;
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.notice-arrow {
    flex-shrink: 0;
    color: #8299B8;
    font-size: 22px;
    transition: transform .2s ease, color .2s ease;
}

.notice-item.active .notice-arrow {
    transform: rotate(180deg);
    color: #F4F7FB;
}

/* =====================================================
   NOTICE CONTENT
===================================================== */

.notice-content {
    border-top: 1px solid #29384D;
    background: #0D1624;
}

    .notice-content[hidden] {
        display: none;
    }

.notice-content-inner {
    padding: 26px 24px 30px;
    color: #B8C7DA;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* =====================================================
   NOTICE MOBILE
===================================================== */

@media (max-width: 600px) {
    .notice-list {
        border-radius: 12px;
    }

    .notice-header {
        min-height: 78px;
        padding: 17px 16px;
        gap: 12px;
    }

    .notice-header-info {
        gap: 7px;
    }

    .notice-subject {
        font-size: 13px;
        line-height: 1.5;
    }

    .notice-date {
        font-size: 11px;
    }

    .notice-arrow {
        font-size: 20px;
    }

    .notice-content-inner {
        padding: 20px 16px 24px;
        font-size: 12px;
        line-height: 1.8;
    }
}

.organization-chart-node {
    position: relative;
}

.organization-chart-node-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}