/* Simplified dropdown styles - no more nested dropdowns in navbar */


/* Simplified dropdown styles for navbar */


/* Active filter styles */

.active-filter {
    display: inline-flex;
    align-items: center;
    background-color: var(--theme-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 2px 4px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.active-filter:hover {
    background-color: var(--theme-accent-dark);
    transform: scale(1.05);
}

.active-filter-remove {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.active-filter-remove:hover {
    opacity: 1;
}


/* Filter section improvements */

.filter-section {
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.filter-section .form-label {
    font-weight: 500;
    color: var(--theme-text);
    margin-bottom: 8px;
}

.filter-section .form-control,
.filter-section .form-select {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--theme-text);
    transition: all 0.3s ease;
}

.filter-section .form-control:focus,
.filter-section .form-select:focus {
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 0.2rem rgba(var(--theme-accent-rgb), 0.25);
    background-color: rgba(255, 255, 255, 0.1);
}

.filter-section .form-check-input:checked {
    background-color: var(--theme-accent);
    border-color: var(--theme-accent);
}


/* Mobile filter toggle button */

@media (max-width: 991.98px) {
    .filter-section .btn-outline-primary {
        background: linear-gradient( 135deg, var(--theme-accent) 0%, var(--theme-accent-dark) 100%);
        border: none;
        color: white;
        font-weight: 500;
        padding: 12px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    .filter-section .btn-outline-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}


/* Applied filters display styling */

.applied-filters-display {
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.applied-filters-display h6 {
    color: var(--theme-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.applied-filters-display .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.applied-filters-display .badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.applied-filters-display .btn-outline-secondary {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
    transition: all 0.3s ease;
}

.applied-filters-display .btn-outline-secondary:hover {
    background-color: var(--theme-accent);
    color: var(--theme-primary);
    transform: translateY(-1px);
}


/* Universal Error Handling Notifications */

.universal-error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.universal-error-notification .alert {
    margin-bottom: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.universal-error-notification .retry-notification .alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.universal-error-notification .error-notification .alert {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.universal-error-notification .alert i {
    font-size: 1.1rem;
}

.universal-error-notification .btn-close {
    filter: none;
    opacity: 0.7;
}

.universal-error-notification .btn-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Mobile responsive adjustments */

@media (max-width: 768px) {
    .universal-error-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    .universal-error-notification .alert {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}