/* Map container */
#ur-map-wrap { position: relative; overflow: hidden; background: #fff; border: 1px solid #000; }
.ur-map-container {  width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;}

/* default path style (assumes SVG paths) */
#ur-map-container svg [id^="state-"] {
  fill: #fb5454;
  stroke: #000000;
  stroke-width: 0.6;
  transition: fill 120ms, transform 120ms;
  width: 100%;
    height: auto;
    display: block;
}

/* hover and selected look */
#ur-map-container svg [id^="state-"].ur-hover { fill: #6446f8;}

/* popup */
.ur-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border: 3px solid #000;
    width: 90%;
    max-width: 420px;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.ur-popup-close {
  position: absolute; right:6px; top:4px; border: none; background: transparent; font-size: 18px; cursor:pointer;
}
.ur-popup-header { font-weight:700; font-size:1.1em; margin-bottom:8px; color:#000; }
.ur-popup-logo img { max-width:100%; max-height:80px; display:block; margin-bottom:8px; }
.ur-popup-contacts strong { display:block; margin-top:8px; color:#c20000; } /* small red accent */
.ur-popup-email, .ur-popup-site { margin-top:6px; font-size:0.95em; }
.ur-popup-text { margin-top:8px; font-size:0.95em; color:#222; }

/* small yellow accent example (used only for tiny highlight) */
.ur-popup .ur-accent { color: #f0c000; }

/* responsive */
@media(max-width:600px){
  .ur-popup { width: 90%; left:5% !important; top:5% !important; }
}

#ur-map-container path {
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s ease;
}

#ur-map-container path:hover {
    fill: #cc0000;
}

.ur-popup h3 {
    margin-top: 0;
    color: #cc0000;
    text-align: center;
}

.ur-popup img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.ur-close {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-weight: bold;
}