

    #ip-lookup-body .card {
        border-radius: 12px !important;
    }
    #ip-lookup-body .card-body {
        padding: 1rem 1.25rem 1rem 1.25rem !important;
        min-height: auto;
    }
    #ip-lookup-body .card-header {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .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;
    }

    html[data-theme="dark"] #ip-status-details,
    html[data-theme="dark"] #ip-location-details,
    html[data-theme="dark"] #ip-network-details,
    html[data-theme="dark"] #ip-map-details,
    body[data-theme="dark"] #ip-status-details,
    body[data-theme="dark"] #ip-location-details,
    body[data-theme="dark"] #ip-network-details,
    body[data-theme="dark"] #ip-map-details {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    html[data-theme="dark"] #ip-status-text,
    html[data-theme="dark"] #ip-location-text,
    html[data-theme="dark"] #ip-network-text,
    body[data-theme="dark"] #ip-status-text,
    body[data-theme="dark"] #ip-location-text,
    body[data-theme="dark"] #ip-network-text {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    html[data-theme="dark"] #ip-status-text div[style*="font-weight: 700"],
    html[data-theme="dark"] #ip-location-text div[style*="font-weight: 700"],
    html[data-theme="dark"] #ip-network-text div[style*="font-weight: 700"],
    body[data-theme="dark"] #ip-status-text div[style*="font-weight: 700"],
    body[data-theme="dark"] #ip-location-text div[style*="font-weight: 700"],
    body[data-theme="dark"] #ip-network-text div[style*="font-weight: 700"] {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .match-status-detail-card {
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    html[data-theme="dark"] .match-status-detail-card {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .status-icon-wrapper {
        text-align: center !important;
    }
    .status-icon-wrapper .icon-svg {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        flex-shrink: 0;
    }

    .ip-lookup-helper-text {
        color: #6c757d;
        text-align: center !important;
        display: block;
        width: 100%;
    }
    html[data-theme="dark"] .ip-lookup-helper-text,
    body[data-theme="dark"] .ip-lookup-helper-text {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    html:not([data-theme="dark"]) .ip-lookup-helper-text,
    body:not([data-theme="dark"]) .ip-lookup-helper-text {
        color: #6c757d !important;
    }

    .ip-lookup-link {
        color: #04b962;
    }
    .ip-lookup-link:hover {
        text-decoration: underline !important;
        color: #019e4c !important;
    }
    html[data-theme="dark"] .ip-lookup-link,
    body[data-theme="dark"] .ip-lookup-link {
        color: #06d876 !important;
    }
    html[data-theme="dark"] .ip-lookup-link:hover,
    body[data-theme="dark"] .ip-lookup-link:hover {
        color: #04b962 !important;
        text-decoration: underline !important;
    }
    html:not([data-theme="dark"]) .ip-lookup-link,
    body:not([data-theme="dark"]) .ip-lookup-link {
        color: #04b962 !important;
    }
    html:not([data-theme="dark"]) .ip-lookup-link:hover,
    body:not([data-theme="dark"]) .ip-lookup-link:hover {
        color: #019e4c !important;
    }

    [data-theme="dark"] .leaflet-container {
        background-color: #1a1a1a;
    }
    [data-theme="dark"] .leaflet-tile {
        filter: brightness(0.6) invert(1) hue-rotate(180deg) contrast(1.2);
    }
    [data-theme="dark"] .leaflet-popup-content-wrapper {
        background-color: #2d2d2d;
        color: #ffffff;
    }
    [data-theme="dark"] .leaflet-popup-tip {
        background-color: #2d2d2d;
    }

    #ip-helper-text .looked-up-ip {
        font-weight: 600;
    }
    html:not([data-theme="dark"]) #ip-helper-text .looked-up-ip,
    body:not([data-theme="dark"]) #ip-helper-text .looked-up-ip {
        color: #495057;
    }
    html[data-theme="dark"] #ip-helper-text .looked-up-ip,
    body[data-theme="dark"] #ip-helper-text .looked-up-ip {
        color: rgba(255, 255, 255, 0.9);
    }

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

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

    #ip-details-content .form-group:last-child {
        text-align: center !important;
    }
    #ip-details-content .form-group:last-child .col-12 {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    #ip-details-content .form-group:last-child p {
        color: #6c757d;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    html[data-theme="dark"] #ip-details-content .form-group:last-child p,
    body[data-theme="dark"] #ip-details-content .form-group:last-child p {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    html[data-theme="dark"] #ip-details-content .form-group:last-child,
    body[data-theme="dark"] #ip-details-content .form-group:last-child {
        border-top-color: rgba(255, 255, 255, 0.1) !important;
    }
    #ip-details-content .form-group:last-child a {
        color: #04b962;
        text-decoration: none;
    }
    #ip-details-content .form-group:last-child a:hover {
        color: #019e4c;
        text-decoration: underline;
    }
    html[data-theme="dark"] #ip-details-content .form-group:last-child a,
    body[data-theme="dark"] #ip-details-content .form-group:last-child a {
        color: #06d876 !important;
    }
    html[data-theme="dark"] #ip-details-content .form-group:last-child a:hover,
    body[data-theme="dark"] #ip-details-content .form-group:last-child a:hover {
        color: #04b962 !important;
    }

    html[data-theme="dark"] .modal-body ::-webkit-scrollbar,
    body[data-theme="dark"] .modal-body ::-webkit-scrollbar,
    html[data-theme="dark"] #ip-details-content::-webkit-scrollbar,
    body[data-theme="dark"] #ip-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"] #ip-details-content::-webkit-scrollbar-track,
    body[data-theme="dark"] #ip-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"] #ip-details-content::-webkit-scrollbar-thumb,
    body[data-theme="dark"] #ip-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"] #ip-details-content::-webkit-scrollbar-thumb:hover,
    body[data-theme="dark"] #ip-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"] #ip-details-content,
    body[data-theme="dark"] #ip-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"] #ip-details-content::-webkit-scrollbar,
    html:not([data-theme="dark"]) #ip-details-content::-webkit-scrollbar,
    body[data-theme="light"] #ip-details-content::-webkit-scrollbar,
    body:not([data-theme="dark"]) #ip-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"] #ip-details-content::-webkit-scrollbar-track,
    html:not([data-theme="dark"]) #ip-details-content::-webkit-scrollbar-track,
    body[data-theme="light"] #ip-details-content::-webkit-scrollbar-track,
    body:not([data-theme="dark"]) #ip-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"] #ip-details-content::-webkit-scrollbar-thumb,
    html:not([data-theme="dark"]) #ip-details-content::-webkit-scrollbar-thumb,
    body[data-theme="light"] #ip-details-content::-webkit-scrollbar-thumb,
    body:not([data-theme="dark"]) #ip-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"] #ip-details-content::-webkit-scrollbar-thumb:hover,
    html:not([data-theme="dark"]) #ip-details-content::-webkit-scrollbar-thumb:hover,
    body[data-theme="light"] #ip-details-content::-webkit-scrollbar-thumb:hover,
    body:not([data-theme="dark"]) #ip-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"] #ip-details-content,
    html:not([data-theme="dark"]) #ip-details-content,
    body[data-theme="light"] #ip-details-content,
    body:not([data-theme="dark"]) #ip-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-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #007bff;
        color: #ffffff;
        border-radius: 50%;
        font-weight: bold;
        font-size: 1.1rem;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }

    .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;
    }


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

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

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

    .step-detail-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-number,
    body[data-theme="dark"] .step-number {
        background-color: #0066cc;
    }

    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;
    }


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

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

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


    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(255, 255, 255, 0.1);
    }

    html[data-theme="dark"] .faq-item-card.active,
    body[data-theme="dark"] .faq-item-card.active {

        box-shadow: 0 2px 12px rgba(0, 123, 255, 0.25);
    }

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

    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: #4da3ff;
    }

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

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

    html[data-theme="dark"] .faq-answer-content,
    body[data-theme="dark"] .faq-answer-content {
        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;
    }


    @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;
        }


        .step-details {
            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-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: 1.6;
        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-range,
    body[data-theme="dark"] .risk-level-range {
        background-color: #404040;
        color: #e0e0e0;
    }

    html[data-theme="dark"] .risk-level-card.low-risk .risk-level-range,
    body[data-theme="dark"] .risk-level-card.low-risk .risk-level-range {
        background-color: rgba(40, 167, 69, 0.2);
        color: #28a745;
    }

    html[data-theme="dark"] .risk-level-card.medium-risk .risk-level-range,
    body[data-theme="dark"] .risk-level-card.medium-risk .risk-level-range {
        background-color: rgba(255, 193, 7, 0.2);
        color: #ffc107;
    }

    html[data-theme="dark"] .risk-level-card.high-risk .risk-level-range,
    body[data-theme="dark"] .risk-level-card.high-risk .risk-level-range {
        background-color: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }


    html[data-theme="dark"] #locationMapModal .modal-content,
    body[data-theme="dark"] #locationMapModal .modal-content {
        background-color: #282828 !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    html[data-theme="dark"] #locationMapModal .modal-header,
    body[data-theme="dark"] #locationMapModal .modal-header {
        background-color: rgba(0, 0, 0, 0.05) !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }
    html[data-theme="dark"] #locationMapModalLabel,
    body[data-theme="dark"] #locationMapModalLabel {
        color: #fff !important;
    }
    html[data-theme="dark"] #locationMapModal .modal-footer,
    body[data-theme="dark"] #locationMapModal .modal-footer {
        background-color: rgba(0, 0, 0, 0.1) !important;
        border-top: 2px solid rgba(255, 255, 255, 0.12) !important;
    }

    #ip-location-map-modal {
        background-color: #f8f9fa;
    }
    [data-theme="dark"] #ip-location-map-modal {
        background-color: #1a1a1a;
    }

    [data-theme="dark"] .leaflet-container {
        background-color: #1a1a1a;
    }
    [data-theme="dark"] .leaflet-tile {
        filter: brightness(0.6) invert(1) hue-rotate(180deg) contrast(1.2);
    }
    [data-theme="dark"] .leaflet-popup-content-wrapper {
        background-color: #2d2d2d;
        color: #ffffff;
    }
    [data-theme="dark"] .leaflet-popup-tip {
        background-color: #2d2d2d;
    }
    @media (max-width: 768px) {
        #ip-lookup-footer .d-flex {
            flex-direction: column;
        }
    }
