/**
 * All Opportunities Component Styles
 */

.custom-filter-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-bottom: 2px !important; 
    white-space: nowrap !important;
    width: 100% !important;
    min-height: 28px !important;
}

.custom-filter-row label {
    margin-bottom: 0 !important;
    cursor: pointer !important;
    font-size: 0.85rem !important; 
    flex-grow: 1 !important;
    color: #334155 !important; 
}
.bootstrap-select .dropdown-toggle:before {
    content: "\f078";
    position: absolute;
    right: 4px;
    font-size: 12px;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
}
.custom-filter-row .text-muted {
    color: #64748b !important;
}

.custom-filter-row .form-check-input {
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: 1rem !important;
    height: 1rem !important;
    align-self: center !important;
}

/* Cinematic Plus-Minus Toggle Animation */
.plus-minus-toggle {
    cursor: pointer !important;
    position: relative !important;
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    margin-right: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.plus-minus-toggle::before, .plus-minus-toggle::after {
    content: '' !important;
    position: absolute !important;
    background-color: #334155 !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 1px !important;
}

.plus-minus-toggle::before {
    width: 12px !important;
    height: 2px !important;
}

.plus-minus-toggle::after {
    width: 2px !important;
    height: 12px !important;
}

.plus-minus-toggle.active::after {
    transform: rotate(90deg) !important;
    opacity: 0 !important; 
}

.plus-minus-toggle:hover::before, .plus-minus-toggle:hover::after {
    background-color: #2a6f7a !important;
}

.city-collapse-container {
    display: none;
    padding-left: 10px;
    border-left: 1px solid #f1f5f9;
    margin-left: 8px;
    margin-top: 2px;
}

.city-collapse-container.show {
    display: block;
}

.sidebar-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.mini-search-input {
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
}

#locationsList, #industriesList {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.location-city-item label {
    font-size: 0.875em;
    color: #64748b;
}

.opportunity-page-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.listing-meta-text {
    font-size: 0.875rem;
    color: #64748b;
}

.business-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f6;
    border-radius: 12px;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #84c0ca;
}

/* Filter Tags (Selected Bubbles) */
.filter-tag {
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.filter-tag:hover {
    background-color: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.filter-tag i {
    font-size: 0.7rem !important;
    color: #94a3b8 !important;
    transition: color 0.2s ease !important;
}

.filter-tag:hover i {
    color: #ef4444 !important;
}

.search-tag {
    background-color: #f0fdfa !important;
    border-color: #ccfbf1 !important;
    color: #0d9488 !important;
}

.clear-all-filters:hover {
    text-decoration: underline !important;
    color: #1d4ed8 !important;
}

/* Mobile responsive fixes */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 280px;
        background: #fff;
        z-index: 1050;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        padding: 1.5rem;
    }
    .sidebar.active {
        left: 0;
    }
    .filter-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }
    body.filter-active .filter-overlay {
        display: block;
    }
}
