.danger-note {
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            margin: 1rem 0;
        }
        .canvas-container {
            margin-top: 2rem;
            text-align: center;
        }
        #lossChart {
            max-height: 350px;
            width: 100%;
            background: #fafbfc;
            border-radius: 12px;
            padding: 10px;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 10px;
            font-size: 0.8rem;
        }
        .legend-color {
            width: 16px;
            height: 2px;
            display: inline-block;
            background: #0d6efd;
            vertical-align: middle;
        }
        .coeff-note {
            font-size: 0.85rem;
            color: #2c3e50;
            background: #f8f9fa;
            padding: 0.5rem;
            border-radius: 6px;
        }
        .validation-badge {
            background-color: #d1e7dd;
            color: #0f5132;
            border-radius: 20px;
            padding: 0.25rem 0.75rem;
            font-size: 0.8rem;
            display: inline-block;
            margin-bottom: 0.5rem;
        }
        .tooltip-icon {
            border-bottom: 1px dashed #6c757d;
            cursor: help;
            margin-left: 4px;
        }
        .toast-custom {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1100;
            min-width: 260px;
            background: #28a745;
            color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            padding: 12px 20px;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .toast-custom.show {
            opacity: 1;
            pointer-events: auto;
        }
        .toast-custom i {
            margin-right: 8px;
        }