/* Styles personnalisés pour la page IA Factory */

/* Graphique de performance linéaire */
.chart-line {
    position: relative;
    height: 200px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.3));
    border-radius: 5px;
    overflow: hidden;
}

.chart-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, transparent 49.5%, #d4af37 50%);
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    opacity: 0.7;
}

.chart-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #050505, #d4af37);
}

/* Ligne de tendance linéaire */
.linear-trend {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.linear-trend::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d4af37;
    transform-origin: left bottom;
    transform: rotate(-35deg);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Améliorations visuelles pour les statistiques */
.performance-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.7), rgba(20, 20, 20, 0.7));
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(30, 30, 30, 0.8));
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.stat-item h4 {
    color: #d4af37;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-value {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    margin: 0 !important;
}
