/* Festival Type Display Styles */

/* Festival type badge in main cards */
.festival-type-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #495057 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    margin-left: 8px !important;
    border: 1px solid #dee2e6 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.festival-type-badge:hover {
    background: linear-gradient(135deg, #fd7b21 0%, #ffc288 100%) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(253,123,33,0.3) !important;
}

.festival-type-badge i {
    margin-left: 6px !important;
    font-size: 10px !important;
    color: #fd7b21 !important;
    transition: color 0.3s ease !important;
}

.festival-type-badge:hover i {
    color: #fff !important;
}

/* Different styles for different festival types */
.festival-type-badge.type-free {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
    color: #155724 !important;
    border-color: #28a745 !important;
}

.festival-type-badge.type-paid {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%) !important;
    color: #856404 !important;
    border-color: #ffc107 !important;
}

.festival-type-badge.type-sponsored {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%) !important;
    color: #004085 !important;
    border-color: #007bff !important;
}

.festival-type-badge.type-premium {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%) !important;
    color: #721c24 !important;
    border-color: #dc3545 !important;
}

.festival-type-badge.type-featured {
    background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%) !important;
    color: #383d41 !important;
    border-color: #6c757d !important;
}

.festival-type-badge.type-partnership {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1ecf1 100%) !important;
    color: #0c5460 !important;
    border-color: #17a2b8 !important;
}

/* Festival type in dashboard */
.dashboard-festival-type {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f8fafc !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
}

.dashboard-festival-type i {
    color: #fd7b21 !important;
    font-size: 12px !important;
}

/* Festival type filter */
.festival-type-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
}

.festival-type-filter-item {
    padding: 6px 12px !important;
    border-radius: 20px !important;
    border: 1px solid #dee2e6 !important;
    background: #fff !important;
    color: #495057 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.festival-type-filter-item:hover {
    background: #fd7b21 !important;
    color: #fff !important;
    border-color: #fd7b21 !important;
}

.festival-type-filter-item.active {
    background: #fd7b21 !important;
    color: #fff !important;
    border-color: #fd7b21 !important;
}

/* Festival type in search results */
.search-result-festival-type {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: rgba(253, 123, 33, 0.9) !important;
    color: #fff !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    backdrop-filter: blur(5px) !important;
}

/* Festival type in mobile view */
@media (max-width: 768px) {
    .festival-type-badge {
        font-size: 10px !important;
        padding: 4px 8px !important;
        margin-top: 6px !important;
        margin-left: 6px !important;
    }
    
    .festival-type-badge i {
        margin-left: 4px !important;
        font-size: 9px !important;
    }
    
    .dashboard-festival-type {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    
    .festival-type-filter {
        gap: 6px !important;
    }
    
    .festival-type-filter-item {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* Festival type animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.festival-type-badge {
    animation: fadeInUp 0.3s ease !important;
}

/* Festival type in card header */
.card-header-festival-type {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
}

.card-header-festival-type .title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.card-header-festival-type .type {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #666 !important;
    background: #f0f0f0 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
}

/* Festival type in sidebar */
.sidebar-festival-type {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
}

.sidebar-festival-type h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
}

.sidebar-festival-type ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-festival-type li {
    padding: 5px 0 !important;
    font-size: 13px !important;
    color: #666 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

.sidebar-festival-type li:hover {
    color: #fd7b21 !important;
}

/* Festival type in statistics */
.stats-festival-type {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
}

.stats-festival-type-item {
    text-align: center !important;
    background: #f8fafc !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
}

.stats-festival-type-item .number {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
}

.stats-festival-type-item .label {
    font-size: 12px !important;
    color: #666 !important;
    font-weight: 500 !important;
}

/* Force visibility */
.festival-type-badge,
.festival-type-badge *,
.dashboard-festival-type,
.dashboard-festival-type * {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}
