
body {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: sans-serif;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    min-height: 100vh;
    background: transparent;
    box-sizing: border-box;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#generate-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
}

#generate-btn:disabled {
    background-color: #7da6dc;
    cursor: not-allowed;
}

.chart-container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 480px;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    justify-content: center;  /* center horizontally */
    align-items: center;      /* center vertically, optional */
    height: 100%;             /* or a specific height if needed */
}

#map-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-layout {
    width: 100%;
    height: 100%;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
    display: none; /* hidden by default */
}

.simple-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
