/* Home page - ordertask.cc target style overrides */

:root {
    --themeColor: #ff0050;
    --themTextColor: #050505;
    --adm-color-primary: #ff0050;
}

/* Global: replace default Walmart blue accents */
.adm-tab-bar-item-active,
.adm-picker-header-button,
.adm-button-primary {
    color: #ff0050 !important;
}

.adm-button-primary {
    background: #ff0050 !important;
    border-color: #ff0050 !important;
}

/* Order page */
.order_tab {
    margin: 12px 16px !important;
    height: auto !important;
}

.order_complete {
    background-color: #ff0050 !important;
    color: #fff !important;
    border-radius: 22px !important;
    font-weight: 600;
}

.order_undone {
    background-color: #e6e6e6 !important;
    color: #333 !important;
    border-radius: 22px !important;
    font-weight: 500;
}

.order_card1 {
    background: #f5f5f5 !important;
    min-height: calc(100vh - 160px) !important;
}

.order .adm-error-block {
    top: 35% !important;
}

.order .adm-error-block-description,
.order .adm-error-block-description-title {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.order .adm-error-block-image {
    opacity: 0.85;
}

/* Order popup submit button */
.pop_but {
    background-color: #ff0050 !important;
    color: #fff !important;
    border-radius: 22px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(255, 0, 80, 0.3);
}

.pop_but p {
    color: #fff !important;
    font-size: 16px !important;
}

/* Trade page */
.Trade_box {
    padding: 12px !important;
}

.Trade_top {
    background: linear-gradient(135deg, #ff2aa1 0%, #ff0050 54%, #f90052 100%) !important;
    border-radius: 12px !important;
    height: 110px !important;
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.25);
}

.Trade_top > div > p:last-child {
    font-size: 28px !important;
    font-weight: 800 !important;
}

.Trade_title {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    margin: 12px 0 !important;
}

.Trade_text {
    border-bottom-color: #eee !important;
}

.Trade_text > p:first-child {
    font-weight: 800;
    color: #050505;
}

.Trade_fun > div > p:last-child {
    color: #050505 !important;
}

.Trade_start {
    background: #ff0050 !important;
    border-radius: 22px !important;
    width: 88% !important;
    margin-left: 6% !important;
    height: 44px !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 0, 80, 0.3);
}

.Trade_result > div > p:last-child[style] {
    color: #ff0050 !important;
}

/* Team page */
.team {
    background: #f5f5f5 !important;
    min-height: 100vh;
}

.team .header::before {
    display: none !important;
}

.team .header {
    justify-content: flex-start !important;
    padding: 14px 16px !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    color: #050505 !important;
    background: #f5f5f5 !important;
}

.team_box {
    padding: 0 12px 80px !important;
}

.team_top {
    width: 100% !important;
    height: auto !important;
    min-height: 150px !important;
    background: linear-gradient(135deg, #ff2aa1 0%, #ff0050 54%, #f90052 100%) !important;
    border-radius: 14px !important;
    padding: 16px 14px 14px !important;
    margin: 0 auto 14px !important;
    box-shadow: 0 6px 16px rgba(255, 0, 80, 0.28);
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.team_info {
    height: auto !important;
    margin-bottom: 12px;
}

.team_topNum:first-child {
    border-right-color: rgba(255, 255, 255, 0.35) !important;
}

.team_topNum > p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
}

.team_topNum > div > p:last-child {
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
}

.team_get {
    width: 100% !important;
    height: 42px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    border-radius: 22px !important;
    font-weight: 700;
    margin: 0 !important;
}

.team_get p {
    color: #fff !important;
    margin: 0;
}

.team_table {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.team_my_title {
    font-size: 18px;
    font-weight: 800;
    color: #050505;
    margin: 4px 4px 10px;
}

.team_num {
    height: auto !important;
    margin-bottom: 10px;
}

.team_num > div {
    color: #333 !important;
    font-size: 14px !important;
}

.team_num > div span {
    font-weight: 600;
}

.team_num > div p {
    font-weight: 700 !important;
    color: #050505 !important;
}

.team_list {
    width: 100% !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.team_list > div:first-child {
    background: #2b2b2b !important;
    color: #fff !important;
    height: 38px !important;
    font-weight: 600;
}

.team_list .list_content {
    border-bottom: 1px solid #f0f0f0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.team_list .list_content:last-child {
    border-bottom: none;
}

/* Header: full TikTok Shop Center logo (not site_icon circle) */
.header {
    min-height: 50px;
    padding: 10px 16px;
    box-sizing: border-box;
    background: #fff;
}

.header img[src*="tiktok-logo"] {
    display: none !important;
    visibility: visible !important;
}

.header::before {
    content: "";
    display: block;
    width: 240px;
    height: 32px;
    margin: 0 auto;
    background: url(./index/tiktok-header-logo.svg) no-repeat center / contain;
}

.home_earnings {
    background: linear-gradient(135deg, #ff2aa1 0%, #ff0050 54%, #f90052 100%) !important;
    border-radius: 10px !important;
    height: 44px !important;
}

.home_earnings .user_money p {
    color: #fff !important;
    font-weight: 700;
}

/* Banner: full-width stretch */
.banner {
    width: 100% !important;
    margin: 10px 0 !important;
    border-radius: 0 !important;
}

.banner .adm-swiper,
.banner .adm-swiper-track,
.banner .adm-swiper-slide {
    border-radius: 0 !important;
}

.swiper_item {
    height: 150px !important;
    border-radius: 0 !important;
}

.banner .swiper_item img,
.banner .adm-swiper-item img,
.swiper_item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block;
}

.notice .adm-swiper-slide {
    background-color: #ececec !important;
    border-radius: 10px !important;
}

.notice_swper {
    color: #333;
    font-weight: 500;
}

.ah_model {
    border-radius: 10px !important;
    background-size: cover !important;
}

.about {
    background: url(./bs1-BL9TXCBR.svg) no-repeat center / cover !important;
}

.help {
    background: url(./home-help-card.svg) no-repeat center / cover !important;
}

.sever {
    background-image: url(./bs3-dark.svg) !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 10px !important;
}

.index_sever h3,
.teamwork h3 {
    font-weight: 800;
    color: #050505;
}

.icon_banner img {
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}

/* Bottom navigation icons */
.tabber .adm-tab-bar-item-icon svg,
.tabber .adm-tab-bar-item-icon .antd-mobile-icon {
    display: none !important;
}

.tabber .adm-tab-bar-item-icon {
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.tabber .adm-tab-bar-item:nth-child(1) .adm-tab-bar-item-icon {
    background-image: url(./nav/home.svg);
}

.tabber .adm-tab-bar-item:nth-child(2) .adm-tab-bar-item-icon {
    background-image: url(./nav/order.svg);
}

.tabber .adm-tab-bar-item:nth-child(3) .adm-tab-bar-item-icon {
    background-image: url(./nav/trade-outline.svg);
    background-size: 24px 24px;
}

.tabber .adm-tab-bar-item:nth-child(4) .adm-tab-bar-item-icon {
    background-image: url(./nav/team.svg);
}

.tabber .adm-tab-bar-item:nth-child(5) .adm-tab-bar-item-icon {
    background-image: url(./nav/user.svg);
}

.tabber .adm-tab-bar-item-active {
    color: #050505 !important;
}

.tabber .adm-tab-bar-item:nth-child(3).adm-tab-bar-item-active .adm-tab-bar-item-icon {
    background-color: #050505;
    border-radius: 8px;
    background-image: url(./nav/trade-active.svg);
    background-size: 20px 20px;
}

.tabber .adm-tab-bar-item-title {
    font-size: 11px;
    color: #050505;
}

/* User page - ordertask.cc target style (scoped, no global width change) */
.user {
    min-height: 100vh;
    background: #f3f3f3 !important;
    padding-bottom: 82px !important;
}

.user_top {
    position: relative !important;
    height: 205px !important;
    padding: 28px 22px 0 !important;
    background: #050505 url(./ordertask/static/logobg2.3a5417f0.png) no-repeat right -10px top 10px / 58% auto !important;
    overflow: hidden !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.user_top::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 24px;
    width: 140px;
    height: 92px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(16, 16, 16, 0.9), rgba(37, 37, 37, 0.7));
    transform: rotate(-14deg);
    opacity: 0.55;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.user_info {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 90% !important;
    height: auto !important;
    min-height: 56px !important;
    overflow: visible !important;
    z-index: 2;
    margin: 8px auto 0 !important;
    white-space: normal !important;
}

.info_text {
    width: auto !important;
    flex: 1;
    min-width: 0;
    height: auto !important;
    margin-left: 12px !important;
    justify-content: center !important;
    gap: 6px;
    overflow: visible !important;
}

.info_text > p:first-child {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.user_id {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.user_id p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.user_info > img:first-child {
    width: 54px !important;
    height: 54px !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.user_id img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.user_box {
    width: 90% !important;
    margin: -78px auto 0 !important;
    position: relative !important;
    z-index: 3;
}

.user_fun {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 148px !important;
    border-radius: 12px !important;
    padding: 16px 18px 18px !important;
    background: linear-gradient(135deg, #ff2aa1 0%, #ff0050 52%, #f90052 100%) !important;
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.32) !important;
    overflow: hidden !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 12px;
}

.user_fun::before {
    content: "";
    position: absolute;
    top: -28px;
    right: -18px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 68%);
    pointer-events: none;
}

.user_fun::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -24px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.user_account_label {
    position: relative;
    z-index: 1;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    margin: 0 0 2px !important;
}

.money_num {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: auto !important;
    min-height: 36px;
}

.money_num > img:last-child {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    cursor: pointer;
}

.user_usdts {
    color: #fff !important;
    align-items: center !important;
    gap: 6px;
}

.user_usdts img[src*="tiktok-logo"] {
    display: none !important;
}

.user_usdts img {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0;
}

.user_usdts > p:nth-child(2) {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 4px 0 0 !important;
    line-height: 1;
}

.user_usdts > p:nth-child(3) {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 6px 0 0 !important;
}

.user_but {
    position: relative;
    z-index: 1;
    gap: 12px;
}

.but_click {
    width: 48% !important;
    height: 42px !important;
    border-radius: 22px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.but1 {
    background: #fff !important;
    color: #ff0050 !important;
}

.but2 {
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
}

.user_invite {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 82px !important;
    margin: 14px 0 !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    background: linear-gradient(100deg, #080808, #222) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.user_invite::before {
    content: "";
    position: absolute;
    right: -20px;
    top: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 80, 0.22) 0%, rgba(255, 0, 80, 0) 70%);
    pointer-events: none;
}

.user_invite::after {
    content: "";
    position: absolute;
    left: 40%;
    bottom: -25px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.invite_text {
    position: relative;
    z-index: 1;
    width: 62% !important;
}

.invite_text > p:first-child {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 4px !important;
}

.invite_text > p:last-child {
    font-size: 11px !important;
    color: #aaa !important;
    line-height: 1.4;
}

.user_invite > p:last-child {
    position: relative;
    z-index: 1;
    width: auto !important;
    min-width: 88px !important;
    height: 36px !important;
    padding: 0 14px !important;
    background: #ff0050 !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(255, 0, 80, 0.35);
}

.user_list {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0;
}

.user_list_item {
    height: 48px !important;
    border-bottom: 1px solid #f2f2f2;
    padding: 0 2px;
}

.user_list_item:last-child {
    border-bottom: none;
}

.list_item_name img {
    width: 20px !important;
    height: 20px !important;
    opacity: 0.55;
}

.list_item_name p {
    font-size: 15px !important;
    color: #050505 !important;
    font-weight: 500;
}

.user_list_item .antd-mobile-icon,
.user_list_item svg {
    color: #ccc !important;
    font-size: 14px !important;
}

.user .Logout {
    display: flex !important;
    margin: 14px 0 0 !important;
    padding: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 10px !important;
    background: #e6e6e6 !important;
}

.user .Logout p {
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 600;
}

/* Logout confirm modal - must sit above user cards */
.user .modelWindow {
    position: fixed !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 490px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background-color: rgba(0, 0, 0, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.user .window_center {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 86% !important;
    max-width: 320px !important;
    background: #fff !important;
    border-radius: 12px !important;
    z-index: 10000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 12px 10px !important;
}

.user .outLogin {
    width: 100%;
}

.user .outLogin > p:first-child {
    color: #050505 !important;
    font-size: 16px !important;
    font-weight: 600;
    text-align: center;
    padding: 12px 8px 20px !important;
}

.user .outLogin_fun {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-top: 1px solid #eee !important;
    padding: 0 !important;
}

.user .outLogin_fun > p {
    width: 50% !important;
    text-align: center !important;
    padding: 14px 0 !important;
    font-size: 16px !important;
    cursor: pointer;
}

.user .outLogin_fun > p:first-child {
    color: #666 !important;
    border-right: 1px solid #eee;
}

.user .outLogin_fun > p:last-child {
    color: #ff0050 !important;
    font-weight: 700;
}

/* Recharge/UserPay primary buttons: keep text readable on pink theme buttons. */
.adm-button-primary {
    color: #fff !important;
}

.UserPay .pay-money.adm-button,
.UserPay .pay-money.adm-button-primary,
.UserPay .pay-money .adm-button-content {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.UserPay .voucher-upload-card {
    position: relative;
    width: 90%;
    min-height: 96px;
    margin: 12px auto 0;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px dashed rgba(255, 0, 80, 0.45);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(20, 20, 20, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
}

.UserPay .voucher-upload-card.has-file {
    border-style: solid;
    border-color: #ff0050;
    background: #fff7fa;
}

.UserPay .voucher-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.UserPay .voucher-upload-plus {
    width: 42px;
    height: 42px;
    border: 1.5px solid #ff0050;
    border-radius: 10px;
    color: #ff0050;
    font-size: 32px;
    line-height: 38px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.UserPay .voucher-upload-label {
    color: #1f2933;
    font-size: 15px;
    font-weight: 700;
}

.UserPay .voucher-upload-hint {
    color: #9aa3af;
    font-size: 12px;
    line-height: 1.35;
}

.UserPay .voucher-upload-name {
    max-width: 100%;
    margin-top: 2px;
    color: #ff0050;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-all;
}

/* Keep bottom navigation above every page's scroll content. */
.tabber {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 490px !important;
    min-height: 56px !important;
    max-height: none !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    background: #fff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08) !important;
    z-index: 5000 !important;
}

.user {
    padding-bottom: 132px !important;
}

.user_box {
    padding-bottom: 76px !important;
}
