/* Venue Map Component Styles */
.venue-map-wrapper {
    position: relative;
    width: 100%;
    background: #FEF9F3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(47, 13, 1, 0.08);
    margin: 1.5rem 0;
}

.venue-map-container {
    width: 100%;
    height: 360px;
}

.venue-map-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #F9E8D0;
    flex-wrap: wrap;
}

.venue-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #EDBB89;
    border-radius: 8px;
    background: #fff;
    color: #754D34;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.venue-map-btn:hover {
    background: #FEF9F3;
    border-color: #754D34;
}

.venue-map-btn.active {
    background: #754D34;
    color: #fff;
    border-color: #754D34;
}

.venue-map-btn i {
    font-size: 0.85rem;
}

.venue-map-distance {
    margin-left: auto;
    font-size: 0.8rem;
    color: #754D34;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.venue-map-distance i {
    color: #EDBB89;
}

.venue-map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 200px;
    color: #999;
    font-size: 0.9rem;
    background: #FEF9F3;
}

.venue-marker-popup {
    max-width: 240px;
    padding: 8px 0;
}

.venue-marker-popup strong {
    display: block;
    font-size: 0.9rem;
    color: #311004;
    margin-bottom: 4px;
}

.venue-marker-popup span {
    font-size: 0.75rem;
    color: #754D34;
}

.venue-marker-popup .popup-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #754D34;
    font-weight: 600;
    text-decoration: none;
}

.venue-marker-popup .popup-link:hover {
    text-decoration: underline;
}

/* Nearby venues slider */
.nearby-venues-slider {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    overflow-x: auto;
    background: #FEF9F3;
    border-top: 1px solid #F9E8D0;
}

.nearby-venues-slider::-webkit-scrollbar {
    height: 4px;
}

.nearby-venues-slider::-webkit-scrollbar-thumb {
    background: #EDBB89;
    border-radius: 4px;
}

.nearby-venue-card {
    flex: 0 0 auto;
    width: 140px;
    background: #fff;
    border: 1px solid #F9E8D0;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.nearby-venue-card:hover {
    border-color: #754D34;
    box-shadow: 0 2px 8px rgba(47, 13, 1, 0.1);
}

.nearby-venue-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}

.nearby-venue-card .nv-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #311004;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nearby-venue-card .nv-distance {
    font-size: 0.65rem;
    color: #754D34;
}

/* User location marker pulse */
.user-location-dot {
    width: 14px;
    height: 14px;
    background: #1a73e8;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
    animation: user-pulse 2s infinite;
}

@keyframes user-pulse {
    0% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(26, 115, 232, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); }
}

/* Map loading state */
.venue-map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    background: #FEF9F3;
    color: #754D34;
    font-size: 0.9rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .venue-map-container {
        height: 280px;
    }

    .venue-map-controls {
        padding: 8px 10px;
        gap: 6px;
    }

    .venue-map-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .nearby-venue-card {
        width: 120px;
    }

    .nearby-venue-card img {
        height: 65px;
    }

    .venue-map-distance {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .venue-map-container {
        height: 240px;
    }

    .venue-map-btn span {
        display: none;
    }

    .venue-map-btn {
        padding: 8px;
        min-width: 36px;
        justify-content: center;
    }
}
