.hv-public-wrap {
	font-family: inherit;
	max-width: 1200px;
	margin: 0 auto;
}

/* Alert Box */
.hv-alert-box {
	background-color: #fdf2f2;
	border-left: 5px solid #d63638;
	padding: 15px 20px;
	margin-bottom: 25px;
	border-radius: 0 4px 4px 0;
}

.hv-alert-box.success {
    background-color: #f0fdf4;
    border-left-color: #00a32a;
}

.hv-alert-box h3 {
	margin-top: 0;
	color: #d63638;
}

.hv-alert-box.success h3 {
    color: #00a32a;
}

.hv-alert-box ul {
	margin: 10px 0 0 0;
	padding-left: 20px;
}

.hv-alert-box li {
	margin-bottom: 8px;
}

.hv-small-text {
	font-size: 0.85em;
	color: #666;
}

/* Map */
.hv-map-container {
	margin-bottom: 30px;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}

/* Grid */
.hv-grouped-anlagen {
	margin-bottom: 40px;
}

.hv-category-title {
	margin-top: 30px;
	margin-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 5px;
	color: #333;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hv-collapsible-toggle {
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s;
	padding: 8px 10px;
	border-radius: 4px;
}

.hv-collapsible-toggle:hover {
	background-color: #f1f1f1;
}

.hv-toggle-icon {
	font-size: 0.8em;
	transition: transform 0.3s ease;
	color: #666;
}

.hv-category-section.collapsed .hv-toggle-icon {
	transform: rotate(-90deg);
}

.hv-category-section.collapsed .hv-collapsible-content {
	display: none;
}

.hv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 20px;
}

.hv-grid-item {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	border-top: 4px solid #ccc;
}

.hv-grid-item.status-border-green { border-top-color: #00a32a; }
.hv-grid-item.status-border-yellow { border-top-color: #dba617; }
.hv-grid-item.status-border-red { border-top-color: #d63638; }

.hv-grid-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.hv-grid-header h4 {
	margin: 0;
	font-size: 1.1em;
}

.hv-grid-body p {
	margin: 5px 0;
	font-size: 0.9em;
}

.hv-grid-footer {
	margin-top: auto;
	padding-top: 15px;
	text-align: right;
}

.status-dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}
.status-green { background-color: #00a32a; }
.status-yellow { background-color: #dba617; }
.status-red { background-color: #d63638; }

/* Buttons */
.hv-btn {
	display: inline-block;
	padding: 8px 15px;
	background: #eee;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9em;
	transition: background 0.2s;
	border: none;
	cursor: pointer;
}

.hv-btn:hover {
	background: #ddd;
	text-decoration: none;
	color: #000;
}

.hv-btn-primary {
	background: #0073aa;
	color: #fff;
}

.hv-btn-primary:hover {
	background: #005177;
	color: #fff;
}

/* Forms (Protokoll) */
.hv-public-wrap.form-view {
	max-width: 600px;
}

.hv-protokoll-header h2 {
	margin-bottom: 5px;
}

.hv-category-badge {
	display: inline-block;
	background: #e9ecef;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 0.85em;
	color: #495057;
	margin-top: 0;
}

.hv-protokoll-box {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 25px;
}

.hv-protokoll-box.hv-status-green { border-left: 4px solid #00a32a; }
.hv-protokoll-box.hv-status-yellow { border-left: 4px solid #dba617; }
.hv-protokoll-box.hv-status-red { border-left: 4px solid #d63638; }

.hv-form-group {
	margin-bottom: 15px;
}

.hv-form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}

.hv-form-group input[type="date"],
.hv-form-group select,
.hv-form-group textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.hv-form-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}
