

    html:not([data-theme="dark"]) #exportDropdownBtn::after,
    body:not([data-theme="dark"]) #exportDropdownBtn::after {
        border-top-color: #fff !important;
    }
    html[data-theme="light"] #exportDropdownBtn::after,
    body[data-theme="light"] #exportDropdownBtn::after {
        border-top-color: #fff !important;
    }

    html[data-theme="dark"] #http-headers-modal-display,
    body[data-theme="dark"] #http-headers-modal-display {
        background-color: #1e1e1e !important;
        color: #e0e0e0 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    html[data-theme="light"] #http-headers-modal-display,
    html:not([data-theme="dark"]) #http-headers-modal-display,
    body[data-theme="light"] #http-headers-modal-display,
    body:not([data-theme="dark"]) #http-headers-modal-display {
        background-color: #f8f9fa !important;
        color: #495057 !important;
        border-color: #e9ecef !important;
    }

    .header-row {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    html[data-theme="dark"] .header-row,
    body[data-theme="dark"] .header-row {
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }
    html[data-theme="dark"] .header-row div,
    body[data-theme="dark"] .header-row div {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] .header-row strong,
    body[data-theme="dark"] .header-row strong {
        color: rgba(255, 255, 255, 1) !important;
    }
    html[data-theme="light"] .header-row div,
    html:not([data-theme="dark"]) .header-row div,
    body[data-theme="light"] .header-row div,
    body:not([data-theme="dark"]) .header-row div {
        color: #495057 !important;
    }
    html[data-theme="light"] .header-row strong,
    html:not([data-theme="dark"]) .header-row strong,
    body[data-theme="light"] .header-row strong,
    body:not([data-theme="dark"]) .header-row strong {
        color: #212529 !important;
    }
    html[data-theme="dark"] .result-divider::before,
    body[data-theme="dark"] .result-divider::before {
        background-color: rgba(255, 255, 255, 0.1);
    }
    html[data-theme="dark"] .result-divider-text,
    body[data-theme="dark"] .result-divider-text {
        background-color: #282828;
        color: rgba(255, 255, 255, 0.7);
    }
    html[data-theme="dark"] #http-header-card,
    body[data-theme="dark"] #http-header-card {
        background-color: #282828;
    }

    #http-header-body .card {
        border-radius: 12px !important;
    }

    #http-header-body .card-body:not(#http-header-info-body) {
        padding: 0 1rem 0.5rem 1rem !important;
        min-height: auto;
    }
    #http-header-body .card-header {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }


    #http-header-body #http-header-info-body,
    #http-header-info-body {
        padding: 1rem 1.25rem 1rem 1.25rem !important;
        min-height: auto !important;
    }

    .status-icon-wrapper {
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .status-icon-wrapper .icon-svg {
        display: block !important;
        margin: 0 auto !important;
        flex-shrink: 0;
    }
    .status-icon-wrapper .security-grade-badge {
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .status-card-body {
        min-height: 150px;
        padding: 1rem !important;
        padding-top: 2rem !important;
    }

    #header-status-icon,
    #header-security-icon,
    #header-count-icon {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 60px !important;
        text-align: center !important;
        margin-top: 0.5rem !important;
    }

    #header-status-icon .status-icon-wrapper,
    #header-security-icon .status-icon-wrapper,
    #header-count-icon .status-icon-wrapper {
        margin: 0 auto !important;
        flex-shrink: 0 !important;
        width: 60px !important;
        height: 60px !important;
    }

    #header-security-icon .status-icon-wrapper .security-grade-badge {
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
        line-height: 1 !important;
    }

    #header-status-text,
    #header-security-text,
    #header-count-text {
        font-size: 1rem;
        font-weight: 600;
    }
    #header-status-details,
    #header-security-details,
    #header-count-details {
        font-size: 1rem;
        color: #6c757d;
    }
    html[data-theme="dark"] #header-status-details,
    html[data-theme="dark"] #header-security-details,
    html[data-theme="dark"] #header-count-details,
    body[data-theme="dark"] #header-status-details,
    body[data-theme="dark"] #header-security-details,
    body[data-theme="dark"] #header-count-details {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    #http-headers-display {
        color: #333 !important;
        font-family: 'Courier New', Courier, monospace;
        font-size: 1rem;
        line-height: 1.5;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    html[data-theme="dark"] #http-headers-display,
    body[data-theme="dark"] #http-headers-display {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .security-grade-badge {
        font-size: 3.5rem;
        font-weight: 900;
        line-height: 1;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    html[data-theme="dark"] .security-grade-badge,
    body[data-theme="dark"] .security-grade-badge {
        opacity: 0.95;
    }

    .status-excellent { color: #04b962 !important; }
    .status-good { color: #28a745 !important; }
    .status-present { color: #ffc107 !important; }
    .status-missing { color: #dc3545 !important; }
    .status-deprecated { color: #fd7e14 !important; }
    html[data-theme="dark"] .status-excellent,
    body[data-theme="dark"] .status-excellent { color: #04b962 !important; }
    html[data-theme="dark"] .status-good,
    body[data-theme="dark"] .status-good { color: #28a745 !important; }
    html[data-theme="dark"] .status-present,
    body[data-theme="dark"] .status-present { color: #ffc107 !important; }
    html[data-theme="dark"] .status-missing,
    body[data-theme="dark"] .status-missing { color: #dc3545 !important; }
    html[data-theme="dark"] .status-deprecated,
    body[data-theme="dark"] .status-deprecated { color: #fd7e14 !important; }

    html[data-theme="dark"] #security-details-content .security-header-section,
    body[data-theme="dark"] #security-details-content .security-header-section {
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }
    html[data-theme="dark"] #security-details-content .security-header-name,
    html[data-theme="dark"] #security-details-content strong,
    body[data-theme="dark"] #security-details-content .security-header-name,
    body[data-theme="dark"] #security-details-content strong {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] #security-details-content .security-header-missing,
    html[data-theme="dark"] #security-details-content .text-muted,
    body[data-theme="dark"] #security-details-content .security-header-missing,
    body[data-theme="dark"] #security-details-content .text-muted {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    html[data-theme="dark"] #security-details-content .security-header-value-text,
    body[data-theme="dark"] #security-details-content .security-header-value-text {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    html[data-theme="dark"] #security-details-content .security-analysis-text,
    body[data-theme="dark"] #security-details-content .security-analysis-text {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    html[data-theme="dark"] #security-details-content .security-recommendation,
    body[data-theme="dark"] #security-details-content .security-recommendation {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    html[data-theme="dark"] #security-details-content .overall-recommendations-title,
    body[data-theme="dark"] #security-details-content .overall-recommendations-title {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] #security-details-content .overall-grade-section,
    body[data-theme="dark"] #security-details-content .overall-grade-section {
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }
    html[data-theme="dark"] #security-details-content .overall-score-text,
    body[data-theme="dark"] #security-details-content .overall-score-text {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] #security-details-content .overall-recommendations-section,
    body[data-theme="dark"] #security-details-content .overall-recommendations-section {
        border-top-color: rgba(255, 255, 255, 0.1) !important;
    }

    html[data-theme="dark"] #securityDetailsModal .modal-content,
    body[data-theme="dark"] #securityDetailsModal .modal-content {
        background-color: #282828 !important;
    }
    html[data-theme="dark"] #securityDetailsModal .modal-header,
    body[data-theme="dark"] #securityDetailsModal .modal-header {
        background-color: rgba(0, 0, 0, 0.2) !important;
        border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    }
    html[data-theme="dark"] #securityDetailsModal .modal-body,
    body[data-theme="dark"] #securityDetailsModal .modal-body {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] #securityDetailsModal .modal-footer,
    body[data-theme="dark"] #securityDetailsModal .modal-footer {
        background-color: rgba(0, 0, 0, 0.2) !important;
        border-top-color: rgba(255, 255, 255, 0.12) !important;
    }

    .match-status-detail-card .card-body .copy-btn,
    .match-status-detail-card .card-body .btn-outline-primary {
        border-color: rgba(0, 0, 0, 0.3) !important;
        color: rgba(0, 0, 0, 0.7) !important;
        background-color: transparent !important;
    }
    html[data-theme="dark"] .match-status-detail-card .card-body .copy-btn,
    html[data-theme="dark"] .match-status-detail-card .card-body .btn-outline-primary,
    body[data-theme="dark"] .match-status-detail-card .card-body .copy-btn,
    body[data-theme="dark"] .match-status-detail-card .card-body .btn-outline-primary {
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: rgba(255, 255, 255, 0.7) !important;
        background-color: transparent !important;
    }
    html[data-theme="dark"] .match-status-detail-card .card-body .copy-btn:hover,
    html[data-theme="dark"] .match-status-detail-card .card-body .btn-outline-primary:hover,
    body[data-theme="dark"] .match-status-detail-card .card-body .copy-btn:hover,
    body[data-theme="dark"] .match-status-detail-card .card-body .btn-outline-primary:hover {
        border-color: rgba(255, 255, 255, 0.5) !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .quick-info-item {
        padding: 0.35rem 0;
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    .quick-info-item:first-child {
        padding-top: 0.15rem;
    }
    .quick-info-separator {
        margin: 0.4rem 0;
        border: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        opacity: 1;
    }
    html[data-theme="dark"] .quick-info-separator,
    body[data-theme="dark"] .quick-info-separator {
        border-top-color: rgba(255, 255, 255, 0.1);
    }
    .quick-info-item strong {
        font-size: 0.9rem;
        font-weight: 600;
        color: #495057;
        margin-right: 0.25rem;
    }
    .quick-info-item span {
        font-size: 0.95rem;
        font-weight: 500;
        color: #212529;
    }
    html[data-theme="dark"] .quick-info-item strong,
    body[data-theme="dark"] .quick-info-item strong {
        color: rgba(255, 255, 255, 0.9);
    }
    html[data-theme="dark"] .quick-info-item span,
    body[data-theme="dark"] .quick-info-item span {
        color: rgba(255, 255, 255, 0.8);
    }
    html[data-theme="light"] .quick-info-item strong,
    html:not([data-theme="dark"]) .quick-info-item strong,
    body[data-theme="light"] .quick-info-item strong,
    body:not([data-theme="dark"]) .quick-info-item strong {
        color: #495057;
    }
    html[data-theme="light"] .quick-info-item span,
    html:not([data-theme="dark"]) .quick-info-item span,
    body[data-theme="light"] .quick-info-item span,
    body:not([data-theme="dark"]) .quick-info-item span {
        color: #6c757d;
    }

    .security-status-present {
        color: #04b962;
        font-weight: 600;
    }
    .security-status-missing {
        color: #dc3545;
        font-weight: 600;
    }

    .header-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 0.75rem 0;
    }
    .header-item:last-child {
        border-bottom: none;
    }
    html[data-theme="dark"] .header-item,
    body[data-theme="dark"] .header-item {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    .header-name {
        font-weight: 600;
        color: #495057;
        font-family: monospace;
        font-size: 0.9rem;
    }
    html[data-theme="dark"] .header-name,
    body[data-theme="dark"] .header-name {
        color: rgba(255, 255, 255, 0.9);
    }
    .header-value {
        color: #6c757d;
        font-family: monospace;
        font-size: 0.85rem;
        word-break: break-all;
    }
    html[data-theme="dark"] .header-value,
    body[data-theme="dark"] .header-value {
        color: rgba(255, 255, 255, 0.8);
    }

    html[data-theme="dark"] .overall-grade-section .card,
    body[data-theme="dark"] .overall-grade-section .card {
        background-color: rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }
    html[data-theme="dark"] .overall-grade-section .status-icon-wrapper,
    body[data-theme="dark"] .overall-grade-section .status-icon-wrapper {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    html[data-theme="dark"] .overall-grade-section .card-body,
    body[data-theme="dark"] .overall-grade-section .card-body {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] .overall-score-text,
    body[data-theme="dark"] .overall-score-text {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="color: #6c757d"],
    body[data-theme="dark"] .overall-grade-section [style*="color: #6c757d"] {
        color: rgba(255, 255, 255, 0.65) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="color: #495057"],
    body[data-theme="dark"] .overall-grade-section [style*="color: #495057"] {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="background: linear-gradient"],
    body[data-theme="dark"] .overall-grade-section [style*="background: linear-gradient"] {
        background: rgba(0, 0, 0, 0.2) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="border: 2px solid rgba(4, 185, 98"],
    body[data-theme="dark"] .overall-grade-section [style*="border: 2px solid rgba(4, 185, 98"] {
        border-color: rgba(4, 185, 98, 0.4) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="border: 2px solid rgba(220, 53, 69"],
    body[data-theme="dark"] .overall-grade-section [style*="border: 2px solid rgba(220, 53, 69"] {
        border-color: rgba(220, 53, 69, 0.4) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="border: 2px solid rgba(0, 0, 0, 0.12)"],
    body[data-theme="dark"] .overall-grade-section [style*="border: 2px solid rgba(0, 0, 0, 0.12)"] {
        border-color: rgba(255, 255, 255, 0.15) !important;
    }

    html[data-theme="dark"] .overall-grade-section [style*="color: #495057"],
    body[data-theme="dark"] .overall-grade-section [style*="color: #495057"] {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="color: #6c757d"],
    body[data-theme="dark"] .overall-grade-section [style*="color: #6c757d"] {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    html[data-theme="dark"] .overall-grade-section [style*="background: rgba(0, 0, 0, 0.05)"],
    body[data-theme="dark"] .overall-grade-section [style*="background: rgba(0, 0, 0, 0.05)"] {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    html[data-theme="dark"] .overall-grade-section [style*="border: 1px solid rgba(0, 0, 0, 0.1)"],
    body[data-theme="dark"] .overall-grade-section [style*="border: 1px solid rgba(0, 0, 0, 0.1)"] {
        border-color: rgba(255, 255, 255, 0.15) !important;
    }

    html[data-theme="dark"] .security-header-card,
    body[data-theme="dark"] .security-header-card {
        background-color: rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }
    html[data-theme="dark"] .security-header-card .card-body,
    body[data-theme="dark"] .security-header-card .card-body {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] .security-header-name,
    body[data-theme="dark"] .security-header-name {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    html[data-theme="dark"] .security-header-card [style*="background: #f8f9fa"],
    body[data-theme="dark"] .security-header-card [style*="background: #f8f9fa"] {
        background: rgba(255, 255, 255, 0.05) !important;
    }
    html[data-theme="dark"] .security-header-value-text,
    body[data-theme="dark"] .security-header-value-text {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    html[data-theme="dark"] .security-analysis-text,
    body[data-theme="dark"] .security-analysis-text {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    html[data-theme="dark"] .security-recommendation,
    body[data-theme="dark"] .security-recommendation {
        color: rgba(255, 255, 255, 0.75) !important;
    }
    html[data-theme="dark"] .security-header-card [style*="color: #6c757d"],
    body[data-theme="dark"] .security-header-card [style*="color: #6c757d"] {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    html[data-theme="dark"] .security-header-card [style*="color: #495057"],
    body[data-theme="dark"] .security-header-card [style*="color: #495057"] {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    html[data-theme="dark"] .security-header-card [style*="background: rgba(220, 53, 69, 0.05)"],
    body[data-theme="dark"] .security-header-card [style*="background: rgba(220, 53, 69, 0.05)"] {
        background: rgba(220, 53, 69, 0.15) !important;
    }

    html[data-theme="dark"] .overall-recommendations-card,
    body[data-theme="dark"] .overall-recommendations-card {
        background-color: rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        border-left-color: #ffc107 !important;
    }
    html[data-theme="dark"] .overall-recommendations-title,
    body[data-theme="dark"] .overall-recommendations-title {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    html[data-theme="dark"] .recommendation-item,
    body[data-theme="dark"] .recommendation-item {
        background: rgba(255, 255, 255, 0.05) !important;
        border-left-color: #ffc107 !important;
    }
    html[data-theme="dark"] .recommendation-text,
    body[data-theme="dark"] .recommendation-text {
        color: rgba(255, 255, 255, 0.85) !important;
    }

    html[data-theme="dark"] .modal-body ::-webkit-scrollbar,
    body[data-theme="dark"] .modal-body ::-webkit-scrollbar,
    html[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar,
    body[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar,
    html[data-theme="dark"] #security-details-content::-webkit-scrollbar,
    body[data-theme="dark"] #security-details-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    html[data-theme="dark"] .modal-body ::-webkit-scrollbar-track,
    body[data-theme="dark"] .modal-body ::-webkit-scrollbar-track,
    html[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar-track,
    body[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar-track,
    html[data-theme="dark"] #security-details-content::-webkit-scrollbar-track,
    body[data-theme="dark"] #security-details-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }

    html[data-theme="dark"] .modal-body ::-webkit-scrollbar-thumb,
    body[data-theme="dark"] .modal-body ::-webkit-scrollbar-thumb,
    html[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar-thumb,
    body[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar-thumb,
    html[data-theme="dark"] #security-details-content::-webkit-scrollbar-thumb,
    body[data-theme="dark"] #security-details-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }

    html[data-theme="dark"] .modal-body ::-webkit-scrollbar-thumb:hover,
    body[data-theme="dark"] .modal-body ::-webkit-scrollbar-thumb:hover,
    html[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar-thumb:hover,
    body[data-theme="dark"] #http-headers-modal-display::-webkit-scrollbar-thumb:hover,
    html[data-theme="dark"] #security-details-content::-webkit-scrollbar-thumb:hover,
    body[data-theme="dark"] #security-details-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }


    html[data-theme="dark"] .modal-body,
    body[data-theme="dark"] .modal-body,
    html[data-theme="dark"] #http-headers-modal-display,
    body[data-theme="dark"] #http-headers-modal-display,
    html[data-theme="dark"] #security-details-content,
    body[data-theme="dark"] #security-details-content {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
    }


    html[data-theme="light"] .modal-body ::-webkit-scrollbar,
    html:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar,
    body[data-theme="light"] .modal-body ::-webkit-scrollbar,
    body:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar,
    html[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar,
    html:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar,
    body[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar,
    body:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar,
    html[data-theme="light"] #security-details-content::-webkit-scrollbar,
    html:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar,
    body[data-theme="light"] #security-details-content::-webkit-scrollbar,
    body:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    html[data-theme="light"] .modal-body ::-webkit-scrollbar-track,
    html:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar-track,
    body[data-theme="light"] .modal-body ::-webkit-scrollbar-track,
    body:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar-track,
    html[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar-track,
    html:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar-track,
    body[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar-track,
    body:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar-track,
    html[data-theme="light"] #security-details-content::-webkit-scrollbar-track,
    html:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar-track,
    body[data-theme="light"] #security-details-content::-webkit-scrollbar-track,
    body:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

    html[data-theme="light"] .modal-body ::-webkit-scrollbar-thumb,
    html:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar-thumb,
    body[data-theme="light"] .modal-body ::-webkit-scrollbar-thumb,
    body:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar-thumb,
    html[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar-thumb,
    html:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar-thumb,
    body[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar-thumb,
    body:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar-thumb,
    html[data-theme="light"] #security-details-content::-webkit-scrollbar-thumb,
    html:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar-thumb,
    body[data-theme="light"] #security-details-content::-webkit-scrollbar-thumb,
    body:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }

    html[data-theme="light"] .modal-body ::-webkit-scrollbar-thumb:hover,
    html:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar-thumb:hover,
    body[data-theme="light"] .modal-body ::-webkit-scrollbar-thumb:hover,
    body:not([data-theme="dark"]) .modal-body ::-webkit-scrollbar-thumb:hover,
    html[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar-thumb:hover,
    html:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar-thumb:hover,
    body[data-theme="light"] #http-headers-modal-display::-webkit-scrollbar-thumb:hover,
    body:not([data-theme="dark"]) #http-headers-modal-display::-webkit-scrollbar-thumb:hover,
    html[data-theme="light"] #security-details-content::-webkit-scrollbar-thumb:hover,
    html:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar-thumb:hover,
    body[data-theme="light"] #security-details-content::-webkit-scrollbar-thumb:hover,
    body:not([data-theme="dark"]) #security-details-content::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }


    html[data-theme="light"] .modal-body,
    html:not([data-theme="dark"]) .modal-body,
    body[data-theme="light"] .modal-body,
    body:not([data-theme="dark"]) .modal-body,
    html[data-theme="light"] #http-headers-modal-display,
    html:not([data-theme="dark"]) #http-headers-modal-display,
    body[data-theme="light"] #http-headers-modal-display,
    body:not([data-theme="dark"]) #http-headers-modal-display,
    html[data-theme="light"] #security-details-content,
    html:not([data-theme="dark"]) #security-details-content,
    body[data-theme="light"] #security-details-content,
    body:not([data-theme="dark"]) #security-details-content {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
    }


    .process-steps {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .process-step {
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 1rem;
        position: relative;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .step-title-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 0.75rem;
    }

    .step-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #333333;
        margin: 0;
    }

    .step-description {
        color: #666666;
        line-height: 1.6;
        margin-bottom: 1rem;
    }


    .info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .info-item {
        background-color: #f8f9fa;
        border-left: 4px solid #007bff;
        padding: 1rem;
        border-radius: 6px;
    }

    .info-label {
        font-weight: 600;
        color: #333333;
        margin-bottom: 0.25rem;
        display: block;
    }

    .info-text {
        color: #666666;
        line-height: 1.5;
        margin: 0;
    }


    .faq-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .faq-item-card {
        border: 1px solid #dee2e6;
        border-radius: 12px;
        margin-bottom: 1rem;
        overflow: hidden;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }

    .faq-item-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .faq-item-card.active {
        box-shadow: 0 2px 12px rgba(0, 123, 255, 0.15);
    }

    .faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 1rem 0.5rem;
        background-color: transparent;
        border: none;
        text-align: left;
        cursor: pointer;
        gap: 0.5rem;
        transition: background-color 0.2s ease;
    }

    .faq-question:hover {
        background-color: #f8f9fa;
    }

    .faq-question[aria-expanded="true"] {
        border-bottom: 1px solid #dee2e6;
    }

    .faq-question:focus {
        outline: 2px solid #007bff;
        outline-offset: -2px;
    }

    .faq-icon {
        font-size: 1.25rem;
        flex-shrink: 0;
        color: #007bff;
        width: 24px;
        text-align: center;
    }

    .faq-question-text {
        flex: 1;
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #212529;
        line-height: 1.4;
    }

    .faq-chevron {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        font-size: 0.875rem;
        transition: transform 0.3s ease;
    }

    .faq-question[aria-expanded="true"] .faq-chevron {
        transform: rotate(180deg);
    }

    .faq-answer {
        background-color: #ffffff;
    }

    .faq-answer-content {
        padding: 1rem 1rem 1rem 2rem;
    }

    .faq-answer-content p {
        margin: 0;
        color: #495057;
        line-height: 1.7;
        font-size: 1rem;
    }

    .faq-answer-content p:not(:last-child) {
        margin-bottom: 1rem;
    }

    .faq-answer-content strong {
        color: #212529;
        font-weight: 600;
    }


    html[data-theme="dark"] .process-step,
    body[data-theme="dark"] .process-step {
        background-color: #2d2d2d;
        border-color: #404040;
    }

    html[data-theme="dark"] .step-title,
    body[data-theme="dark"] .step-title {
        color: #e0e0e0;
    }

    html[data-theme="dark"] .step-description,
    body[data-theme="dark"] .step-description {
        color: #b0b0b0;
    }

    html[data-theme="dark"] .info-item,
    body[data-theme="dark"] .info-item {
        background-color: #353535;
        border-left-color: #007bff;
    }

    html[data-theme="dark"] .info-label,
    body[data-theme="dark"] .info-label {
        color: #e0e0e0;
    }

    html[data-theme="dark"] .info-text,
    body[data-theme="dark"] .info-text {
        color: #b0b0b0;
    }


    .risk-levels {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .risk-level-card {
        background-color: #ffffff;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        padding: 1rem;
    }

    .risk-level-card.low-risk {
        border-color: #28a745;
    }

    .risk-level-card.medium-risk {
        border-color: #ffc107;
    }

    .risk-level-card.high-risk {
        border-color: #dc3545;
    }

    .risk-level-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.75rem;
    }

    .risk-level-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333333;
        margin: 0;
    }

    .risk-level-title-wrapper {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .risk-level-icon {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    .risk-level-card.low-risk .risk-level-icon {
        color: #28a745;
    }

    .risk-level-card.medium-risk .risk-level-icon {
        color: #ffc107;
    }

    .risk-level-card.high-risk .risk-level-icon {
        color: #dc3545;
    }

    .risk-level-range {
        background-color: #f8f9fa;
        padding: 0.25rem 0.75rem;
        border-radius: 4px;
        font-size: 0.9rem;
        font-weight: 500;
        color: #666666;
    }

    .risk-level-card.low-risk .risk-level-range {
        background-color: #d4edda;
        color: #155724;
    }

    .risk-level-card.medium-risk .risk-level-range {
        background-color: #fff3cd;
        color: #856404;
    }

    .risk-level-card.high-risk .risk-level-range {
        background-color: #f8d7da;
        color: #721c24;
    }

    .risk-level-description {
        color: #666666;
        line-height: 2;
        margin-bottom: 0.75rem;
    }

    .risk-level-description strong {
        color: #333333;
        font-weight: 600;
    }

    .risk-level-action {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e0e0e0;
    }

    .risk-level-action strong {
        color: #333333;
        font-weight: 600;
    }

    .risk-level-action-text {
        color: #666666;
        line-height: 1.5;
        margin-top: 0.25rem;
    }


    html[data-theme="dark"] .risk-level-card,
    body[data-theme="dark"] .risk-level-card {
        background-color: #2d2d2d;
        border-color: #404040;
    }

    html[data-theme="dark"] .risk-level-card.low-risk,
    body[data-theme="dark"] .risk-level-card.low-risk {
        border-color: #28a745;
    }

    html[data-theme="dark"] .risk-level-card.medium-risk,
    body[data-theme="dark"] .risk-level-card.medium-risk {
        border-color: #ffc107;
    }

    html[data-theme="dark"] .risk-level-card.high-risk,
    body[data-theme="dark"] .risk-level-card.high-risk {
        border-color: #dc3545;
    }

    html[data-theme="dark"] .risk-level-title,
    body[data-theme="dark"] .risk-level-title {
        color: #e0e0e0;
    }

    html[data-theme="dark"] .risk-level-description,
    body[data-theme="dark"] .risk-level-description {
        color: #b0b0b0;
    }

    html[data-theme="dark"] .risk-level-description strong,
    body[data-theme="dark"] .risk-level-description strong {
        color: #e0e0e0;
        font-weight: 600;
    }

    html[data-theme="dark"] .risk-level-action,
    body[data-theme="dark"] .risk-level-action {
        border-top-color: #404040;
    }

    html[data-theme="dark"] .risk-level-action strong,
    body[data-theme="dark"] .risk-level-action strong {
        color: #e0e0e0;
    }

    html[data-theme="dark"] .risk-level-action-text,
    body[data-theme="dark"] .risk-level-action-text {
        color: #b0b0b0;
    }

    html[data-theme="dark"] .risk-level-card.low-risk .risk-level-icon,
    body[data-theme="dark"] .risk-level-card.low-risk .risk-level-icon {
        color: #28a745;
    }

    html[data-theme="dark"] .risk-level-card.medium-risk .risk-level-icon,
    body[data-theme="dark"] .risk-level-card.medium-risk .risk-level-icon {
        color: #ffc107;
    }

    html[data-theme="dark"] .risk-level-card.high-risk .risk-level-icon,
    body[data-theme="dark"] .risk-level-card.high-risk .risk-level-icon {
        color: #dc3545;
    }

    html[data-theme="dark"] .faq-item-card,
    body[data-theme="dark"] .faq-item-card {
        background-color: #2d2d2d;
        border-color: #404040;
    }

    html[data-theme="dark"] .faq-item-card:hover,
    body[data-theme="dark"] .faq-item-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    html[data-theme="dark"] .faq-question:hover,
    body[data-theme="dark"] .faq-question:hover {
        background-color: #353535;
    }

    html[data-theme="dark"] .faq-question[aria-expanded="true"],
    body[data-theme="dark"] .faq-question[aria-expanded="true"] {
        border-bottom-color: #404040;
    }

    html[data-theme="dark"] .faq-question-text,
    body[data-theme="dark"] .faq-question-text {
        color: #e0e0e0;
    }

    html[data-theme="dark"] .faq-icon,
    body[data-theme="dark"] .faq-icon {
        color: #007bff;
    }

    html[data-theme="dark"] .faq-chevron,
    body[data-theme="dark"] .faq-chevron {
        color: #b0b0b0;
    }

    html[data-theme="dark"] .faq-answer,
    body[data-theme="dark"] .faq-answer {
        background-color: #2d2d2d;
    }

    html[data-theme="dark"] .faq-answer-content p,
    body[data-theme="dark"] .faq-answer-content p {
        color: #b0b0b0;
    }

    html[data-theme="dark"] .faq-answer-content strong,
    body[data-theme="dark"] .faq-answer-content strong {
        color: #e0e0e0;
    }


    html[data-theme="dark"] .card-body,
    body[data-theme="dark"] .card-body {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    html[data-theme="dark"] .card-body p,
    body[data-theme="dark"] .card-body p {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    html[data-theme="dark"] .card-body li,
    body[data-theme="dark"] .card-body li {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    html[data-theme="dark"] .card-body strong,
    html[data-theme="dark"] .card-body b,
    body[data-theme="dark"] .card-body strong,
    body[data-theme="dark"] .card-body b {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    html[data-theme="dark"] .card-body h2,
    html[data-theme="dark"] .card-body h3,
    html[data-theme="dark"] .card-body h4,
    body[data-theme="dark"] .card-body h2,
    body[data-theme="dark"] .card-body h3,
    body[data-theme="dark"] .card-body h4 {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    html[data-theme="dark"] .card-body ul,
    html[data-theme="dark"] .card-body ol,
    body[data-theme="dark"] .card-body ul,
    body[data-theme="dark"] .card-body ol {
        color: rgba(255, 255, 255, 0.9) !important;
    }


    html[data-theme="light"] .card-body,
    html:not([data-theme="dark"]) .card-body,
    body[data-theme="light"] .card-body,
    body:not([data-theme="dark"]) .card-body {
        color: rgba(0, 0, 0, 0.75) !important;
    }

    html[data-theme="light"] .card-body p,
    html:not([data-theme="dark"]) .card-body p,
    body[data-theme="light"] .card-body p,
    body:not([data-theme="dark"]) .card-body p {
        color: rgba(0, 0, 0, 0.75) !important;
    }

    html[data-theme="light"] .card-body li,
    html:not([data-theme="dark"]) .card-body li,
    body[data-theme="light"] .card-body li,
    body:not([data-theme="dark"]) .card-body li {
        color: rgba(0, 0, 0, 0.75) !important;
    }

    html[data-theme="light"] .card-body strong,
    html[data-theme="light"] .card-body b,
    html:not([data-theme="dark"]) .card-body strong,
    html:not([data-theme="dark"]) .card-body b,
    body[data-theme="light"] .card-body strong,
    body[data-theme="light"] .card-body b,
    body:not([data-theme="dark"]) .card-body strong,
    body:not([data-theme="dark"]) .card-body b {
        color: rgba(0, 0, 0, 0.85) !important;
    }

    html[data-theme="light"] .card-body h2,
    html[data-theme="light"] .card-body h3,
    html[data-theme="light"] .card-body h4,
    html:not([data-theme="dark"]) .card-body h2,
    html:not([data-theme="dark"]) .card-body h3,
    html:not([data-theme="dark"]) .card-body h4,
    body[data-theme="light"] .card-body h2,
    body[data-theme="light"] .card-body h3,
    body[data-theme="light"] .card-body h4,
    body:not([data-theme="dark"]) .card-body h2,
    body:not([data-theme="dark"]) .card-body h3,
    body:not([data-theme="dark"]) .card-body h4 {
        color: rgba(0, 0, 0, 0.9) !important;
    }


    @media (max-width: 768px) {
        .process-steps {
            gap: 1.5rem;
        }

        .process-step {
            padding: 1rem;
        }

        .step-title {
            font-size: 1.2rem;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .faq-question {
            padding: 0.75rem 0.5rem;
        }

        .faq-question-text {
            font-size: 1rem;
        }

        .faq-answer-content {
            padding: 0.75rem 0.75rem 0.75rem 1.5rem;
        }
    }


    .risk-factors-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .risk-factor-card {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 1rem;
    }
    .risk-factor-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }
    .risk-factor-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        color: #212529;
        flex: 1;
    }
    .status-icon-wrapper {
        flex-shrink: 0;
    }
    .grade-badge-wrapper {
        width: auto;
        height: auto;
        min-width: calc(0.95rem + 1.2rem);
        min-height: calc(0.95rem + 1.2rem);
        padding: 0.6rem 0.9rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .grade-badge-wrapper .security-grade-badge {
        font-size: 0.95rem;
        font-weight: 900;
        line-height: 1;
        display: block;
        text-align: center;
    }
    html[data-theme="dark"] .grade-badge-wrapper,
    body[data-theme="dark"] .grade-badge-wrapper {
        background-color: rgba(255, 255, 255, 0.1);
    }
    .risk-factor-points {
        font-size: 0.95rem;
        font-weight: 700;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
        height: auto;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .risk-factor-rationale {
        margin: 0;
        color: #495057;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    html[data-theme="dark"] .risk-factor-card,
    body[data-theme="dark"] .risk-factor-card {
        background-color: #2d2d2d;
        border-color: rgba(255, 255, 255, 0.12);
    }
    html[data-theme="dark"] .risk-factor-title,
    body[data-theme="dark"] .risk-factor-title {
        color: rgba(255, 255, 255, 0.9);
    }
    html[data-theme="dark"] .risk-factor-rationale,
    body[data-theme="dark"] .risk-factor-rationale {
        color: rgba(255, 255, 255, 0.7);
    }

    @media (max-width: 768px) {
        .risk-factors-grid {
            grid-template-columns: 1fr;
            gap: 0.5rem;
        }
        .risk-factor-header {
            flex-direction: column;
            align-items: flex-start;
        }
        .risk-factor-points {
            margin-top: 0.5rem;
        }
    }
    @media (max-width: 768px) {
        #http-header-footer .d-flex {
            flex-direction: column;
        }
    }
