.momo-be-insights-inner{
    background-color: #F0F0F0;
    border-radius: 8px;
    padding: 20px;
    color: #1A1A1AE6;
}
#momo-be-sharing-facebook .momo-be-msg-block{
    display: inline-block!important;
    padding: 6px 12px;
    border-radius: 20px;
    background: #e8f5e9;
    color: #1b873f;
    font-size: 13px;
    font-weight: 600;
    border: none;
}
.momo-be-btn-fb{
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: #e4e6eb;
    color: #050505;
}
.momo-be-btn-fb.momo-be-btn-fb-primary {
    background: #1b74e4;
    color: white;
}

.momo-be-btn-fb.momo-be-btn-fb-primary:hover {
    background: #1867cd;
}
.momo-be-msg-block-fb{
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #dddfe2;
    color: #65676b;
    font-size: 13px;
    line-height: 1.2857;
}
.momo-be-msg-block-fb.momo-success {
    border-left: 3px solid #42b72a;
}
.momo-be-msg-block-fb.momo-warning {
    border-left: 3px solid #f5b83d;
}
.momo-be-msg-block-fb.momo-error {
    border-left: 3px solid #fa383e;
}
.momo-be-msg-block-fb.momo-info {
    border-left: 3px solid #1b74e4;
}
data-grid {
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    overflow: hidden;
}
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #e8f5e9;
    color: #1b873f;
    font-size: 13px;
    font-weight: 600;
}
.data-grid {
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    overflow: hidden;
}
.data-row {
    display: flex;
    border-bottom: 1px solid #e4e6eb;
}

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

.data-label {
    flex: 0 0 200px;
    padding: 16px;
    background: #f7f8fa;
    font-weight: 600;
    color: #65676b;
    font-size: 14px;
}

.data-value {
    flex: 1;
    padding: 16px;
    font-size: 14px;
}

.scopes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.scope-tag {
    background: #e4e6eb;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #050505;
}
.momo-be-insights-inner-box{
    background-color: #FFF;
    border-radius: 8px;
    padding: 10px;
}
.momo-be-fb-page-list{
	margin: 10px;
	font-size: 14px;
}
/* .momo-be-fb-page-list table{
	width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-align: left;
}
.momo-be-fb-page-list table td {
	padding: 12px 15px;
    border: 1px solid #dddddd;
} */
.momo-be-fb-page-list .title{
	font-weight: 800;
	min-width: 110px;
}
.misc-pub-facebook-share{
	text-align: center;
}
.momo-be-btn-sharing{
	background-color: #1877F2;
	border-color: #1877F2;
	color: #FFF;
	display: block;
	text-transform: uppercase;
	font-weight: 600;
}

#posts-container {
    width: 100%;
    margin-top: 20px;
}

/* #posts-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
} */
#momo-be-fb-insights-tabs.ui-widget.ui-widget-content,
#momo-fb-insights-tabs.ui-widget.ui-widget-content{
	border: none!important;
}
#momo-fb-insights-tabs ul.ui-tabs-nav{
	padding: 0;
	margin: 0;
    background: #FFF;
    margin-right: -23px;
    margin-left: -23px;
    border:none;
}
#momo-fb-insights-tabs ul.ui-tabs-nav li{
    padding: 5px 20px;
    text-transform: uppercase;
}
.ui-state-active,
#momo-fb-insights-tabs.ui-tabs .ui-widget-content .ui-state-active,
#momo-fb-insights-tabs.ui-tabs .ui-widget-header .ui-state-active,
#momo-fb-insights-tabs.ui-tabs a.ui-button:active,
#momo-fb-insights-tabs.ui-tabs .ui-button:active,
.ui-button.ui-state-active:hover{
	background-color: white;
	border: none;
	color: #000;
	border-bottom: 4px solid #c40f06;
}
#momo-fb-insights-tabs.ui-widget-content{
    background: transparent;
}
#momo-fb-insights-tabs.ui-widget-content .page-metrics{
    display: none;
}
#momo-fb-insights-tabs.ui-tabs a{
	color: #000;
}
/* #posts-container table th,
#posts-container table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#posts-container table th {
    background-color: #f2f2f2;
    background-color: #F8B3B0;
}

#posts-container table tr:nth-child(even) {
    background-color: #f9f9f9;
}

#posts-container table tr:hover {
    background-color: #f1f1f1;
}

#posts-container table th,
#posts-container table td a {
    color: #333;
    text-decoration: none;
}

#posts-container table td a:hover {
    text-decoration: underline;
}
*/
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    color: #0073aa;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 2px;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.pagination a.active {
    background-color: #0073aa;
    color: #fff;
    pointer-events: none;
}

#posts-container p {
    text-align: center;
    font-size: 18px;
    color: #999;
}


/*** New Insights ***/
/* Page Tabs Styling */
.page-tabs {
    display: flex;
    border-bottom: 1px solid #e4e6eb;
    padding: 0 20px;
    background: #fff;
    border-radius: 8px 8px 0 0;
}

.page-tab {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #65676b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-right: 8px;
}

.page-tab.active {
    color: #1b74e4;
    border-bottom-color: #1b74e4;
}

.page-tab:hover:not(.active) {
    background: #f2f3f5;
    border-radius: 4px 4px 0 0;
}

/* Page Info Section */
.page-info {
    padding: 24px;
    border-bottom: 1px solid #e4e6eb;
    background: #f7f8fa;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e4e6eb;
}

.info-label {
    color: #65676b;
    font-size: 13px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #050505;
}

/* Posts Table */
.posts-section {
    padding: 24px;
}

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

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #050505;
}

.posts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    overflow: hidden;
}

.posts-table th {
    background: #f7f8fa;
    color: #65676b;
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e4e6eb;
}

.posts-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #e4e6eb;
    background: white;
}

.empty-state {
    text-align: center;
    padding: 48px 0;
    color: #65676b;
    background: #f7f8fa;
    border-radius: 8px;
}

.empty-icon {
    font-size: 24px;
    margin-bottom: 12px;
    color: #8c939e;
}

.empty-text {
    font-size: 15px;
    margin-bottom: 8px;
}

.empty-subtext {
    font-size: 13px;
    color: #8c939e;
}

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

.metric-icon {
    color: #1b74e4;
}