body {
    background-color: #F9F5F1;
    background-image: url('../images/background.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #8d7a69;
    font-family: Optima, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
    padding: 40px;
}

#app {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

#input-section {
    margin-bottom: 20px;
}

#api-key, #description {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #c5b8ac;
    border-radius: 4px;
}

#description {
    height: 430px;
    resize: vertical;
}

button {
    background-color: #8D7A69;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

button:hover {
    background: #c2b6ac;
}

button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

button#generate {
    width: 100%;
}

#map-section, #map-section2 {
    border: 1px solid #c5b8ac;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.map {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: center;
}

#export-buttons, #export-buttons2 {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

textarea, input {
    padding: 10px;
    border: 1px solid #c5b8ac;
    border-radius: 4px;
    font-family: inherit;
    color: inherit;
    background-color: white;
    margin-bottom: 10px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #c5b8ac;
    border-top: 2px solid #8D7A69;
    border-radius: 50%;
    margin: 10px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header {
    margin-bottom: 2rem;
}

header h1 {
    margin: 0 0 0.5rem 0;
}

header p {
    margin: 0;
    line-height: 1.5;
}

header a {
    color: inherit;
    text-decoration: underline;
}

.two-col {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 2rem;
    align-items: start;
}
