/* geolocation.css - User location marker + inline locate button styles */

/* ── User position marker on maps ──────────────────────── */

.user-location-marker {
    position: relative;
    width: 24px;
    height: 24px;
}

.user-loc-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #38bdf8;
    border: 2.5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
    z-index: 2;
}

.user-loc-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    z-index: 1;
    animation: user-loc-pulse 2s ease-out infinite;
}

@keyframes user-loc-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* ── Divider between style buttons and locate button ───── */

.toggle-divider {
    width: 1px;
    align-self: stretch;
    margin: 4px 2px;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Locate-me button (inline in toggle bars) ──────────── */

.locate-me-btn.locating {
    animation: locate-spin 1s linear infinite;
}

@keyframes locate-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── At-resort banner ──────────────────────────────────── */

.at-resort-banner {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    color: var(--t1);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.at-resort-banner:hover {
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 0.95);
}

.at-resort-banner .banner-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: banner-pulse 2s ease-in-out infinite;
}

@keyframes banner-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}