﻿.kn-map-picker {
    width: 100%;
    height: var(--kn-map-height, 420px);
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.kn-map-picker .kn-map-toolbar {
    position: absolute;
    z-index: 5;
    left: 15px;
    top: 15px;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.kn-map-picker .kn-map-canvas {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.kn-map-picker .kn-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.kn-map-note {
    position: absolute;
    left: 15px;
    bottom: 12px;
    z-index: 6;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    color: #fff;
    background: #dc2626;
    border: 1px solid #b91c1c;
    display: none;
}

@keyframes kn-flash-rg {
    0%, 100% {
        background: #dc2626;
        border-color: #b91c1c;
        color: #fff;
        box-shadow: 0 0 0 0 rgba(220,38,38,0.30);
        opacity: 1;
    }

    50% {
        background: #16a34a;
        border-color: #15803d;
        color: #fff;
        box-shadow: 0 0 0 8px rgba(22,163,74,0.12);
        opacity: 0.95;
    }
}

.kn-map-note.is-flashing {
    animation: kn-flash-rg 0.6s ease-in-out 6 forwards;
}

@media (prefers-reduced-motion: reduce) {
    .kn-map-note.is-flashing {
        animation: none;
    }
}

.kn-map-picker .kn-map-note {
    position: absolute;
    left: 15px;
    bottom: 12px;
    z-index: 6;
    background: #ef4444;
    color: #fff;
    border: 1px solid #dc2626;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    box-shadow: 0 6px 20px rgba(239,68,68,.25), 0 2px 6px rgba(239,68,68,.35);
}
