/**
 * Frontend-Styles für Gutenberg-Blöcke
 */

.thn-intranet-dashboard {
	padding: 20px;
}

.thn-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.thn-stat-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thn-stat-card h3 {
	margin-top: 0;
	color: #333;
}

.thn-stat-number {
	font-size: 48px;
	font-weight: bold;
	color: #0073aa;
	margin: 15px 0;
}

.thn-dashboard-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.thn-dashboard-column {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px;
}

.thn-dashboard-column h2 {
	margin-top: 0;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

.thn-messages-preview,
.thn-tasks-preview {
	list-style: none;
	padding: 0;
	margin: 0;
}

.thn-messages-preview li,
.thn-tasks-preview li {
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #eee;
	border-radius: 4px;
	background: #f9f9f9;
}

.thn-messages-preview li.unread {
	background: #e7f3ff;
	border-left: 4px solid #0073aa;
}

/* OceanWP-Optimierungen */
body.oceanwp .thn-intranet-page {
	padding: 0;
}

body.oceanwp .thn-intranet-page .content-area {
	width: 100%;
	max-width: 100%;
}

body.oceanwp .thn-intranet-page .site-content {
	padding: 0;
}

body.oceanwp .thn-intranet-page .content-area .site-main {
	margin: 0;
}
