@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.apref-map-wrapper-a534eafd {
    background: #002395;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.apref-map-wrapper-a534eafd::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.apref-map-header-a534eafd {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.apref-map-title-a534eafd {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.apref-map-subtitle-a534eafd {
    color: #C9A84C;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.apref-map-container-a534eafd {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 1;
}

.apref-map-svg-a534eafd {
    width: 100%;
    height: auto;
    display: block;
}

.apref-map-svg-a534eafd .apref-land-a534eafd {
    fill: rgba(255, 255, 255, 0.12);
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 0.5;
    transition: fill 0.3s ease;
}

.apref-map-svg-a534eafd .apref-land-member-a534eafd {
    fill: rgba(201, 168, 76, 0.15);
    stroke: rgba(201, 168, 76, 0.4);
    stroke-width: 0.8;
}

.apref-map-svg-a534eafd .apref-land-member-a534eafd:hover {
    fill: rgba(201, 168, 76, 0.3);
}

.apref-marker-group-a534eafd {
    cursor: pointer;
}

.apref-marker-group-a534eafd:hover .apref-marker-dot-a534eafd {
    r: 5;
}

.apref-marker-dot-a534eafd {
    fill: #C9A84C;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.6));
}

.apref-marker-pulse-a534eafd {
    fill: none;
    stroke: #C9A84C;
    stroke-width: 1.5;
    opacity: 0;
    animation: apref-pulse-a534eafd 2.5s ease-out infinite;
}

.apref-marker-group-a534eafd:nth-child(odd) .apref-marker-pulse-a534eafd {
    animation-delay: 0.5s;
}

.apref-marker-group-a534eafd:nth-child(3n) .apref-marker-pulse-a534eafd {
    animation-delay: 1s;
}

@keyframes apref-pulse-a534eafd {
    0% {
        r: 3;
        opacity: 0.8;
    }
    100% {
        r: 18;
        opacity: 0;
    }
}

.apref-map-tooltip-a534eafd {
    position: absolute;
    background: rgba(0, 10, 40, 0.92);
    color: #C9A84C;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
    z-index: 100;
    border: 1px solid rgba(201, 168, 76, 0.3);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    transform: translate(-50%, -120%);
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.apref-map-tooltip-a534eafd::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 10, 40, 0.92);
}

.apref-map-popup-overlay-a534eafd {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 40, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: apref-fadeIn-a534eafd 0.3s ease;
}

@keyframes apref-fadeIn-a534eafd {
    from { opacity: 0; }
    to { opacity: 1; }
}

.apref-map-popup-a534eafd {
    background: linear-gradient(145deg, #001a6e, #002395);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    min-width: 300px;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: apref-popupIn-a534eafd 0.3s ease;
}

@keyframes apref-popupIn-a534eafd {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.apref-map-popup-close-a534eafd {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.apref-map-popup-close-a534eafd:hover {
    color: #C9A84C;
}

.apref-map-popup-flag-a534eafd {
    font-size: 64px;
    margin-bottom: 16px;
    line-height: 1;
}

.apref-map-popup-name-a534eafd {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
}

.apref-map-popup-region-a534eafd {
    color: #C9A84C;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.apref-map-legend-a534eafd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.apref-map-legend-dot-a534eafd {
    width: 12px;
    height: 12px;
    background: #C9A84C;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.apref-map-legend-text-a534eafd {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .apref-map-wrapper-a534eafd {
        padding: 30px 10px;
    }
    .apref-map-title-a534eafd {
        font-size: 22px;
    }
    .apref-map-subtitle-a534eafd {
        font-size: 14px;
    }
    .apref-map-popup-a534eafd {
        min-width: 250px;
        padding: 30px 20px;
    }
}
