/* 本地图标库 - SVG图标系统 */
.local-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
    fill: currentColor;
    color: #ff8c00;
    transition: all 0.3s ease;
    border-radius: 6px;
    background: rgba(255, 140, 0, 0.1);
}

/* 图标基础样式 */
.local-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    transition: all 0.3s ease;
}

/* 图标悬停效果 */
.local-icon:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.15);
    transform: scale(1.1);
}

.local-icon:hover svg {
    transform: scale(1.05);
}

/* 图标大小变体 */
.local-icon-sm {
    width: 24px;
    height: 24px;
}

.local-icon-sm svg {
    width: 16px;
    height: 16px;
}

.local-icon-md {
    width: 28px;
    height: 28px;
}

.local-icon-md svg {
    width: 18px;
    height: 18px;
}

.local-icon-lg {
    width: 32px;
    height: 32px;
}

.local-icon-lg svg {
    width: 20px;
    height: 20px;
}

.local-icon-xl {
    width: 36px;
    height: 36px;
}

.local-icon-xl svg {
    width: 22px;
    height: 22px;
}

/* 图标颜色变体 */
.local-icon-primary {
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.1);
}

.local-icon-primary:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.15);
}

.local-icon-secondary {
    color: #666;
    background: rgba(102, 102, 102, 0.1);
}

.local-icon-secondary:hover {
    color: #333;
    background: rgba(51, 51, 51, 0.15);
}

.local-icon-white {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.local-icon-white:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.3);
}

/* 无背景版本 */
.local-icon-no-bg {
    background: transparent !important;
}

/* 圆形图标 */
.local-icon-circle {
    border-radius: 50%;
}

/* 图标动画效果 */
.local-icon-pulse {
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}