body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
}

.public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.page-title {
    font-size: 32px;
    margin-bottom: 6px;
}

.page-subtitle {
    color: #6b7280;
    margin-bottom: 24px;
}

.section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.grid {
    display: grid;
    gap: 16px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.country-card,
.case-card,
.stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: #111827;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-card:hover,
.case-card:hover,
.stat-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37,99,235,0.10);
}

.flag-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.muted {
    color: #6b7280;
}

.search-box {
    width: 60%;
    max-width: 650px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

.btn {
    padding: 12px 18px;
    font-size: 16px;
    border: 1px solid #2563eb;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.btn-link {
    color: #2563eb;
    text-decoration: none;
}

.chip {
    display: inline-block;
    padding: 7px 12px;
    margin: 5px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    text-decoration: none;
    color: #111827;
    background: white;
}

.chip:hover {
    border-color: #2563eb;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 18px;
    color: #6b7280;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

.map-main {
    min-height: auto;
}

#world-map {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: radial-gradient(
            ellipse at center,
            #1b4a63 0%,
            #12344d 35%,
            #0b2239 70%,
            #081827 100%
        );
    border-radius: 14px;
    padding: 0;
    position: relative;
}

#world-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;

    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 1),
        rgba(2, 6, 23, 0)
    );

    pointer-events: none;
}

#world-map svg {
    display: block;
    height: 400px;
    width: 100%;   
    margin-top: 2px;
}

#world-map path {
    fill: #67d9ff;
    stroke: #4fc3f7;
    stroke-width: 0.35;
}

.map-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    align-items: start;
}


.country-pulse {
    max-height: 620px;
    overflow-y: auto;
}

.country-pulse-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;

    border: 1px solid #dbeafe;
    border-radius: 12px;

    text-decoration: none;
    color: #111827;
    background: #ffffff;

    transition: all 0.2s ease;
}

.country-pulse-item:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .map-dashboard {
        grid-template-columns: 1fr;
    }
}

.map-pulse-dot {
    fill: #ff453a;
    opacity: 0.95;
    filter: drop-shadow(0 0 12px #ff453a);
    animation: pulseDot 1.8s infinite ease-in-out;
    cursor: pointer;
}

@keyframes pulseDot {
    0% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.45;
    }
}

.ai-intel-section {
    margin-top: 30px;
    padding: 24px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 16px;
    background: linear-gradient(145deg, #0b1120, #020617);
}

.ai-intel-section h2 {
    color: #ffffff;
    margin-bottom: 18px;
}

.intel-block {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.intel-block:last-child {
    border-bottom: none;
}

.intel-block h3 {
    color: #f87171;
    font-size: 16px;
    margin-bottom: 8px;
}

.intel-block p {
    color: #d1d5db;
    line-height: 1.7;
}

.muted {
    color: #9ca3af;
}

.people-graph-section {
    margin-top: 10px;
    padding: 18px;
    border-radius: 16px;
    background: #200b0b;
    border: 0px solid rgba(148, 163, 184, 0.25);

    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.people-graph-section h2 {
    color: #ffffff;
    margin-bottom: 18px;
}

.people-graph {
    position: relative;
    height: 510px;
    width: 800px;   
    max-width: 50%;
    margin: 0 auto;
    border: 0px solid rgba(1, 8, 19, 0.973);
}

.people-graph-svg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.graph-line {
    stroke: rgba(248, 113, 113, 0.55);
    stroke-width: 2;
}

.graph-edge-label {
    fill: #cbd5e1;
    font-size: 12px;
    text-anchor: middle;
}

.graph-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    min-width: 130px;
    max-width: 180px;
    text-align: center;
}

.graph-avatar {
    width: 58px;
    height: 58px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    border: 2px solid rgba(248, 113, 113, 0.65);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.3);
    font-size: 28px;
}

.case-node .graph-avatar {
    background: #7f1d1d;
}

.graph-label {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}

.graph-role {
    margin-top: 4px;
    color: #f87171;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.graph-relationship {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.muted {
    color: #94a3b8;
}

.case-top-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.basic-info-card,
.people-graph-section {
    margin-top: 0;
}

.case-summary-text {
    text-align: justify;
    line-height: 1.5;
}