.pams-label {
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 2px 5px !important;
    white-space: nowrap !important;
}

.pams-label::before {
    display: none !important;
}

.leaflet-control-labels {
    background-color: #ffffff;
    cursor: pointer;
}

.leaflet-control-labels button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: bold;
    height: 30px;
    justify-content: center;
    line-height: 30px;
    padding: 0;
    width: 30px;
}

.leaflet-control-labels button:hover {
    background-color: #f4f4f4;
}

.leaflet-control-labels.active button {
    background-color: #2196f3;
    color: #fff;
}

.leaflet-control-layers-overlays label.layer-out-of-scale > span:not(.layer-scale-hint) {
    opacity: 0.7;
    text-decoration: line-through;
}

.leaflet-control-layers-overlays label.layer-out-of-scale .layer-scale-hint {
    color: #a15c00;
    font-weight: 700;
    text-decoration: none;
}

.parcel-popup {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-width: 240px;
}

.parcel-popup .popup-header {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    border-radius: 12px 12px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin: -1px -1px 0;
    padding: 8px 12px;
}

.parcel-popup .muni-header {
    background: linear-gradient(135deg, #0b6e4f, #08543c);
}

.parcel-popup .popup-body {
    max-height: 360px;
    overflow: auto;
    padding: 10px 12px;
}

.parcel-popup .popup-section {
    color: #1a73e8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 10px 0 4px;
    text-transform: uppercase;
}

.parcel-popup .popup-section:first-child {
    margin-top: 0;
}

.muni-popup .popup-section {
    color: #0b6e4f;
}

.parcel-popup .popup-row {
    border-bottom: 1px solid #eee;
    display: flex;
    font-size: 12px;
    gap: 12px;
    justify-content: space-between;
    padding: 5px 0;
}

.parcel-popup .popup-row:last-child {
    border-bottom: none;
}

.parcel-popup .popup-row .label {
    color: #666;
    flex: 0 0 auto;
    font-weight: 500;
    white-space: nowrap;
}

.parcel-popup .popup-row .value {
    color: #222;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.parcel-popup .popup-row .value a {
    color: #1557b0;
    font-weight: 700;
    text-decoration: underline;
}

.muni-popup .popup-row .value a {
    color: #08543c;
}
