/* ===== 全局样式 ===== */
.view-framework-body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	background: #f5f6fa;
	color: #333;
	min-height: 100%;
	padding: 24px;
}

.container {
	max-width: 800px;
	margin: 0 auto;
}

/* ===== 页面标题 ===== */
.page-header {
	text-align: center;
	margin-bottom: 24px;
}

.page-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 8px 0;
}

.page-desc {
	font-size: 14px;
	color: #888;
	margin: 0;
}

/* ===== 通用区块标题 ===== */
.section-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-title .title-icon {
	font-size: 18px;
}

/* ===== 提示信息 ===== */
.info-alert {
	background: #e8f4fd;
	border: 1px solid #b3d8f0;
	border-radius: 10px;
	padding: 16px 18px;
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.info-alert .alert-icon {
	font-size: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}

.alert-content {
	flex: 1;
}

.alert-title {
	font-size: 15px;
	font-weight: 600;
	color: #2c6e9c;
	margin: 0 0 8px 0;
}

.alert-text {
	font-size: 13px;
	color: #2c6e9c;
	margin: 4px 0;
	line-height: 1.6;
}

/* ===== 网络选择 ===== */
.network-section {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}

.network-tabs {
	display: flex;
	gap: 12px;
}

.network-tab {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 18px 12px;
	background: #fff;
	border: 2px solid #e8e8e8;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.network-tab:hover {
	border-color: #667eea;
	box-shadow: 0 4px 12px rgba(102,126,234,0.1);
}

.network-tab.active {
	border-color: #667eea;
	background: linear-gradient(135deg, #667eea0d 0%, #764ba20d 100%);
	box-shadow: 0 4px 12px rgba(102,126,234,0.15);
}

.network-tab .tab-icon {
	font-size: 28px;
}

.network-tab .tab-name {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.network-tab .tab-tag {
	position: absolute;
	top: -8px;
	right: -8px;
	padding: 2px 10px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: #fff;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 500;
}

.network-tab.active .tab-name {
	color: #667eea;
}

/* ===== 提币地址 ===== */
.address-section {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}

.address-input-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.input-wrapper {
	display: flex;
	align-items: center;
	background: #f8f9fa;
	border: 2px solid #e8e8e8;
	border-radius: 10px;
	padding: 0 16px;
	transition: border-color 0.3s;
}

.input-wrapper:focus-within {
	border-color: #667eea;
}

.address-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 14px 0;
	font-size: 14px;
	color: #333;
	outline: none;
	min-width: 0;
	font-family: 'Courier New', monospace;
}

.address-input::placeholder {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	color: #bbb;
}

.paste-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	background: #667eea;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.3s;
	flex-shrink: 0;
}

.paste-btn:hover {
	background: #5a6fd6;
}

.address-tips p {
	font-size: 12px;
	color: #999;
	margin: 4px 0;
	line-height: 1.5;
}
/* 地址卡片样式 */
.bound-address-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.address-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.address-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea0d, #764ba20d);
    box-shadow: 0 2px 8px rgba(102,126,234,0.1);
}

.address-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.address-card.selected .address-radio {
    border-color: #667eea;
    background: #667eea;
}

.address-card.selected .radio-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.address-detail {
    flex: 1;
    min-width: 0;
}

.address-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.address-value {
    font-size: 12px;
    color: #888;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.address-tag {
    display: inline-block;
    padding: 1px 8px;
    background: #667eea;
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    margin-top: 4px;
}

.delete-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.delete-btn:hover {
    opacity: 1;
    background: #ffe8e8;
}

.add-address-btn {
    width: 100%;
    padding: 14px;
    border: 2px dashed #ddd;
    background: transparent;
    border-radius: 12px;
    color: #667eea;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-address-btn:hover {
    border-color: #667eea;
    background: #f0f2ff;
}
/* ===== 提现金额 ===== */
.amount-section {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}

.balance-display {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #f8f9fa;
	border-radius: 8px;
	margin-bottom: 16px;
}

.balance-label {
	font-size: 14px;
	color: #666;
}

.balance-value {
	font-size: 18px;
	font-weight: 700;
	color: #667eea;
}

.amount-input-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.amount-input-group .input-wrapper {
	padding: 0 16px;
}

.amount-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 14px 0;
	font-size: 20px;
	font-weight: 600;
	color: #333;
	outline: none;
	min-width: 0;
}

.amount-input::placeholder {
	color: #bbb;
	font-weight: 400;
}

.input-unit {
	font-size: 16px;
	font-weight: 600;
	color: #667eea;
	flex-shrink: 0;
}

.amount-actions {
	display: flex;
	gap: 8px;
}
.pay-admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid #667eea;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.pay-admin-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}
.pay-admin-btn-default {
    background: #e8f0fe;
    color: #667eea;
    border-color: #e2e8f0;
}

.pay-admin-btn-default:hover {
    background: #667eea;
	color: #fff;
	border-color: #667eea;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.action-btn {
	flex: 1;
	padding: 2px;
	background: #e8f0fe;
	border: 1px solid #667eea;
	border-radius: 8px;
	font-size: 13px;
	color: #667eea;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
    display: inline-block;
}

.action-btn:hover {
	background: #667eea;
	color: #fff;
}

.amount-presets {
	display: flex;
	gap: 8px;
}

.preset-btn {
	flex: 1;
	padding: 10px 8px;
	background: #f8f9fa;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
	transition: all 0.3s;
}

.preset-btn:hover {
	background: #e8f0fe;
	border-color: #667eea;
	color: #667eea;
}

.preset-btn.active {
	background: #667eea;
	border-color: #667eea;
	color: #fff;
}

/* ===== 确认信息 ===== */
.confirm-section {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}

.confirm-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f5f5f5;
}

.info-row:last-child {
	border-bottom: none;
}

.info-label {
	font-size: 14px;
	color: #888;
}

.info-value {
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.info-value.highlight {
	font-size: 18px;
	font-weight: 700;
	color: #667eea;
}

.info-value.free {
	color: #52c41a;
}

/* ===== 提交按钮 ===== */
.submit-section {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}

.agreement {
	margin-bottom: 16px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	color: #666;
}

.checkbox-label input[type="checkbox"] {
	display: none;
}

.checkbox-custom {
	width: 18px;
	height: 18px;
	border: 2px solid #ddd;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
	transition: all 0.3s;
}

.checkbox-label input:checked + .checkbox-custom {
	background: #667eea;
	border-color: #667eea;
}

.checkbox-label input:checked + .checkbox-custom::after {
	content: '✓';
	color: #fff;
	font-size: 12px;
	font-weight: bold;
}

.checkbox-label .link {
	color: #667eea;
	text-decoration: none;
}

.btn-submit {
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(102,126,234,0.3);
}

.btn-submit:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.btn-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* ===== 记录入口 ===== */
.records-link {
	text-align: center;
	padding: 16px;
	font-size: 14px;
	color: #666;
}

.records-link .link {
	color: #667eea;
	text-decoration: none;
	margin-left: 4px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
	.view-framework-body {
		padding: 16px;
	}

	.network-tabs {
		gap: 8px;
	}

	.network-tab {
		padding: 14px 8px;
	}

	.amount-presets {
		flex-wrap: wrap;
	}

	.preset-btn {
		flex: 1 1 calc(33.33% - 8px);
	}
}