/* Developer Hotspot Map – Frontend Styles */

.dh-map-container {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
    user-select: none;
}

.dh-map-img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.dh-map-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
}

/* Zones */
.dh-zone {
    cursor: pointer;
    transition: fill .2s ease, opacity .2s ease;
}

.dh-status-available {
    fill:   rgba(34, 197, 94, 0.15);
    stroke: rgba(34, 197, 94, 0.75);
    stroke-width: 1.5;
}
.dh-status-available:hover {
    fill: rgba(34, 197, 94, 0.4);
}

.dh-status-reserved {
    fill:   rgba(245, 158, 11, 0.15);
    stroke: rgba(245, 158, 11, 0.75);
    stroke-width: 1.5;
}
.dh-status-reserved:hover {
    fill: rgba(245, 158, 11, 0.4);
}

.dh-status-sold {
    fill:   rgba(239, 68, 68, 0.15);
    stroke: rgba(239, 68, 68, 0.75);
    stroke-width: 1.5;
}
.dh-status-sold:hover {
    fill: rgba(239, 68, 68, 0.4);
}

/* Tooltip */
.dh-tooltip {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.10);
    min-width: 200px;
    max-width: 260px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(0.97);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 100;
    font-size: 13px;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dh-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.dh-tooltip-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.dh-tooltip-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dh-badge-available { background: #dcfce7; color: #166534; }
.dh-badge-reserved  { background: #fef3c7; color: #92400e; }
.dh-badge-sold      { background: #fee2e2; color: #991b1b; }

.dh-tooltip-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #444;
    font-size: 12px;
}

.dh-tooltip-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dh-tooltip-details strong {
    color: #111;
}

.dh-tooltip-desc {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.dh-tooltip-desc a {
    color: #2271b1;
}
