/**
 * Icons System - Simulador de Rotinas
 * Modern SVG-based icons with theme colors
 */

/* Icon Base Styles */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Icon Sizes */
.icon-sm {
    width: 0.875em;
    height: 0.875em;
}

.icon-md {
    width: 1.25em;
    height: 1.25em;
}

.icon-lg {
    width: 1.5em;
    height: 1.5em;
}

.icon-xl {
    width: 2em;
    height: 2em;
}

.icon-xxl {
    width: 3em;
    height: 3em;
}

/* Icon Colors */
.icon-primary {
    color: #7868E6;
}

.icon-secondary {
    color: #B8B5FF;
}

.icon-light {
    color: #E4FBFF;
}

.icon-white {
    color: #FFFFFF;
}

.icon-gradient {
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Icons */
.icon-spin {
    animation: icon-spin 2s linear infinite;
}

.icon-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

.icon-bounce {
    animation: icon-bounce 1s ease infinite;
}

@keyframes icon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes icon-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Category Icons */
.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
    font-size: 14px;
    margin-right: 0.5rem;
}

/* Button Icons */
.btn-icon-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn .icon {
    margin-right: 0.3rem;
}

/* Header Icons */
.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(120, 104, 230, 0.1), rgba(184, 181, 255, 0.1));
    color: #7868E6;
    margin-right: 0.75rem;
    font-size: 18px;
}

/* Onboarding Icon */
.onboarding-icon-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 40px;
}

/* Drop Zone Icon */
.drop-icon-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(120, 104, 230, 0.1), rgba(184, 181, 255, 0.1));
    border: 3px dashed rgba(120, 104, 230, 0.3);
}

.drop-icon-modern svg {
    width: 35px;
    height: 35px;
    fill: #7868E6;
}

@media (max-width: 480px) {
    .drop-icon-modern {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
        border-width: 2px;
    }

    .drop-icon-modern svg {
        width: 25px;
        height: 25px;
    }
}

/* Activity Badge Icons */
.activity-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-right: 0.25rem;
}

/* Status Icons */
.status-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-icon.active {
    background: #00b894;
    box-shadow: 0 0 8px rgba(0, 184, 148, 0.5);
}

.status-icon.paused {
    background: #fdcb6e;
    box-shadow: 0 0 8px rgba(253, 203, 110, 0.5);
}

.status-icon.completed {
    background: #7868E6;
    box-shadow: 0 0 8px rgba(120, 104, 230, 0.5);
}

/* Icon Hover Effects */
.icon-hover {
    transition: all 0.3s ease;
}

.icon-hover:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(120, 104, 230, 0.3));
}

/* Navigation Icons */
.nav-icon {
    display: inline-flex;
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* Timeline Icons */
.timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 0.5rem;
}

/* SVG Icon Definitions */
.svg-icons {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Hamburger Menu Icon Animations */
.mobile-menu-toggle .icon {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover .icon {
    transform: scale(1.1);
}

.mobile-menu-toggle.active .menu-icon {
    animation: rotateOut 0.3s ease;
}

.mobile-menu-toggle.active .close-icon {
    animation: rotateIn 0.3s ease;
}

@keyframes rotateOut {
    from {
        transform: rotate(0deg);
        opacity: 1;
    }
    to {
        transform: rotate(90deg);
        opacity: 0;
    }
}

@keyframes rotateIn {
    from {
        transform: rotate(-90deg);
        opacity: 0;
    }
    to {
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* Menu Slide Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

