

main {
        padding-left: 45px;
}
/* /dev/social/social.css - Unified Layout System (FAQ Style) */

:root {
    --header-height: 64px;
    --left-sidebar-width: 300px;
    --right-sidebar-width: 368px;
    --color-border: #e6dfe3;
    
    /* Brand Colors */
    --brand-dark: #25091d;
    --brand-purple: #3d0649; /* Updated from #4a174b */
    --brand-gold: #ffc107;
    
    /* UI Colors */
    --bg-body: #faf8f9;
    --bg-card: #ffffff;
    --text-main: #23121b;
    --text-muted: #6b7280;
    --text-secondary: #4f3b45;
}

/* 1. RESET & BASE */
html, body {
-webkit-fill-available !important;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
        padding-top: 12px !important;
}


@media (max-width: 900px) {

}

/* 2. PAGE WRAPPER */
.page-wrapper {
      position: relative;
    padding: 44px;
    /* padding-top: calc(var(--header-height) + 24px); */
    min-height: -webkit-fill-available;
    box-sizing: border-box;
}

/* 3. SIDEBARS - Floating Positioning (FAQ Style) */
.left-sidebar,
.right-sidebar {
    position: fixed;
    top: calc(var(--header-height) + 24px);
    height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    z-index: 10;
    padding: 0;
    box-sizing: border-box;
    
    /* Hide Scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.left-sidebar::-webkit-scrollbar,
.right-sidebar::-webkit-scrollbar { display: none; width: 0; height: 0; }

.left-sidebar { left: 24px; width: var(--left-sidebar-width); }
.right-sidebar { right: 24px; width: var(--right-sidebar-width); }

/* 4. MAIN CONTENT */
main {
    /* Margins handled by JS applyLayout(), but set defaults here */
    margin-left: calc(var(--left-sidebar-width) + 24px);
    margin-right: calc(var(--right-sidebar-width) + 24px);
    max-width: 100%;
    box-sizing: border-box;
    min-height: calc(100vh - var(--header-height) - 48px);
    padding-bottom: 80px; /* Space for footer */

}

/* 5. RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    main { margin-left: 0 !important; margin-right: 0 !important; }
    .left-sidebar, .right-sidebar { 
        position: static; 
        width: 100%; 
        height: auto; 
        margin-bottom: 24px; 
    }
    .page-wrapper { padding-top: var(--header-height); }
}

/* 6. BREADCRUMB FOOTER */
.breadcrumb-footer {
    position: fixed;
    bottom: 24px; /* Floating slightly above bottom */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 200px;
    
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 50px; /* Pill shape */
    padding: 10px 24px;
    
    z-index: 990;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-footer a { color: var(--text-secondary); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.breadcrumb-footer a:hover { color: var(--brand-purple); }
.breadcrumb-footer .separator { color: #dadde1; font-size: 10px; }
.breadcrumb-footer .current { font-weight: 700; color: var(--brand-dark); }

/* 7. PAGE HEADER - Facebook Account Center Style */
.sf-page-header {
    background: #fff;
    border: 0;
    border-radius: 12px;
    padding: 0 !important;
    margin-bottom: 24px !important;
}

.sf-page-header h1, .header-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.sf-page-header p, .header-subtitle {
    margin: 6px 0 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* 8. CARDS */
.sf-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.sf-card-header {
    font-size: 15px; font-weight: 700; color: var(--brand-dark);
    padding: 16px 20px; border-bottom: 0 solid var(--color-border);
    background: #ffffff;
    display: flex; align-items: center; justify-content: space-between;
}

.sf-card-body { padding: 20px; color: var(--text-secondary); line-height: 1.5; }

/* 9. BUTTONS & UI ELEMENTS */
.btn, .sf-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 10px 18px; border-radius: 8px;
    font-weight: 600; font-size: 13px; text-decoration: none;
    border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary, .sf-btn-primary { background: var(--brand-dark); color: #fff; }
.btn-primary:hover { background: var(--brand-purple); transform: translateY(-1px); }
.btn-outline, .sf-btn-outline { background: #fff; border: 1px solid var(--color-border); color: var(--text-main); }
.btn-outline:hover { background: #f9f8f9; border-color: var(--brand-dark); }
.btn-danger { background: #dc3545; color: #fff; }
.btn-light { background: #fff; border: 1px solid #e0e0e0; color: var(--text-secondary); padding: 6px 12px; }
.btn-light:hover { background: #f5f5f5; }

/* 10. FORMS */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 12px; color: var(--text-main); text-transform: uppercase; }
.form-control, .sf-input { width: 100%; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; box-sizing: border-box; background: #fdfdfd; }
.form-control:focus, .sf-input:focus { outline: none; border-color: var(--brand-purple); background: #fff; box-shadow: 0 0 0 3px rgba(61, 6, 73, 0.08); }

/* 11. STATS GRID */
.stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-bottom: 24px;
}
.stat-card {
    background: #fff; border: 1px solid var(--color-border);
    border-radius: 12px; padding: 20px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.stat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-val { font-size: 24px; font-weight: 800; color: var(--text-main); line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 4px; }

/* 12. QUICK ACTIONS GRID */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.quick-actions-grid .btn {
    display: flex; align-items: center; justify-content: flex-start;
    text-align: left; flex-direction: row; gap: 16px;
    height: auto; width: 100%; padding: 16px; box-sizing: border-box;
    background: #ffffff; border: 1px solid var(--color-border); border-radius: 12px;
    color: var(--text-main); box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    font-size: 14px; font-weight: 600; transition: all 0.2s ease;
}
.quick-actions-grid .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(37,9,29,0.06); border-color: var(--brand-purple); }
.quick-actions-grid .btn svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--text-muted); }
.quick-actions-grid .btn:hover svg { color: var(--brand-purple); }
.quick-actions-grid .btn-primary { background: var(--brand-dark); color: #ffffff; border-color: var(--brand-dark); }
.quick-actions-grid .btn-primary svg { color: #ffc107; }
.quick-actions-grid .btn-primary:hover { background: var(--brand-purple); border-color: var(--brand-purple); color: #ffffff; }
.quick-actions-grid .btn-primary:hover svg { color: #ffffff; }

/* 13. TABLE STYLES */
table, .full-table { width: 100%; border-collapse: separate; border-spacing: 0; }
table th, .full-table th { text-align: left; padding: 12px 16px; background: #fcfbfc; font-size: 11px; color: var(--text-muted); text-transform: uppercase; border-bottom: 1px solid var(--color-border); font-weight: 700; }
table td, .full-table td { padding: 12px 16px; border-bottom: 1px solid #f3f1f2; font-size: 13px; color: var(--text-main); vertical-align: middle; }
table tr:hover { background: #faf8f9; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; background: #f3f1f2; color: var(--text-secondary); text-transform: uppercase; }

/* 14. UTILS */
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state svg { width: 56px; height: 56px; color: #e0e0e0; margin-bottom: 16px; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spinning { animation: spin 1s linear infinite; }

.stat-amount {
    font-weight: 100 !important;
    font-size: 23px!important;
    color: var(--brand-dark) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.action-btn-1 {
    
    color: #52400a !important; 
}

.page-wrapper {
 
    padding-top: 0;
}

.sort-pill.active {
    background: #e7f3ff !important;
    color: #2b082a !important;
}

.post-author {

    text-transform: capitalize;
}


@media (max-width: 900px) {
    .feed-sort-bar {
        padding: 0 16px 16px 16px;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        position: fixed!important;
        bottom: 0!important;
        z-index: 9999999999!important;
        background: #fffffff5!important;
        width: -webkit-fill-available!important;
        margin-bottom: 0 !important;
        padding: 10px !important;
    }
}

.status-badge.unpaid {
    background: #fbc848;
    color: #2f0830;
    border: 1px solid #fde047;
}



@media (max-width: 908px) {
   
   
}