.nr1-map {
    width: 100%;
}

.leaflet-container {
    background: white;
    outline: 0;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

#nr1_map {
    width: 100%;
    height: auto;
    display: block;
}

/* Koordináta-felvételi mód */
.nr1-coordinate-panel {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #d9e2e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    color: #1f2933;
}

.nr1-coordinate-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.nr1-coordinate-panel__header > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nr1-coordinate-panel__header strong {
    font-size: 16px;
}

.nr1-coordinate-panel__count {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef5f7;
    color: #005277;
    font-size: 12px;
    font-weight: 700;
}

.nr1-coordinate-panel p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.5;
}

.nr1-coordinate-output {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 135px;
    margin: 0 0 10px;
    padding: 10px 12px;
    resize: vertical;
    border: 1px solid #ccd6da;
    border-radius: 6px;
    background: #f8fafb;
    color: #15232b;
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
    line-height: 1.5;
}

.nr1-coordinate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nr1-coordinate-actions button,
.nr1-coordinate-exit {
    appearance: none;
    border: 0;
    border-radius: 5px;
    padding: 9px 13px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.nr1-coordinate-copy {
    background: #005277;
    color: #fff;
}

.nr1-coordinate-undo,
.nr1-coordinate-clear {
    background: #e9eef0;
    color: #26343b;
}

.nr1-coordinate-exit {
    background: #f1f3f4;
    color: #4a555a;
}

.nr1-coordinate-actions button:disabled {
    cursor: default;
    opacity: 0.45;
}

.nr1-coordinate-mode {
    cursor: crosshair;
}

.nr1-coordinate-mode .leaflet-interactive {
    cursor: crosshair;
}

.nr1-coordinate-marker-wrapper {
    background: transparent;
    border: 0;
}

.nr1-coordinate-marker {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #005277;
    color: #fff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.35);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

@media (max-width: 767px) {
    .nr1-coordinate-panel {
        padding: 12px;
    }

    .nr1-coordinate-panel__header {
        align-items: flex-start;
    }

    .nr1-coordinate-actions button {
        flex: 1 1 auto;
    }
}
