/**
 * Technical Features System Styles
 * Styling for interactive elements, FAB, and enhanced functionality
 */

/* ==================== FLOATING ACTION BUTTONS ==================== */

    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: none;
    color: #D4AF37;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.search-clear:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-50%) scale(1.1);
}

input.searching {
    border-color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.05) !important;
}

/* ==================== FILTER BADGE ==================== */

.active-filters-badge {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: linear-gradient(135deg, #D4AF37, #E5C158);
    color: #0a0a0a;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-100px);
    transition: transform 0.3s ease;
    z-index: 9500;
}

.active-filters-badge.show {
    transform: translateY(0);
}

/* ==================== MAP CONTROLS ==================== */

.map-controls-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
}

.map-control-btn {
    width: 44px;
    height: 44px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.map-control-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
    transform: scale(1.05);
}

/* ==================== BUTTON LOADING STATES ==================== */

button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== INTERACTIVE FEEDBACK ==================== */

.filter-btn:active,
.quick-filter-btn:active,
.category-filter:active {
    transform: scale(0.95);
}

button:active:not(.loading) {
    transform: scale(0.97);
}

/* ==================== TECH NOTIFICATIONS ==================== */

.tech-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(15, 15, 15, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    z-index: 10002;
    min-width: 300px;
}

.tech-notification.show {
    transform: translateX(-50%) translateY(0);
}

.tech-notification-success {
    border-left: 4px solid #4CAF50;
}

.tech-notification-info {
    border-left: 4px solid #2196F3;
}

.tech-notification i {
    font-size: 1.5rem;
}

.tech-notification-success i {
    color: #4CAF50;
}

.tech-notification-info i {
    color: #2196F3;
}

.tech-notification span {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    

    .active-filters-badge {
        top: 80px;
        right: 1rem;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .map-controls-overlay {
        top: 0.7rem;
        right: 0.7rem;
        gap: 0.4rem;
    }

    .map-control-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    [data-tooltip]::before {
        left: auto;
        right: 70px;
    }

    .tech-notification {
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(100px);
        min-width: auto;
    }

    .tech-notification.show {
        transform: translateX(0) translateY(0);
    }
}

/* ==================== ACCESSIBILITY ==================== */

button:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

.filter-btn:focus-visible,
.category-filter:focus-visible {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ==================== SMOOTH TRANSITIONS ==================== */

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== HOVER EFFECTS ==================== */

.venue-card,
.event-card,
.pick-card,
.nightlife-venue-card,
.list-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.venue-card:hover,
.event-card:hover,
.pick-card:hover,
.nightlife-venue-card:hover,
.list-card:hover {
    cursor: pointer;
