/* feed-premium.css - Minimalist & Sleek Feed for C-Levels */

/* =========================================================
   1. GLOBAL APP STRUCTURAL OVERRIDES (100% STANDARD)
   ========================================================= */
body .fcom-app-wrapper,
body #fluent-community-app {
    background: #F9FAFB !important; /* Clean off-white background */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Global Sidebars & Headers */
.fc-sidebar, .fcom-sidebar, [class*="sidebar-wrapper"] {
    background: #F9FAFB !important;
    border-right: 1px solid #E5E7EB !important;
    box-shadow: none !important;
}

.fc-header, .fcom-header, [class*="header-wrapper"] {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

/* Global Navigation Items */
.fc-nav-item, .fcom-nav-link, [class*="nav-item"] {
    border-radius: 6px !important;
    color: #4B5563 !important;
    transition: all 0.2s ease !important;
}

.fc-nav-item:hover, .fcom-nav-link:hover, .fc-nav-item.active, [class*="nav-item"].active {
    background: #E5E7EB !important;
    color: #111827 !important;
}

/* Global Cards & Containers */
.fc-card, .fcom-box, [class*="card-wrap"] {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Global Inputs & Forms */
.fc-input, .fcom-input, input[type="text"], input[type="email"], input[type="password"], textarea, select {
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.01) !important;
    color: #111827 !important;
}
.fc-input:focus, .fcom-input:focus, input:focus, textarea:focus, select:focus {
    background: #FFFFFF !important;
    border-color: #9CA3AF !important;
    box-shadow: 0 0 0 1px #9CA3AF !important;
    outline: none !important;
}

/* Global Primary Buttons (Overriding ALL Purple/Blue Defaults) */
.btn-primary, .fc-btn-primary, .fcom-button, button.primary {
    background: #111827 !important;
    color: #FFFFFF !important;
    border: 1px solid #111827 !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
.btn-primary:hover, .fc-btn-primary:hover, .fcom-button:hover, button.primary:hover {
    background: #374151 !important;
    border-color: #374151 !important;
}

/* =========================================================
   2. FEED SPECIFIC OVERRIDES
   ========================================================= */

/* Base Post Card - Minimalist structure */
.fc-post, .fcom-post, .fc-feed-post, [class*="fc-post-item"], .fcom-card, .fcom_feed_post {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 25px !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
    overflow: visible !important;
}

/* Post Hover Effect - Subtle contrast */
.fc-post:hover, .fcom-post:hover, .fc-feed-post:hover, [class*="fc-post-item"]:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    border-color: #D1D5DB !important;
}

/* Creation Box - What's on your mind? */
.fc-post-creator, .fcom-create-post, [class*="post-creator-wrapper"] {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
}

.fc-post-creator textarea, .fcom-create-post textarea, input[placeholder*="mind"] {
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    font-size: 15px !important;
}

.fc-post-creator textarea:focus, .fcom-create-post textarea:focus, input[placeholder*="mind"]:focus {
    background: #FFFFFF !important;
    border-color: #9CA3AF !important;
    box-shadow: 0 0 0 1px #9CA3AF !important;
    outline: none !important;
}

/* Premium Primary Buttons inside Feed - Monochrome */
.fc-post-creator button[type="submit"], .fcom-btn-post, [class*="btn-primary"] {
    background: #111827 !important; /* Very dark gray / almost black */
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: background 0.2s ease !important;
    padding: 8px 16px !important;
}

.fc-post-creator button[type="submit"]:hover, .fcom-btn-post:hover {
    background: #374151 !important;
}

/* Author info & Timestamps */
.fc-post-author-name, .fcom-author-name {
    font-weight: 600 !important;
    color: #111827 !important;
    font-size: 15px !important;
    letter-spacing: -0.01em !important;
}

.fc-post-time, .fcom-time, [class*="post-meta-time"] {
    font-size: 13px !important;
    color: #718096 !important;
    font-weight: 500 !important;
}

/* Post Images and Media */
.fc-post-media img, .fcom-media img, [class*="post-gallery"] img {
    border-radius: 8px !important;
    border: 1px solid #F3F4F6 !important;
    transition: opacity 0.2s ease !important;
}

.fc-post-media img:hover, .fcom-media img:hover {
    opacity: 0.9 !important;
}

/* Actions Bar (Like, Comment, etc) */
.fc-post-actions, .fcom-actions, [class*="post-footer-actions"] {
    border-top: 1px solid #E5E7EB !important;
    margin-top: 15px !important;
    padding-top: 15px !important;
    display: flex !important;
    gap: 10px !important;
}

.fc-action-btn, .fcom-action, [class*="action-item"] {
    background: transparent !important;
    border: none !important;
    color: #6B7280 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.fc-action-btn:hover, .fcom-action:hover {
    background: #F3F4F6 !important;
    color: #111827 !important;
}

/* Liked State */
.fc-action-btn.active, .fc-action-btn.liked, .fcom-action.liked, [class*="liked"] {
    color: #111827 !important;
    font-weight: 600 !important;
}

/* Comments Section */
.fc-comments-wrapper, .fcom-comments, [class*="comments-list"] {
    background: transparent !important;
    border-top: 1px dashed #E5E7EB !important;
    padding: 15px 0 0 0 !important;
    margin-top: 15px !important;
}

.fc-comment-item, .fcom-comment {
    border-radius: 0 !important;
    background: transparent !important;
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
    border-left: 2px solid #E5E7EB !important;
}

.fc-comment-item:hover, .fcom-comment:hover {
    border-left-color: #9CA3AF !important;
}

/* Smooth Avatars */
.fc-avatar, .fcom-avatar, [class*="avatar"] img {
    border-radius: 50% !important;
    border: 1px solid #E5E7EB !important;
}

/* Comment Input */
.fc-comment-input, .fcom-add-comment, [class*="comment-form"] input {
    background: #F9FAFB !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
}

.fc-comment-input:focus, [class*="comment-form"] input:focus {
    border-color: #9CA3AF !important;
    outline: none !important;
    background: #FFFFFF !important;
}
