/* ========================================
   凤凰官网 - SVG图标系统
   方案A：轻量级SVG图标，完美适配主题
   ======================================== */

/* ===== SVG图标基础样式 ===== */
.icon-svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* 尺寸变体 */
.icon-svg.icon-xs {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.icon-svg.icon-sm {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.icon-svg.icon-md {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.icon-svg.icon-lg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.icon-svg.icon-xl {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

/* 颜色主题 */
.icon-primary {
    color: #d4af37;
}

.icon-success {
    color: #10b981;
}

.icon-danger {
    color: #ef4444;
}

.icon-secondary {
    color: #6b4e16;
}

.icon-white {
    color: white;
}

/* ===== 图标定义 ===== */

/* 汉堡菜单图标 */
.icon-menu {
    /* 由SVG path定义 */
}

/* 刷新图标 */
.icon-refresh {
    /* 由SVG path定义 */
}

/* 刷新图标动画效果 */
.icon-refresh:hover {
    animation: icon-spin 1s ease-in-out;
}

@keyframes icon-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 复制图标 */
.icon-copy {
    /* 由SVG path定义 */
}

/* 对勾/批准图标 */
.icon-check {
    /* 由SVG path定义 */
}

/* 圆形对勾（用于认证徽章） */
.icon-check-circle {
    /* 由SVG path定义 */
}

/* 叉号/拒绝图标 */
.icon-close {
    /* 由SVG path定义 */
}

/* 文档图标 */
.icon-document {
    /* 由SVG path定义 */
}

/* 锁图标 */
.icon-lock {
    /* 由SVG path定义 */
}

/* 日历图标 */
.icon-calendar {
    /* 由SVG path定义 */
}

/* 信息/提示图标 */
.icon-info {
    /* 由SVG path定义 */
}

/* 足球图标 */
.icon-soccer {
    /* 由SVG path定义 */
}

/* ===== 特殊样式：按钮中的图标 ===== */
.btn .icon-svg,
.chart-refresh .icon-svg {
    margin-right: 4px;
    vertical-align: -2px;
}

.btn-small .icon-svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* 单独的图标按钮 */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* ===== 侧边栏折叠按钮优化 ===== */
.sidebar-toggle .icon-svg {
    width: 20px;
    height: 20px;
}

/* ===== 图表刷新按钮优化 ===== */
.chart-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chart-refresh .icon-svg {
    margin: 0;
}

/* ===== 复制按钮优化 ===== */
.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-copy .icon-svg {
    margin: 0;
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
    .icon-svg {
        width: 18px;
        height: 18px;
    }
    
    .icon-svg.icon-lg {
        width: 22px;
        height: 22px;
    }
}

