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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background: #1a1a2e;
    color: white;
    padding: 12px 20px;
    text-align: center;
}

header h1 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

header p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.controls {
    background: #f5f5f5;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
}

.controls label {
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.controls select,
.controls button {
    padding: 4px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
}

.controls button {
    background: #1a1a2e;
    color: white;
    border: none;
    cursor: pointer;
}

.controls button:hover {
    background: #16213e;
}

#map {
    flex: 1;
}

#stats {
    background: #1a1a2e;
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
    text-align: center;
}

.earthquake-popup {
    font-size: 0.85rem;
}

.earthquake-popup strong {
    display: block;
    margin-bottom: 4px;
}

.help-popup {
    font-size: 0.85rem;
}

.help-popup strong {
    color: #d32f2f;
    display: block;
    margin-bottom: 4px;
}
