/* ============================================
   CEKDATA.WEB.ID - Lucide Icons Styles
   ============================================ */

/* Lucide Icon Base */
.lucide {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Icon Sizes */
.lucide-xs { width: 14px; height: 14px; }
.lucide-sm { width: 18px; height: 18px; }
.lucide-md { width: 24px; height: 24px; }
.lucide-lg { width: 32px; height: 32px; }
.lucide-xl { width: 48px; height: 48px; }
.lucide-2xl { width: 64px; height: 64px; }

/* Icon Container */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
}

.icon-square {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
}

/* Category Icons */
.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.category-icon svg {
    width: 28px;
    height: 28px;
}

.tool-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Section Icons */
.section-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.section-icon svg {
    width: 24px;
    height: 24px;
}

/* Tool Card Icon */
.tool-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    color: white;
}

.tool-card-icon svg {
    width: 28px;
    height: 28px;
}

.tool-card:hover .tool-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Logo Icon */
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: transform 0.3s ease;
    color: white;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

/* Button Icons */
.btn .lucide {
    width: 18px;
    height: 18px;
}

/* Input Icons */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.input-icon + input {
    padding-left: 3rem;
}

/* Icon Colors */
.icon-primary { color: var(--primary); }
.icon-secondary { color: var(--accent-1); }
.icon-success { color: var(--success); }
.icon-warning { color: var(--warning); }
.icon-error { color: var(--error); }
.icon-info { color: var(--info); }

/* Icon Animations */
@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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