/**
 * Motorica Backoffice – Alerts & Toasts
 * Reference: informations/theming, alertify-motorica.css, motorica-design-tokens.css
 */

/* Bootstrap inline alerts */
.alert.alert-secondary {
	background-color: rgba(13, 35, 75, 0.1);
	border-color: #0d234b;
	color: #0d234b;
}

.alert.alert-primary {
	background-color: rgba(255, 102, 0, 0.12);
	border-color: #ff6600;
	color: #9f1239;
}

.alert.alert-success {
	background-color: rgba(115, 223, 78, 0.2);
	border-color: #5fc93a;
	border-width: 1px;
	color: #166534;
}

.alert.alert-danger {
	background-color: rgba(198, 40, 40, 0.12);
	border-color: #c62828;
	color: #b71c1c;
}

.alert.alert-warning {
	background-color: rgba(249, 170, 142, 0.3);
	border-color: #e88a6a;
	border-width: 1px;
	color: #9a3412;
}

.alert.alert-info {
	background-color: rgba(142, 221, 249, 0.25);
	border-color: #8eddf9;
	color: #0c4a6e;
}

.alert.alert-light {
	background-color: #fff;
	border-color: #e2e8f0;
	color: #0f172a;
}

.alert.alert-dark {
	background-color: rgba(74, 27, 29, 0.1);
	border-color: #4a1f00;
	color: #4a1f00;
}

/* Mitarbeiter-Änderungsliste (success toast, linksbündig) */
.motorica-employee-changes-notify.alert {
	position: fixed;
	bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
	left: 50%;
	transform: translateX(-50%);
	z-index: 1090;
	max-width: min(92vw, 32rem);
	width: calc(100% - 2rem);
	max-height: min(40vh, 18rem);
	overflow: auto;
	margin: 0;
	padding: 1rem 1.15rem;
	box-sizing: border-box;
	text-align: left;
	border-radius: 5px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.motorica-employee-changes-notify.fade,
.motorica-employee-changes-notify.fade.show {
	opacity: 1;
}

.motorica-employee-changes-notify__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.65rem;
	text-align: center;
}

.motorica-employee-changes-notify__list {
	margin: 0;
	padding: 0 0 0 1.1rem;
	font-size: 0.88rem;
	line-height: 1.45;
}

.motorica-employee-changes-notify__item {
	margin-bottom: 0.35rem;
}

.motorica-employee-changes-notify__item:last-child {
	margin-bottom: 0;
}
