body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
    margin: 40px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.4rem;
    font-weight: 700;
}

.layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.form_panel {
    flex: 1;
}

.api_key_field,
.less,
.more,
.submit {
    background: white;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
}

.less,
.more,
.submit,
.radius_field {
    display: grid;
    gap: 12px;
}

.more {
    display: none;
}

.message {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

input,
button {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button,
.generate {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

button:hover,
.generate:hover {
    background: #1d4ed8;
}

.radius_field {
    display: flex;
    align-items: flex-start; 
    margin-bottom: 20px;
}

.radius_btn {
    width: 10%;
}

.api_err {
    color: #dc2626;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.osm_map {
    width: 50%;
    height: 600px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: none;
}

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

    .form_panel,
    .osm_map {
        width: 100%;
    }
}



