/* ─────────────────────────────────────────────────────────────────────────────
   VENUE QUERY MODAL - FIXES & ENHANCEMENTS
   Enhanced UI/UX with proper button functionality
────────────────────────────────────────────────────────────────────────────── */

/* ============================================
   STRIP BUTTONS - FIXED LAYOUT
   ============================================ */

/* Bottom strip actions container */
.ak-selection-strip-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

/* View Selection button */
.ak-selection-strip-actions .ak-selection-btn-outline-sm {
    flex-shrink: 0;
}

/* Submit buttons group */
.ak-selection-submit-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
}

/* Email strip button - FIXED */
.ak-selection-btn-email-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    padding: 0 !important;
    background: #3b82f6 !important;
    color: #fff !important;
    border: 1px solid #3b82f6 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.ak-selection-btn-email-sm svg {
    width: 16px !important;
    height: 16px !important;
}

.ak-selection-btn-email-sm:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

/* WhatsApp strip button - ENHANCED */
.ak-selection-btn-whatsapp-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    padding: 0 !important;
    background: #22c55e !important;
    color: #fff !important;
    border: 1px solid #22c55e !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
}

.ak-selection-btn-whatsapp-sm svg {
    width: 16px !important;
    height: 16px !important;
}

.ak-selection-btn-whatsapp-sm:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3) !important;
}

/* ============================================
   SIDEBAR BUTTONS - ENHANCED
   ============================================ */

/* Sidebar footer - improved layout */
.ak-selection-sidebar-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(15, 23, 42, 0.5) !important;
}

/* Clear All button */
.ak-selection-btn-outline {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: transparent !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.ak-selection-btn-outline:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Submit buttons container */
.ak-selection-submit-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    width: 100% !important;
}

/* Email button in sidebar */
.ak-selection-btn-email {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    background: #3b82f6 !important;
    color: #fff !important;
    border: 1px solid #3b82f6 !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.ak-selection-btn-email:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    transform: translateY(-1px) !important;
}

/* WhatsApp button in sidebar */
.ak-selection-btn-whatsapp {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    background: #22c55e !important;
    color: #fff !important;
    border: 1px solid #22c55e !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ak-selection-btn-whatsapp:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
    transform: translateY(-1px) !important;
}

/* Button icons */
.ak-selection-btn-email svg,
.ak-selection-btn-whatsapp svg,
.ak-selection-btn-email-sm svg,
.ak-selection-btn-whatsapp-sm svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 768px) {
    .ak-selection-strip-actions {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .ak-selection-submit-group {
        flex-wrap: nowrap !important;
    }
    
    .ak-selection-btn-email-sm,
    .ak-selection-btn-whatsapp-sm {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }
    
    .ak-selection-sidebar-footer {
        padding: 1rem !important;
    }
    
    .ak-selection-submit-group {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .ak-selection-btn-email,
    .ak-selection-btn-whatsapp {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .ak-selection-strip-inner {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .ak-selection-strip-left {
        width: 100% !important;
    }
    
    .ak-selection-strip-actions {
        width: 100% !important;
        justify-content: flex-end !important;
    }
}