/* WP Notify - Frontend Styles */

/* Notification Count */
.wp-notify-count {
	background: #dc3545;
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	font-weight: bold;
	font-size: 12px;
	padding: 2px;
}

/* Notification Page */
.wp-notify-page {
	max-width: 100%;
	background: #fff;
}

/* Tabs */
.wp-notify-tabs {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 20px;
}

.wp-notify-tab-button {
	background: none;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
	margin-bottom: -2px;
}

.wp-notify-tab-button:hover {
	color: #333;
}

.wp-notify-tab-button.active {
	color: #0066cc;
	border-bottom-color: #0066cc;
}

/* Notification List */
.wp-notify-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wp-notify-item {
	display: flex;
	gap: 15px;
	padding: 15px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	transition: all 0.2s ease;
}

.wp-notify-item.unread {
	background: #f9f9f9;
	border-left: 4px solid #0066cc;
}

.wp-notify-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wp-notify-image {
	flex-shrink: 0;
}

.wp-notify-image img {
	max-width: 80px;
	height: auto;
	border-radius: 4px;
}

.wp-notify-content {
	flex: 1;
	min-width: 0;
}

.wp-notify-subject {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.wp-notify-body {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 8px;
}

.wp-notify-body p {
	margin: 0;
}

.wp-notify-meta {
	font-size: 12px;
	color: #999;
}

.wp-notify-date {
	display: block;
}

.wp-notify-actions {
	display: flex;
	gap: 8px;
	flex-direction: column;
	flex-shrink: 0;
	align-items: flex-end;
	justify-content: flex-start;
}

.wp-notify-action-btn {
	background: none;
	border: 1px solid #ddd;
	padding: 6px 12px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
	color: #666;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.wp-notify-action-btn:hover {
	background: #f5f5f5;
	border-color: #999;
	color: #333;
}

.wp-notify-delete:hover {
	background: #fee;
	border-color: #dc3545;
	color: #dc3545;
}

/* Tab Content */
.wp-notify-tab {
	display: none;
}

.wp-notify-tab.active {
	display: block;
}

.wp-notify-empty {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
	.wp-notify-item {
		flex-direction: column;
		gap: 10px;
	}

	.wp-notify-actions {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
	}

	.wp-notify-tabs {
		gap: 0;
	}

	.wp-notify-tab-button {
		flex: 1;
		text-align: center;
		padding: 12px 10px;
		border-bottom: 2px solid transparent;
		margin-bottom: 0;
	}

	.wp-notify-tab-button.active {
		border-bottom-color: #0066cc;
	}
}
