/* Clean, Simple Light Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    background: #f8f6f3;
    color: #2c2c2c;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.lang-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #8b0000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: #a00000;
}

/* Main Layout */
.main {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .main {
        flex-direction: column;
    }
}

/* Map Section */
.map-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bangladesh-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* District paths styling */
.district {
    fill: #6e9c6d;
    stroke: #4a6b4a;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s, transform 0.1s;
}

.district:hover {
    fill: #7fb07e;
}

.district.active {
    fill: #8b0000;
    stroke: #5c0000;
    stroke-width: 2;
}

.district-label {
    font-size: 8px;
    fill: #4a4a4a;
    pointer-events: none;
    text-anchor: middle;
}

/* Info Panel */
.info-panel {
    width: 350px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    max-height: 70vh;
    overflow-y: auto;
}

@media (max-width: 900px) {
    .info-panel {
        width: 100%;
        max-height: none;
    }
}

.info-default {
    text-align: center;
    color: #888;
    padding: 40px 20px;
}

.info-default p {
    margin-bottom: 8px;
}

.info-en {
    font-size: 0.9rem;
    color: #aaa;
}

#districtName {
    font-size: 1.5rem;
    color: #8b0000;
    margin-bottom: 5px;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
}

.site-count {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.sites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-item {
    background: #f8f6f3;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #8b0000;
}

.site-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.site-location {
    font-size: 0.85rem;
    color: #666;
}

.site-casualties {
    display: inline-block;
    background: #8b0000;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 6px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 30px;
    margin-top: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
    .stats-bar {
        gap: 30px;
        padding: 20px;
    }
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #8b0000;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Scrollbar */
.info-panel::-webkit-scrollbar {
    width: 6px;
}

.info-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.info-panel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.info-panel::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Tooltip */
.map-tooltip {
    position: fixed;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1000;
    white-space: nowrap;
}

.map-tooltip.visible {
    opacity: 1;
}

/* Placeholder text */
.placeholder-text {
    color: #999;
    text-align: center;
    padding: 30px 20px;
    font-style: italic;
}