/**
 * XutuAI Admin - 自定义样式
 */

/* ========================================
   仪表盘 - 统计卡片
   ======================================== */
.dashboard-stat-card .layui-card-body {
    display: flex;
    align-items: center;
    padding: 20px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon .layui-icon {
    font-size: 26px;
    color: #fff;
}

.stat-info {
    margin-left: 16px;
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

/* ========================================
   仪表盘 - 信息卡片
   ======================================== */
.dashboard-info-box {
    padding: 30px 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dashboard-info-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dashboard-info-box .info-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 12px 0 6px;
}

.dashboard-info-box .info-desc {
    font-size: 13px;
    color: #999;
}

/* ========================================
   暗色模式适配
   ======================================== */
.pear-admin-dark .stat-value {
    color: #e0e0e0;
}

.pear-admin-dark .dashboard-info-box {
    border-color: #3a3a3a;
}

.pear-admin-dark .dashboard-info-box .info-title {
    color: #e0e0e0;
}

.pear-admin-dark .dashboard-info-box .info-desc {
    color: #888;
}

/* ========================================
   顶部用户区域
   ======================================== */
#header-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 6px;
    object-fit: cover;
}

#header-nickname {
    vertical-align: middle;
    font-size: 14px;
}
