/* ============================================
   Football AI Analyzer - SVG Icon System v1.0
   Phase K1.1-A: 替换emoji为统一专业图标
   ============================================ */

/* ===== Icon Base ===== */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== Icon Sizes ===== */
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
.icon-2xl { width: 40px; height: 40px; }
.icon-3xl { width: 48px; height: 48px; }

/* ===== Icon Colors ===== */
.icon-primary { color: var(--primary); }
.icon-info { color: var(--info); }
.icon-success { color: var(--success); }
.icon-warning { color: var(--warning); }
.icon-danger { color: var(--danger); }
.icon-purple { color: var(--purple); }
.icon-muted { color: var(--text-muted); }
.icon-secondary { color: var(--text-secondary); }

/* ===== Icon with text ===== */
.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===== Icon-only button ===== */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text);
}

/* ===== Animated icon ===== */
.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.icon-spin {
    animation: iconSpin 1s linear infinite;
}

@keyframes iconSpin {
    to { transform: rotate(360deg); }
}
