/* ============================================
   FEED-STYLE DASHBOARD - HigherSelf Network
   Premium UtakWest-Inspired Design System
   ============================================ */

/* ============================================
   CSS VARIABLES - PREMIUM UTAKWEST THEME
   ============================================ */
:root {
    /* Background colors - Premium Slate Palette */
    --feed-bg: transparent;
    --feed-bg-secondary: rgba(15, 23, 42, 0.9);    /* Slate 900 */
    --feed-bg-tertiary: rgba(30, 41, 59, 0.9);     /* Slate 800 */
    --feed-bg-elevated: rgba(51, 65, 85, 0.9);     /* Slate 700 */

    /* Foreground/text colors - Premium Light Text */
    --feed-foreground: #F1F5F9;           /* Slate 100 */
    --feed-foreground-secondary: #CBD5E1;  /* Slate 300 */
    --feed-foreground-muted: #94A3B8;      /* Slate 400 */

    /* Brand colors - HigherSelf cyan theme */
    --feed-primary: #31B2E0;
    --feed-primary-hover: #2a9ec8;
    --feed-primary-light: #5BC4E8;
    --feed-primary-muted: rgba(49, 178, 224, 0.15);

    /* Accent colors */
    --feed-accent-blue: #3b82f6;
    --feed-accent-blue-muted: rgba(59, 130, 246, 0.15);
    --feed-accent-purple: #9B59B6;
    --feed-accent-purple-muted: rgba(155, 89, 182, 0.15);
    --feed-accent-orange: #f97316;
    --feed-accent-orange-muted: rgba(249, 115, 22, 0.15);
    --feed-accent-teal: #4ECDC4;
    --feed-accent-teal-muted: rgba(78, 205, 196, 0.15);
    --feed-accent-pink: #FF6B6B;
    --feed-accent-pink-muted: rgba(255, 107, 107, 0.15);

    /* Status colors */
    --feed-success: #10B981;
    --feed-warning: #F59E0B;
    --feed-error: #EF4444;
    --feed-info: #31B2E0;

    /* Border colors - Subtle Slate */
    --feed-border: rgba(51, 65, 85, 0.6);
    --feed-border-light: rgba(71, 85, 105, 0.5);

    /* Sidebar dimensions */
    --feed-sidebar-width: 256px;
    --feed-sidebar-collapsed: 80px;
    --feed-topbar-height: 56px;

    /* Glassmorphism - Premium Effect */
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-bg-hover: rgba(30, 41, 59, 0.9);
    --glass-blur: 20px;
    --glass-border: rgba(51, 65, 85, 0.5);

    /* Shadows - Premium Glow */
    --feed-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
    --feed-shadow-glow: 0 8px 20px rgba(49, 178, 224, 0.25);

    /* Border radius - aligned with main design system */
    --feed-radius-sm: 4px;
    --feed-radius-md: 8px;
    --feed-radius-lg: 8px;
    --feed-radius-xl: 12px;
    --feed-radius-full: 9999px;

    /* Transitions - Premium Timing */
    --feed-transition: 0.3s ease-in-out;
    --feed-transition-fast: 0.2s ease-in-out;
}

/* Light mode variables */
body:not(.dark-mode) {
    --feed-bg-secondary: rgba(249, 250, 251, 0.95);
    --feed-bg-tertiary: rgba(243, 244, 246, 0.95);
    --feed-bg-elevated: rgba(255, 255, 255, 0.98);
    --feed-foreground: #1E293B;
    --feed-foreground-secondary: #475569;
    --feed-foreground-muted: #94A3B8;
    --feed-border: rgba(203, 213, 225, 0.8);
    --feed-border-light: rgba(226, 232, 240, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(203, 213, 225, 0.5);
}

/* ============================================
   DASHBOARD LAYOUT STRUCTURE
   ============================================ */
.feed-dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ============================================
   SIDEBAR STYLES - GLASSMORPHISM
   ============================================ */
.feed-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--feed-sidebar-width);
    display: flex;
    flex-direction: column;
    z-index: 40;
    transition: all 0.3s ease-out;
}

.feed-sidebar.glass-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-right: 1px solid var(--glass-border);
}

.feed-sidebar.collapsed {
    width: var(--feed-sidebar-collapsed);
}

/* Sidebar Header */
.feed-sidebar-header {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 1rem;
    border-bottom: 1px solid var(--feed-border);
}

.feed-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    overflow: hidden;
}

.feed-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--feed-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.feed-logo-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.feed-logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--feed-foreground);
    white-space: nowrap;
    transition: opacity 0.2s, width 0.2s;
}

.feed-sidebar.collapsed .feed-logo-text {
    opacity: 0;
    width: 0;
}

/* Collapse Toggle Button */
.feed-sidebar-collapse {
    position: absolute;
    top: 20px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--feed-bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--feed-border);
    color: var(--feed-foreground-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 50;
}

.feed-sidebar-collapse:hover {
    background: var(--feed-bg-tertiary);
    color: var(--feed-foreground);
}

.feed-sidebar.collapsed .feed-sidebar-collapse i {
    transform: rotate(180deg);
}

/* Role Badge */
.feed-role-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--feed-radius-sm);
    background: var(--feed-primary-muted);
    border: 1px solid rgba(49, 178, 224, 0.3);
}

.feed-role-badge i {
    color: var(--feed-primary);
    font-size: 0.875rem;
}

.feed-role-badge .role-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--feed-primary);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.feed-sidebar.collapsed .feed-role-badge {
    justify-content: center;
    padding: 0.5rem;
}

.feed-sidebar.collapsed .feed-role-badge .role-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Sidebar Navigation */
.feed-sidebar-nav {
    flex: 1;
    padding: 0.75rem 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.feed-nav-section {
    margin-bottom: 0.5rem;
}

.feed-nav-section-title {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--feed-foreground-muted);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.feed-sidebar.collapsed .feed-nav-section-title {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
}

.feed-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    margin: 0.125rem 0.5rem;
    border-radius: var(--feed-radius-sm);
    color: var(--feed-foreground-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.feed-nav-item:hover {
    background: var(--glass-bg-hover);
    color: var(--feed-foreground);
}

.feed-nav-item.active {
    background: var(--feed-primary-muted);
    color: var(--feed-primary);
}

.feed-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--feed-primary);
    border-radius: 0 2px 2px 0;
}

.feed-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.feed-nav-item .nav-text {
    white-space: nowrap;
    transition: opacity 0.2s;
}

.feed-sidebar.collapsed .feed-nav-item {
    justify-content: center;
    padding: 0.75rem;
}

.feed-sidebar.collapsed .feed-nav-item .nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Grace Nav Item Special Styling */
.feed-nav-item.grace-nav-item {
    background: linear-gradient(90deg, rgba(155, 89, 182, 0.08), transparent);
}

.feed-nav-item.grace-nav-item:hover {
    background: linear-gradient(90deg, rgba(155, 89, 182, 0.15), transparent);
}

.feed-nav-item.grace-nav-item i {
    color: var(--feed-accent-purple);
}

/* Sidebar Footer */
.feed-sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--feed-border);
}

.feed-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.feed-theme-toggle .theme-label {
    font-size: 0.75rem;
    color: var(--feed-foreground-muted);
    transition: opacity 0.2s;
}

.feed-sidebar.collapsed .feed-theme-toggle .theme-label {
    opacity: 0;
    width: 0;
}

.feed-sidebar.collapsed .feed-theme-toggle {
    justify-content: center;
}

.theme-toggle-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--feed-radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--feed-foreground-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-toggle-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--feed-foreground);
}

.feed-signout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem;
    border-radius: var(--feed-radius-sm);
    background: transparent;
    border: none;
    color: var(--feed-foreground-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.feed-signout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feed-sidebar.collapsed .feed-signout-btn .nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */
.feed-main-wrapper {
    flex: 1;
    margin-left: var(--feed-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease-out;
}

.feed-sidebar.collapsed ~ .feed-main-wrapper {
    margin-left: var(--feed-sidebar-collapsed);
}

/* ============================================
   TOP BAR - GLASSMORPHISM
   ============================================ */
.feed-top-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--feed-topbar-height);
    padding: 0 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
}

.feed-mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--feed-radius-sm);
    background: transparent;
    border: none;
    color: var(--feed-foreground-secondary);
    cursor: pointer;
}

.feed-top-bar-spacer {
    flex: 1;
}

.feed-top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feed-notification-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--feed-radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--feed-foreground-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.feed-notification-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--feed-foreground);
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.feed-user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--feed-border);
}

.feed-user-info {
    text-align: right;
}

.feed-user-info .user-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--feed-foreground);
}

.feed-user-info .user-role {
    display: block;
    font-size: 0.75rem;
    color: var(--feed-foreground-muted);
}

.feed-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--feed-radius-sm);
    background: var(--feed-primary-muted);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-user-avatar span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--feed-primary);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.feed-main-content {
    flex: 1;
    padding: 1.5rem;
}

/* Page Header */
.feed-page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .feed-page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.feed-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--feed-foreground);
    margin: 0;
}

.feed-page-subtitle {
    font-size: 0.875rem;
    color: var(--feed-foreground-secondary);
    margin: 0.25rem 0 0;
}

.feed-page-header-actions {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.feed-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--feed-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.feed-btn-primary {
    background: var(--feed-primary);
    color: white;
}

.feed-btn-primary:hover {
    background: var(--feed-primary-hover);
    color: white;
}

.feed-btn-primary.glass-effect {
    background: linear-gradient(135deg, var(--feed-primary), var(--feed-accent-teal));
    box-shadow: 0 4px 15px rgba(49, 178, 224, 0.3);
}

.feed-btn-outline {
    background: transparent;
    border: 1px solid var(--feed-border);
    color: var(--feed-foreground-secondary);
}

.feed-btn-outline:hover {
    background: var(--glass-bg-hover);
    color: var(--feed-foreground);
}

.feed-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* Notification Banner */
.feed-notification-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--feed-radius-sm);
    background: var(--feed-primary-muted);
    border: 1px solid rgba(49, 178, 224, 0.2);
}

.feed-notification-banner .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--feed-radius-sm);
    background: rgba(49, 178, 224, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feed-notification-banner .notification-icon i {
    color: var(--feed-primary);
}

.feed-notification-banner .notification-content {
    flex: 1;
}

.feed-notification-banner .notification-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--feed-primary);
    margin: 0;
}

.feed-notification-banner .notification-message {
    font-size: 0.75rem;
    color: rgba(49, 178, 224, 0.8);
    margin: 0.125rem 0 0;
}

/* ============================================
   STATS GRID - GLASSMORPHISM
   ============================================ */
.feed-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .feed-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feed-stat-card {
    padding: 1.25rem;
    border-radius: var(--feed-radius-sm);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease-in-out;
    box-shadow: var(--feed-shadow-card);
}

.feed-stat-card:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
    border-color: var(--feed-primary);
    box-shadow: var(--feed-shadow-glow);
}

.feed-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.feed-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--feed-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-stat-icon.icon-blue {
    background: var(--feed-accent-blue-muted);
    color: var(--feed-accent-blue);
}

.feed-stat-icon.icon-purple {
    background: var(--feed-accent-purple-muted);
    color: var(--feed-accent-purple);
}

.feed-stat-icon.icon-teal {
    background: var(--feed-accent-teal-muted);
    color: var(--feed-accent-teal);
}

.feed-stat-icon.icon-orange {
    background: var(--feed-accent-orange-muted);
    color: var(--feed-accent-orange);
}

.feed-stat-icon.icon-pink {
    background: var(--feed-accent-pink-muted);
    color: var(--feed-accent-pink);
}

.feed-stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--feed-radius-full);
    font-size: 0.6875rem;
    font-weight: 500;
}

.feed-stat-badge.badge-success {
    background: var(--feed-accent-teal-muted);
    color: var(--feed-accent-teal);
}

.feed-stat-badge.badge-warning {
    background: var(--feed-accent-orange-muted);
    color: var(--feed-accent-orange);
}

.feed-stat-badge.badge-info {
    background: var(--feed-accent-blue-muted);
    color: var(--feed-accent-blue);
}

.feed-stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.feed-stat-trend.positive {
    color: var(--feed-accent-teal);
}

.feed-stat-trend.negative {
    color: #ef4444;
}

.feed-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--feed-foreground);
    margin: 0;
}

.feed-stat-label {
    font-size: 0.75rem;
    color: var(--feed-foreground-muted);
    margin: 0;
}

/* ============================================
   CHARTS ROW - GLASSMORPHISM
   ============================================ */
.feed-charts-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .feed-charts-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feed-chart-card {
    padding: 1.25rem;
    border-radius: var(--feed-radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease-in-out;
    box-shadow: var(--feed-shadow-card);
}

.feed-chart-card:hover {
    border-color: var(--feed-primary);
    box-shadow: var(--feed-shadow-glow);
}

.feed-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.feed-chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--feed-foreground);
    margin: 0;
}

.feed-chart-subtitle {
    font-size: 0.75rem;
    color: var(--feed-foreground-muted);
    margin: 0.125rem 0 0;
}

.feed-chart-link {
    font-size: 0.75rem;
    color: var(--feed-primary);
    text-decoration: none;
}

.feed-chart-link:hover {
    text-decoration: underline;
}

/* Bar Chart */
.feed-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    height: 160px;
    padding-top: 1rem;
}

.feed-bar-chart .bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.feed-bar-chart .bar-value {
    font-size: 9px;
    color: var(--feed-foreground-muted);
}

.feed-bar-chart .bar-fill {
    width: 100%;
    border-radius: 2px 2px 0 0;
    background: var(--feed-primary);
    transition: all 0.3s;
    min-height: 4px;
}

.feed-bar-chart .bar-fill.weekend {
    background: var(--feed-accent-teal);
}

.feed-bar-chart .bar-fill:hover {
    opacity: 0.8;
}

.feed-bar-chart .bar-label {
    font-size: 9px;
    color: var(--feed-foreground-muted);
}

/* Progress List */
.feed-progress-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-progress-item {
    /* Item container */
}

.feed-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.375rem;
}

.feed-progress-label {
    font-size: 0.875rem;
    color: var(--feed-foreground-secondary);
}

.feed-progress-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--feed-foreground);
}

.feed-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--feed-bg-tertiary);
    border-radius: var(--feed-radius-full);
    overflow: hidden;
}

.feed-progress-fill {
    height: 100%;
    border-radius: var(--feed-radius-full);
    transition: width 0.5s ease-out;
}

.feed-progress-fill.fill-purple {
    background: linear-gradient(90deg, var(--feed-accent-purple), #B19CD9);
}

.feed-progress-fill.fill-blue {
    background: var(--feed-accent-blue);
}

.feed-progress-fill.fill-teal {
    background: var(--feed-accent-teal);
}

.feed-progress-fill.fill-orange {
    background: var(--feed-accent-orange);
}

/* ============================================
   LISTS ROW - GLASSMORPHISM
   ============================================ */
.feed-lists-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .feed-lists-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feed-list-card {
    border-radius: var(--feed-radius-sm);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.feed-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--feed-border);
}

.feed-list-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--feed-foreground);
    margin: 0;
}

.feed-list-items {
    /* Container for list items */
}

.feed-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--feed-border);
    transition: background 0.2s;
}

.feed-list-item:last-child {
    border-bottom: none;
}

.feed-list-item:hover {
    background: var(--glass-bg-hover);
}

.feed-list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--feed-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feed-list-item-content {
    flex: 1;
    min-width: 0;
}

.feed-list-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--feed-foreground);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-list-item-meta {
    font-size: 0.75rem;
    color: var(--feed-foreground-muted);
    margin: 0.125rem 0 0;
}

.feed-list-item-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--feed-radius-full);
    font-size: 0.6875rem;
    font-weight: 500;
    flex-shrink: 0;
}

.feed-list-item-badge.badge-success {
    background: var(--feed-accent-teal-muted);
    color: var(--feed-accent-teal);
}

.feed-list-item-badge.badge-info {
    background: var(--feed-accent-blue-muted);
    color: var(--feed-accent-blue);
}

.feed-list-item-badge.badge-warning {
    background: var(--feed-accent-orange-muted);
    color: var(--feed-accent-orange);
}

.feed-list-item-badge.badge-purple {
    background: var(--feed-accent-purple-muted);
    color: var(--feed-accent-purple);
}

/* Agent Status */
.feed-agent-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--feed-accent-teal);
    flex-shrink: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--feed-foreground-muted);
}

.status-dot.active {
    background: var(--feed-accent-teal);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   QUICK STATS FOOTER
   ============================================ */
.feed-quick-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .feed-quick-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feed-quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: var(--feed-radius-sm);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    text-align: center;
}

.feed-quick-stat i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feed-quick-stat i.icon-teal {
    color: var(--feed-accent-teal);
}

.feed-quick-stat i.icon-purple {
    color: var(--feed-accent-purple);
}

.feed-quick-stat i.icon-orange {
    color: var(--feed-accent-orange);
}

.feed-quick-stat i.icon-blue {
    color: var(--feed-accent-blue);
}

.feed-quick-stat .quick-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--feed-foreground);
    margin: 0;
}

.feed-quick-stat .quick-stat-label {
    font-size: 0.625rem;
    color: var(--feed-foreground-muted);
    margin: 0;
}

/* ============================================
   MOBILE SIDEBAR OVERLAY
   ============================================ */
.feed-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 35;
}

.feed-sidebar-overlay.active {
    display: block;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1023px) {
    .feed-sidebar {
        transform: translateX(-100%);
    }

    .feed-sidebar.mobile-open {
        transform: translateX(0);
    }

    .feed-main-wrapper {
        margin-left: 0;
    }

    .feed-sidebar.collapsed ~ .feed-main-wrapper {
        margin-left: 0;
    }

    .feed-mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feed-sidebar-collapse {
        display: none;
    }
}

@media (max-width: 639px) {
    .feed-main-content {
        padding: 1rem;
    }

    .feed-user-info {
        display: none;
    }

    .feed-page-title {
        font-size: 1.25rem;
    }

    .feed-stat-value {
        font-size: 1.25rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-stat-card,
.feed-chart-card,
.feed-list-card,
.feed-quick-stat {
    animation: fade-in-up 0.5s ease-out forwards;
}

.feed-stat-card:nth-child(1) { animation-delay: 0.1s; }
.feed-stat-card:nth-child(2) { animation-delay: 0.15s; }
.feed-stat-card:nth-child(3) { animation-delay: 0.2s; }
.feed-stat-card:nth-child(4) { animation-delay: 0.25s; }

.feed-chart-card:nth-child(1) { animation-delay: 0.3s; }
.feed-chart-card:nth-child(2) { animation-delay: 0.35s; }

.feed-list-card:nth-child(1) { animation-delay: 0.4s; }
.feed-list-card:nth-child(2) { animation-delay: 0.45s; }

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
.feed-sidebar-nav::-webkit-scrollbar,
.feed-list-items::-webkit-scrollbar {
    width: 4px;
}

.feed-sidebar-nav::-webkit-scrollbar-track,
.feed-list-items::-webkit-scrollbar-track {
    background: transparent;
}

.feed-sidebar-nav::-webkit-scrollbar-thumb,
.feed-list-items::-webkit-scrollbar-thumb {
    background: var(--feed-border);
    border-radius: 2px;
}

.feed-sidebar-nav::-webkit-scrollbar-thumb:hover,
.feed-list-items::-webkit-scrollbar-thumb:hover {
    background: var(--feed-border-light);
}
