* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse at 30% 40%, #0f0f1a, #05050a);
    color: #ffffff;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.app-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.app-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
}

@media (min-width: 768px) {
    .app-container {
max-width: 480px;
box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
    }
}

.page {

    display: none;
    animation: fade 0.3s ease;
}
.page.active-page {
    display: block;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(8px);}
    to { opacity: 1; transform: translateY(0);}
}


.login-gradient-bg, .auth-gradient-bg {
    background: #fff;
    /* margin: -20px -20px 0 -20px; */
    padding: 20px 20px 60px 20px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}
.auth-gradient-bg {
    /* margin: -20px -20px -32px -20px; */
}
.login-gradient-bg::before, .auth-gradient-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.login-gradient-bg::after, .auth-gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* 替换 logo-icon 为图片样式，并确保居中 */
.logo-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}
.logo-image img {
    width: 70%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
    transition: transform 0.2s ease;
}
.logo-image img:hover {
    transform: scale(1.02);
}

.logo-foot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}
.logo-foot img {
    width: 90%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
    transition: transform 0.2s ease;
}
/* 兼容旧图标类名但用图片覆盖，保留样式不影响 */
.logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-title {
    font-size: 34px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1px;
    text-align: center;
}
.logo-sub {
    font-size: 14px;
    color: #000000;
    margin-top: 8px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}
.input-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #000;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.input-wrapper {
    position: relative;
    width: 100%;
}
.input-field {
    background: #fff;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 16px;
    backdrop-filter: blur(10px);
    color: #000;
    transition: all 0.2s;
    font-family: inherit;
}
.input-field::placeholder {
    color: rgba(255,255,255,0.7);
}
.input-field:focus {
    outline: none;
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

/* ========== 区号选择器样式 ========== */
.phone-picker {
    position: relative;
}
.phone-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.phone-picker-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 110px;
    justify-content: center;
        border: 2px solid #000000;
}
.phone-picker-trigger:hover {
    background: rgba(255,255,255,0.25);
}
.phone-picker-flag {
    width: 24px;
    height: 18px;
    border-radius: 2px;
}
.fi {
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}
.phone-picker-dial {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}
.phone-picker-chevron {
    transition: transform 0.2s ease;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}
.phone-picker-chevron.rotated {
    transform: rotate(180deg);
}
.phone-picker-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 300px;
    background: #1e1e2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 1000;
    max-height: 320px;
    overflow: hidden;
}
.phone-picker-search {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.phone-picker-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 14px;
    outline: none;
}
.phone-picker-search input::placeholder {
    color: #94a3b8;
}
.phone-picker-search input:focus {
    border-color: #3b82f6;
}
.phone-picker-list {
    max-height: 260px;
    overflow-y: auto;
}
.phone-picker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.phone-picker-item:hover {
    background: rgba(59,130,246,0.3);
}
.phone-picker-item.active {
    background: rgba(59,130,246,0.2);
}
.phone-picker-item-flag {
    width: 24px;
    height: 18px;
}
.phone-picker-item-name {
    flex: 1;
    font-size: 14px;
    color: #e2e8f0;
}
.phone-picker-item-code {
    font-size: 13px;
    color: #94a3b8;
}
.phone-picker-empty {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
}
.phone-number-input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 28px;
    font-size: 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #000000;
    transition: all 0.2s;
    font-family: inherit;
}
.phone-number-input::placeholder {
    color: rgba(255,255,255,0.6);
}
.phone-number-input:focus {
    outline: none;
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}
/* ========== 结束 ========== */

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
}
.btn {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: white;
    color: #000000;;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 12px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.link-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.back-icon {
    color: #000000;
    font-size: 40px;
    cursor: pointer;
    display: inline-block;
    /* margin-bottom: 20px; */
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000000;;
}
.avatar-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
    cursor: pointer;
    overflow: hidden;
}
.nickname {
    font-weight: 600;
    font-size: 18px;
    color: white;
}
.header-placeholder {
    width: 48px;
    height: 48px;
    visibility: hidden;
}

.card-balance {
    padding: 24px 24px 20px 24px;
    color: white;
    background: #000000;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.4);
    height: 280px;
}
.card-row-first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.balance-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.balance-text {
    font-size: 16px;
    font-weight: 500;
    color: #cbd5e1;
}
.eye-icon {
    border-radius: 30px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
    color: #9ab3d4;
}
.paycc-right {
    width: 144rpx;
    height: 56rpx;
    font-family: Arial-Black, Arial-Black;
    font-weight: normal;
    font-size: 25px;
    color: #FFFFFF;
    line-height: 56rpx;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.card-row-second {
    display: flex;
    margin-bottom: 24px;
}
.amount-value {
    width: 80%;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
    color: white;
    line-height: 1.1;
}
.card-row-third {
    display: flex;
    margin-top: 8px;
}
.withdraw-btn-in-card {
    width: 100%;
    background: rgba(255,255,255,0.08);
    color: #cbd5e6;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.recharge-btn-in-card {
    width: 100%;
    background: rgba(255,255,255,0.08);
    color: #cbd5e6;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 40px;
    padding: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-tabs {
    display: flex;
    gap: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    margin-top: -20px;

}
.filter-tab {
    width: 50%;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 8px 0;
    transition: all 0.2s;
    color: #94a3b8;
}
.filter-tab.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

.trans-list {
    max-height: 380px;
    overflow-y: auto;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}
.trans-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: #F6F6F6;
    margin-bottom: 6px;
    border-radius: 16px;
    color:#000;
    margin: 10px 20px;
}
.trans-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.download-icon {
    color: #000;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.7;
}
.trans-info {
    display: flex;
    flex-direction: column;
}
.trans-type {
    font-weight: 600;
    color: #000;
}
.trans-date {
    font-size: 11px;
    color:  #000;
    margin-top: 4px;
}
.trans-amount {
    font-weight: 700;
    font-size: 16px;
    color:#31B35B;
}



/* .visa-card {
    background: linear-gradient(145deg, #0d2440, #0a1a30, #0e1f38);
    border-radius: 28px;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
    border: 1px solid rgba(59,130,246,0.2);
    position: relative;
    overflow: visible;
    margin-top: 8px;
} */
 /* 卡片详情页新样式 - 基于图片布局 */
.visa-card {
    background-image: url('../img/card_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
    border: 1px solid rgba(59,130,246,0.2);
    position: relative;
    overflow: visible;
    margin-top: 8px;
}

.visa-card-inner {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Top Up 按钮 - 右上角 */
.topup-corner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 6px;
    color: #1e3a8a;
    border-radius: 30px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    z-index: 2;
      height: 50px;
    width: 100px;
    margin-top: 15px;
}

/* PAYCC 标题 */
.visa-card-title {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* 金额 */
.visa-card-amount {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 12px 0;
    letter-spacing: 1px;
}

/* 卡号行 */
.visa-card-number-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.visa-card-number {
    font-size: 24px;
    letter-spacing: 2px;
    font-family: monospace;
    color: #fff;
}

.visa-card-visa {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
    margin-right: 5px;
}

.visa-card-visa-img {
    background-image: url('../img/visa_logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 60px;
    height: 40px;
    display: inline-block;
}

.visa-card-visa i {
    font-size: 28px;
}

/* CVV 和有效期行 */
.visa-card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.visa-card-cvv-bg{
    background-color: #000;
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.visa-card-topup-bg{
    background-color: #fff;
    border-radius: 16px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.visa-card-cvv-section {
    display: flex;
    flex-direction: column;
}

.visa-card-cvv-label {
    background-image: url('../img/cvv.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 20px;
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 1px;
}

.visa-card-cvv-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.visa-card-topup-value {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.visa-card-expiry-section {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.visa-card-expiry-label {
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 1px;
}

.visa-card-expiry-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
}


.tabs-nav {
    display: flex;
    gap: 24px;
    margin: 20px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tab {
    padding-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #94a3b8;
    font-size: 15px;
    width: 50%;
    text-align: center;
}
.tab.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

.profile-card {
    padding: 32px 24px;
    margin: 8px 0 24px;
}
.profile-avatar-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}
.profile-avatar-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #000;
    margin-bottom: 16px;
    overflow: hidden;
    cursor: pointer;
}
.profile-info-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #000;
    background: #F6F6F6;
    margin: 8px 2px;
    border-radius: 15px;
}
.kyc-detail {
    background: rgba(59,130,246,0.15);
    border-radius: 20px;
    padding: 16px;
    margin: 16px 0;
}
.small-text {
    font-size: 13px;
    color: #3b82f6;
    cursor: pointer;
}

.slide-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: linear-gradient(145deg, #1a1a2a, #0f0f18);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}
.slide-panel.open { transform: translateX(0); }
.panel-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.close-panel {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 30px;
    padding: 8px 14px;
    color: white;
    cursor: pointer;
    font-size: 18px;
}
.panel-body { padding: 24px 20px; }
.form-group { margin-bottom: 24px; }
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}
.form-select, .form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.2);
  color: #000;
    font-size: 15px;
    outline: none;
}
.info-text {
    font-size: 12px;
    color: #000;
    margin-top: 6px;
}
.panel-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}
.btn-confirm {
    flex: 1;
  color: #000;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}
.btn-cancel {
    flex: 1;
    background: rgba(255,255,255,0.1);
    color: #000000;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    backdrop-filter: blur(4px);
}
.overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    backdrop-filter: blur(4px);
}
.modal-container {
    background: #1e1e2f;
    width: 300px;
    border-radius: 32px;
    padding: 24px;
    text-align: center;
    color: white;
}
.toast-msg {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 14px;
    z-index: 2200;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    max-width: 90vw;   
    width: auto;
    white-space: normal; 
    word-break: break-word;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
hr { border-color: #334155; margin: 8px 0; }

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 440px;
    background: rgba(25, 25, 35, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .bottom-nav { max-width: 420px; } }
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #94a3b8;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 40px;
    flex: 1;
    text-align: center;
}
.nav-item i { font-size: 22px; }
.nav-item.active {
    color: #3b82f6;
    background: rgba(59,130,246,0.15);
}

.success-msg {
    color: #4ade80;
}
.error-msg {
    color: #f87171;
}
/* 确保所有logo图片在各页面居中 */
.auth-gradient-bg .logo-image, .login-gradient-bg .logo-image {
    justify-content: center;
}

/* 弹出框 */
.toast-msg {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 14px;
    z-index: 2200;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.toast-msg i {
    font-size: 24px;
}

.toast-msg .toast-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.toast-msg .toast-message {
    font-size: 13px;
    color: #94a3b8;
}

.toast-msg.error {
    background: linear-gradient(135deg, #7f1a1a 0%, #991b1b 100%);
    border-left: 4px solid #ef4444;
}

.toast-msg.success {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    border-left: 4px solid #10b981;
}

.toast-msg.error i {
    color: #f87171;
}

.toast-msg.success i {
    color: #34d399;
}

/* 弹窗遮罩层 */
.toast-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
}

/* 弹窗容器 */
.toast-modal-container {
    width: 570px;
    position: relative;
    background: #1e293b;
    border-radius: 28px;
    padding: 32px 28px 28px 28px;
    width: 300px;
    text-align: center;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
    animation: toastFadeIn 0.2s ease;
    height: 448rpx;
    background: #ffffff;
}

@keyframes toastFadeIn {
    from {
opacity: 0;
transform: scale(0.95);
    }
    to {
opacity: 1;
transform: scale(1);
    }
}

/* 关闭按钮 */
.toast-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.toast-close-btn:hover {
    color: #000000;
}

/* 图标区域 */
.toast-icon {
    margin-bottom: 20px;
}

.toast-icon i {
    font-size: 64px;
}

.toast-icon .fa-times-circle {
    color: #ef4444;
}

.toast-icon .fa-check-circle {
    color: #10b981;
}

/* 标题 */
.toast-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

/* 消息内容 */
.toast-message {
    font-size: 14px;
    color: #000;
    line-height: 1.5;
}


       /* 充值面板样式 */
.recharge-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: linear-gradient(145deg, #1a1a2a, #0f0f18);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.recharge-panel.open {
    transform: translateX(0);
}

.recharge-panel-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recharge-panel-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.close-recharge-panel {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 30px;
    padding: 8px 14px;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.recharge-panel-body {
    padding: 24px 20px;
}

/* 行样式 - 图标、标签、下拉框/输入框在同一行 */
.recharge-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

.recharge-field-left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 110px;
    flex-shrink: 0;
}

.recharge-field-left i {
    font-size: 18px;
    color: #3b82f6;
    width: 20px;
}

.recharge-field-left .recharge-field-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

/* 下拉选择框容器 */
.recharge-select-wrapper {
    flex: 1;
    position: relative;
}

.recharge-select {
    width: 100%;
    padding: 12px 30px 12px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: #000;
    font-size: 14px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.recharge-select:focus {
    border-color: #3b82f6;
}

.recharge-select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 12px;
}

/* 输入框容器 */
.recharge-input-wrapper {
    flex: 1;
}

.recharge-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    outline: none;
}

.recharge-input:focus {
    border-color: #3b82f6;
}

.recharge-input::placeholder {
    color: #64748b;
}

/* 充值地址 */
.recharge-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

.address-text {
    font-size: 12px;
    color: #3b82f6;
    font-family: monospace;
    word-break: break-all;
}

.copy-btn {
    background: rgba(59,130,246,0.2);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    color: #3b82f6;
    cursor: pointer;
}

/* 交易哈希输入框 */
.recharge-input-full {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 12px;
    outline: none;
    font-family: monospace;
    margin-bottom: 20px;
}

.recharge-input-full:focus {
    border-color: #3b82f6;
}

/* 提交按钮 */
.recharge-submit-btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

/* 提示信息 */
.recharge-warning {
    margin-top: 16px;
    padding: 10px;
    background: rgba(234,179,8,0.1);
    border-radius: 8px;
    font-size: 10px;
    color: #94a3b8;
    line-height: 1.4;
}

.recharge-warning i {
    color: #eab308;
    margin-right: 6px;
}

/* Transaction Hash 区块样式 */
.recharge-tx-section {
    background: #071B2E;
    border-radius: 20px 20px 20px 2px;
    padding: 20px 16px;
    margin-top: 20px;
}

.recharge-tx-section .recharge-field {
    margin-bottom: 0;
}

.recharge-tx-section .recharge-input-full {
    margin-bottom: 0;
}

.recharge-tx-section .recharge-submit-btn {
    margin-top: 16px;
}

.recharge-tx-section .recharge-warning {
    margin-top: 16px;
}

/* Network 行样式 - 一行4个元素 */
.network-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #000000;
    border-radius: 15px;
}

/* 每个元素的基础样式 */
.network-row > div {
    display: flex;
    align-items: center;
    color: #000000;
}

/* 1. 地球图标样式 */
.network-icon {
    justify-content: center;
}

.network-icon i {
    font-size: 20px;
    color: #60a5fa;
}

.network-icon span{
    margin-left: 10px;
}

.network-token{
    width: 30%;
}
.network-token input{
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 14px;
    outline: none;
}


/* 2. Network 文字样式 */
.network-label span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* 3. 以太坊图标样式 */
.network-eth-icon {
    width: 40px;
    justify-content: center;
}

.eth-icon-img {
    width: 24px;
    height: 24px;
}

/* 如果没有图片，使用 Font Awesome 图标 */
.network-eth-icon i {
    font-size: 22px;
    color: #627eea;
}

/* 4. Ethereum 文字样式 */
.network-name span {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    padding-left: 15px;;
}

/* 白色圆形背景 */
.eth-icon-circle {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 白色圆形背景 */
.eth-icon-erc20 {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    background: #093755;
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    font-size: 12px;
}

.eth-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}



/* ========== 卡片激活页面样式 ========== */
.card-activation-panel {
    padding: 20px;
}

.activation-card-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.activation-card {
     background-image: url('../img/balance_bg.png') !important;
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    /* max-width: 320px; */
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.activation-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.activation-card-brand {
    letter-spacing: 2px;
    font-size: 30px;
}

.activation-card-brand img{
   height: 35px;
}

.activation-card-type {
    font-size: 14px;
    opacity: 0.9;
}
.activation-card-type img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
}
.activation-card-amount {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.activation-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activation-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.activation-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.activation-notice,
.activation-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.activation-notice {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.activation-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.activation-notice i,
.activation-warning i {
    font-size: 16px;
}


/* 响应式调整 - 小屏幕 */
@media (max-width: 480px) {
    .network-row {
        padding: 10px 12px;
    }
    
    .network-icon i {
        font-size: 18px;
    }
    
    .network-label span,
    .network-name span {
        font-size: 13px;
    }
    
    .eth-icon-img {
        width: 20px;
        height: 20px;
    }
}

/* Toast 顶部居中显示 */
.toast-msg {
    position: fixed;
    top: 40px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 14px 24px;
    border-radius: 40px;
    font-size: 14px;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: auto;
    max-width: 90vw;
    width: auto;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-weight: 500;
}



/* ========== 安全验证弹窗样式 ========== */
.security-modal {
    width: 360px;
    max-width: 90vw;
    padding: 28px 28px 28px;
    background: #ffffff;
    border-radius: 28px;
}

/* 头部：图标和标题在同一行 */
.security-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.security-modal-icon i {
    font-size: 24px;
    color: #3b82f6;
}

.security-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.security-modal-desc {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.security-modal-input {
    margin-bottom: 28px;
}

.security-input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    text-align: left;
}

.security-input-field {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 12px;
    color: #000;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.security-input-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.security-input-field::placeholder {
    color: #64748b;
}

.security-modal-buttons {
    display: flex;
    gap: 12px;
}

.security-btn-cancel {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #ccc;
    border-radius: 40px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.security-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #000;
}

.security-btn-confirm {
    flex: 1;
    padding: 12px;
    background: #000000;
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.security-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.security-modal-icon  img {
    height: 40px;
    width: 40px;
}


/* ========== 卡片详情弹窗样式 ========== */
.card-details-modal {
    width: 360px;
    max-width: 90vw;
    padding: 28px 24px 24px;
    background: #fff;
    border-radius: 28px;
    text-align: left;
}

.card-details-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin: 0 0 24px 0;
}

.card-details-item-bg {
    /* background-image: url('../img/cvv_card_bg.png') !important; */
    background: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;

}

.card-details-item {
    margin-bottom: 20px;
    color: #000;
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 28rpx;
    font-style: normal;
    text-transform: none;
}

.card-details-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card-details-item.half {
    flex: 1;
    margin-bottom: 0;
}

.card-details-label {
    font-size: 12px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.card-details-value {
    font-size: 18px;
    font-weight: 600;
    font-family: monospace;
    letter-spacing: 1px;
}

.card-details-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 20px 0 24px;

}

.card-details-warning i {
    color: #f59e0b;
    font-size: 16px;
    margin-top: 2px;
}

.card-details-warning span {
    font-size: 12px;
    color: #000;
    line-height: 1.4;
    flex: 1;
}

.card-details-close {
    width: 100%;
    padding: 14px;
    background: #fff(255, 255, 255, 0.08);
    border-radius: 40px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}


/* ========== Top Up 页面样式 ========== */
.topup-page {
    padding: 20px;
    min-height: 100vh;
    margin: -20px -20px -32px -20px;
    padding: 20px 20px 40px;
}

.topup-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.topup-page-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

/* 钱包余额行 */
.topup-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0px;
}

.topup-balance-label {
   font-size: 16px;
    font-weight: bold;
    color: #000;
}

.topup-balance-value {
    font-size: 22px;
    font-weight: 700;
 color: #000;
}

.topup-balance-img img{
    height: 40px;
    width: 40px;
}
/* 卡片余额行 */
.topup-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px;
    padding: 0px 24px;
    margin-bottom: 32px;
    border: 1px solid #000;
    color: #000;;
}

.topup-card-info {
    text-align: left;
}

.topup-card-balance {
    font-size: 28px;
    font-weight: 700;
}

.topup-card-number {
    font-size: 13px;
     color: #000;
    margin-top: 6px;
}

.topup-card-label {
    font-size: 14px;
}

/* Top up amount 标题 */
.topup-amount-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

/* 金额输入区域 */
.topup-amount-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #000;
    padding: 18px 20px;
}

.topup-currency {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 8px;
}

.topup-amount-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    outline: none;
    text-align: left;
}

.topup-amount-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.topup-currency-suffix {
    font-size: 16px;
    color: #000;
    margin-left: 8px;
}

/* 快捷金额按钮 */
.topup-quick-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.topup-quick-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.topup-quick-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

.topup-quick-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Top up fee 行 */
.topup-fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topup-fee-label {
    font-size: 16px;
    color: #000;
}

.topup-fee-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.topup-fee-percent {
    font-size: 16px;
    color: #f59e0b;
    font-weight: 500;
}

.topup-fee-amount {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

/* Total amount 行 */
.topup-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 28px;
    margin-bottom: 32px;
}

.topup-total-label {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.topup-total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #3b82f6;
}

/* Top up 按钮 */
.topup-submit-btn {
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 48px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.topup-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.topup-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 警告提示 */
.topup-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    font-size: 14px;
    color: #f87171;
}

.topup-warning i {
    font-size: 16px;
}

/* 隐藏 number input 的上下箭头 */
.topup-amount-input::-webkit-outer-spin-button,
.topup-amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.topup-amount-input[type=number] {
    -moz-appearance: textfield;
}

/* 竖虚线分隔线 */
.topup-card-divider {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), transparent);
    border-right: 1px dashed rgba(255, 255, 255, 0.4);
    margin: 0 16px;
}



/* ========== Recharge 页面样式 ========== */
.recharge-page {
    padding: 20px;
    min-height: 100vh;
    margin: -20px -20px -32px -20px;
    padding: 20px 20px 40px;
}

.recharge-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 35px;
}

.recharge-page-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.recharge-page-body {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 0px 20px;
}

.recharge-page .recharge-field {
    margin-bottom: 20px;
}

.recharge-page .recharge-field-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
}

.recharge-page .recharge-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F6F6F6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
}

.recharge-page .address-text {
    font-size: 12px;
    color: #000000;
    font-family: monospace;
    word-break: break-all;
}

.recharge-page .copy-btn {
    background: rgba(59, 130, 246, 0.2);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    color: #000000;
    cursor: pointer;
}

.recharge-page .recharge-tx-section {
    background: #F6F6F6;
    border-radius: 20px;
    padding: 20px 16px;
    margin-top: 20px;
}

.recharge-page .recharge-input-full {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #000000;
    font-size: 13px;
    outline: none;
    font-family: monospace;
}

.recharge-page .recharge-input-full:focus {
    border-color: #3b82f6;
}

.recharge-page .recharge-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.recharge-page .recharge-warning {
    margin-top: 16px;
    padding: 12px;
    background: rgba(234, 179, 8, 0.1);
    border-radius: 12px;
    font-size: 11px;
    color: #000000;
    line-height: 1.4;
}

.recharge-page .recharge-warning i {
    color: #eab308;
    margin-right: 6px;
}

.recharge-page .card-activation-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 24px 20px;
}
/* 小屏幕适配 */
@media (max-width: 480px) {
    .card-details-modal {
        width: 320px;
        padding: 24px 20px 20px;
        text-align: left;
    }
    
    .card-details-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .card-details-value {
        font-size: 16px;
    }
    
    .card-details-row {
        gap: 16px;
    }
}

/* ========== Top Up 处理中弹窗样式 ========== */
.processing-modal {
    width: 340px;
    max-width: 90vw;
    padding: 32px 24px 28px;
    color: #000;
    border-radius: 32px;
    text-align: center;
}
.processing-modal_bg {
    background: #ffffff;
    border-radius: 32px;
    padding: 24px 24px 20px 24px;
    margin: 8px 0 24px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.4);
    border: 1px solid rgba(59,130,246,0.2);
}
.processing-icon {
    margin-bottom: 20px;
}

.processing-icon i {
    font-size: 56px;
    color: #f59e0b;
}

.processing-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.processing-desc {
    font-size: 14px;
    line-height: 1.5;
}

.processing-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 10px;
    text-align: left;
}

.processing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.processing-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.processing-label {
    font-size: 14px;
}

.processing-value {
    font-size: 16px;
    font-weight: 600;
}

.processing-row.total .processing-value {
    font-size: 18px;
}

.processing-close {
    width: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

/* 调整为 iframe 优化的弹窗样式 */
.iframe-modal {
    width: 90vw;
    max-width: 420px; /* 根据 iframe 页面设计调整 */
    height: 90vh;
    max-height: 700px;
    padding: 0;
    background: #1e1e2f;
    overflow: hidden;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px; /* 匹配你的弹窗圆角 */
}

.card-iframe-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.card-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    /* 隐藏所有滚动条 */
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

/* 针对 WebKit 浏览器隐藏滚动条 */
.card-iframe::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* 火狐浏览器 */
.card-iframe {
    scrollbar-width: none;
}

/* IE/Edge */
.card-iframe {
    -ms-overflow-style: none;
}

.email_icon {
    display: inline-block;
    width: 50px;
    height:50px;
    background: url('../img/top_up_qb.png') no-repeat center;
    background-size: contain;
    margin-right: 10px;
    vertical-align: middle;
}
.kyc-icon {
    margin-left: 10px;;
    display: inline-block;
    width: 50px;
    height:50px;
    background: url('../img/kyc_logo.png') no-repeat center;
    background-size: contain;
    margin-right: 10px;
    vertical-align: middle;
}

.resetpasswd-icon {
     margin-left: 10px;;
    display: inline-block;
    width: 50px;
    height:50px;
    background: url('../img/set_logo.png') no-repeat center;
    background-size: contain;
    margin-right: 10px;
    vertical-align: middle;
}

.exit-icon {
     margin-left: 10px;;
    display: inline-block;
    width: 50px;
    height:50px;
    background: url('../img/exit_logo.png') no-repeat center;
    background-size: contain;
    margin-right: 10px;
    vertical-align: middle;
}


.form-input-reset{
    background: #fff;
    color: #000;
}

/* KYC 页面样式 */
.kyc-info-group {
    margin-bottom: 16px;
}

.kyc-info-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
        color:#000;
}

.kyc-info-value {
    font-size: 16px;
    font-weight: 500;
    color:#000;
    padding: 4px 0;
}

.kyc-info-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-top: 12px;
}

/* 调整 profile-card 内边距 */
.profile-card {
    padding: 24px 20px;
    background: #F6F6F6;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    margin: 16px 16px 0;
    border: 1px solid rgba(255,255,255,0.06);
}

/* 初始隐藏所有弹窗 */
/* .toast-modal-mask,
.modal-mask,
.toast-msg,
.bottom-nav {
    display: none !important;
} */

/* 或者使用 .show 类 */
/* .toast-modal-mask.show,
.modal-mask.show,
.toast-msg.show
.bottom-nav.show {
    display: flex !important;
} */

/* 小屏幕适配 */
@media (max-width: 480px) {
    .security-modal {
        width: 320px;
        padding: 24px 20px 24px;
    }
    
    .security-modal-icon  img {
        width: 50%;
    }
    
    .security-modal-title {
        font-size: 18px;
    }
    
    .security-modal-desc {
        font-size: 13px;
    }
    
    .security-input-field {
        padding: 12px 14px;
    }
}

/* 小屏幕适配 */
@media (max-width: 480px) {
    .toast-msg {
        top: 70px;
        padding: 12px 20px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        max-width: 85vw;
    }
}