/* White-label overrides */
:root,
[data-theme],
[data-theme="classic"],
[data-theme="warm"],
[data-theme="ocean"],
[data-theme="nature"],
[data-theme="rose"],
[data-theme="sunset"],
[data-theme="petal"],
[data-theme="midnight"],
[data-theme="golden"],
[data-theme="earth"],
[data-theme="minimal"],
[data-theme="noir"] {
    --cream: #f0f2f5 !important;
    --orange: #1a73e8 !important;
    --light-cream: #ffffff !important;
    --dark-cream: #dadce0 !important;
    --dark-orange: #1557b0 !important;
    --light-orange: #4285f4 !important;
    --text-dark: #202124 !important;
    --gray: #f8f9fa !important;
    --bg-primary: #f0f2f5 !important;
    --bg-secondary: #ffffff !important;
    --accent: #1a73e8 !important;
}

html, body {
    background: #f0f2f5 !important;
}

/* KEY FIX: Main feed container - wider */
.first_right_container {
    max-width: 780px !important;
    width: 100% !important;
    border-left: none !important;
    border-right: none !important;
    margin: 0 auto !important;
}

@media screen and (min-width: 800px) {
    .first_right_container {
        max-width: 780px !important;
    }
}

/* Main content area */
.main-content {
    max-width: none !important;
    width: 100% !important;
    background: transparent !important;
}

.posts-feed {
    max-width: 780px !important;
    margin: 0 auto !important;
    background: transparent !important;
}

/* Post cards */
.post-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}

/* Navbar */
.top-navbar, .navbar, header, .social-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #dadce0 !important;
}

/* Sidebar */
.sidebar {
    background: #ffffff !important;
}

.menu-item.active {
    background: #e8f0fe !important;
    color: #1a73e8 !important;
    border-radius: 8px !important;
}

/* Links */
a { color: #1a73e8; }
a:hover { color: #1557b0; }
.view-post-link { color: #1a73e8 !important; }

/* Buttons */
.btn-primary, .post-btn, .sendPostButton, #sendPostButton {
    background: #1a73e8 !important;
    border-color: #1a73e8 !important;
    color: #fff !important;
}

/* FAB */
.fab-button {
    background: #1a73e8 !important;
    color: #fff !important;
}

/* Hide unwanted */
.channel-cards-wrapper { display: none !important; }
.beta-fab-button { display: none !important; }

/* Container */
.container {
    background: #f0f2f5 !important;
}

/* Footer */
footer {
    background: #ffffff !important;
    clear: both !important;
}
