/* PRO FACTORY CSS Styles */

/* AI Insights Sidebar Styles */
.ai-insights-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: var(--bs-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

.ai-insights-sidebar.active {
    right: 0;
}

.sidebar-toggle-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: transform 0.2s, opacity 0.2s;
}

.sidebar-toggle-btn:hover {
    transform: scale(1.05);
    opacity: 1;
}

.sidebar-toggle-btn.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Market Leading Innovations Styles */
.innovation-banner {
    background: linear-gradient(135deg, #4527a0, #8a70d6);
    color: white;
    padding: 2.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.innovation-banner::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.innovation-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.innovation-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.innovation-badge i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.innovation-card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    background-color: var(--bs-dark);
}

.innovation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.innovation-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: transform 0.3s;
}

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

.feature-alert {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Floating innovation highlight */
.innovation-floating-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff4081, #ff9100);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1030;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.innovation-floating-badge:hover {
    transform: translateY(-5px);
}

.innovation-floating-badge i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Insight cards styling */
.insight-card {
    border-left-width: 4px;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.insight-card:hover {
    transform: translateX(-5px);
}

.insight-card.priority-high {
    border-left-color: var(--bs-danger);
}

.insight-card.priority-medium {
    border-left-color: var(--bs-warning);
}

.insight-card.priority-low {
    border-left-color: var(--bs-info);
}