.ccm-mon-form-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.ccm-mon-form {
	max-width: 800px;
	width: 100%;
	margin: 1.5em auto !important;
	padding: 1.5em;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fafafa;
}

.ccm-mon-form h3 {
	margin-top: 0;
}

.ccm-mon-subtitle {
	color: #666;
	font-size: 0.9em;
	margin-top: -0.5em;
}

.ccm-mon-field {
	margin-bottom: 1.1em;
}

.ccm-mon-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3em;
}

.ccm-mon-field input[type="text"],
.ccm-mon-field input[type="number"],
.ccm-mon-field input[type="date"],
.ccm-mon-field select,
.ccm-mon-field textarea {
	width: 100%;
	max-width: 400px;
	padding: 0.5em;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
}

.ccm-mon-inline {
	display: inline-block;
	font-weight: normal;
	margin-right: 1em;
	margin-bottom: 0.3em;
}

.ccm-mon-gdpr label {
	font-weight: normal;
	display: flex;
	gap: 0.5em;
	align-items: flex-start;
}

.req {
	color: #c0392b;
}

.ccm-mon-form button[type="submit"] {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 0.6em 1.4em;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
}

.ccm-mon-success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 0.8em 1em;
	border-radius: 4px;
	margin-bottom: 1em;
}

.ccm-mon-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 0.8em 1em;
	border-radius: 4px;
	margin-bottom: 1em;
}

.ccm-mon-restricted {
	font-style: italic;
	color: #777;
}

/* --- admin --- */
.ccm-mon-filter {
	margin: 1em 0;
	display: flex;
	gap: 0.5em;
	align-items: center;
}

.ccm-mon-pagination a {
	display: inline-block;
	padding: 0.3em 0.7em;
	margin-right: 0.3em;
	border: 1px solid #ccc;
	border-radius: 3px;
	text-decoration: none;
}

.ccm-mon-pagination a.current {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

/* --- rapoarte front-end --- */
.ccm-mon-report {
	max-width: 780px;
	margin: 1.5em 0;
}

.ccm-mon-report-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	align-items: end;
	margin: 1em 0 1.5em;
	padding: 1em;
	background: #f6f7f7;
	border-radius: 6px;
}

.ccm-mon-report-filter label {
	display: flex;
	flex-direction: column;
	font-size: 0.85em;
	font-weight: 600;
	gap: 0.3em;
}

.ccm-mon-report-filter select,
.ccm-mon-report-filter input {
	padding: 0.4em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ccm-mon-reset {
	align-self: center;
	font-size: 0.85em;
}

.ccm-mon-report-summary {
	display: flex;
	gap: 1em;
	margin-bottom: 1.5em;
}

.ccm-mon-stat-card {
	background: #2271b1;
	color: #fff;
	border-radius: 8px;
	padding: 1em 1.5em;
	display: flex;
	flex-direction: column;
	min-width: 140px;
}

.ccm-mon-stat-number {
	font-size: 2em;
	font-weight: 700;
	line-height: 1;
}

.ccm-mon-stat-label {
	font-size: 0.8em;
	opacity: 0.9;
	margin-top: 0.3em;
}

.ccm-mon-report-table {
	margin-bottom: 1.5em;
}

.ccm-mon-semafor {
	margin-bottom: 1.5em;
}

.ccm-mon-semafor-bar-bg {
	background: #e2e2e2;
	border-radius: 20px;
	height: 22px;
	overflow: hidden;
}

.ccm-mon-semafor-bar {
	height: 100%;
	border-radius: 20px;
	transition: width 0.3s ease;
}

.ccm-semafor-verde {
	background: #46b450;
}

.ccm-semafor-portocaliu {
	background: #f0a83c;
}

.ccm-semafor-rosu {
	background: #dc3232;
}

.ccm-mon-semafor-label {
	margin: 0.5em 0 0;
	font-size: 0.9em;
}
