/* ===== 核心功能快捷入口 ===== */
.quick-actions {
	background: #fff;
	margin: 0 16px 12px;
	border-radius: 14px;
	padding: 20px 12px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.quick-actions .action-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 4px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.3s;
}

.quick-actions .action-item:hover {
	background: #f8f9fa;
}

.quick-actions .action-item .action-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.quick-actions .action-item .action-icon.blue {
	background: #e8f0fe;
}

.quick-actions .action-item .action-icon.green {
	background: #e6f7ed;
}

.quick-actions .action-item .action-icon.orange {
	background: #fef3e2;
}

.quick-actions .action-item .action-icon.purple {
	background: #f0e6ff;
}

.quick-actions .action-item .action-icon.red {
	background: #ffe8e8;
}

.quick-actions .action-item .action-icon.teal {
	background: #e0f7fa;
}

.quick-actions .action-item .action-icon.pink {
	background: #fce4ec;
}

.quick-actions .action-item .action-icon.indigo {
	background: #e8eaf6;
}

.quick-actions .action-item .action-name {
	font-size: 12px;
	color: #555;
}

/* ===== 核心资产模块 ===== */
.asset-section {
	background: #fff;
	margin: 0 16px 12px;
	border-radius: 14px;
	padding: 20px 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.asset-section .section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.asset-section .section-header .section-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.asset-section .section-header .section-more {
	font-size: 13px;
	color: #999;
	cursor: pointer;
}

.asset-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.asset-grid .asset-item {
	text-align: center;
	padding: 12px 8px;
	background: #f8f9fa;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.3s;
}

.asset-grid .asset-item:hover {
	background: #f0f2f5;
}

.asset-grid .asset-item .asset-icon {
	font-size: 24px;
	margin-bottom: 4px;
}

.asset-grid .asset-item .asset-value {
	font-size: 18px;
	font-weight: 700;
	color: #333;
}

.asset-grid .asset-item .asset-label {
	font-size: 12px;
	color: #888;
	margin-top: 2px;
}

/* ===== 订单管理 ===== */
.order-section {
	background: #fff;
	margin: 0 16px 12px;
	border-radius: 14px;
	padding: 20px 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.order-section .section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.order-section .section-header .section-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.order-section .section-header .section-more {
	font-size: 13px;
	color: #999;
	cursor: pointer;
}

.order-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 16px;
	background: #f5f6fa;
	border-radius: 8px;
	padding: 2px;
}

.order-tabs .tab-item {
	flex: 1;
	text-align: center;
	padding: 8px 0;
	font-size: 13px;
	color: #666;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.order-tabs .tab-item.active {
	background: #fff;
	color: #667eea;
	font-weight: 500;
	box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.order-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.order-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #f8f9fa;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.3s;
}

.order-item:hover {
	background: #f0f2f5;
}

.order-item .order-status {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.order-item .order-status.success {
	background: #e6f7ed;
}

.order-item .order-status.pending {
	background: #fef3e2;
}

.order-item .order-status.processing {
	background: #e8f0fe;
}

.order-item .order-info {
	flex: 1;
	min-width: 0;
}

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

.order-item .order-info .order-desc {
	font-size: 12px;
	color: #888;
	margin-top: 2px;
}

.order-item .order-amount {
	text-align: right;
}

.order-item .order-amount .amount-value {
	font-size: 16px;
	font-weight: 700;
	color: #667eea;
}

.order-item .order-amount .amount-label {
	font-size: 11px;
	color: #999;
}
/* 表格组件 */
.pay-admin-table-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.pay-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.pay-admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.pay-admin-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: #4a5568;
    border-bottom: 1px solid #f0f2f5;
}

.pay-admin-table tr:hover td {
    background: #f7fafc;
}

.pay-admin-table-empty {
    text-align: center;
    padding: 40px 16px;
    color: #a0aec0;
    font-size: 14px;
}

.pay-admin-table-actions-cell {
    white-space: nowrap;
}
/* ===== 工具与服务 ===== */
.tools-section {
	background: #fff;
	margin: 0 16px 12px;
	border-radius: 14px;
	padding: 20px 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tools-section .section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.tools-section .section-header .section-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.tools-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.tools-list .tool-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 4px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.3s;
}

.tools-list .tool-item:hover {
	background: #f8f9fa;
}

.tools-list .tool-item .tool-icon {
	font-size: 22px;
}

.tools-list .tool-item .tool-name {
	font-size: 12px;
	color: #555;
}

/* ===== 底部导航栏 ===== */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid #f0f0f0;
	display: flex;
	padding: 6px 0;
	padding-bottom: env(safe-area-inset-bottom, 6px);
	z-index: 100;
}

.bottom-nav .nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 6px 0;
	cursor: pointer;
	transition: color 0.3s;
	border: none;
	background: none;
	font-size: 10px;
	color: #999;
}

.bottom-nav .nav-item .nav-icon {
	font-size: 22px;
}

.bottom-nav .nav-item.active {
	color: #667eea;
}

.bottom-nav .nav-item.active .nav-icon {
	color: #667eea;
}

/* ===== 页面间距 ===== */
.page-content {
	padding-bottom: 80px;
}

/* ===== 空状态 ===== */
.empty-state {
	text-align: center;
	padding: 40px 20px;
	color: #999;
}

.empty-state .empty-icon {
	font-size: 48px;
	margin-bottom: 12px;
}

.empty-state .empty-text {
	font-size: 14px;
}
/* 修改密码区域样式 */
.password-section {
    margin: 0 16px 16px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.password-form {
    margin-top: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #f7f8fc;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #667eea;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #a0aec0;
}

#changePasswordBtn {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    font-size: 15px;
}
/* 输入框错误状态 */
.form-input-error {
    border-color: #f56565 !important;
    background: #fff5f5 !important;
}

.form-input-error:focus {
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1) !important;
}

/* 错误提示文字 */
.form-error {
    font-size: 12px;
    color: #f56565;
    margin-top: 4px;
    padding-left: 2px;
}
/* ===== 自适应样式 ===== */

/* 小屏幕设备适配 */
@media screen and (max-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(3, 1fr);
        padding: 16px 8px;
    }
    
    .asset-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-item {
        flex-wrap: wrap;
    }
    
    .order-item .order-amount {
        width: 100%;
        text-align: left;
        padding-left: 52px;
    }
    
    .asset-section .section-header .section-title {
        font-size: 14px;
    }
    
    .pay-admin-table th,
    .pay-admin-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* 超小屏幕设备适配 */
@media screen and (max-width: 480px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin: 0 8px 12px;
    }
    
    .asset-section,
    .order-section,
    .tools-section {
        margin: 0 8px 12px;
        padding: 16px 12px;
    }
    
    .asset-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
    
    .tools-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .tools-list .tool-item {
        padding: 10px 4px;
    }
    
    .order-tabs .tab-item {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .order-item {
        padding: 10px;
    }
    
    .order-item .order-info .order-name {
        font-size: 13px;
    }
    
    .pay-admin-table-wrapper {
        overflow-x: auto;
    }
    
    .pay-admin-table {
        min-width: 600px;
    }
    
    .bottom-nav .nav-item {
        font-size: 9px;
    }
    
    .bottom-nav .nav-item .nav-icon {
        font-size: 20px;
    }
}

/* 大屏设备适配 */
@media screen and (min-width: 1200px) {
    .quick-actions {
        padding: 24px 16px;
    }
    
    .asset-section,
    .order-section,
    .tools-section {
        padding: 24px 20px;
    }
    
    .asset-grid {
        gap: 16px;
    }
    
    .tools-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 横屏模式适配 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .page-content {
        padding-bottom: 60px;
    }
    
    .bottom-nav {
        padding: 4px 0;
    }
    
    .bottom-nav .nav-item {
        padding: 4px 0;
    }
}

/* 暗色模式适配 */
/* @media (prefers-color-scheme: dark) {
    .quick-actions,
    .asset-section,
    .order-section,
    .tools-section,
    .bottom-nav {
        background: #1a1a2e;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    .asset-section .section-header .section-title,
    .order-section .section-header .section-title,
    .tools-section .section-header .section-title {
        color: #e0e0e0;
    }
    
    .asset-grid .asset-item,
    .order-item {
        background: #16213e;
    }
    
    .asset-grid .asset-item .asset-value {
        color: #e0e0e0;
    }
    
    .order-tabs {
        background: #0f3460;
    }
    
    .order-tabs .tab-item.active {
        background: #1a1a2e;
        color: #7c8eff;
    }
    
    .pay-admin-table-wrapper {
        background: #1a1a2e;
    }
    
    .pay-admin-table th {
        background: #16213e;
        color: #a0aec0;
    }
    
    .pay-admin-table td {
        color: #c0c0c0;
        border-bottom-color: #2d3748;
    }
    
    .pay-admin-table tr:hover td {
        background: #16213e;
    }
    
    .quick-actions .action-item:hover,
    .tools-list .tool-item:hover {
        background: #16213e;
    }
    
    .bottom-nav .nav-item {
        color: #666;
    }
    
    .bottom-nav .nav-item.active {
        color: #7c8eff;
    }
} */

/* 高分辨率屏幕适配
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bottom-nav {
        border-top-width: 0.5px;
    }
}

/* 安全区域适配 */
@supports (padding-top: env(safe-area-inset-top)) {
    .bottom-nav {
        padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
    }
}