#geocodingSection {               /* overall card */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 80%;
    margin: 20px auto;
}
#geocodingSection h2 {            /* title */
    color: #333;
    margin-bottom: 20px;
    align-self: center;
}
/* ── input row ──── */
#geocodingSection .search-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}
#geocodingSection .search-panel {
    flex: 1;
    min-width: 300px;
}
#geocodingSection .search-panel h3 {
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}
#geocodingSection input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;   /* prevents horizontal overflow */
    transition: border-color .3s;
}
#geocodingSection input[type="text"]:focus {
    border-color: #af65d9;
    outline: none;
}
/* ── action buttons (inherits base button style) ─────── */
#geocodingSection button:hover {
    background: #2c3e50;
    color: #fff;
}
/* ── small status / helper elements ───── */
#geocodingSection .loading {
    text-align: center;
    color: #666;
    font-style: italic;
}
#geocodingSection .error-message {      /* reuse colour scheme */
    color: #ff0000;
    background: #ffebee;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #ff0000;
    margin: 10px 0;
}
/* ── coordinate/result panels ─────── */
#geocodingSection .coordinate-display {
    font-family: monospace;
    background: #fff;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}
#geocodingSection .coordinate-label {
    font-weight: bold;
    color: #2c3e50;
}
/* map‑link styled like a subtle button */
#geocodingSection .map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: cadetblue;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
#geocodingSection .map-link:hover {
    background: #1b2838;
}
/* ── responsive tweaks ─────── */
@media (max-width: 768px) {
    #geocodingSection {
        width: 95%;
        padding: 15px;
    }
    #geocodingSection .search-container {
        flex-direction: column;
        gap: 15px;
    }
}

