/* Sports Fan Community - Exact Angular Styles Recreation */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #F8F9FA;
    color: #333;
    line-height: 1.6;
}

.page {
    min-height: 100vh;
}

/* ===== v1.6.0 Three-Column Layout ===== */

/* Logo */
.logo-img {
    height: 40px;
    width: auto;
}

/* ---------- Mobile Header ---------- */
.mobile-header {
    display: none; /* Hidden on desktop */
    position: sticky;
    top: 0;
    z-index: 1100;
    background: linear-gradient(135deg, #0A2A48 0%, #C8102E 100%);
    height: 56px;
    padding: 0 12px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

.mobile-logo .logo-img {
    height: 32px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-notification-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    position: relative;
}

.mobile-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.mobile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
}

/* ---------- Sidebar Overlay (mobile) ---------- */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1200;
}

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

/* ---------- App Layout Grid ---------- */
.app-layout {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
}

/* ---------- Left Sidebar ---------- */
.left-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    z-index: 1300;
}

.sidebar-logo {
    padding: 4px 20px 16px;
}

.sidebar-logo .logo-img {
    height: 36px;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 8px;
    margin: 0 10px;
}

.sidebar-user-info:hover {
    background: #f0f2f5;
}

.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #C8102E;
}

.sidebar-user-details {
    display: flex;
    flex-direction: column;
}

.sidebar-username {
    font-weight: 700;
    color: #0A2A48;
    font-size: 14px;
}

.sidebar-profile-link {
    font-size: 12px;
    color: #C8102E;
    text-decoration: none;
}

.sidebar-profile-link:hover {
    text-decoration: underline;
}

.sidebar-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 10px 20px;
}

/* Sidebar Navigation Items */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 10px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-nav-item i {
    width: 22px;
    text-align: center;
    font-size: 18px;
    color: #666;
}

.sidebar-nav-item:hover {
    background: #f0f2f5;
    color: #0A2A48;
}

.sidebar-nav-item:hover i {
    color: #C8102E;
}

.sidebar-nav-item.active {
    background: linear-gradient(135deg, rgba(200,16,46,0.08) 0%, rgba(10,42,72,0.08) 100%);
    color: #C8102E;
    font-weight: 700;
}

.sidebar-nav-item.active i {
    color: #C8102E;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-footer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-footer-item i {
    width: 22px;
    text-align: center;
    font-size: 16px;
}

.sidebar-footer-item:hover {
    background: #f0f2f5;
    color: #C8102E;
}

/* ---------- Main Content ---------- */
.main-content {
    min-height: 100vh;
    background: #F8F9FA;
    border-right: 1px solid #e0e0e0;
}

/* ---------- Right Sidebar ---------- */
.right-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.right-panel-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.right-panel-header {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #0A2A48 0%, rgba(10,42,72,0.9) 100%);
}

.right-panel-header h3 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.right-panel-header h3 i {
    font-size: 14px;
}

.right-panel-body {
    padding: 12px;
    max-height: 400px;
    overflow-y: auto;
}

/* Right panel notification items */
.right-notif-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #eee;
}

.right-notif-item:last-child {
    border-bottom: none;
}

.right-notif-item:hover {
    background: #e8eaed;
}

.right-notif-item.unread {
    background: rgba(200,16,46,0.05);
}

.right-notif-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.right-notif-content {
    flex: 1;
    min-width: 0;
}

.right-notif-content strong {
    display: block;
    font-size: 13px;
    color: #0A2A48;
    margin-bottom: 2px;
}

.right-notif-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.right-notif-time {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* v1.9 — @Mention autocomplete dropdown */
.mention-dropdown {
    position: relative;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    max-height: 220px;
    overflow-y: auto;
    margin-top: 2px;
    margin-bottom: 4px;
}
.mention-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a1a;
    transition: background 0.12s;
    border-bottom: 1px solid #f5f5f5;
}
.mention-item:last-child {
    border-bottom: none;
}
.mention-item:hover {
    background: rgba(10,42,72,0.06);
}
.mention-item-at {
    color: #C8102E;
    font-weight: 700;
}

/* v1.9 — @mention link inside post/comment body */
.mention-link {
    color: #C8102E;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: rgba(200,16,46,0.06);
    padding: 1px 4px;
    border-radius: 4px;
    transition: background 0.15s;
}
.mention-link:hover {
    background: rgba(200,16,46,0.14);
    text-decoration: underline;
}

/* Notification dropdown (mobile) */
.notification-dropdown {
    display: none;
    position: fixed;
    top: 56px;
    right: 8px;
    width: 340px;
    max-height: 70vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 2000;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.notification-header h3 {
    margin: 0;
    font-size: 16px;
    color: #0A2A48;
}

.mark-all-read {
    background: none;
    border: none;
    color: #C8102E;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

.notification-list {
    max-height: 50vh;
    overflow-y: auto;
    padding: 8px;
}

.notification-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f0f2f5;
}

.notification-item.unread {
    background: rgba(200,16,46,0.05);
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content strong {
    display: block;
    font-size: 13px;
    color: #0A2A48;
}

.notification-content p {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
}

.notification-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.notification-badge {
    background: #C8102E;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.no-notifications {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 14px;
}

/* ---------- Responsive: Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
    .app-layout {
        grid-template-columns: 72px 1fr;
    }
    
    .right-sidebar {
        display: none;
    }
    
    .sidebar-logo {
        padding: 4px 0 16px;
        text-align: center;
    }
    
    .sidebar-logo .logo-img {
        height: 28px;
    }
    
    .sidebar-user-info {
        justify-content: center;
        padding: 12px 8px;
        margin: 0 4px;
    }
    
    .sidebar-user-details {
        display: none;
    }
    
    .sidebar-avatar {
        width: 36px;
        height: 36px;
    }
    
    .sidebar-nav-item {
        justify-content: center;
        padding: 14px 8px;
    }
    
    .sidebar-nav-item span {
        display: none;
    }
    
    .sidebar-nav-item i {
        font-size: 20px;
        margin: 0;
    }
    
    .sidebar-divider {
        margin: 10px 8px;
    }
    
    .sidebar-footer-item {
        justify-content: center;
        padding: 12px 8px;
    }
    
    .sidebar-footer-item span {
        display: none;
    }
}

/* ---------- Responsive: Mobile (≤768px) ---------- */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
    
    .app-layout {
        grid-template-columns: 1fr;
    }
    
    .left-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        z-index: 1300;
    }
    
    .left-sidebar.open {
        left: 0;
    }
    
    /* Restore full labels on mobile sidebar (it's an overlay) */
    .sidebar-user-details {
        display: flex;
    }
    
    .sidebar-nav-item {
        justify-content: flex-start;
    }
    
    .sidebar-nav-item span {
        display: inline;
    }
    
    .sidebar-footer-item {
        justify-content: flex-start;
    }
    
    .sidebar-footer-item span {
        display: inline;
    }
    
    .right-sidebar {
        display: none;
    }
    
    .main-content {
        min-height: calc(100vh - 56px);
    }
}

/* ===== End v1.6.0 Layout ===== */

/* v1.6.0 Section Containers */
.feed-section-container,
.news-section-container,
.blogs-section-container,
.bar-finder-section-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.feed-content {
    width: 100%;
}

/* Bar Finder Styles - Production Match */
.bar-locator-page {
    background: #f5f5f5;
    min-height: calc(100vh - 40px);
    padding: 20px;
}

.bar-locator-header {
    text-align: center;
    margin-bottom: 30px;
}

.bar-title {
    font-size: 2.5rem;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.bar-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.bar-search-container {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bar-search-input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.bar-search-input:focus {
    outline: none;
    border-color: #C8102E;
}

.btn-search {
    background: #C8102E;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-search:hover {
    background: #a00d25;
}

.btn-location {
    background: #6c757d;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-location:hover {
    background: #5a6268;
}

.search-status {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    font-size: 15px;
}

.search-status i {
    margin-right: 8px;
}

.bar-content-split {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.bar-map-side {
    flex: 1;
}

.bar-map {
    height: 600px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bar-list-side {
    flex: 1;
    overflow-y: auto;
    max-height: 600px;
}

.bars-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bar-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.bar-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.bar-number {
    background: #C8102E;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.bar-info {
    flex: 1;
}

.bar-name {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.bar-address {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 4px;
    color: #666;
    font-size: 0.875rem;
}

.bar-address i {
    color: #C8102E;
    font-size: 11px;
    flex-shrink: 0;
}

.bar-address a {
    color: #0A2A48;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(10,42,72,0.25);
    transition: color 0.15s, border-color 0.15s;
}

.bar-address a:hover {
    color: #C8102E;
    border-bottom-color: #C8102E;
}

.bar-address-missing {
    font-style: italic;
}

.bar-address-missing a {
    color: #888;
    border-bottom-color: rgba(136,136,136,0.3);
}

.bar-address-missing a:hover {
    color: #C8102E;
    border-bottom-color: #C8102E;
}

.bar-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: #555;
}

.bar-detail i {
    color: #C8102E;
    font-size: 11px;
    flex-shrink: 0;
    width: 12px;
    text-align: center;
}

.bar-detail a {
    color: #0A2A48;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(10,42,72,0.25);
    transition: color 0.15s, border-color 0.15s;
}

.bar-detail a:hover {
    color: #C8102E;
    border-bottom-color: #C8102E;
}

.bar-hours {
    color: #666;
    font-weight: 400;
    font-style: italic;
}

.bar-card-footer {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.bar-distance-badge,
.bar-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}

.bar-distance-badge i {
    color: #C8102E;
}

.btn-directions {
    width: 100%;
    background: #C8102E;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-directions:hover {
    background: #a00d25;
}

/* --- v1.10.0 Bar Manager Feature --- */

.btn-claim-bar {
    background: none;
    border: 1px solid #0A2A48;
    color: #0A2A48;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    margin-left: auto;
}
.btn-claim-bar:hover {
    background: #0A2A48;
    color: #fff;
}

.bar-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e6f4ea;
    color: #2e7d32;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 6px;
}
.bar-verified-badge i { font-size: 10px; }

.bar-team-affiliations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.bar-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #0C2340, #1a3a5c);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}
.bar-team-badge i { font-size: 9px; opacity: 0.8; }

.bar-specials-block {
    margin-top: 8px;
    padding: 7px 10px;
    background: #fff9e6;
    border-left: 3px solid #e8a000;
    border-radius: 0 4px 4px 0;
    font-size: 0.83rem;
    color: #5a3e00;
    font-weight: 500;
}
.bar-specials-block i { color: #e8a000; margin-right: 4px; }

/* --- v1.12.0 Bar Reviews & Ratings --- */

.bar-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 0.82rem;
    margin: 3px 0 4px;
}
.bar-rating small {
    color: #888;
    font-size: 0.78rem;
}

.btn-bar-reviews {
    background: none;
    border: 1px solid #f59e0b;
    color: #b45309;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.btn-bar-reviews:hover {
    background: #f59e0b;
    color: #fff;
}

.btn-submit-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0A2A48;
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    margin-top: 10px;
}
.btn-submit-review:hover:not(:disabled) {
    background: #0d3560;
    transform: translateY(-1px);
}
.btn-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Claim Status Badges */
.claim-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.status-pending  { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }

/* Claim Modal */
.claim-bar-modal-content {
    max-width: 480px;
}
.claim-bar-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    border-left: 3px solid #C8102E;
}
.claim-bar-disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

/* My Bar Profile Card (shown on own profile page) */
.my-bar-profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #C8102E;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.my-bar-profile-card-icon {
    font-size: 1.8rem;
    color: #C8102E;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}
.my-bar-profile-card-body {
    flex: 1;
}
.my-bar-profile-card-body h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: #0A2A48;
}
.my-bar-profile-card-body p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}
.btn-manage-bar {
    padding: 9px 20px;
    font-size: 0.875rem;
    border-radius: 6px;
    background: transparent;
    border: 2px solid #0A2A48;
    color: #0A2A48;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.15s, color 0.15s;
}
.btn-manage-bar:hover {
    background: #0A2A48;
    color: #fff;
}
/* Invite a Friend card on own profile */
.invite-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #C8102E;
}
.invite-card-icon {
    font-size: 1.8rem;
    color: #C8102E;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    padding-top: 2px;
}
.invite-card-body {
    flex: 1;
}
.invite-card-body h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: #0A2A48;
}
.invite-card-body p {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: #666;
}
.invite-input-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}
.invite-input-row .form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
}
.invite-input-row .btn {
    align-self: flex-start;
}

.btn-revoke-claim {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 5px;
    background: #6a1b9a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.15s;
}
.btn-revoke-claim:hover { opacity: 0.82; }
.claim-status-badge.status-revoked { background: #6a1b9a; color: #fff; }

/* My Bar Dashboard */
.my-bar-section {
    max-width: 750px;
    margin: 0 auto;
    padding: 30px 20px;
}
.my-bar-header {
    margin-bottom: 25px;
}
.my-bar-header h1 {
    font-size: 1.8rem;
    color: #C8102E;
    margin: 0 0 5px;
}
.my-bar-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}
.my-bar-card h3 {
    font-size: 1.1rem;
    color: #0A2A48;
    margin: 0 0 6px;
}
.my-bar-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.my-bar-info-row > i {
    color: #C8102E;
    margin-top: 3px;
    flex-shrink: 0;
}
.my-bar-info-row > div { flex: 1; }
.my-bar-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.my-bar-actions .btn-primary {
    padding: 10px 28px;
    font-size: 0.95rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #0A2A48, #1a3a5c);
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}
.my-bar-actions .btn-primary:hover {
    opacity: 0.88;
}
.my-bar-no-profile {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.my-bar-no-profile h3 { color: #444; margin: 15px 0 8px; }
.my-bar-claim-status {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.my-bar-claim-status h3 { margin: 0 0 10px; }

.bar-specials-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    margin-top: 8px;
}
.bar-specials-input:focus {
    border-color: #0A2A48;
    outline: none;
}
.char-count {
    color: #888;
    font-size: 0.8rem;
    display: block;
    text-align: right;
    margin-top: 4px;
}

/* Admin Bar Claims Table */
.bar-claims-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}
.bar-claims-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.bar-claims-table th {
    background: #f8f9fa;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}
.bar-claims-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}
.bar-claims-table tr:hover td { background: #fafafa; }
.claim-actions {
    white-space: nowrap;
    display: flex;
    gap: 6px;
    align-items: center;
}
.btn-approve-claim {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-approve-claim:hover { background: #1b5e20; }
.btn-reject-claim {
    background: #c62828;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-reject-claim:hover { background: #b71c1c; }
.claim-reviewed-label {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}
.no-claims-msg {
    text-align: center;
    color: #888;
    padding: 30px;
    font-style: italic;
}

/* Role badge for bar_manager */
.role-bar_manager {
    background: linear-gradient(135deg, #e8a000, #c17a00);
    color: #fff;
}

.muted-text {
    color: #888;
    font-size: 0.85rem;
}

/* Custom Map Markers */
.custom-marker {
    background: none;
    border: none;
}

.marker-pin {
    width: 30px;
    height: 42px;
    position: relative;
    background: #C8102E;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-pin::after {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.marker-pin span {
    position: absolute;
    z-index: 1;
    color: #C8102E;
    font-weight: 700;
    font-size: 14px;
    transform: rotate(45deg);
}

.search-prompt {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

.loading-indicator {
    text-align: center;
    color: #0A2A48;
    padding: 40px 20px;
    font-size: 1.1rem;
}

.loading-indicator i {
    margin-right: 10px;
    color: #C8102E;
}

.no-results {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.coming-soon h3 {
    color: #0A2A48;
    font-size: 1.8rem;
    margin: 20px 0 10px 0;
}

/* RSS Share Modal */
.rss-share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.rss-share-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.rss-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.rss-modal-header h3 {
    margin: 0;
    color: #0A2A48;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #C8102E;
}

.rss-modal-content {
    padding: 24px;
}

.rss-article-preview {
    background: #f8f9fa;
    border-left: 4px solid #C8102E;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.rss-preview-source {
    display: inline-block;
    background: #C8102E;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.rss-preview-title {
    color: #0A2A48;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.rss-preview-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.rss-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #C8102E;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rss-preview-link:hover {
    color: #a00d25;
}

.rss-comment-section label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.rss-comment-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.rss-comment-textarea:focus {
    outline: none;
    border-color: #C8102E;
}

.rss-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e0e0e0;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-share {
    background: #C8102E;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-share:hover {
    background: #a00d25;
}

.btn-share:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Mobile Bar Finder */
@media (max-width: 768px) {
    .bar-search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .bar-search-input {
        width: 100%;
        padding: 12px 15px;
    }
    
    .btn-search,
    .btn-location {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .bar-locator-split {
        flex-direction: column;
    }
    
    .bar-map-container,
    .bar-results-container {
        height: 400px;
    }
    
    .bar-content-split {
        flex-direction: column;
    }
    
    .bar-map-side,
    .bar-list-side {
        width: 100%;
        min-height: 400px;
    }
    
    .rss-share-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

/* Comment System - Hierarchical Threading */
.comment-input,
.reply-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 50px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-link-preview-container {
    width: 100%;
}

.comment-link-preview-container .link-preview {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    overflow: hidden;
}

.comment-link-preview-container .preview-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.comment-link-preview-container .preview-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #C8102E;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease;
    z-index: 10;
}

.comment-link-preview-container .preview-close:hover {
    background: #a00d25;
}

.comment-link-preview-container .youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.comment-link-preview-container .youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comment-link-preview-container .preview-info {
    padding-right: 30px;
}

.comment-link-preview-container .preview-title {
    font-weight: 600;
    color: #0A2A48;
    margin-bottom: 6px;
    font-size: 15px;
}

.comment-link-preview-container .preview-description {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.comment-link-preview-container .preview-url {
    color: #C8102E;
    font-size: 12px;
    word-break: break-all;
    text-decoration: none;
    display: block;
}

.comment-link-preview-container .preview-url:hover {
    text-decoration: underline;
}

.comment-submit-btn {
    align-self: flex-start;
}

.comment-input:focus,
.reply-input:focus {
    outline: none;
    border-color: #C8102E;
}

.comment-thread {
    margin-bottom: 12px;
}

.comment-root {
    border-left: none;
}

.comment-reply {
    margin-left: 40px;
    border-left: 2px solid #e0e0e0;
    padding-left: 12px;
}

.comment-container {
    display: flex;
    gap: 8px;
    position: relative;
}

.comment-connector {
    width: 2px;
    background: #e0e0e0;
    position: absolute;
    left: -12px;
    top: 0;
    bottom: 0;
}

.comment-root .comment-connector {
    display: none;
}

.comment-body {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    transition: background 0.2s ease;
}

.comment-body:hover {
    background: #f0f1f2;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comment-meta strong {
    color: #0A2A48;
    font-size: 14px;
}

.comment-time {
    color: #999;
    font-size: 12px;
}

.comment-content {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.comment-link {
    color: #C8102E;
    text-decoration: none;
    font-weight: 600;
}

.comment-link:hover {
    text-decoration: underline;
}

.comment-link-preview {
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-embed-small {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-height: 200px;
}

.youtube-embed-small iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.comment-like-btn,
.comment-reply-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.comment-like-btn:hover,
.comment-reply-btn:hover {
    background: #e0e0e0;
    color: #C8102E;
}

.comment-replies {
    margin-top: 8px;
}

.reply-form {
    margin-top: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reply-form-actions {
    display: flex;
    gap: 8px;
}

.reply-submit-btn {
    background: #C8102E;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.reply-submit-btn:hover {
    background: #a00d25;
}

.reply-cancel-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.reply-cancel-btn:hover {
    background: #5a6268;
}

/* Login Container Styles (Exact from Angular) */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #C8102E 0%, #0A2A48 100%);
    padding: 20px;
    position: relative;
}

/* Baseball background removed for cleaner look */

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    border-top: 4px solid #C8102E;
}

.login-card h2 {
    text-align: center;
    color: #0A2A48;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Arial Black', Arial, sans-serif;
}

.subtitle {
    text-align: center;
    color: #6C757D;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0A2A48;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #C8102E;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
    background: #FFF8F8;
}

.error-message {
    background-color: #FDE8E8;
    color: #C8102E;
    padding: 0.875rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 4px solid #C8102E;
}

.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #C8102E 0%, #BD3039 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #BD3039 0%, #A50E21 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.btn:disabled {
    background: #6C757D;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E9ECEF;
}

.login-footer p {
    color: #6C757D;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.btn-link {
    background: none;
    border: none;
    color: #C8102E;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #0A2A48;
    text-decoration: underline;
}

/* Navigation Styles - Modern Design with Brand Colors */
.navbar {
    background: linear-gradient(135deg, #0A2A48 0%, #0d3558 50%, #0A2A48 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #C8102E;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.navbar-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-brand h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    width: 250px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.search-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
}

.username {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.navbar-actions {
    display: flex;
    gap: 0.75rem;
}

.nav-btn {
    padding: 0.5rem 1rem;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-1px);
}

.navbar-guest {
    display: flex;
    gap: 0.75rem;
}

.login-btn:hover {
    background: white;
    color: #667eea;
}

.signup-btn:hover {
    background: white;
    color: #764ba2;
}

/* Feed Layout Styles (Exact from Angular) */
.feed-layout {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #F8F9FA;
    min-height: calc(100vh - 70px);
}

.main-content {
    flex: 2;
    min-width: 0;
}

.sidebar {
    flex: 1;
    min-width: 0;
}

.feed-header {
    background: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #E9ECEF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.feed-header h2 {
    color: #0A2A48;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Arial Black', Arial, sans-serif;
}

.feed-filters {
    display: flex;
    gap: 8px;
}

.sport-filter-dropdown {
    padding: 10px 16px;
    border: 2px solid #C8102E;
    background: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0A2A48;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.sport-filter-dropdown:hover {
    border-color: #0A2A48;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sport-filter-dropdown:focus {
    outline: none;
    border-color: #0A2A48;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.sport-filter-dropdown option {
    padding: 8px;
    font-size: 0.95rem;
}

.posts {
    background: white;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.post-card {
    padding: 20px;
    border-bottom: 1px solid #E9ECEF;
    transition: all 0.3s ease;
}

.post-card:last-child {
    border-bottom: none;
}

.post-clickable {
    cursor: pointer;
}

.post-card:hover {
    background: #F8F9FA;
    border-left: 4px solid #C8102E;
    padding-left: 16px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E9ECEF;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details strong {
    color: #0A2A48;
    font-size: 1rem;
    font-weight: 600;
}

.time {
    color: #6C757D;
    font-size: 0.85rem;
    margin-top: 2px;
}

.sport {
    background: linear-gradient(135deg, #C8102E 0%, #BD3039 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content {
    margin-bottom: 16px;
}

.post-content p {
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.post-actions {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

.action-btn {
    background: white;
    border: 2px solid #E9ECEF;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6C757D;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn:hover {
    border-color: #C8102E;
    color: #C8102E;
    background: #FFF5F5;
    transform: translateY(-1px);
}

.action-btn.like-btn:hover {
    border-color: #28A745;
    color: #28A745;
    background: #F8FFF9;
}

.action-btn.comment-btn:hover {
    border-color: #007BFF;
    color: #007BFF;
    background: #F8F9FF;
}

.load-more {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.load-more-btn {
    background: linear-gradient(135deg, #0A2A48 0%, #1A3A58 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #1A3A58 0%, #2A4A68 100%);
    transform: translateY(-1px);
}

/* Breaking News Sidebar */
.breaking-news {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.breaking-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 10px;
}

.breaking-news h3 {
    color: #0A2A48;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Arial Black', Arial, sans-serif;
}

.rss-sport-filter {
    min-width: 140px;
    font-size: 0.85rem;
    padding: 6px 10px;
}

.news-item {
    padding: 12px 0;
    border-bottom: 1px solid #E9ECEF;
}

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

.news-time {
    color: #C8102E;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-title {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Dropdown Menu Styles */
.navbar-actions {
    display: flex;
    gap: 0.75rem;
}

.nav-user .user-avatar-small {
    margin-right: 8px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 9999;
    display: none;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.dropdown-item:hover {
    background-color: #F8F9FA;
}

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

.dropdown-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #E9ECEF;
    margin: 4px 0;
}

/* Edit Profile Styles */
.edit-profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E9ECEF;
}

.profile-header h2 {
    color: #0A2A48;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Arial Black', Arial, sans-serif;
}

.back-btn {
    background: #6C757D;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #5A6268;
    transform: translateY(-1px);
}

.profile-picture-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 25px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 1px solid #E9ECEF;
}

.avatar-upload {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #C8102E;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-upload:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 16, 46, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.avatar-upload:hover .upload-overlay {
    opacity: 1;
}

.upload-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.upload-text {
    font-size: 12px;
    font-weight: 500;
}

.upload-info {
    color: #6C757D;
    font-size: 0.9rem;
}

.upload-info p {
    margin: 4px 0;
}

.file-info {
    font-size: 0.8rem;
    font-style: italic;
}

.profile-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 35px;
}

.form-section h3 {
    color: #0A2A48;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C8102E;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0A2A48;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #C8102E;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
    background: #FFF8F8;
}

/* Zip Code Search Styles */
.zip-code-search-container {
    position: relative;
}

.zip-code-input {
    padding-right: 50px;
}

.team-search-input {
    padding-right: 50px;
}

.team-loading {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 14px;
    animation: spin 1s linear infinite;
}

.zip-loading {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 14px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.zip-api-source {
    font-size: 0.7rem;
    color: #6C757D;
    font-style: italic;
    margin-top: 4px;
    text-align: center;
}

.zip-code-input.loading {
    background-color: #F8F9FA;
    border-color: #E9ECEF;
}

.zip-code-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6C757D;
    font-size: 16px;
}

.clear-zip-btn {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6C757D;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.clear-zip-btn:hover {
    background: #E9ECEF;
}

.zip-code-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #F0F0F0;
}

.suggestion-item:hover {
    background-color: #F8F9FA;
}

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

.zip-code-main {
    font-weight: 600;
    color: #0A2A48;
    font-size: 0.9rem;
}

.zip-code-location {
    font-size: 0.8rem;
    color: #6C757D;
    margin-top: 2px;
}

.selected-zip-display {
    margin-top: 8px;
    padding: 8px 12px;
    background: #E8F5E8;
    border: 1px solid #C8102E;
    border-radius: 6px;
    border-radius: 6px;
}

.selected-info {
    color: #0A2A48;
    font-weight: 500;
}

.no-zip-results {
    padding: 12px 16px;
    color: #6C757D;
    font-size: 0.9rem;
}

/* Team Search Styles */
.team-search-section {
    margin-top: 20px;
}

.selected-teams-display {
    margin-bottom: 30px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
    border: 1px solid #E9ECEF;
}

.selected-teams-display h4 {
    color: #0A2A48;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.selected-teams-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selected-team-item {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #E9ECEF;
}

.selected-team-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

.selected-team-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.team-name {
    font-weight: 600;
    color: #0A2A48;
}

.team-league {
    font-size: 0.8rem;
    color: #6C757D;
    background: #F0F0F0;
    padding: 2px 6px;
    border-radius: 4px;
}

.search-container {
    position: relative;
}

.team-search-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6C757D;
    font-size: 16px;
    cursor: pointer;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
}

.teams-list {
    max-height: 300px;
    overflow-y: auto;
}

.team-item {
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #F0F0F0;
}

.team-item:hover {
    background-color: #F8F9FA;
}

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

.team-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-name {
    font-weight: 600;
    color: #0A2A48;
    font-size: 1rem;
}

.team-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-abbr {
    font-size: 0.8rem;
    color: #6C757D;
    background: #F0F0F0;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.add-team-btn {
    color: #28A745;
    font-size: 1.2rem;
    font-weight: bold;
}

.no-results {
    padding: 16px;
    color: #6C757D;
    font-size: 0.9rem;
}

.search-hint {
    margin-top: 16px;
    padding: 16px;
    background: #F8F9FA;
    border-radius: 8px;
    border: 1px solid #E9ECEF;
    position: relative;
    z-index: 1;
}

.search-hint p {
    margin-bottom: 8px;
}

.search-hint ul {
    list-style: none;
    padding-left: 0;
}

.search-hint li {
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #6C757D;
}

.search-hint strong {
    color: #0A2A48;
}

.section-desc {
    color: #6C757D;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E9ECEF;
}

.btn-secondary {
    background: #6C757D;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5A6268;
    transform: translateY(-1px);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* RSS Feed Styles */
.rss-source-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rss-source-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: .4em;
}

.rss-source-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.rss-source-btn.active {
    background: #bd3039;
    color: white;
}

.news-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.news-source {
    background: #bd3039;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
}

.news-time {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #bd3039;
}

.news-description {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-actions {
    display: flex;
    justify-content: flex-end;
}

.add-rss-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-rss-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

.error-news {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Comments Section Styles */
.comment-link-preview {
    margin-top: 8px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 3px solid #C8102E;
}

.youtube-thumbnail-link {
    display: block;
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.youtube-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.youtube-thumbnail-link:hover .youtube-thumbnail {
    opacity: 0.8;
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.youtube-thumbnail-link:hover .youtube-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.comment-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.comment-submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.comment-submit-btn:hover {
    background: #0056b3;
}

/* Comments list - allow natural expansion without scrollbars */

.comment {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-meta {
    flex: 1;
}

.comment-time {
    color: #6c757d;
    font-size: 12px;
    margin-left: 8px;
}

.comment-content {
    margin-bottom: 10px;
    line-height: 1.4;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-like-btn,
.comment-reply-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.comment-like-btn:hover,
.comment-reply-btn:hover {
    background: #e9ecef;
}

.comment-like-btn.liked {
    color: #bd3039;
}

.reply-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.reply-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
}

.reply-submit-btn,
.reply-cancel-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.reply-submit-btn {
    background: #28a745;
    color: white;
}

.reply-cancel-btn {
    background: #6c757d;
    color: white;
}

.error-comments {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* RSS Share Badge Styles */
.rss-share-badge {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

.rss-badge {
    background: #2196f3;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

.rss-link {
    color: #1976d2;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.rss-link:hover {
    text-decoration: underline;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .navbar-brand h1 {
        font-size: 1.2rem;
    }
    
    .navbar-search {
        display: none;
    }
    
    .navbar-right {
        gap: 8px;
    }
    
    .username {
        font-size: 0.8rem;
    }
    
    .dropdown-toggle {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .dropdown-menu {
        right: 0;
        min-width: 160px;
    }
    
    /* Feed Layout Mobile */
    .feed-layout {
        flex-direction: column;
        padding: 10px;
    }
    
    .main-content {
        width: 100%;
        padding: 0;
    }
    
    .sidebar {
        width: 100%;
        margin-top: 20px;
    }
    
    /* Feed Header Mobile */
    .feed-header {
        padding: 15px;
    }
    
    .feed-header h2 {
        font-size: 1.3rem;
    }
    
    .feed-filters {
        width: 100%;
    }

    .sport-filter-dropdown {
        width: 100%;
        min-width: auto;
        font-size: 0.9rem;
    }
    
    /* Post Creation Box Mobile */
    .create-post-box {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .create-post-textarea {
        font-size: 0.9rem;
    }
    
    .create-post-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
    
    /* Post Cards Mobile */
    .post-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .post-content h3 {
        font-size: 1.1rem;
    }
    
    .post-content p {
        font-size: 0.9rem;
    }
    
    .post-actions {
        flex-wrap: wrap;
    }
    
    .action-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* Comments Mobile */
    .comment {
        padding: 10px;
        margin-left: 0;
    }
    
    .comment.reply {
        margin-left: 20px;
    }
    
    .comment-content {
        font-size: 0.9rem;
    }
    
    /* RSS Sidebar Mobile */
    .breaking-news {
        padding: 15px;
    }
    
    .breaking-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .breaking-news h3 {
        font-size: 1.1rem;
    }
    
    .rss-sport-filter {
        width: 100%;
        min-width: auto;
    }
    
    .news-item {
        padding: 12px;
    }
    
    .news-title {
        font-size: 0.9rem;
    }
    
    .news-description {
        font-size: 0.85rem;
    }
    
    /* Profile Mobile */
    .edit-profile-container {
        padding: 15px;
        margin: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .profile-picture-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .avatar-upload {
        width: 100px;
        height: 100px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Login/Register Mobile */
    .login-card {
        padding: 1.5rem;
    }
    
    .login-card h2 {
        font-size: 1.8rem;
    }
    
    /* YouTube Embeds Mobile */
    .youtube-embed iframe {
        height: 200px;
    }
    
    /* Link Previews Mobile */
    .preview-image {
        max-height: 200px;
    }
}

/* Bar Locator Styles */
.bar-locator-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.bar-locator-header {
    text-align: center;
    margin-bottom: 30px;
}

.bar-locator-header h2 {
    color: #0A2A48;
    font-size: 2rem;
    margin-bottom: 10px;
}

.bar-locator-header p {
    color: #6C757D;
    font-size: 1.1rem;
}

.search-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.search-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zip-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.zip-input:focus {
    outline: none;
    border-color: #C8102E;
}

.search-status {
    margin-top: 15px;
}

.loading-message, .success-message, .error-message {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
}

.loading-message {
    background: #E3F2FD;
    color: #1976D2;
}

.success-message {
    background: #E8F5E9;
    color: #388E3C;
}

.error-message {
    background: #FFEBEE;
    color: #D32F2F;
}

.map-results-container {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 20px;
    min-height: 300px;
}

.bar-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.results-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 300px;
}

.results-placeholder, .no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #999;
    text-align: center;
    padding: 20px;
}

.results-placeholder i, .no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #C8102E;
}

.bar-result-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bar-result-item:hover {
    background-color: #f8f9fa;
}

.bar-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-number {
    width: 35px;
    height: 35px;
    background: #C8102E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.bar-info {
    flex: 1;
}

.bar-directions-btn {
    width: 100%;
    margin-top: 5px;
}

.bar-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
}

.bar-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.bar-distance, .bar-rating, .bar-price {
    font-size: 0.85rem;
    color: #666;
}

.bar-rating {
    color: #FFA000;
}

.bar-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bar-status.open {
    background: #E8F5E9;
    color: #388E3C;
}

.bar-status.closed {
    background: #FFEBEE;
    color: #D32F2F;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.info-window {
    padding: 10px;
    max-width: 250px;
}

.info-window h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #333;
}

.info-window p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

/* Mobile Styles for Bar Locator */
@media (max-width: 768px) {
    .bar-locator-container {
        padding: 10px;
    }
    
    .bar-locator-header h2 {
        font-size: 1.5rem;
    }
    
    .bar-locator-header p {
        font-size: 0.95rem;
    }
    
    .search-section {
        padding: 15px;
    }
    
    .search-controls {
        flex-direction: column;
    }
    
    .zip-input {
        width: 100%;
    }
    
    .search-controls .btn {
        width: 100%;
    }
    
    .map-results-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bar-map {
        height: 400px;
    }
    
    .results-list {
        max-height: 500px;
    }
    
    .bar-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .bar-result-item .btn {
        width: 100%;
    }
}

/* Selected Teams Display */
.selected-teams-display {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.selected-teams-display h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.selected-teams-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-team-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-name {
    font-weight: 600;
    color: #333;
}

.team-league {
    font-size: 11px;
    color: #666;
}

.remove-team-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
}

.remove-team-btn:hover {
    background: #c82333;
}

/* Team Search Results */
.search-result-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item.selected {
    background: #e8f5e9;
}

.team-result-info {
    flex: 1;
}

.team-result-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.team-result-details {
    font-size: 12px;
    color: #666;
}

.add-indicator {
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
}

.selected-indicator {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
}

/* Zip Code Selection Display */
.selected-zip-display {
    margin-top: 10px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 6px;
}

.selected-info {
    color: #2e7d32;
    font-weight: 500;
}

.clear-zip-btn {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-zip-btn:hover {
    background: #c82333;
}

/* Forgot Password Link */
.forgot-password-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-password-link a {
    color: #bd3039;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.forgot-password-link a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Success Message */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.success-message p {
    margin: 10px 0;
}

.success-message p:first-child {
    font-weight: 600;
    font-size: 18px;
}

/* RSS Search Results */
.search-results-header {
    background: #e8f5e9;
    border: 1px solid #c3e6cb;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-results-header p {
    margin: 0;
    color: #2e7d32;
    font-weight: 500;
}

.search-results-header .btn-link {
    background: none;
    border: none;
    color: #bd3039;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.search-results-header .btn-link:hover {
    opacity: 0.8;
}

.no-results, .no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #6C757D;
}

.no-results p, .no-posts {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Create Post Box */
.create-post-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.create-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.create-post-header .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.create-post-prompt {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.create-post-textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.create-post-textarea:focus {
    outline: none;
    border-color: #bd3039;
}

.create-post-textarea::placeholder {
    color: #999;
}

.create-post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.create-post-actions .btn {
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    width: auto;
}

/* Collapsed post-box trigger */
.create-post-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 24px;
    background: #f8f9fa;
    transition: all 0.18s ease;
}

.create-post-trigger:hover {
    border-color: #bd3039;
    background: white;
    box-shadow: 0 2px 6px rgba(200,16,46,0.1);
}

.create-post-trigger-icon {
    color: #bd3039;
    font-size: 14px;
    flex-shrink: 0;
}

.create-post-trigger-text {
    flex: 1;
    color: #bbb;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.create-post-trigger-pill {
    background: #bd3039;
    color: white;
    padding: 4px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    pointer-events: none;
}

.create-post-expanded {
    margin-top: 12px;
}

/* Post image upload toolbar */
.create-post-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px 4px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.post-img-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #777;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.15s, color 0.15s;
}

.post-img-btn:hover {
    background: #f5f5f5;
    color: #C8102E;
}

.post-image-preview-wrap {
    position: relative;
    display: inline-block;
    margin: 8px 0 4px;
}

.post-image-preview-wrap img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: block;
    object-fit: cover;
}

.post-image-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.post-image-remove:hover { background: rgba(200,16,46,0.85); }

.post-image-uploading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    color: #888;
    font-size: 13px;
}

/* Image in a rendered post card */
.post-card-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px 0 6px;
    display: block;
    cursor: pointer;
}

/* RSS Search Section */
.rss-search-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
}

.rss-search-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.sidebar-search-box {
    display: flex;
    gap: 8px;
}

.sidebar-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.sidebar-search-input:focus {
    outline: none;
    border-color: #bd3039;
}

.sidebar-search-btn {
    padding: 10px 20px;
    background: #bd3039;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-search-btn:hover {
    background: #a02831;
}

/* RSS Loading and Filtering States */
.loading-news,
.filtering-news {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    background: #f0f8ff;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

.filtering-news {
    background: #fff3cd;
    color: #856404;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Link Preview */
#link-preview-container {
    margin-top: 15px;
}

.link-preview {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.link-preview.youtube-preview {
    background: #000;
}

.preview-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
    transition: background 0.3s;
}

.preview-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.preview-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.youtube-embed {
    position: relative;
    width: 100%;
    background: #000;
}

.youtube-embed iframe {
    display: block;
}

.preview-info {
    padding: 15px;
}

.youtube-preview .preview-info {
    background: #fff;
}

.preview-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.preview-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preview-url {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Post Link Preview */
.post-link-preview {
    margin-top: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.post-link-preview.youtube-preview {
    background: #000;
}

.post-link-preview .preview-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.post-link-preview .youtube-embed iframe {
    display: block;
    width: 100%;
}

.post-link-preview .preview-info {
    padding: 12px;
}

.post-link-preview .preview-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
}

.post-link-preview .preview-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.4;
}

.post-link-preview .preview-url {
    font-size: 12px;
    color: #bd3039;
    text-decoration: none;
    display: block;
}

.post-link-preview .preview-url:hover {
    text-decoration: underline;
}

/* ================================================================================
   Admin Panel & RBAC Styles (v1.4.0)
   ================================================================================ */

.admin-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-header h1 {
    font-size: 2.5rem;
    color: #C8102E;
    margin: 0 0 10px 0;
}

.admin-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.admin-tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab-btn:hover {
    color: #C8102E;
    background: #f8f9fa;
}

.admin-tab-btn.active {
    color: #C8102E;
    border-bottom-color: #C8102E;
}

.admin-tab-btn .badge {
    background: #C8102E;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.admin-tab-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-panel-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 0 0 10px 0;
}

.section-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

/* User Management Table */
.users-table-container {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.users-table thead {
    background: #f8f9fa;
}

.users-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.users-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.users-table tbody tr:hover {
    background: #f8f9fa;
}

/* Role Badges */
.role-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.role-admin {
    background: #C8102E;
    color: white;
}

.role-badge.role-moderator {
    background: #FF9800;
    color: white;
}

.role-badge.role-user {
    background: #4CAF50;
    color: white;
}

/* Role Select Dropdown */
.role-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
    cursor: pointer;
}

.role-select:focus {
    outline: none;
    border-color: #C8102E;
}

/* Ban Button */
.btn-ban {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-ban:hover {
    background: #c82333;
}

/* Unban Button */
.btn-unban {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-unban:hover {
    background: #218838;
}

/* Ban Badge */
.ban-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.5px;
    cursor: help;
}

/* Banned User Row */
.user-banned {
    background: #fff5f5 !important;
    opacity: 0.8;
}

.user-banned:hover {
    background: #ffe5e5 !important;
}

.text-muted {
    color: #999;
    font-style: italic;
    font-size: 13px;
}

/* Reports Management */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.report-type {
    background: #C8102E;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.report-date {
    color: #666;
    font-size: 13px;
}

.report-content p {
    margin: 8px 0;
    font-size: 14px;
}

.report-content-preview {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    border-left: 3px solid #C8102E;
}

.report-content-preview p {
    margin: 5px 0;
    color: #333;
}

.report-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-delete-content {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-delete-content:hover {
    background: #c82333;
}

.btn-dismiss-report {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-dismiss-report:hover {
    background: #5a6268;
}

.no-reports {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.coming-soon {
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 18px;
    font-style: italic;
}

/* Moderation Buttons on Posts/Comments */
.moderation-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.btn-mod-delete,
.btn-mod-hide {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-mod-delete:hover {
    background: #c82333;
}

.btn-mod-hide {
    background: #ffc107;
    color: #333;
}

.btn-mod-hide:hover {
    background: #e0a800;
}

/* Post Header Right Side (for sport tag and delete button) */
.post-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sport tag + delete button row below post content */
.post-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 6px;
}

/* Moderation Delete Button on Posts */
.mod-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.mod-delete-btn:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4);
}

.mod-delete-btn i {
    font-size: 14px;
}

/* Moderation Delete Button on Comments */
.mod-delete-comment-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
    margin-left: auto;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.mod-delete-comment-btn:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4);
}

.mod-delete-comment-btn i {
    font-size: 11px;
}

/* Update comment header to use flexbox for proper alignment */
.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Report Button Styling (v1.5.0) */
.report-btn,
.comment-report-btn {
    background: transparent;
    color: #999;
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.report-btn:hover,
.comment-report-btn:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.report-btn span:first-child,
.comment-report-btn::before {
    margin-right: 4px;
}

/* Report Reason Badges */
.report-reason-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reason-spam {
    background: #ffc107;
    color: #333;
}

.reason-harassment {
    background: #dc3545;
    color: white;
}

.reason-inappropriate {
    background: #ff6b6b;
    color: white;
}

.reason-misinformation {
    background: #fd7e14;
    color: white;
}

.reason-hate_speech {
    background: #6f42c1;
    color: white;
}

.reason-other {
    background: #6c757d;
    color: white;
}

/* Report Modal Styling */
.report-modal .modal-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.report-modal .modal-select:focus {
    outline: none;
    border-color: #C8102E;
}

.report-modal .modal-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.report-modal .modal-textarea:focus {
    outline: none;
    border-color: #C8102E;
}

/* Old v1.5.0 notification styles removed - now in v1.6.0 layout section */

/* Base Modal System */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal .modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.modal .modal-header h2 {
    margin: 0;
    color: #0A2A48;
    font-size: 1.4rem;
}

.modal .modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.modal .modal-close:hover {
    color: #333;
}

.modal .modal-body {
    padding: 24px;
}

.modal .modal-body .form-group {
    margin-bottom: 18px;
}

.modal .modal-body .form-group label {
    display: block;
    font-weight: 600;
    color: #0A2A48;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.modal .modal-body .form-group input,
.modal .modal-body .form-group textarea,
.modal .modal-body .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.modal .modal-body .form-group input:focus,
.modal .modal-body .form-group textarea:focus,
.modal .modal-body .form-group select:focus {
    outline: none;
    border-color: #0A2A48;
}

.modal .modal-body .char-count {
    display: block;
    text-align: right;
    color: #999;
    font-size: 0.8rem;
    margin-top: 4px;
}

.modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
}

.modal .modal-footer .btn-secondary {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
}

.modal .modal-footer .btn-secondary:hover {
    background: #f5f5f5;
}

.modal .modal-footer .btn-primary {
    padding: 10px 20px;
    background: #0A2A48;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.modal .modal-footer .btn-primary:hover {
    background: #0d3560;
}

/* Modern Modal System (v1.4.0) */
.modern-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modern-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modern-modal .modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modern-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0A2A48;
    flex: 1;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.15s;
    flex-shrink: 0;
}
.modal-close-btn:hover {
    color: #C8102E;
}

.modern-modal .modal-body {
    padding: 24px;
}

.modern-modal .modal-body p {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.modern-modal .modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.modern-modal .modal-input:focus {
    outline: none;
    border-color: #C8102E;
}

.modern-modal .modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-modal-cancel,
.btn-modal-confirm {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-modal-cancel:hover {
    background: #e0e0e0;
}

.btn-modal-confirm {
    background: #C8102E;
    color: white;
}

.btn-modal-confirm:hover {
    background: #a00d25;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

/* Mobile Responsive for Admin Panel */
@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .users-table {
        font-size: 13px;
    }
    
    .users-table th,
    .users-table td {
        padding: 10px 8px;
    }
    
    .role-select {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .report-actions {
        flex-direction: column;
    }
    
    .btn-delete-content,
    .btn-dismiss-report {
        width: 100%;
    }
    
    .modern-modal {
        width: 95%;
        margin: 20px;
    }
    
    .modern-modal .modal-footer {
        flex-direction: column-reverse;
    }
    
    .btn-modal-cancel,
    .btn-modal-confirm {
        width: 100%;
    }
}

/* Clickable username links */
.username-link {
    color: #0C2340;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.username-link:hover {
    color: #C8102E;
    text-decoration: underline;
}

.comment-author .username-link {
    color: inherit;
    font-weight: inherit;
}

.comment-author .username-link:hover {
    color: #C8102E;
}

/* Profile Team Chips & Search */
.profile-teams-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 36px;
}

.profile-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0C2340, #1a3a5c);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.team-chip-name {
    font-weight: 600;
}

.team-chip-league {
    opacity: 0.7;
    font-size: 0.75rem;
}

.team-chip-remove {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.team-chip-remove:hover {
    background: #C8102E;
}

.no-teams-msg {
    color: #888;
    font-size: 0.9rem;
    padding: 8px 0;
}

.profile-team-search-wrapper {
    position: relative;
}

.profile-team-search-wrapper input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.profile-team-search-wrapper input:focus {
    border-color: #0C2340;
    outline: none;
}

.profile-team-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.profile-team-result-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.profile-team-result-item:hover {
    background: #f0f4f8;
}

.profile-team-result-item:last-child {
    border-bottom: none;
}

.team-result-name {
    font-weight: 600;
    display: block;
    color: #0C2340;
}

.team-result-meta {
    font-size: 0.8rem;
    color: #666;
}

.no-team-msg {
    padding: 10px 12px;
    color: #888;
    font-size: 0.85rem;
}

.loading-small {
    color: #888;
    font-size: 0.9rem;
    padding: 8px 0;
}

/* ============================================
   USER PROFILE STYLES
   ============================================ */

.profile-container {
    max-width: 100%;
    margin: 0;
    padding-top: 12px;
}

.profile-header {
    background: white;
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-cover {
    height: 150px;
    background: linear-gradient(135deg, #C8102E 0%, #0C2340 100%);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.profile-info {
    padding: 20px;
    position: relative;
    overflow: visible;
}

.profile-avatar-section {
    position: absolute;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-details {
    margin-left: 145px;
    margin-top: 0;
}

.profile-username {
    font-size: 2rem;
    font-weight: 700;
    color: #0C2340;
    margin: 0 0 10px 0;
}

.profile-bio {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
    color: #6C757D;
    font-size: 0.9rem;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-meta i {
    color: #C8102E;
}

.profile-meta a {
    color: #C8102E;
    text-decoration: none;
}

.profile-meta a:hover {
    text-decoration: underline;
}

.profile-favorites {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 8px;
    margin-top: 15px;
}

.favorite-badge {
    background: linear-gradient(135deg, #C8102E 0%, #0C2340 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-edit-profile {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #C8102E;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-add-teammate-profile {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0A2A48;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-add-teammate-profile:hover:not(:disabled) {
    background: #0d3560;
}

.btn-add-teammate-profile.is-teammate,
.btn-add-teammate-profile.pending-sent {
    background: #6c757d;
    cursor: default;
    opacity: 0.85;
}

.btn-edit-profile:hover {
    background: #A00D24;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #C8102E;
    margin-bottom: 5px;
}

.stat-label {
    color: #6C757D;
    font-size: 0.9rem;
}

.profile-activity {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activity-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E9ECEF;
}

.activity-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1rem;
    color: #6C757D;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.activity-tab:hover {
    color: #C8102E;
}

.activity-tab.active {
    color: #C8102E;
    border-bottom-color: #C8102E;
    font-weight: 600;
}

.activity-feed {
    min-height: 200px;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #E9ECEF;
    cursor: pointer;
    transition: background 0.2s;
}

.activity-item:hover {
    background: #F8F9FA;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-post .activity-icon {
    background: #E3F2FD;
    color: #1976D2;
}

.activity-comment .activity-icon {
    background: #FFF3E0;
    color: #F57C00;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0C2340;
    margin: 0 0 8px 0;
}

.activity-context {
    font-size: 0.85rem;
    color: #6C757D;
    margin: 0 0 5px 0;
}

.activity-text {
    color: #495057;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.activity-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #6C757D;
}

.activity-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-activity {
    text-align: center;
    color: #6C757D;
    padding: 40px;
    font-size: 1.1rem;
}

.profile-edit-modal {
    max-width: 600px;
}

.profile-edit-modal .form-group {
    margin-bottom: 20px;
}

.profile-edit-modal label {
    display: block;
    font-weight: 600;
    color: #0C2340;
    margin-bottom: 8px;
}

.profile-edit-modal input,
.profile-edit-modal textarea,
.profile-edit-modal select {
    width: 100%;
    padding: 10px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.profile-edit-modal input:focus,
.profile-edit-modal textarea:focus,
.profile-edit-modal select:focus {
    outline: none;
    border-color: #C8102E;
}

.char-count {
    display: block;
    text-align: right;
    color: #6C757D;
    font-size: 0.85rem;
    margin-top: 5px;
}

.error-state {
    text-align: center;
    padding: 60px 20px;
}

.error-state h2 {
    color: #0C2340;
    margin-bottom: 10px;
}

.error-state p {
    color: #6C757D;
    margin-bottom: 20px;
}

.profile-loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #C8102E;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Analytics Dashboard (v1.6.0) */
.analytics-dashboard {
    padding: 0;
}

.analytics-loading {
    text-align: center;
    padding: 60px 20px;
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.analytics-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.analytics-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #0A2A48;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.analytics-card-icon.posts-icon { background: #2563eb; }
.analytics-card-icon.comments-icon { background: #7c3aed; }
.analytics-card-icon.likes-icon { background: #C8102E; }

.analytics-card-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0A2A48;
    line-height: 1;
}

.analytics-card-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 2px;
}

.analytics-card-trend {
    font-size: 0.78rem;
    color: #10b981;
    margin-top: 4px;
}

.analytics-card-trend i { margin-right: 3px; }

.analytics-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.analytics-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.analytics-panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.analytics-panel h3 {
    font-size: 1rem;
    color: #0A2A48;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analytics-panel h3 i {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Bar chart */
.analytics-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 140px;
    padding: 0;
}

.chart-bar-col {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(to top, #0A2A48, #2563eb);
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.3s ease;
}

.chart-bar-col:hover .chart-bar {
    background: linear-gradient(to top, #C8102E, #e74c5e);
}

.analytics-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #999;
}

/* Sport breakdown bars */
.analytics-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.analytics-bar-label {
    width: 80px;
    font-size: 0.85rem;
    color: #333;
    text-transform: capitalize;
    flex-shrink: 0;
}

.analytics-bar-track {
    flex: 1;
    height: 22px;
    background: #f1f3f5;
    border-radius: 6px;
    overflow: hidden;
}

.analytics-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #0A2A48, #2563eb);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.analytics-bar-value {
    width: 32px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0A2A48;
    text-align: right;
}

/* Leaderboard rows */
.analytics-leaderboard-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
}

.analytics-leaderboard-row:last-child {
    border-bottom: none;
}

.analytics-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #666;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.analytics-leaderboard-row:nth-child(1) .analytics-rank { background: #ffd700; color: #7a6200; }
.analytics-leaderboard-row:nth-child(2) .analytics-rank { background: #c0c0c0; color: #555; }
.analytics-leaderboard-row:nth-child(3) .analytics-rank { background: #cd7f32; color: #fff; }

.analytics-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.analytics-username {
    flex: 1;
    font-size: 0.9rem;
    color: #0A2A48;
    text-decoration: none;
    font-weight: 500;
}

.analytics-username:hover {
    text-decoration: underline;
}

.analytics-team-name {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
}

.analytics-team-league {
    color: #999;
    font-weight: 400;
}

.analytics-stat {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    flex-shrink: 0;
}

.analytics-empty {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .analytics-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .analytics-row,
    .analytics-row-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .analytics-cards {
        grid-template-columns: 1fr;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-cover {
        height: 120px;
    }
    
    .profile-avatar-section {
        position: static;
        margin-bottom: 20px;
    }
    
    .profile-details {
        margin-left: 0;
        margin-top: 0;
        text-align: center;
    }
    
    .profile-username {
        font-size: 1.5rem;
    }
    
    .profile-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn-edit-profile {
        position: static;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .activity-tab {
        text-align: left;
        padding: 10px 15px;
    }
}

/* ===== v1.7.0 — Top Header, Ticker, Top Nav, Teammates Online ===== */

/* ---- App Header (sticky, full-width, dark navy) ---- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #0A2A48;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
    width: 100%;
}

/* ---- Row 1: Live Scores Ticker ---- */
.scores-ticker-bar {
    display: flex;
    align-items: center;
    background: #071e35;
    height: 30px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ticker-live-badge {
    flex-shrink: 0;
    background: #C8102E;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.ticker-live-badge i {
    font-size: 8px;
    animation: pulse-dot 1.2s ease-in-out infinite;
}

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

.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
    animation: ticker-scroll 120s linear infinite;
    will-change: transform;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c5d3e0;
    font-size: 12px;
    padding: 0 22px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.ticker-league {
    color: #FFC72C;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ticker-score {
    font-weight: 700;
    color: #ffffff;
}

.ticker-status {
    color: #7a9ab8;
    font-size: 11px;
}

.ticker-loading {
    color: #7a9ab8;
    font-size: 12px;
    padding: 0 20px;
}

/* ---- Row 2: Logo + Nav + Actions ---- */
.header-main-row {
    display: flex;
    align-items: center;
    height: 65px;
    padding: 0 24px;
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    user-select: none;
}

.header-logo-circle {
    width: 46px;
    height: 46px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.25);
}

.header-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 2px;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-logo-name {
    color: white;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.header-logo-sub {
    color: rgba(255,255,255,0.5);
    font-size: 8.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Top Navigation */
.top-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
    overflow: hidden;
}

.top-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 4px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}

.top-nav-item i {
    font-size: 12px;
}

.top-nav-item:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.top-nav-item.active {
    color: white;
}

.top-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: #FFC72C;
    border-radius: 2px;
}

.ai-badge {
    background: #C8102E;
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Header Actions (bell + avatar + hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-notif-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 9px;
    position: relative;
    border-radius: 50%;
    transition: background 0.18s;
    line-height: 1;
}

.header-notif-btn:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.header-notif-btn .notification-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 9px;
    padding: 1px 4px;
    min-width: 16px;
    line-height: 14px;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: border-color 0.2s;
}

.header-avatar:hover {
    border-color: #FFC72C;
}

.app-header .hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

/* ---- Hide old mobile-header completely ---- */
.mobile-header {
    display: none !important;
}

/* ---- Left Sidebar: desktop = Teammates Only ---- */
.sidebar-mobile-nav {
    display: none;
}

.left-sidebar {
    position: sticky;
    top: 95px;
    height: calc(100vh - 95px);
    overflow-y: auto;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    padding: 12px;
    z-index: 100;
}

/* ---- Left Panel Card (Teammates Online) ---- */
.left-panel-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    flex: 1;
}

.left-panel-header {
    padding: 12px 14px;
    background: linear-gradient(135deg, #0A2A48 0%, #1a3f62 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.left-panel-header h3 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.left-panel-body {
    padding: 6px 8px;
}

/* ---- Teammate Items ---- */
.teammate-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s;
}

.teammate-item:hover {
    background: #f0f2f5;
}

.teammate-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.teammate-info {
    flex: 1;
    min-width: 0;
}

.teammate-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0A2A48;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teammate-status {
    display: block;
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
}

.online-dot.offline {
    background: #9ca3af;
    box-shadow: none;
}

.teammates-coming-soon {
    text-align: center;
    font-size: 11px;
    color: #bbb;
    padding: 8px 4px 4px;
    margin: 4px 0 0;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ---- Right sidebar sticky offset ---- */
.right-sidebar {
    position: sticky;
    top: 95px;
    height: calc(100vh - 95px);
    overflow-y: auto;
}

/* ---- App layout min-height ---- */
.app-layout {
    min-height: calc(100vh - 95px);
}

/* ---- Notification dropdown offset for new header ---- */
.notification-dropdown {
    top: 95px !important;
}

/* ---- Tablet (≤1200px): compact nav ---- */
@media (max-width: 1200px) {
    .top-nav-item {
        font-size: 10.5px;
        padding: 8px 8px;
    }
    .header-logo-sub {
        display: none;
    }
}

/* ---- Tablet (≤1024px): icon-only nav, hide right sidebar ---- */
@media (max-width: 1024px) {
    .app-layout {
        grid-template-columns: 220px 1fr;
    }
    .right-sidebar {
        display: none;
    }
    .top-nav-item {
        font-size: 10px;
        padding: 8px 6px;
        gap: 0;
    }
    .top-nav-item i {
        font-size: 14px;
    }
    .top-nav-item span:not(.ai-badge) {
        display: none;
    }
    .header-logo-text {
        display: none;
    }
}

/* ---- Mobile (≤768px): hamburger, single column ---- */
@media (max-width: 768px) {
    .top-nav {
        display: none;
    }

    .app-header .hamburger-btn {
        display: block;
    }

    .header-logo-text {
        display: flex;
    }

    .header-logo-sub {
        display: block;
    }

    .app-layout {
        grid-template-columns: 1fr;
        min-height: calc(100vh - 95px);
    }

    /* Left sidebar becomes hamburger fly-out */
    .left-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        transition: left 0.28s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.2);
        z-index: 1300;
        overflow-y: auto;
        padding: 0 0 16px;
        background: #fff;
    }

    .left-sidebar.open {
        left: 0;
    }

    /* Show nav section when overlay is open */
    .left-sidebar.open .sidebar-mobile-nav,
    .sidebar-mobile-nav {
        display: block;
    }

    /* Restore sidebar nav styles on mobile */
    .left-sidebar .sidebar-nav-item {
        justify-content: flex-start;
    }

    .left-sidebar .sidebar-nav-item span {
        display: inline;
    }

    .left-sidebar .sidebar-footer-item {
        justify-content: flex-start;
    }

    .left-sidebar .sidebar-footer-item span {
        display: inline;
    }

    .left-panel-card {
        margin: 0 10px;
        border-radius: 10px;
    }

    .right-sidebar {
        display: none;
    }

    .main-content {
        min-height: calc(100vh - 95px);
    }

    .notification-dropdown {
        width: calc(100vw - 16px) !important;
        right: 8px;
    }
}
/* ---- Header avatar wrap + initial fallback ---- */
.header-avatar-wrap {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-avatar-initial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #C8102E;
    color: white;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
    user-select: none;
}

/* ---- Header avatar dropdown ---- */
.header-avatar-container {
    position: relative;
}

.avatar-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    min-width: 160px;
    z-index: 1050;
    overflow: hidden;
}

.avatar-dropdown.open {
    display: block;
}

.avatar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

.avatar-dropdown-item:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.avatar-dropdown-item i {
    width: 16px;
    color: #666;
}

.avatar-dropdown-divider {
    height: 1px;
    background: #eee;
}

.avatar-dropdown-logout {
    color: #C8102E;
}

.avatar-dropdown-logout i {
    color: #C8102E;
}

/* ---- Post user initial circle ---- */
.post-user-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8102E, #0A2A48);
    color: white;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #E9ECEF;
    user-select: none;
}

/* ---- Add Teammate button ---- */
.add-teammate-btn {
    font-size: 0.82rem;
    padding: 6px 12px;
    gap: 5px;
    border-color: #c3d0da;
    color: #555;
    white-space: nowrap;
}

.add-teammate-btn:hover {
    border-color: #0A2A48;
    color: #0A2A48;
    background: #eaf0f7;
    transform: translateY(-1px);
}

.add-teammate-btn.is-teammate {
    border-color: #22c55e;
    color: #16a34a;
    background: #f0fdf4;
    cursor: default;
}

.add-teammate-btn.is-teammate:hover {
    transform: none;
    border-color: #22c55e;
    color: #16a34a;
    background: #f0fdf4;
}

/* ---- Teammate panel dynamic states ---- */
.teammates-loading {
    text-align: center;
    color: #aaa;
    padding: 24px;
    font-size: 13px;
}

.teammates-empty {
    text-align: center;
    padding: 20px 12px 8px;
    color: #999;
}

.teammates-empty i {
    font-size: 28px;
    color: #c8d6e0;
    margin-bottom: 8px;
    display: block;
}

.teammates-empty p {
    font-size: 13px;
    margin: 4px 0;
    color: #888;
}

.teammates-hint {
    font-size: 11px !important;
    color: #bbb !important;
}

.teammate-remove-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}

.teammate-remove-btn:hover {
    color: #C8102E;
    background: #fff0f0;
}
/* ---- Teammate request UI ---- */
.teammate-requests-section {
    padding: 8px 12px 4px;
}

.teammate-requests-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #C8102E;
    margin-bottom: 8px;
}

.teammate-request-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.teammate-request-item:last-child {
    border-bottom: none;
}

.request-respond-btns {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
    margin-left: auto;
}

.request-accept-btn,
.request-decline-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.1s;
}

.request-accept-btn {
    background: #dcfce7;
    color: #16a34a;
}

.request-accept-btn:hover {
    background: #16a34a;
    color: #fff;
    transform: scale(1.1);
}

.request-decline-btn {
    background: #fee2e2;
    color: #C8102E;
}

.request-decline-btn:hover {
    background: #C8102E;
    color: #fff;
    transform: scale(1.1);
}

.teammate-section-divider {
    height: 1px;
    background: #e9ecef;
    margin: 6px 12px 8px;
}

/* Pending-sent state on post button */
.add-teammate-btn.pending-sent {
    border-color: #d1d5db;
    color: #9ca3af;
    background: #f9fafb;
    cursor: default;
}

.add-teammate-btn.pending-sent:hover {
    transform: none;
    border-color: #d1d5db;
    color: #9ca3af;
    background: #f9fafb;
}
/* ===== AL EAST STANDINGS WIDGET ===== */
.standings-body {
    padding: 0 !important;
}

.standings-col-header {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: #f0f4f8;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.standings-row {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.standings-row:last-child {
    border-bottom: none;
}

.standings-row:hover {
    background: #f9fafb;
}

.standings-bos {
    background: rgba(200, 16, 46, 0.07);
    font-weight: 700;
}

.standings-bos:hover {
    background: rgba(200, 16, 46, 0.12);
}

.standings-team-cell {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.standings-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.standings-abbrev {
    font-size: 0.78rem;
    color: #0C2340;
    font-weight: 600;
}

.standings-bos .standings-abbrev {
    color: #C8102E;
}

.standings-stat {
    width: 26px;
    text-align: center;
    font-size: 0.76rem;
    color: #374151;
    flex-shrink: 0;
}

.standings-gb {
    color: #6c757d;
}

.standings-empty {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    padding: 12px;
    font-style: italic;
}

/* ===== BLOGS SECTION ===== */

/* --- Tab bar --- */
.blog-tabs {
    display: flex;
    gap: 6px;
    margin: 16px 0 20px;
    border-bottom: 2px solid #e8ecf0;
    padding-bottom: 0;
}
.blog-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    transition: color 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.blog-tab:hover { color: #0C2340; }
.blog-tab.active { color: #C8102E; border-bottom-color: #C8102E; }

/* --- Write bar --- */
.blog-write-bar {
    margin-bottom: 20px;
}
.blog-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C8102E;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.blog-write-btn:hover { background: #a00d25; }

/* --- Write form --- */
.blog-write-form {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #C8102E;
}
.blog-write-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.blog-write-form-header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #0C2340;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-content-area {
    min-height: 220px;
    resize: vertical;
    font-size: 0.95rem;
    line-height: 1.6;
}
.blog-char-count {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: right;
    margin-top: 4px;
}
.blog-write-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* --- Community blog post cards grid --- */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 4px;
}
.blog-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
}
.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.blog-post-cover {
    height: 160px;
    overflow: hidden;
}
.blog-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.blog-post-card:hover .blog-post-cover img { transform: scale(1.04); }
.blog-post-cover-default {
    background: linear-gradient(135deg, #0C2340 0%, #C8102E 100%);
}
.blog-post-body { padding: 16px 18px 14px; flex: 1; display: flex; flex-direction: column; }
.blog-post-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 8px;
    gap: 8px;
}
.blog-post-author { color: #C8102E; font-weight: 600; }
.blog-post-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0C2340;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-post-excerpt {
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #9ca3af;
    border-top: 1px solid #f0f4f8;
    padding-top: 10px;
}
.blog-read-more { color: #C8102E; font-weight: 600; }
.blog-read-time { display: flex; align-items: center; gap: 4px; }

/* --- Blog empty state --- */
.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 52px 20px;
    color: #9ca3af;
}
.blog-empty-state i { font-size: 48px; display: block; margin-bottom: 14px; color: #dde1e7; }
.blog-empty-state p { font-size: 0.95rem; margin: 0; }

/* --- Blog reading view --- */
.blog-reading-view { max-width: 760px; }
.blog-reading-cover {
    border-radius: 12px;
    overflow: hidden;
    margin: 14px 0 24px;
    max-height: 380px;
}
.blog-reading-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-reading-header { margin-bottom: 28px; }
.blog-reading-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0C2340;
    line-height: 1.3;
    margin: 0 0 12px;
}
.blog-reading-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.85rem;
    color: #9ca3af;
    flex-wrap: wrap;
}
.blog-reading-meta span { display: flex; align-items: center; gap: 5px; }
.blog-reading-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    border-top: 1px solid #e8ecf0;
    padding-top: 24px;
    margin-bottom: 32px;
}
.blog-reading-body p { margin: 0 0 14px; }

/* --- RSS article cards --- */
.rss-article-link { text-decoration: none; color: inherit; display: block; }
.rss-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: rgba(255,255,255,0.7);
}
.rss-excerpt {
    font-size: 0.78rem;
    color: #6c757d;
    margin: 4px 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .blog-posts-grid { grid-template-columns: 1fr; }
    .blog-reading-title { font-size: 1.3rem; }
    .blog-write-actions { flex-direction: column; }
}


.blogs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.blogs-subtitle {
    color: #6c757d;
    margin: 4px 0 0;
    font-size: 0.95rem;
}

/* Channel grid */
.blog-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-channel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.blog-channel-banner {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: rgba(255,255,255,0.9);
}

.blog-channel-info {
    padding: 14px 16px 10px;
    flex: 1;
}

.blog-channel-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0C2340;
    margin: 0 0 5px;
}

.blog-channel-info p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0 8px;
    line-height: 1.4;
}

.blog-channel-handle {
    font-size: 0.78rem;
    color: #C8102E;
    font-weight: 600;
}

.blog-channel-arrow {
    padding: 10px 16px;
    color: #C8102E;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.85rem;
}

/* Video grid */
.blog-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.blog-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.blog-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
    display: block;
}

.blog-video-card:hover .blog-video-thumb img {
    opacity: 0.75;
}

.blog-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 42px;
    opacity: 0;
    transition: opacity 0.2s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.blog-video-card:hover .blog-video-play {
    opacity: 1;
}

.blog-video-info {
    padding: 12px 14px;
}

.blog-video-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0C2340;
    margin: 0 0 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-video-date {
    font-size: 0.76rem;
    color: #9ca3af;
}

/* Embedded player */
.blog-player-wrap {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.blog-player-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.blog-player-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.blog-video-title {
    font-size: 1.15rem;
    line-height: 1.4;
    word-break: break-word;
}

/* Blog comments panel */
.blog-comments-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-comments-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0C2340;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-comment-form {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.blog-comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Back button */
.back-btn-blog {
    background: none;
    border: none;
    color: #C8102E;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
}

.back-btn-blog:hover {
    color: #a00d25;
    text-decoration: underline;
}

/* Loading / empty states */
.blog-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 20px;
    gap: 14px;
    color: #9ca3af;
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

.no-comments {
    color: #9ca3af;
    text-align: center;
    padding: 20px 0;
    font-style: italic;
}

.login-prompt {
    color: #9ca3af;
    font-style: italic;
    margin-bottom: 16px;
}

/* Comment delete button (used in blog + future use) */
.comment-delete-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.comment-delete-btn:hover {
    color: #C8102E;
    background: #fee2e2;
}

/* ===== Mobile Bottom Navigation Bar ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: #0A2A48;
    border-top: 2px solid rgba(200,16,46,0.6);
    z-index: 1250;
    flex-direction: row;
    align-items: stretch;
    box-shadow: 0 -3px 16px rgba(0,0,0,0.3);
}

.mobile-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 2px 7px;
    position: relative;
    transition: color 0.15s;
    cursor: pointer;
    border-top: 2px solid transparent;
    border-bottom: none;
    background: none;
    color: rgba(255,255,255,0.85);
}

.mobile-bnav-item i {
    font-size: 17px;
    line-height: 1;
}

.mobile-bnav-item:hover {
    color: white;
    text-decoration: none;
}

.mobile-bnav-item.active {
    color: #FFD700;
    border-top-color: #C8102E;
}

.mobile-bnav-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: #C8102E;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 12px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    .main-content {
        padding-bottom: 68px;
    }
    
    .left-sidebar {
        padding-bottom: 74px !important;
    }
}

/* ===== Standings Page ===== */
.standings-page {
    max-width: 1000px;
}

.page-header-block {
    margin-bottom: 16px;
}

.page-header-block h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0A2A48;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header-block h2 i {
    color: #C8102E;
}

.page-subtext {
    color: #888;
    font-size: 0.82rem;
    margin: 0;
}

.standings-league-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.s-tab {
    padding: 7px 14px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    background: white;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.s-tab:hover {
    border-color: #0A2A48;
    color: #0A2A48;
}

.s-tab.active {
    background: #0A2A48;
    border-color: #0A2A48;
    color: white;
}

.standings-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.standings-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.standings-filter-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.s-view-btn {
    padding: 5px 14px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    background: white;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.s-view-btn:hover {
    border-color: #C8102E;
    color: #C8102E;
}

.s-view-btn.active {
    background: #C8102E;
    border-color: #C8102E;
    color: white;
    font-weight: 600;
}

.standings-group-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.standings-group-title {
    background: linear-gradient(135deg, #0A2A48, #1a3f62);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 9px 14px;
}

.standings-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.s-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.s-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.s-table th {
    padding: 8px 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: 0.5px;
    white-space: nowrap;
    user-select: none;
}

.s-th-team {
    text-align: left !important;
    min-width: 110px;
    padding-left: 14px !important;
}

.s-th.sortable {
    cursor: pointer;
    transition: color 0.15s;
}

.s-th.sortable:hover,
.s-th.sort-asc,
.s-th.sort-desc {
    color: #C8102E;
}

.s-sort-icon {
    font-size: 9px;
    opacity: 0.5;
    margin-left: 2px;
}

.s-th.sort-asc .s-sort-icon,
.s-th.sort-desc .s-sort-icon {
    opacity: 1;
}

.s-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
}

.s-table tbody tr:hover {
    background: #f8fafc;
}

.s-table tbody tr:last-child {
    border-bottom: none;
}

.s-row-bos {
    background: rgba(200,16,46,0.05) !important;
}

.s-row-bos .s-team-name {
    color: #C8102E !important;
}

.s-row-bos:hover {
    background: rgba(200,16,46,0.09) !important;
}

.s-td-team {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 10px 7px 14px !important;
}

.s-table td {
    padding: 7px 10px;
    text-align: center;
    color: #374151;
    vertical-align: middle;
}

.s-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.s-team-name {
    font-size: 13px;
    font-weight: 600;
    color: #0A2A48;
    white-space: nowrap;
}

.s-stat-cell {
    font-variant-numeric: tabular-nums;
    min-width: 36px;
}

.standings-loading {
    text-align: center;
    padding: 50px 20px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.standings-loading i {
    font-size: 22px;
    display: block;
    margin-bottom: 10px;
}

.standings-empty {
    text-align: center;
    padding: 50px 20px;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.8;
}

.standings-empty i {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.standings-upcoming {
    color: #555;
}

.standings-upcoming strong {
    color: #0A2A48;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .standings-league-tabs { gap: 4px; }
    .s-tab { padding: 6px 10px; font-size: 11.5px; }
    .s-table { font-size: 12px; }
    .s-td-team { gap: 6px; }
    .s-team-logo { width: 18px; height: 18px; }
}

/* ===== End v1.7.0 ===== */

/* ===== Locker Room Messenger (v1.7.1) ===== */

.locker-room-page {
    display: flex;
    height: calc(100vh - 140px);
    min-height: 500px;
    background: #f4f5f7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ── Conversation List (left panel) ── */
.lr-sidebar {
    width: 300px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e4e6ea;
}

.lr-sidebar-header {
    padding: 16px;
    border-bottom: 1px solid #e4e6ea;
    background: #0A2A48;
}

.lr-sidebar-header h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.lr-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lr-search-icon {
    position: absolute;
    left: 10px;
    color: #aaa;
    font-size: 12px;
}

.lr-input-search {
    width: 100%;
    padding: 7px 10px 7px 30px;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: background 0.2s;
}

.lr-input-search::placeholder { color: rgba(255,255,255,0.6); }
.lr-input-search:focus { background: rgba(255,255,255,0.25); }

.lr-convo-list {
    flex: 1;
    overflow-y: auto;
}

.lr-convo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f2f5;
}

.lr-convo-item:hover { background: #f0f2f5; }
.lr-convo-item.active { background: #e7f0fa; }
.lr-convo-item.lr-unread .lr-convo-name { font-weight: 700; }
.lr-convo-item.lr-unread .lr-convo-preview { color: #1a1a1a; font-weight: 500; }

.lr-convo-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #C8102E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.lr-convo-info {
    flex: 1;
    overflow: hidden;
}

.lr-convo-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lr-convo-preview {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.lr-convo-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.lr-convo-time {
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
}

.lr-unread-badge {
    background: #C8102E;
    color: #fff;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
}

.lr-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #aaa;
    text-align: center;
    gap: 8px;
}

.lr-empty i { font-size: 2rem; color: #ddd; }
.lr-empty p { margin: 0; font-size: 14px; color: #888; }
.lr-empty small { font-size: 12px; color: #bbb; }

.lr-loading {
    display: flex;
    justify-content: center;
    padding: 30px;
    color: #aaa;
    font-size: 1.4rem;
}

/* ── Chat Thread (right panel) ── */
.lr-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f4f5f7;
    min-width: 0;
}

.lr-chat-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #bbb;
}

.lr-chat-placeholder i { color: #ddd; }
.lr-chat-placeholder p { font-size: 15px; color: #aaa; margin: 0; }

.lr-chat-active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lr-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #e4e6ea;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.lr-chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C8102E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.lr-chat-header-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.lr-chat-header-status {
    font-size: 12px;
    color: #888;
}

/* ── Messages ── */
.lr-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lr-message {
    display: flex;
    flex-direction: column;
    max-width: 68%;
}

.lr-message-mine {
    align-self: flex-end;
    align-items: flex-end;
}

.lr-message-theirs {
    align-self: flex-start;
    align-items: flex-start;
}

.lr-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.lr-message-mine .lr-bubble {
    background: #C8102E;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.lr-message-theirs .lr-bubble {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.lr-message-time {
    font-size: 10px;
    color: #bbb;
    margin-top: 3px;
    padding: 0 4px;
}

.lr-no-messages {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    padding: 30px;
}

/* ── Input bar ── */
.lr-input-area {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e4e6ea;
}

.lr-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f2f5;
    border-radius: 24px;
    padding: 6px 8px 6px 16px;
}

.lr-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #1a1a1a;
    padding: 4px 0;
}

.lr-input::placeholder { color: #aaa; }

.lr-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #C8102E;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.lr-send-btn:hover { background: #a50d25; }
.lr-send-btn:active { transform: scale(0.92); }

/* ── Mobile: stack panels ── */
@media (max-width: 768px) {
    .locker-room-page {
        flex-direction: column;
        height: calc(100vh - 120px);
    }
    .lr-sidebar {
        width: 100%;
        min-width: unset;
        max-height: 240px;
        border-right: none;
        border-bottom: 1px solid #e4e6ea;
    }
    .lr-chat { min-height: 0; }
}

.lr-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lr-sidebar-title h3 { margin: 0; }

.lr-new-chat-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.lr-new-chat-btn:hover { background: rgba(255,255,255,0.3); }

.lr-picker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f2f5;
    background: #fafbfc;
}

.lr-back-btn {
    background: none;
    border: none;
    color: #C8102E;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lr-back-btn:hover { text-decoration: underline; }

.lr-picker-title {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

/* Locker Room: full-width — collapse all grid columns so main-content fills the row */
.app-layout.locker-room-active {
    grid-template-columns: 1fr !important;
}
.app-layout.locker-room-active #left-sidebar,
.app-layout.locker-room-active #right-sidebar {
    display: none !important;
}

/* ===== End Locker Room ===== */

/* ===== User Initial Circles (avatar replacement) ===== */
.post-user-initial,
.comment-avatar-initial,
.profile-avatar-initial,
.analytics-avatar-initial,
.sidebar-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c8102e;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}
.post-user-initial       { width: 36px; height: 36px; font-size: 1rem; }
.comment-avatar-initial  { width: 32px; height: 32px; font-size: 0.85rem; }
.profile-avatar-initial  { width: 100px; height: 100px; font-size: 2.5rem; }
.analytics-avatar-initial{ width: 28px; height: 28px; font-size: 0.75rem; }
.sidebar-avatar-initial  { width: 40px; height: 40px; font-size: 1.1rem; }

/* ===== Avatar Upload (Edit Profile) ===== */
.avatar-upload-group { text-align: center; }
.avatar-upload-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}
.avatar-preview-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color, #e0e0e0);
}
.avatar-preview-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-color, #c8102e);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-color, #e0e0e0);
}
.btn-change-avatar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-color, #c8102e);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-change-avatar:hover { opacity: 0.85; }
