/**
 * Sidebar Widgets Styles
 * Style Recent Pages and other widgets like About Author
 * 
 * @package Blog Content
 */

/* ========================================
   Sidebar Widget Styling
   ======================================== */

.widget {
	padding: 20px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	margin-bottom: 30px;
}

/* Widget Title */
.widget .widget-title,
.widget h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #007bff;
	text-align: center;
}

/* Widget Lists */
.widget ul,
.widget ol {
	list-style: none !important;
	padding: 0;
	margin: 0;
}

.widget ul li,
.widget ol li {
	margin-bottom: 12px;
	padding: 0;
	border-bottom: 1px solid rgba(0, 123, 255, 0.1);
	padding-bottom: 12px;
}

.widget ul li:last-child,
.widget ol li:last-child {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}

.widget ul li a,
.widget ol li a {
	color: #555;
	text-decoration: none;
	font-size: 0.938rem;
	line-height: 1.6;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.widget ul li a:hover,
.widget ol li a:hover {
	color: #007bff;
	padding-left: 8px;
}

.widget ul li a:before,
.widget ol li a:before {
	content: '→';
	color: #007bff;
	font-weight: 700;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.widget ul li a:hover:before,
.widget ol li a:hover:before {
	opacity: 1;
}

/* Recent Pages / Recent Posts specific */
.widget_recent_entries ul,
.widget_pages ul,
.widget_nav_menu ul {
	list-style: none !important;
}

.widget_recent_entries ul li:before,
.widget_pages ul li:before,
.widget_nav_menu ul li:before {
	display: none !important;
}

/* Categories Widget */
.widget_categories ul li {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.widget_categories ul li a {
	flex: 1;
}

/* Search Widget */
.widget_search .search-form {
	display: flex;
	gap: 5px;
}

.widget_search .search-form input[type="search"] {
	flex: 1;
	padding: 10px 15px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 0.938rem;
}

.widget_search .search-form input[type="submit"] {
	padding: 10px 20px;
	background: #007bff;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.widget_search .search-form input[type="submit"]:hover {
	background: #0056b3;
}

/* Calendar Widget */
.widget_calendar table {
	width: 100%;
	margin: 0;
	box-shadow: none;
	border-radius: 0;
}

.widget_calendar caption {
	background: #f8f9fa;
	padding: 10px;
	font-weight: 700;
	color: #333;
}

.widget_calendar th,
.widget_calendar td {
	padding: 8px;
	text-align: center;
	font-size: 0.875rem;
}

/* Tag Cloud Widget */
.widget_tag_cloud a {
	display: inline-block;
	padding: 5px 12px;
	margin: 4px;
	background: #f8f9fa;
	border-radius: 4px;
	color: #555;
	font-size: 0.875rem !important;
	text-decoration: none;
	transition: all 0.3s ease;
}

.widget_tag_cloud a:hover {
	background: #007bff;
	color: #fff;
	transform: translateY(-2px);
}

/* RSS Widget */
.widget_rss ul li {
	border-bottom: 1px solid rgba(0, 123, 255, 0.1);
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.widget_rss ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.widget_rss .rsswidget {
	font-weight: 600;
	color: #007bff;
}

.widget_rss .rss-date {
	display: block;
	font-size: 0.813rem;
	color: #999;
	margin-top: 5px;
}

.widget_rss .rssSummary {
	margin-top: 10px;
	font-size: 0.875rem;
	line-height: 1.6;
}

/* Author Widget - Keep special styling */
.author-box-widget,
.bc-author-widget {
	/* Keep existing special styling */
}


/* Responsive */
@media (max-width: 768px) {
	.widget {
		padding: 15px;
	}

	.widget .widget-title,
	.widget h2 {
		font-size: 1.125rem;
	}
}

