﻿/* Stili aggiuntivi per il tag dell'indicatore nel chart header */

.chart-info h4 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.indicator-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    animation: slideInRight 0.3s ease-out;
}

    .indicator-tag i {
        font-size: 11px;
    }

.indicator-id {
    opacity: 0.85;
    font-size: 11px;
    font-weight: 400;
    margin-left: 2px;
}

/* Parametri indicatore */
.indicator-params {
    opacity: 0.9;
    font-size: 12px;
    font-weight: 500;
}

/* Pulsante rimuovi indicatore */
.remove-indicator {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 0 0 6px;
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .remove-indicator:hover {
        opacity: 1;
    }

    .remove-indicator i {
        font-size: 11px;
    }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .chart-info h4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .indicator-tag {
        font-size: 11px;
        padding: 3px 10px;
    }
}
