/* Geoplot — (c) Wizardry and Steamworks 2026, MIT License */

.geoplot-map {
    height: 480px;
    width: 100%;
    margin: 1em 0;
    background: #eaeaea;
}

.geoplot-map .leaflet-overlay-pane > svg {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.geoplot-empty {
    padding: 1em;
    background: #f8f8f8;
    border: 1px solid #ddd;
    margin: 1em 0;
}

.geoplot-popup {
    width: 640px;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
}

.geoplot-info {
    padding: 0 0 8px 0;
    font-family: Program, monospace;
}

.geoplot-info dl { margin: 0; padding: 0; }

.geoplot-info dt {
    float: left;
    clear: left;
    width: 130px;
    font-weight: bold;
    font-family: inherit;
}

.geoplot-info dd {
    margin: 0 0 0 130px;
    word-break: break-word;
    font-family: inherit;
}

.geoplot-info code {
    font-family: inherit;
    font-size: inherit;
}

.geoplot-preview-wrap {
    display: block;
    width: 100%;
    min-height: 180px;
    background: #000;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.geoplot-preview {
    display: block;
    width: 100%;
    height: auto;
}

.geoplot-video {
    max-height: 480px;
    background: #000;
}

.geoplot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: #ccc;
    font-family: inherit;
    font-size: 12px;
}

.geoplot-placeholder.geoplot-error {
    color: #f88;
    padding: 0 8px;
    text-align: center;
}

.geoplot-actions {
    margin-top: 8px;
    clear: both;
}

.geoplot-copy {
    font-family: inherit;
    font-size: 12px;
    padding: 4px 10px;
    cursor: pointer;
    border: 1px solid #888;
    border-radius: 3px;
    background: #f4f4f4;
    color: #222;
}

.geoplot-copy:hover  { background: #e6e6e6; }
.geoplot-copy:active { background: #d8d8d8; }
