.feed-filter-container {
position: relative;
z-index: 50;
}
.feed-filter-wrapper {
display: flex;
gap: 8px;
align-items: center;
}
.feed-filter-dropdown {
position: relative;
z-index: 50;
flex: 1;
}
.feed-filter-button {
width: 100%;
background: #252b3d;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
padding: 8px 12px;
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
transition: all 0.3s ease;
color: white;
font-size: 13px;
font-weight: 500;
}
.feed-filter-button:hover {
background: #2a3142;
border-color: rgba(255, 255, 255, 0.3);
transform: translateY(-1px);
}
.feed-filter-icon {
font-size: 16px;
}
.feed-filter-text {
flex: 1;
text-align: left;
}
.feed-filter-arrow {
width: 16px;
height: 16px;
transition: transform 0.3s ease;
}
.feed-filter-button.active .feed-filter-arrow {
transform: rotate(180deg);
}
.feed-filter-menu {
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
background: #252b3d;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
overflow: hidden;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 1000;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.feed-filter-menu.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.feed-filter-option {
padding: 12px 16px;
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
transition: all 0.2s ease;
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
}
.feed-filter-option:hover {
background: rgba(255, 255, 255, 0.05);
color: white;
}
.feed-filter-option.selected {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
border-left: 3px solid rgba(251, 191, 36, 0.9);
color: rgba(251, 191, 36, 0.9);
}
.feed-filter-option-icon {
font-size: 16px;
}
.feed-filter-option-text {
flex: 1;
}
@media (max-width: 640px) {
.feed-filter-container.widget-hidden {
/* No extra padding needed - flexbox gap handles spacing */
}
.feed-filter-button {
padding: 10px 14px;
font-size: 13px;
}
.feed-filter-icon {
font-size: 14px;
}
.feed-filter-option {
padding: 10px 14px;
font-size: 13px;
}
.feed-filter-option-icon {
font-size: 14px;
}
}

/* Smart Feed Button */
.smart-feed-button {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.1));
border: 1px solid rgba(139, 92, 246, 0.4);
border-radius: 8px;
padding: 8px 12px;
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
transition: all 0.3s ease;
color: rgba(167, 139, 250, 0.95);
font-size: 13px;
font-weight: 500;
white-space: nowrap;
}
.smart-feed-button:hover {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.2));
border-color: rgba(139, 92, 246, 0.6);
}
.smart-feed-icon {
font-size: 14px;
}
.smart-feed-text {
font-weight: 500;
}
.smart-feed-beta-badge {
background: rgba(139, 92, 246, 0.3);
border: 1px solid rgba(139, 92, 246, 0.5);
border-radius: 4px;
padding: 2px 6px;
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: rgba(167, 139, 250, 1);
}

/* Smart Feed Loading State */
.smart-feed-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80px 20px;
gap: 16px;
}
.smart-feed-loading-icon {
position: relative;
width: 40px;
height: 40px;
}
.smart-feed-loading-icon i {
font-size: 24px;
color: rgba(167, 139, 250, 0.95);
animation: smartSpin 2s linear infinite;
}
@keyframes smartSpin {
0% { 
    transform: rotate(0deg);
}
100% { 
    transform: rotate(360deg);
}
}
.smart-feed-loading-text {
font-size: 15px;
font-weight: 500;
color: rgba(255, 255, 255, 0.8);
text-align: center;
}

@media (max-width: 640px) {
.feed-filter-wrapper {
    gap: 6px;
}
.smart-feed-button {
    padding: 8px 10px;
    font-size: 12px;
}
.smart-feed-icon {
    font-size: 13px;
}
.smart-feed-text {
    display: none;
}
.smart-feed-beta-badge {
    display: none;
}
.feed-filter-button {
    padding: 8px 10px;
    font-size: 12px;
}
.smart-feed-loading {
    padding: 60px 20px;
}
.smart-feed-loading-icon {
    width: 32px;
    height: 32px;
}
.smart-feed-loading-icon i {
    font-size: 20px;
}
.smart-feed-loading-text {
    font-size: 14px;
}
}
