/**
 * 提现绑定页面样式
 * 兼容低版本浏览器和iOS设备
 * 支持三种主题：dark（默认）、light、blue
 */

/* =========================
   提现绑定模态框样式
========================= */
.withdraw-bind-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.withdraw-bind-overlay.active {
    display: block;
}

/* 弹窗主体 - 全屏模式 */
.withdraw-bind-modal {
    background-color: #1a1a1a;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-animation: slideUp 0.3s ease;
    animation: slideUp 0.3s ease;
}

/* 头部 */
.withdraw-bind-header {
    position: relative;
    padding: 16px 56px;
    background-color: #2d2d2d;
    border-bottom: 1px solid #404040;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.withdraw-bind-title {
    font-size: 18px;
    font-weight: bold;
    color: #e0e0e0;
    text-align: center;
    line-height: 1.4;
}

/* 关闭按钮 */
.withdraw-bind-close {
    position: absolute;
    top: 50%;
    right: 14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #999;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.withdraw-bind-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.withdraw-bind-close:active {
    background-color: rgba(255, 255, 255, 0.15);
    -webkit-transform: translateY(-50%) scale(0.95);
    -ms-transform: translateY(-50%) scale(0.95);
    transform: translateY(-50%) scale(0.95);
}

/* 弹窗主体内容区 */
.withdraw-bind-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #1a1a1a;
    min-height: 0;
    padding: 15px;
}

/* 绑定卡片 */
.withdraw-bind-card {
    background-color: #2d2d2d;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid #404040;
}

.withdraw-bind-card-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 12px;
}

.withdraw-bind-card-icon {
    font-size: 32px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.withdraw-bind-card-icon svg {
    width: 100%;
    height: 100%;
}

.withdraw-bind-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
}

.withdraw-bind-card-content {
    position: relative;
}

/* 已绑定状态 */
.withdraw-bind-bound {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.withdraw-bind-info-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.withdraw-bind-info-value {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
    word-break: break-all;
    margin-bottom: 4px;
}

.withdraw-bind-info-note {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.withdraw-bind-status-badge {
    background-color: #4caf50;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 10px;
}

/* 未绑定状态 */
.withdraw-bind-unbound {
    text-align: center;
    padding: 20px 0;
}

.withdraw-bind-empty-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.withdraw-bind-add-btn {
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #ffffff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.withdraw-bind-add-btn:active {
    opacity: 0.8;
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

/* 收款码预览 */
.withdraw-bind-qrcode-preview {
    margin-top: 12px;
    text-align: center;
}

.withdraw-bind-qrcode-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid #404040;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.withdraw-bind-qrcode-view {
    font-size: 12px;
    color: #FFB300;
    margin-top: 6px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   绑定表单弹窗样式
========================= */
.withdraw-bind-form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.withdraw-bind-form-overlay.active {
    display: block;
}

.withdraw-bind-form-modal {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d2d2d;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-animation: slideUpForm 0.3s ease;
    animation: slideUpForm 0.3s ease;
}

.withdraw-bind-form-header {
    position: relative;
    padding: 16px 56px;
    border-bottom: 1px solid #404040;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.withdraw-bind-form-title {
    font-size: 18px;
    font-weight: bold;
    color: #e0e0e0;
    text-align: center;
    line-height: 1.4;
}

.withdraw-bind-form-close {
    position: absolute;
    top: 50%;
    right: 14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #999;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.withdraw-bind-form-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.withdraw-bind-form-close:active {
    background-color: rgba(255, 255, 255, 0.15);
    -webkit-transform: translateY(-50%) scale(0.95);
    -ms-transform: translateY(-50%) scale(0.95);
    transform: translateY(-50%) scale(0.95);
}

.withdraw-bind-form-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 15px;
    min-height: 0;
}

.withdraw-bind-form {
    max-width: 100%;
}

.withdraw-bind-form-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.withdraw-bind-form-group {
    margin-bottom: 20px;
}

.withdraw-bind-form-label {
    display: block;
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.withdraw-bind-form-label .required {
    color: #ff5252;
    margin-left: 2px;
}

.withdraw-bind-form-input,
.withdraw-bind-form-select {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #e0e0e0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.withdraw-bind-form-input:focus,
.withdraw-bind-form-select:focus {
    outline: none;
    border-color: #FFB300;
}

.withdraw-bind-form-input-readonly {
    background-color: #252525;
    color: #999;
    cursor: not-allowed;
}

.withdraw-bind-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.withdraw-bind-form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.withdraw-bind-form-notice {
    background-color: rgba(255, 82, 82, 0.1);
    color: #ff5252;
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 82, 82, 0.2);
}

/* 文件上传区域 */
.withdraw-bind-form-upload {
    margin-top: 8px;
}

.withdraw-bind-form-upload-area {
    background-color: #1a1a1a;
    border: 2px dashed #404040;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-height: 44px;
}

.withdraw-bind-form-upload-area:active {
    border-color: #FFB300;
    background-color: #252525;
}

.withdraw-bind-form-upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.withdraw-bind-form-upload-text {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 6px;
}

.withdraw-bind-form-upload-hint {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.withdraw-bind-form-upload-preview {
    position: relative;
    text-align: center;
}

.withdraw-bind-form-upload-preview-img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #404040;
}

.withdraw-bind-form-upload-delete {
    margin-top: 10px;
    background-color: #ff5252;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
}

.withdraw-bind-form-upload-delete:active {
    opacity: 0.8;
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.withdraw-bind-form-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    margin-top: 20px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.withdraw-bind-form-btn {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-height: 44px;
}

.withdraw-bind-form-btn-cancel {
    background-color: #404040;
    color: #e0e0e0;
}

.withdraw-bind-form-btn-cancel:active {
    background-color: #505050;
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.withdraw-bind-form-btn-submit {
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #ffffff;
}

.withdraw-bind-form-btn-submit:active {
    opacity: 0.9;
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.withdraw-bind-form-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================
   安全密码验证弹窗样式
========================= */
.withdraw-bind-password-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.withdraw-bind-password-overlay.active {
    display: block;
}

.withdraw-bind-password-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #2d2d2d;
    border-radius: 16px;
    overflow: hidden;
    -webkit-animation: scaleIn 0.3s ease;
    animation: scaleIn 0.3s ease;
}

.withdraw-bind-password-header {
    position: relative;
    padding: 16px 56px;
    border-bottom: 1px solid #404040;
}

.withdraw-bind-password-title {
    font-size: 18px;
    font-weight: bold;
    color: #e0e0e0;
    text-align: center;
    line-height: 1.4;
}

.withdraw-bind-password-close {
    position: absolute;
    top: 50%;
    right: 14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #999;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.withdraw-bind-password-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.withdraw-bind-password-close:active {
    background-color: rgba(255, 255, 255, 0.15);
    -webkit-transform: translateY(-50%) scale(0.95);
    -ms-transform: translateY(-50%) scale(0.95);
    transform: translateY(-50%) scale(0.95);
}

.withdraw-bind-password-body {
    padding: 30px 20px;
    text-align: center;
}

.withdraw-bind-password-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.withdraw-bind-password-text {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.withdraw-bind-password-group {
    margin-bottom: 20px;
    text-align: left;
}

.withdraw-bind-password-label {
    display: block;
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.withdraw-bind-password-label .required {
    color: #ff5252;
    margin-left: 2px;
}

.withdraw-bind-password-input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 16px;
    color: #e0e0e0;
    text-align: center;
    letter-spacing: 8px;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.withdraw-bind-password-input:focus {
    outline: none;
    border-color: #FFB300;
}

.withdraw-bind-password-error {
    font-size: 12px;
    color: #ff5252;
    margin-top: 8px;
    text-align: center;
}

.withdraw-bind-password-forgot {
    margin-bottom: 20px;
    text-align: center;
}

.withdraw-bind-password-forgot a {
    font-size: 13px;
    color: #FFB300;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.withdraw-bind-password-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
}

.withdraw-bind-password-btn {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-height: 44px;
}

.withdraw-bind-password-btn-cancel {
    background-color: #404040;
    color: #e0e0e0;
}

.withdraw-bind-password-btn-cancel:active {
    background-color: #505050;
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.withdraw-bind-password-btn-submit {
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #ffffff;
}

.withdraw-bind-password-btn-submit:active {
    opacity: 0.9;
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.withdraw-bind-password-loading {
    margin-top: 20px;
}

.withdraw-bind-password-loading-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.withdraw-bind-password-loading-text {
    font-size: 14px;
    color: #4caf50;
}

/* =========================
   收款码大图查看弹窗样式
========================= */
.withdraw-bind-qrcode-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10003;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.withdraw-bind-qrcode-view-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.withdraw-bind-qrcode-view-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.withdraw-bind-qrcode-view-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.withdraw-bind-qrcode-view-close:active {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

.withdraw-bind-qrcode-view-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    border: none;
}

/* =========================
   动画
========================= */
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes slideUp {
    from {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slideUpForm {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideUpForm {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes scaleIn {
    from {
        -webkit-transform: translate(-50%, -50%) scale(0.9);
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        -webkit-transform: translate(-50%, -50%) scale(0.9);
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* =========================
   提现绑定模态框 - 白色主题适配
========================= */
#theme-light:checked ~ * .withdraw-bind-modal {
    background-color: #ffffff;
}

#theme-light:checked ~ * .withdraw-bind-header {
    background-color: #f5f5f5;
    border-bottom-color: #e0e0e0;
}

#theme-light:checked ~ * .withdraw-bind-title {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-close {
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-body {
    background-color: #ffffff;
}

#theme-light:checked ~ * .withdraw-bind-card {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

#theme-light:checked ~ * .withdraw-bind-card-title {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-info-value {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-info-note {
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-status-badge {
    background-color: #4CAF50;
    color: #ffffff;
}

#theme-light:checked ~ * .withdraw-bind-qrcode-view {
    color: #4CAF50;
}

#theme-light:checked ~ * .withdraw-bind-empty-text {
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-add-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
}

#theme-light:checked ~ * .withdraw-bind-form-modal {
    background-color: #f5f5f5;
    border-bottom-color: #e0e0e0;
}

#theme-light:checked ~ * .withdraw-bind-form-title {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-form-close {
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-form-label {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-form-input,
#theme-light:checked ~ * .withdraw-bind-form-select {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-form-input-readonly {
    background-color: #f0f0f0;
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-form-input:focus,
#theme-light:checked ~ * .withdraw-bind-form-select:focus,
#theme-light:checked ~ * .withdraw-bind-password-input:focus {
    border-color: #4CAF50;
}

#theme-light:checked ~ * .withdraw-bind-form-upload-area {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

#theme-light:checked ~ * .withdraw-bind-form-upload-text {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-form-hint {
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-password-forgot a {
    color: #4CAF50;
}

#theme-light:checked ~ * .withdraw-bind-form-btn-cancel {
    background-color: #e0e0e0;
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-form-btn-submit {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
}

#theme-light:checked ~ * .withdraw-bind-password-modal {
    background-color: #f5f5f5;
    border-bottom-color: #e0e0e0;
}

#theme-light:checked ~ * .withdraw-bind-password-title {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-password-close {
    color: #666666;
}

#theme-light:checked ~ * .withdraw-bind-password-text {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-password-label {
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-password-input {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-password-btn-cancel {
    background-color: #e0e0e0;
    color: #333333;
}

#theme-light:checked ~ * .withdraw-bind-password-btn-submit {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
}

/* =========================
   提现绑定模态框 - 蓝色主题适配
========================= */
#theme-blue:checked ~ * .withdraw-bind-modal {
    background-color: #e3f2fd;
}

#theme-blue:checked ~ * .withdraw-bind-header {
    background-color: #bbdefb;
    border-bottom-color: #90caf9;
}

#theme-blue:checked ~ * .withdraw-bind-title {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-close {
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-close:hover {
    background-color: rgba(25, 118, 210, 0.1);
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-body {
    background-color: #e3f2fd;
}

#theme-blue:checked ~ * .withdraw-bind-card {
    background-color: #bbdefb;
    border-color: #90caf9;
}

#theme-blue:checked ~ * .withdraw-bind-card-title {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-info-value {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-info-note {
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-status-badge {
    background-color: #2196F3;
    color: #ffffff;
}

#theme-blue:checked ~ * .withdraw-bind-qrcode-view {
    color: #2196F3;
}

#theme-blue:checked ~ * .withdraw-bind-empty-text {
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-add-btn {
    background: linear-gradient(135deg, #2196F3 0%, #1976d2 100%);
    color: #ffffff;
}

#theme-blue:checked ~ * .withdraw-bind-form-modal {
    background-color: #bbdefb;
    border-bottom-color: #90caf9;
}

#theme-blue:checked ~ * .withdraw-bind-form-title {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-form-close {
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-form-label {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-form-input,
#theme-blue:checked ~ * .withdraw-bind-form-select {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-form-input-readonly {
    background-color: #c5e1fb;
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-form-input:focus,
#theme-blue:checked ~ * .withdraw-bind-form-select:focus,
#theme-blue:checked ~ * .withdraw-bind-password-input:focus {
    border-color: #2196F3;
}

#theme-blue:checked ~ * .withdraw-bind-form-upload-area {
    background-color: #e3f2fd;
    border-color: #90caf9;
}

#theme-blue:checked ~ * .withdraw-bind-form-upload-text {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-form-hint {
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-password-forgot a {
    color: #2196F3;
}

#theme-blue:checked ~ * .withdraw-bind-form-btn-cancel {
    background-color: #90caf9;
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-form-btn-submit {
    background: linear-gradient(135deg, #2196F3 0%, #1976d2 100%);
    color: #ffffff;
}

#theme-blue:checked ~ * .withdraw-bind-password-modal {
    background-color: #bbdefb;
    border-bottom-color: #90caf9;
}

#theme-blue:checked ~ * .withdraw-bind-password-title {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-password-close {
    color: #1976d2;
}

#theme-blue:checked ~ * .withdraw-bind-password-text {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-password-label {
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-password-input {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-password-btn-cancel {
    background-color: #90caf9;
    color: #0d47a1;
}

#theme-blue:checked ~ * .withdraw-bind-password-btn-submit {
    background: linear-gradient(135deg, #2196F3 0%, #1976d2 100%);
    color: #ffffff;
}

/* =========================
   低版本iOS兼容性修复
========================= */
@supports (-webkit-touch-callout: none) {
    .withdraw-bind-body,
    .withdraw-bind-form-body {
        -webkit-overflow-scrolling: touch;
    }
    
    .withdraw-bind-form-input,
    .withdraw-bind-form-select,
    .withdraw-bind-password-input {
        font-size: 16px; /* 防止iOS自动缩放 */
    }
}

/* iOS Safari 特定修复 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .withdraw-bind-form-select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    }
}

