/* ========== GLOBAL ========== */
* {
    box-sizing: border-box;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body {
    background: #f5f6f8;
    margin: 0;
    padding: 0;
    color: #333;
}
.bg-white {
    background: #fff !important;
}
.text-teal {
    color: #0f626d !important;
}
.bg-teal {
    background: #0f626d !important;
    color: #fff;
}
.page-bg {
    background: #f5f6f8;
}

/* ========== COMMON HEADER ========== */
.top-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.top-header .back-btn {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
}
.top-header .title {
    flex-grow: 1;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    padding-right: 20px;
}

/* ========== MENU PAGE ========== */
.vip-tabs-container {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.vip-tab-btn {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #555;
}
.vip-tab-btn.active {
    background: #0f626d;
    color: #fff;
    border-color: #0f626d;
}
.vip-card-list {
    display: grid;
    gap: 14px;
    padding: 0 16px 70px;
}
.platform-card {
    background: #fff;
    box-shadow: 0 3px 12px rgba(22, 35, 43, .10);
    padding: 0;
    position: relative;
    border-radius: 4px;
    text-decoration: none;
}
.platform-card:hover { box-shadow: 0 7px 18px rgba(22, 35, 43, .16); }
.platform-card .commission-highlight { display: inline-block; margin-top: 5px; padding: 3px 7px; border-radius: 4px; background: #fff3cd; color: #956c00; font-weight: 700; }
.platform-card.vip-locked { opacity: .55; cursor: not-allowed; }
.platform-card:not(.vip-locked) { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.platform-card:not(.vip-locked):hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15, 98, 109, .14); }
.platform-card:not(.vip-locked)::after { content: '\f285'; font-family: bootstrap-icons; position: absolute; right: 16px; top: 50%; color: #0f626d; }
.menu-balance { padding: 16px; color: #687780; background: #fff; }
.menu-balance strong { display: block; color: #16232b; font-size: 1.35rem; margin-top: 5px; }
.menu-balance-breakdown { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 9px; font-size: .72rem; }
.menu-balance-breakdown span { display: inline-flex; gap: 4px; }
.menu-balance-breakdown b { color: #0f626d; font-weight: 700; }
.user-alert { margin: 12px 16px; padding: 12px; border-radius: 6px; background: #e5f5ed; color: #17633e; }
.user-alert-error { background: #fde9e7; color: #b42318; }
.order-page { max-width: 720px; margin: 0 auto; padding: 16px 16px 80px; }
.order-details-page { background: #f5f7fa; }
.order-details-header { height: 42px; background: #00576a; color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.order-details-header a { position: absolute; left: 13px; color: #fff; font-size: 1.1rem; }
.order-details-header strong { font-size: .9rem; }
.order-details-balance { height: 208px; padding: 22px 13px; background: #00576a; color: #fff; }
.order-details-balance span { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.order-details-balance strong { font-size: 1.8rem; font-weight: 400; }
.order-stats-card { position: relative; margin: -64px auto 15px; max-width: 385px; min-height: 250px; padding: 34px 24px 18px; background: #fff; border: 1px solid #e1e5ea; border-radius: 7px; box-shadow: 0 1px 3px rgba(0,0,0,.04); display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; text-align: center; }
.order-stats-card div { display: grid; gap: 8px; align-content: center; }
.order-stats-card strong { color: #003f68; font-size: .76rem; font-weight: 400; }
.order-stats-card span { color: #52749a; font-size: .7rem; }
.grab-order-button { display: block; width: min(352px, 100%); margin: 0 auto 10px; border-radius: 28px; background: #00576a; color: #fff; padding: 16px; text-align: center; font-size: .95rem; }
.order-details-hint { max-width: 385px; margin: 0 auto 16px; color: #52749a; font-size: .72rem; text-align: center; }
.order-form-panel { max-width: 385px; margin: 0 auto; }
.order-hero { background: #00576a; color: #fff; padding: 22px 18px; border-radius: 8px; display: grid; gap: 7px; margin-bottom: 14px; }
.order-hero strong { font-size: 2rem; font-weight: 400; }
.order-hero small { opacity: .85; }
.order-type-tabs { display: flex; gap: 10px; margin-bottom: 8px; }
.order-type-tabs label { flex: 1; background: #fff; border-radius: 6px; padding: 12px; text-align: center; color: #555; }
.order-help { color: #687780; font-size: .85rem; }
.order-products { display: grid; gap: 10px; }
.order-product { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 8px; padding: 10px; }
.order-product > img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.order-product-info { display: grid; gap: 4px; flex: 1; }
.order-product-info small { color: #0f626d; }
.order-quantity { display: grid; gap: 3px; color: #687780; font-size: .7rem; }
.order-quantity input { width: 58px; padding: 7px; border: 1px solid #dfe7e9; border-radius: 5px; }
.order-total { display: flex; justify-content: space-between; padding: 18px 2px; font-size: 1.1rem; }
.order-submit { width: 100%; border: 0; border-radius: 24px; background: #00576a; color: #fff; padding: 13px; font-size: 1rem; cursor: pointer; }
.order-submit:disabled { opacity: .5; cursor: not-allowed; }
.order-confirm-page { margin: 0; min-height: 100vh; background: #f5f7fa; color: #174b73; font-family: Arial, sans-serif; }
.order-confirm-header { height: 42px; background: #00576a; color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.order-confirm-header a { position: absolute; left: 13px; color: #fff; font-size: 28px; line-height: 1; }
.order-confirm-header strong { font-size: .9rem; }
.order-confirm-balance { height: 208px; padding: 22px 13px; background: #00576a; color: #fff; }
.order-confirm-balance span { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.order-confirm-balance strong { font-size: 1.8rem; font-weight: 400; }
.order-confirm-content { max-width: 760px; margin: 0 auto; padding: 0 13px 28px; }
.order-summary-card { position: relative; margin: -64px auto 15px; max-width: 385px; min-height: 250px; padding: 34px 24px 18px; background: #fff; border: 1px solid #e1e5ea; border-radius: 7px; box-shadow: 0 1px 3px rgba(0,0,0,.04); display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; text-align: center; }
.order-summary-card div { display: grid; gap: 8px; align-content: center; }
.order-summary-card strong { color: #003f68; font-size: .76rem; font-weight: 400; }
.order-summary-card span { color: #52749a; font-size: .7rem; }
.order-confirm-items { max-width: 385px; margin: 0 auto 15px; background: #fff; border-radius: 7px; padding: 12px 16px; }
.order-confirm-items div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #edf0f3; font-size: .78rem; }
.order-confirm-items div:last-child { border-bottom: 0; }
.order-confirm-item { align-items: center; }
.order-confirm-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 5px; }
.order-confirm-item span { display: grid; gap: 3px; flex: 1; }
.order-confirm-item small { color: #52749a; }
.order-confirm-button { display: block; width: min(352px, 100%); margin: 15px auto 0; border: 0; border-radius: 8px; background: #0f626d; color: #fff; padding: 13px 16px; font-size: .9rem; font-weight: 700; text-align: center; cursor: pointer; box-shadow: 0 4px 10px rgba(15, 98, 109, .18); transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.order-confirm-button:hover { background: #0b515a; box-shadow: 0 6px 14px rgba(15, 98, 109, .25); transform: translateY(-1px); }
.order-confirm-hint { max-width: 385px; margin: 12px auto 0; color: #52749a; font-size: .72rem; }
.modal-open { overflow: hidden; }
.order-modal[hidden] { display: none; }
.order-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }
.order-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 37, 45, .58); }
.order-modal-dialog { position: relative; width: min(520px, 100%); max-height: min(680px, 90vh); overflow-y: auto; padding: 22px; background: #f5f7fa; border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,.22); }
.order-modal-dialog h2 { margin: 0 0 6px; color: #16232b; font-size: 1.2rem; }
.order-modal-close { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; color: #687780; cursor: pointer; font-size: 1rem; }
.order-modal-message { margin: 0 0 12px; color: #687780; font-size: .85rem; }
.assigned-orders-list { display: grid; gap: 10px; }
.assigned-order-card { padding: 14px; background: #fff; border: 1px solid #dfe7e9; border-radius: 10px; box-shadow: 0 3px 10px rgba(22, 35, 43, .06); }
.assigned-order-head, .assigned-order-total { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: #16232b; font-size: .85rem; }
.assigned-order-head span { color: #0f626d; text-transform: capitalize; }
.assigned-order-card ul { display: grid; gap: 6px; margin: 10px 0; padding: 0; list-style: none; color: #687780; font-size: .8rem; }
.assigned-order-card li { display: flex; justify-content: space-between; gap: 12px; }
.assigned-order-item { align-items: center; }
.assigned-order-item { padding: 8px; border: 1px solid #edf0f2; border-radius: 7px; background: #fbfcfc; }
.assigned-order-item img, .assigned-order-image-placeholder { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 7px; object-fit: cover; background: #e7eeee; color: #0f626d; display: grid; place-items: center; }
.assigned-order-item-info { display: grid; gap: 3px; flex: 1; min-width: 0; }
.assigned-order-item-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #16232b; }
.assigned-order-item-info small { color: #687780; }
.assigned-order-total { margin: 5px 0; color: #687780; }
.assigned-order-total strong { color: #0f626d; }
.record-confirm-button { display: block; margin-top: 12px; border-radius: 5px; background: #0f626d; color: #fff; padding: 10px 12px; text-align: center; font-size: .85rem; }
.platform-card .vip-badge {
    display: inline-block;
    background: #f0a500;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 12px 0 0 16px;
    font-weight: bold;
}
.platform-card .card-body-flex {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}
.platform-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.5rem;
    color: #fff;
}
.amazon-logo {
    background: #185a7d;
}
.alibaba-logo {
    background: #ff8a00;
    font-weight: bold;
    font-family: serif;
    font-style: italic;
}
.aliexpress-logo {
    background: #e53935;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.1;
    font-weight: bold;
}
.platform-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}
.platform-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #888;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid #eee;
    z-index: 1000;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 0.7rem;
    width: 20%;
}
.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.nav-item.active {
    color: #0f626d;
}
.team-stat-summary { grid-column: span 1; border-right: 1px solid rgba(255,255,255,0.1); }
.team-stat-summary:last-child { border-right: 0; }

/* ========== LOGIN & REGISTER PAGES ========== */
.auth-page {
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.lang-select {
    text-align: right;
    padding: 16px;
}
.dashboard-lang-select {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}
.dashboard-lang-select form {
    border-radius: 0 0 0 8px;
}
.lang-select form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #d9e5e6;
    border-radius: 8px;
    background: #f8fbfb;
    color: #0f626d;
    box-shadow: 0 3px 10px rgba(15, 98, 109, 0.08);
}
.lang-select i {
    font-size: 0.95rem;
}
.lang-select select {
    appearance: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f626d;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0 18px 0 0;
    background-image: linear-gradient(45deg, transparent 50%, #0f626d 50%), linear-gradient(135deg, #0f626d 50%, transparent 50%);
    background-position: calc(100% - 7px) 50%, calc(100% - 3px) 50%;
    background-repeat: no-repeat;
    background-size: 4px 4px, 4px 4px;
}
.visually-hidden {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
}
.auth-header {
    padding: 20px 24px;
}
.auth-header h1 {
    font-size: 1.2rem;
    color: #0f626d;
    margin: 0 0 4px 0;
    font-weight: normal;
}
.auth-header h2 {
    font-size: 1.4rem;
    color: #0f626d;
    margin: 0;
    font-weight: bold;
}
.auth-form {
    padding: 20px 24px;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}
.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 16px;
    padding: 8px 12px;
}
.input-group i {
    color: #aaa;
    margin-right: 10px;
    font-size: 1.1rem;
}
.input-group input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 0.85rem;
    color: #333;
}
.input-group input::placeholder {
    color: #bbb;
}
.captcha-box {
    background: #111;
    color: #ff6699;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
}
.auth-btn {
    background: #0f626d;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    opacity: 0.7;
}
.auth-btn:hover {
    opacity: 1;
}
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-top: -5px;
    margin-bottom: 15px;
}
.auth-options label {
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}
.auth-options a {
    color: #0f626d;
    text-decoration: none;
}
.checkbox-round {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #aaa;
    appearance: none;
    outline: none;
    cursor: pointer;
}
.checkbox-round:checked {
    background: #0f626d;
    border-color: #0f626d;
}

/* ========== TEAMS PAGE ========== */
.teams-header {
    background: #0b596a;
    color: #fff;
    padding: 16px;
    text-align: center;
    position: relative;
}
.teams-header .back-btn {
    position: absolute;
    left: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}
.teams-stats {
    background: #0b596a;
    color: #fff;
    padding: 20px 16px 30px;
}
.teams-stats .main-stat {
    margin-bottom: 30px;
}
.teams-stats .main-stat .label {
    font-size: 0.8rem;
    opacity: 0.8;
}
.teams-stats .main-stat .val {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 4px;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px 0;
    text-align: center;
}
.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:nth-child(3n) {
    border-right: none;
}
.stat-item .val {
    font-size: 1.1rem;
    font-weight: bold;
}
.stat-item .label {
    font-size: 0.65rem;
    opacity: 0.7;
    margin-top: 4px;
}
.level-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.level-tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.level-tab.active {
    border-bottom-color: #0f626d;
    color: #333;
    font-weight: bold;
}

/* ========== WITHDRAWAL PAGE ========== */
.withdraw-wrap {
    padding: 16px 16px 90px;
}
.withdraw-panel {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(15, 98, 109, 0.06);
}
.withdraw-card {
    margin-bottom: 18px;
}
.withdraw-wallet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e7eff2;
    border-radius: 12px;
    background: #f9fbfc;
}
.wallet-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #edf7f8;
    color: #0f626d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.wallet-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}
.wallet-label {
    font-size: 0.72rem;
    color: #7f8c93;
}
.wallet-info strong {
    font-size: 0.98rem;
    color: #1f2d35;
}
.wallet-check {
    color: #3ccf8e;
    font-size: 1.15rem;
}
.withdraw-amount-box {
    background: #f8fbfc;
    border-radius: 14px;
    padding: 14px 14px 10px;
    border: 1px solid #edf3f5;
    margin-bottom: 18px;
}
.amount-title {
    color: #6d7d87;
    font-size: 0.78rem;
    margin-bottom: 6px;
}
.amount-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1b2b34;
    margin-bottom: 12px;
}
.amount-value span {
    font-size: 0.9rem;
    color: #73808a;
}
.amount-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #edf1f3;
    padding-top: 12px;
}
.currency-tag {
    font-weight: 600;
    color: #24353d;
}
.amount-field-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.amount-field-wrap input {
    width: 120px;
    text-align: right;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    color: #1b2b34;
}
.max-btn {
    border: none;
    background: #edf8f8;
    color: #0f626d;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.72rem;
    cursor: pointer;
}
.withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field-group label {
    font-size: 0.78rem;
    color: #677884;
    font-weight: 600;
}
.field-group input,
.static-field {
    border: 1px solid #e6edf1;
    border-radius: 10px;
    background: #f9fbfc;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.92rem;
    color: #24353d;
}
.static-field {
    display: flex;
    align-items: center;
    background: #eff7f8;
    color: #0f626d;
    font-weight: 600;
}
.field-group input::placeholder {
    color: #a0acb3;
}
.withdrawal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 0;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: #0f626d;
    box-shadow: 0 8px 18px rgba(15, 98, 109, 0.18);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.withdrawal-submit i {
    font-size: 1.05rem;
}
.withdrawal-submit:hover {
    background: #0b515a;
    box-shadow: 0 10px 22px rgba(15, 98, 109, 0.24);
    transform: translateY(-1px);
}
.withdrawal-submit:focus-visible {
    outline: 3px solid rgba(15, 98, 109, 0.25);
    outline-offset: 3px;
}
.withdrawal-submit:active {
    box-shadow: 0 4px 10px rgba(15, 98, 109, 0.18);
    transform: translateY(0);
}
.withdrawal-submit:disabled {
    background: #9eb4b7;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ========== ACCOUNT PAGE ========== */
.account-shell {
    background: #0e5f6d;
    min-height: 100vh;
    color: #fff;
    padding-bottom: 72px;
}
.account-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
}
.account-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12);
}
.account-logo i {
    font-size: 1.4rem;
}
.account-notify {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.account-notify .badge {
    position: absolute;
    top: -4px;
    right: -2px;
    background: #ffb000;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 0.62rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0e5f6d;
}
.account-header {
    padding: 0 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.account-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}
.account-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.account-name-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.account-name {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}
.account-vip {
    background: #f6b636;
    color: #1a2b36;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.account-invite {
    font-size: 0.92rem;
    opacity: 0.95;
}
.account-body {
    background: #edf1f3;
    border-radius: 18px 18px 0 0;
    padding: 18px 18px 0;
    min-height: calc(100vh - 190px);
}
.account-balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #1f2a32;
}
.account-balance-label {
    font-size: 1rem;
    font-weight: 500;
}
.account-balance-value {
    font-size: 1.6rem;
    font-weight: 700;
}
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 16px;
    margin-bottom: 22px;
}
.account-tile {
    background: #fff;
    border-radius: 14px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #23313f;
    box-shadow: 0 1px 0 rgba(20, 38, 47, 0.04);
}
.account-tile i {
    font-size: 2rem;
    margin-bottom: 8px;
}
.account-tile .tile-label {
    font-size: 0.95rem;
    font-weight: 500;
}
.account-tile.deposit i { color: #3d7ef0; }
.account-tile.withdraw i { color: #3d7ef0; }
.account-tile.teams i { color: #f4a100; }
.account-tile.invite i { color: #3c8d68; }
.account-list {
    background: rgba(255,255,255,0.55);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(28, 40, 48, 0.08);
}
.account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #21313d;
    padding: 18px 16px;
    background: #fff;
    border-bottom: 1px solid #edf1f3;
    font-size: 1rem;
}
.account-item:last-child {
    border-bottom: none;
}
.account-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.account-item-left i {
    font-size: 1.1rem;
    color: #5f7581;
}
.account-item .chevron {
    font-size: 1.15rem;
    color: #7d8b94;
}

/* ========== PROFILE PAGE ========== */
.profile-container {
    padding: 18px 16px 90px;
}
.profile-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 18px 18px;
    box-shadow: 0 4px 18px rgba(10, 47, 57, 0.06);
}
.profile-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dfeff1, #c9dfe3);
    color: #0f626d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}
.profile-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.profile-field label {
    font-size: 0.8rem;
    color: #526772;
    margin-bottom: 8px;
    font-weight: 600;
}
.profile-field input {
    border: 1px solid #dfe7eb;
    border-radius: 10px;
    padding: 12px 12px;
    font-size: 0.95rem;
    background: #f9fbfc;
    outline: none;
}
.profile-field input:focus {
    border-color: #0f626d;
    box-shadow: 0 0 0 3px rgba(15, 98, 109, 0.08);
}
.form-alert,
.form-success {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 0.82rem;
}
.form-alert {
    background: #fff4f4;
    color: #b33a3a;
    border: 1px solid #f2c1c1;
}
.form-success {
    background: #ecfaf2;
    color: #1d7a45;
    border: 1px solid #bfe7cf;
}
.form-alert ul {
    margin: 0;
    padding-left: 18px;
}
.divider {
    height: 1px;
    background: #edf1f3;
    margin: 20px 0;
}
.profile-btn {
    margin: 0;
    width: 100%;
}
.profile-btn.secondary {
    background: #2b8d9c;
}

/* ========== DEPOSIT PAGE ========== */
.deposit-container {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}
.deposit-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.deposit-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.deposit-header a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    margin-right: auto;
}
.deposit-header span {
    font-weight: 600;
    margin-right: auto;
}
.deposit-amount {
    text-align: center;
    margin-bottom: 20px;
}
.deposit-amount h2 {
    font-size: 2rem;
    margin: 0;
}
.deposit-amount p {
    font-size: 0.75rem;
    color: #666;
    margin: 4px 0 0 0;
}
.qr-section {
    text-align: center;
    margin-bottom: 20px;
}
.qr-title {
    color: #f44336;
    font-size: 0.75rem;
    margin-bottom: 10px;
}
.qr-box {
    border: 1px solid #eee;
    padding: 10px;
    display: inline-block;
    border-radius: 8px;
    margin-bottom: 10px;
}
.address-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #555;
}
.address-row i {
    cursor: pointer;
    color: #888;
}
.deposit-input {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    outline: none;
}
.tips-section {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.5;
    margin-top: 20px;
}
.tips-section h4 {
    margin: 0 0 8px 0;
    font-size: 0.8rem;
    color: #333;
}
.tips-section ol {
    padding-left: 16px;
    margin: 0;
}
.tips-section li {
    margin-bottom: 6px;
}
.text-red {
    color: #f44336;
    font-weight: 600;
}

/* ========== DASHBOARD PAGE ========== */
.dash-header {
    background: #fff;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.dash-header img {
    height: 24px;
}
.dash-actions {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px 16px;
    border-bottom: 1px solid #eee;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 0.75rem;
    width: 25%;
}
.action-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #555;
}
.action-btn i.icon-recharge {
    color: #d32f2f;
}
.ticker-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f6f9;
    padding: 12px 16px;
    font-size: 0.8rem;
}
.ticker-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ticker-left i {
    color: #f44336;
    font-size: 1.2rem;
}
.ticker-name {
    color: #1976d2;
    font-weight: 500;
}
.ticker-status {
    color: #888;
    margin-left: 4px;
}
.ticker-amount {
    color: #888;
    font-weight: 500;
}
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1930;
    padding: 20px 16px 10px;
}
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 0 16px;
}
.platform-grid-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.platform-grid-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.platform-grid-card .card-content {
    padding: 12px;
}
.platform-grid-card h4 {
    font-size: 0.9rem;
    margin: 0 0 6px 0;
    color: #0a1930;
}
.platform-grid-card p {
    font-size: 0.75rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding: 0 16px 80px;
}
.security-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}
.logo-tokopedia {
    background: #42b549;
    color: #fff;
}
.logo-orami {
    background: #ff4c4c;
    color: #fff;
}
.logo-lazada {
    background: #0f136d;
    color: #fff;
}
.logo-amazon {
    background: #fff;
    color: #000;
}
.logo-shopify {
    background: #fff;
    color: #000;
}
.logo-shopify span {
    color: #95bf47;
    margin-right: 4px;
}
.logo-alibaba {
    background: #fff;
    color: #ff6a00;
    font-style: italic;
}
