/* Facebook Posts Container */
.facebook-posts-container {
	margin-top: 30px;
	margin-bottom: 50px;
}

.facebook-post-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
	cursor: pointer;
}

.facebook-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	background: #f8f9fa;
}

.facebook-post-card.active {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	border: 2px solid #4caf50;
	box-shadow: 0 6px 16px rgba(76, 175, 80, 0.25);
	transform: scale(1.02);
}

/* Post Header */
.post-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 10px;
}

.post-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 12px;
	background: #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.post-info h6 {
	margin: 0;
	font-weight: 600;
	color: #333;
}

.post-info small {
	color: #666;
	display: block;
	margin-top: 3px;
}

/* Post Content */
.post-content {
	margin: 15px 0;
	color: #333;
	line-height: 1.6;
}

.post-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 15px 0;
	display: none;
}

.post-image.show {
	display: block;
}

/* Post Statistics */
.post-stats {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 15px 0;
	padding: 10px 0;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	color: #666;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Post Actions */
.post-actions {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.btn-facebook-link {
	flex: 1;
	background: #1877F2;
	color: white;
	border: none;
	padding: 8px 12px;
	border-radius: 6px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.btn-facebook-link:hover {
	background: #0a66c2;
	color: white;
	text-decoration: none;
}

/* Loading State */
.loading {
	text-align: center;
	padding: 40px;
}

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

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

/* Messages */
.error-message {
	background: #f8d7da;
	color: #721c24;
	padding: 15px;
	border-radius: 6px;
	margin: 20px 0;
	border: 1px solid #f5c6cb;
}

.info-message {
	background: #d1ecf1;
	color: #0c5460;
	padding: 15px;
	border-radius: 6px;
	margin: 20px 0;
	border: 1px solid #bee5eb;
}

.no-posts {
	text-align: center;
	padding: 40px 20px;
	color: #666;
}

/* Post Text Preview */
.post-text-preview {
	max-height: 200px;
	overflow: hidden;
	position: relative;
}

.post-text-preview.expanded {
	max-height: none;
}

.see-more-btn {
	background: none;
	border: none;
	color: #1877F2;
	cursor: pointer;
	padding: 5px 0;
	font-weight: 500;
}

.see-more-btn:hover {
	text-decoration: underline;
}

/* Navbar Styles */
.navbar {
	background-color: #28a745 !important;
}

/* Footer Styles */
footer {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
