﻿/* Styles spécifiques pour le rapport */
        .report-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 2rem;
            background: var(--bg-primary);
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .report-header {
            text-align: center;
            padding: 2rem 0;
            border-bottom: 3px solid #3b82f6;
            margin-bottom: 2rem;
        }

        .report-header h1 {
            color: #3b82f6;
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .report-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: var(--bg-secondary);
            border-radius: 8px;
        }

        .info-item {
            display: flex;
            flex-direction: column;
        }

        .info-label {
            font-weight: 600;
            color: #3b82f6;
            margin-bottom: 0.25rem;
            font-size: 0.85rem;
            text-transform: uppercase;
        }

        .info-value {
            color: var(--text-primary);
            font-size: 0.95rem;
        }

        .report-section {
            margin-bottom: 3rem;
        }

        .report-section h2 {
            color: #3b82f6;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e5e7eb;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .report-section h3 {
            color: #3b82f6;
            font-size: 1.2rem;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .report-section p {
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            text-align: justify;
        }

        .report-section ul,
        .report-section ol {
            margin-left: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }

        .report-section li {
            margin-bottom: 0.75rem;
            line-height: 1.6;
        }

        .vulnerability-card {
            background: var(--bg-secondary);
            border-left: 4px solid #ef4444;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-radius: 0 8px 8px 0;
        }

        .vulnerability-card.medium {
            border-left-color: #f59e0b;
        }

        .vulnerability-card.low {
            border-left-color: #10b981;
        }

        .vulnerability-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .vulnerability-title {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 1.1rem;
        }

        .severity-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .severity-critical {
            background: #fee2e2;
            color: #991b1b;
        }

        .severity-high {
            background: #fef3c7;
            color: #92400e;
        }

        .severity-medium {
            background: #dbeafe;
            color: #1e40af;
        }

        .severity-low {
            background: #d1fae5;
            color: #065f46;
        }

        .vulnerability-description {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .recommendation-box {
            background: #dbeafe;
            border-left: 4px solid #3b82f6;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }

        [data-theme="dark"] .recommendation-box {
            background: rgba(59, 130, 246, 0.1);
        }

        .recommendation-box h4 {
            color: #3b82f6;
            margin-bottom: 0.75rem;
            font-size: 1rem;
        }

        .recommendation-box ul {
            margin-left: 1.5rem;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }

        .metric-card {
            background: var(--bg-secondary);
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            border: 2px solid var(--border-color);
        }

        .metric-value {
            font-size: 2rem;
            font-weight: 700;
            color: #3b82f6;
            display: block;
            margin-bottom: 0.5rem;
        }

        .metric-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .tool-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 2rem 0;
        }

        .tool-tag {
            background: #3b82f6;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .print-button {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
            transition: all 0.3s ease;
        }

        .print-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
        }

        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: #6b7280;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            margin-bottom: 2rem;
            transition: all 0.3s ease;
        }

        .back-button:hover {
            background: #4b5563;
            transform: translateX(-5px);
        }

        @media print {
            .back-button,
            .print-button,
            header,
            footer {
                display: none !important;
            }

            .report-container {
                box-shadow: none;
                padding: 0;
            }
        }

        @media (max-width: 768px) {
            .report-container {
                padding: 1rem;
            }

            .report-header h1 {
                font-size: 1.5rem;
            }

            .metrics-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .print-button {
                bottom: 1rem;
                right: 1rem;
                width: 50px;
                height: 50px;
            }
        }