.result-box {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1.2rem;
            border: 1px solid #e9ecef;
            margin-top: 1rem;
            white-space: pre-wrap;
            word-break: break-word;
            max-height: 300px;
            overflow-y: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
        }
        .stat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.8rem;
            margin: 1rem 0;
        }
        .stat-card {
            background: white;
            border-radius: 6px;
            padding: 0.8rem 0.5rem;
            text-align: center;
            border: 1px solid #e9ecef;
            box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        }
        .stat-number {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .stat-label {
            font-size: 0.75rem;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .option-group {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 1rem;
            margin: 0.8rem 0;
        }
        .option-group .form-check {
            margin-bottom: 0.3rem;
        }
        .option-group .form-check:last-child {
            margin-bottom: 0;
        }
        .sample-badge {
            background: rgba(70, 130, 180, 0.08);
            border: 1px solid rgba(70, 130, 180, 0.15);
            border-radius: 20px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
            display: inline-block;
            margin: 0.2rem;
        }
        .sample-badge:hover {
            background: rgba(70, 130, 180, 0.18);
            transform: translateY(-1px);
        }
        .compliance-badge {
            display: inline-block;
            background: #e7f3ff;
            color: #004085;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin: 0.2rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .legend {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.2rem;
            margin: 0.5rem 0;
            font-size: 0.85rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 14px;
            height: 14px;
            border-radius: 4px;
        }
        .legend-color.green { background-color: #28a745; }
        .legend-color.red { background-color: #dc3545; }
        .legend-color.blue { background-color: #0d6efd; }
        .legend-color.orange { background-color: #fd7e14; }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .tool-header .lead {
            font-size: 1.1rem;
        }
        .badge-pill {
            font-size: 0.7rem;
            padding: 0.3rem 0.7rem;
        }
        .sanitize-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 0.5rem 0;
        }
        .sanitize-stats .stat-item {
            background: white;
            border-radius: 6px;
            padding: 0.4rem 1rem;
            border: 1px solid #e9ecef;
            font-size: 0.85rem;
        }
        .sanitize-stats .stat-item strong {
            color: var(--primary-color);
        }
        .accordion-button:not(.collapsed) {
            background-color: rgba(70, 130, 180, 0.05);
            color: var(--accent-color);
        }
        .accordion-button:focus {
            box-shadow: none;
            border-color: rgba(70, 130, 180, 0.25);
        }
        @media (max-width: 768px) {
            .stat-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }