/* Replace the selected area by drawing again instead of editing the rectangle. */
.leaflet-draw-section + .leaflet-draw-section {
    display: none;
}

.kaardid-expand-control button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: 24px/30px Arial, sans-serif;
    cursor: pointer;
}

.kaardid-expand-control button:hover {
    background: #f4f4f4;
}

.kaardid-expand-control button:focus-visible {
    outline: 2px solid #0078a8;
    outline-offset: 2px;
}

.kaardid-map-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.kaardid-map-expanded {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
