/* .annunciatoralert-wrapper { 
    position: fixed;
    bottom: 15px;
    width: 340px;
    z-index: 1049;
    border-radius: 10px;
    padding: 5px;
    background: rgba(var(--bs-body-bg-rgb), 0.8);
	backdrop-filter: blur(6px);
    color: currentColor;
    margin-left: 5px;
}*/

.annunciator-stack {
    position: fixed;
    bottom: 16px;
    left: 220px;
    z-index: 1049;
    display: flex;
    flex-direction: column; /* first bell (Urgent) at the bottom, the rest stack upward */
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;
}
.annunciator-stack > * { pointer-events: auto; }
.collapse-toggle .annunciator-stack { left: 80px; }
/* An expanded bell shows a card that is taller than the 60px bell and extends above it, so
   reserve that room; otherwise it covers the bell stacked above. */
.annunciator-stack > .annunciatoralert-wrapper:not(:has(.annunciatoralert-container.height-1)) {
    margin-top: 30px;
}
/* Bell shown while a category annunciator is closed; click reopens them. */
.annunciator-bell {
    position: relative;
    width: 50px;
    height: 50px;
    margin-left: 10px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50px;
    background: var(--bs-body-bg);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: .1s ease;
    z-index: 1050;
    pointer-events: auto;
}
.annunciator-bell > * { pointer-events: none; }
.annunciator-bell:hover {
    background: var(--site-primary);
    transform: scale(110%);
}
.annunciator-bell .annunciator-bell-icon {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background: url("../../../../IImageService/bell") center center no-repeat;
    background-size: contain;
}
.annunciator-bell .badge-annunciator-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 4px;
    border-radius: 10px;
    background-color: var(--site-red);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.annunciatoralert-wrapper {
    position: relative;
    width: 60px;
	height: 60px;
    z-index: 1049;
    border-radius: 100px;
    padding: 5px;
    background: rgba(var(--bs-body-bg-rgb), 0.8);
	backdrop-filter: blur(6px);
    color: currentColor;
    margin-left: 5px;
}
/* Category accents: Information / Warning / Error */
.annunciatoralert-wrapper.annunciator-information { border: 2px solid rgba(var(--green), 0.75); }
.annunciatoralert-wrapper.annunciator-warning { border: 2px solid rgba(var(--orange), 0.9); }
.annunciatoralert-wrapper.annunciator-urgent { border: 2px solid rgba(var(--red), 1); }
.annunciatoralert-header .dropdown .dropdown-menu {
	left: 28px;
	top: -30px;
	max-height: 200px;
    overflow: auto;
	z-index: 99 !important;
}
.annunciatoralert-header {
    display: flex;
    justify-content: flex-start;
	padding: 0px;
	border-bottom: 0px solid rgba(var(--midgrey), 0.25);
	height: 0px;
}

    .annunciatoralert-header .annunciatoralert-title {
        width: 70%;
        font-weight: 700;
		display: flex;
		padding-top: 4px;
		padding-left: 10px;
    }
	.annunciatoralert-heading {
		display:none;
	}
    /* Controls */
    .annunciatoralert-header .annunciatoralert-controls {
        display: block;
		/* display:none; 
        justify-content: flex-end;
        gap: 6px;*/
		margin-left: -50px;
        margin-top: -55px;
        width: 36px;
		height: fit-content;
		background: var(--bs-body-bg);
		border-radius: 20px;
		padding: 4px;
		z-index: 1;
		box-shadow: 0 0 5px 0px rgba(0,0,0,0.15);
		opacity: 0;
		transition: .3s;
    }
	 .annunciatoralert-wrapper:has(.al-driver-icn:hover) .annunciatoralert-header .annunciatoralert-controls,
     .annunciatoralert-header .annunciatoralert-controls:hover,
	 .annunciatoralert-wrapper .annunciatoralert-header .annunciatoralert-controls:has(.dropdown-menu) {
		 margin-left: -50px;
		 margin-top: -55px;
		 opacity: 1;
		 transition: .3s;
	 }

        .annunciatoralert-header .annunciatoralert-controls button {
            padding: 4px 4px;
            font-size: 12px;
            border: none;
            border-radius: 36px;
            cursor: pointer;
            background: transparent;
            color: currentColor;
        }
		.annunciatoralert-header .annunciatoralert-controls button.btn-height-1,
		.annunciatoralert-header .annunciatoralert-controls button.btn-height-8 {
			display:none;
		}

.annunciatoralert-controls button:hover {
    background: var(--site-primary);
}
	 .annunciatoralert-wrapper .annunciatoralert-header .annunciatoralert-controls:has(.dropdown-menu) button.btn-gear {
		 background-color: var(--site-primary);
	 }
	 .annunciatoralert-wrapper .annunciatoralert-header .annunciatoralert-controls:has(.dropdown-menu) button.btn-gear span {
		 filter: var(--icon-filter-white);
	 }
/* Alert container */
.annunciatoralert-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: height 0.35s ease;
	padding: 0px 0px;
	width: 40px;
	height: 40px !important;
	margin: 6px;
}
.annunciatoralert-wrapper .annunciatoralert-title .badge-annunciator-counter { 
    /* display:none; */
	background-color: var(--site-red);
	border-radius: 10px;
	margin-left: 6px;
	min-width: 20px;
	height: 20px;
	padding: 4px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	position: absolute;
	margin-top: -20px;
	margin-left: 20px;
}
/* Height states */
.height-1 {
    height: 0px;
}
/* 1 alert */
.height-3 {
    height: 200px;
    overflow-y: auto;
}
/* default 3 alerts */
.height-8 {
    max-height: 620px;
  overflow-y: auto;
  height: 76vh;
}


/* 8 alerts */
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-8) .btn-height-8 {
    display: none;
}

.annunciatoralert-wrapper:has(.annunciatoralert-container.height-3) .btn-height-3 {
    display: none;
}

/*----On Hide ---*/
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .btn-height-8 {
    display: none;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .btn-height-1 {
    display: none;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .btn-gear {
    display: none;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .close-annunciator {
    display: none;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .btn-height-3 {
	width: 50px;
	height: 50px;
	border-radius: 30px;
	background: var(--bs-body-bg);
	/*animation: annunciator-aura 10s linear infinite;
	animation-delay: .5s;*/
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .btn-height-3:hover {
	background: var(--site-primary);
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .btn-height-3 span {
    background: url("../../../../IImageService/bell") center center no-repeat !important;
	width: 32px;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1)::before {
	content:"";
	width: 60px;
	height: 60px;
	border-radius: 50px;
	display: block;
	position: absolute;
	border: 1px dashed currentColor;
	animation: spin 20s linear infinite;
	top: 0px;
	left: 0px;
	}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert-controls {
	width: 100%;
	justify-content: center;
	gap: 0px;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert-header .annunciatoralert-title {
	width: 0px;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert-header .annunciatoralert-title {
		padding-top: 4px;
		padding-left: 0px;
    }
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert-title .annunciatoralert-heading {
	display:none;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert-title .badge-annunciator-counter {
	display: block;
	position: relative;
	top: -10px;
	right: -25px;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) {
	width: 60px;
	height: 60px;
	border-radius: 50px;
	position: relative;
	margin-left: 5px;
	padding: 5px;
	box-shadow: 0 0 0 0px rgba(var(--primary),0);
	animation: annunciator-aura 1.5s ease;
	animation-delay: 1s;
	transition: .1s ease;
	border: 2px solid transparent;
}
.annunciatoralert-wrapper.annunciator-information:has(.annunciatoralert-container.height-1) { border-color: rgba(var(--green), 0.75); }
.annunciatoralert-wrapper.annunciator-warning:has(.annunciatoralert-container.height-1) { border-color: rgba(var(--orange), 0.9); }
.annunciatoralert-wrapper.annunciator-urgent:has(.annunciatoralert-container.height-1) { border-color: rgba(var(--red), 1); }
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert { 
	display: none;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert-header {
	width: 50px;
	height: 50px;
	border-radius: 50px;
	padding: 0px;
	margin: 0px;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1):has(.counter-active) .counter-active {
	animation: counter-aura 20s linear infinite;
	animation-delay: 2s;
	opacity: 1;
}
.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1):hover {
	/* bottom: 16px; left: 220px; */
	transform: scale(120%);
	transition: .3s ease;
}

/*@keyframes annunciator-aura {
  0% {box-shadow: 0 0 0 0px rgba(var(--primary),0.1);}
  5% {box-shadow: 0 0 0 100px rgba(var(--primary),0.3);}
  10% {box-shadow: 0 0 0 200px rgba(var(--primary),0);}
  11% {box-shadow: 0 0 0 0px rgba(var(--primary),0);}
  100% {box-shadow: 0 0 0 0px rgba(var(--primary),0);}
}*/
@keyframes annunciator-aura {
  0% {box-shadow: 0 0 0 50px rgba(var(--primary),0.3);}
  100% {box-shadow: 0 0 0 200px rgba(var(--primary),0);}
}
@keyframes annunciator-hover-aura {
  0% {box-shadow: 0 0 0 50px rgba(var(--primary),0.3);}
  100% {box-shadow: 0 0 0 200px rgba(var(--primary),0);}
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes counter-aura {
  0% {box-shadow: 0 0 0 0px rgba(var(--red),0.1);}
  5% {box-shadow: 0 0 0 50px rgba(var(--red),0.3);}
  10% {box-shadow: 0 0 0 100px rgba(var(--red),0);}
  11% {box-shadow: 0 0 0 0px rgba(var(--red),0);}
  100% {box-shadow: 0 0 0 0px rgba(var(--red),0);}
}


.annunciatoralert-header .annunciatoralert-controls button span {
    width: 20px;
    height: 20px;
    display: block;
	opacity: .5;
}

.annunciatoralert-header .annunciatoralert-controls button:hover span {
    filter: var(--icon-filter-white);
}

.annunciatoralert-wrapper .btn-height-8 span {
    background: url("../../../../IImageService/chevron-up-double") center center no-repeat;
	background-size: cover;
}

.annunciatoralert-wrapper .btn-height-3 span {
    background: url("../../../../IImageService/chevron-up") center center no-repeat;
	background-size: cover;
}

.annunciatoralert-wrapper:has(.annunciatoralert-container.height-8) .btn-height-3 span {
    background: url("../../../../IImageService/chevron-down") center center no-repeat;
	background-size: cover;
}

.annunciatoralert-wrapper .btn-height-1 span {
    background: url("../../../../IImageService/eye-slash") center center no-repeat;
	background-size: cover;
}

.annunciatoralert-wrapper .close-annunciator span {
    background: url("../../../../IImageService/eye-slash") center center no-repeat;
	background-size: cover;
}

.annunciatoralert-wrapper .btn-gear span {
    background: url("../../../../IImageService/Linear (11)") center center no-repeat;
    background-size: cover;
}
.annunciatoralert-wrapper .messages-stack {
	height: 40px;
	margin-top: 0px;
	width: 40px;
}
/* Alert style */
.annunciatoralert {
    background:transparent !important;
    color: currentColor;
    border: 0px solid rgba(var(--midgrey),0.25);
    padding: 0px;
    font-size: 14px;
    cursor: pointer;
	position: absolute;
	height: 40px;
}

    .annunciatoralert:hover {
        background: rgba(var(--primary), 0.1);
    }

    .annunciatoralert .al-alert-line1 {
        display: block;
		height: 40px;
    }

    .annunciatoralert .al-alert-line2 {
        display: block;
    }

    .annunciatoralert .al-alert-line1 > div {
        display: inline-block;
    }

    .annunciatoralert .al-alert-line1 .al-alert-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(0,0,0,0.3);
        border-radius: 40px;
		vertical-align: top;
    }

        .annunciatoralert .al-alert-line1 .al-alert-icon img {
            filter: var(--icon-filter-white);
            display: block;
            margin: 8px auto;
        }

    .al-route-name-row {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
    }

    .annunciatoralert .al-alert-line1 .al-route-name {
        padding: 0px 0px 0px;
        color: currentColor;
        font-weight: 700;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
		vertical-align: top;
        flex: 1 1 auto;
        min-width: 0;
    }
    .al-route-name {
        max-width: 230px;
    }

    .annunciatoralert .al-alert-line1 .al-alert-timestamp {
        flex: 0 0 auto;
        font-size: 12px;
        color: currentColor;
        opacity: .75;
        white-space: nowrap;
    }
    .annunciatoralert .al-alert-line1 .al-alert-alert {
        padding: 0px;
        color: currentColor;
        opacity: .75;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        vertical-align: top
    }

    .annunciatoralert .al-alert-line1 .al-route-id .al-route-color {
        height: 14px;
        width: 14px;
        display: inline-block;
        margin: 13px 6px;
        border-radius: 10px;
        background-color: rgba(0,0,0,0.4);
    }

    .annunciatoralert .al-alert-line2 .al-alert-content {
        padding: 10px 0px 0px;
        font-size: 12px;
        min-height: 6px;
        color: currentColor;
        opacity: .75;
        width: 100%;
        margin-top: -10px;
        display: block;
        text-align: left;
        line-height: 1.1;
    }

    .annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) .annunciatoralert .al-alert-line2 .al-alert-content {
        display: none;
    }
    /*.annunciatoralert .al-alert-line2 .al-alert-content::before {
		content:"“";
		font-size: 36px;
		font-family: Times New Roman, serif;
		display: block;
		opacity: .4;
		font-weight: 700;
		height: 20px;
		float: left;
	}
	.annunciatoralert .al-alert-line2 .al-alert-content::after {
		content:"”";
		font-size: 36px;
		font-family: Times New Roman, serif;
		display: block;
		opacity: .4;
		font-weight: 700;
		height: 20px;
		float: right;
	}*/
    /*.slide-in {
    animation: slideInRight 0.3s ease forwards;
}*/
    /* Add this at the end of your existing CSS */
    /* Animation for new messages - only this is new */
    .annunciatoralert.slide-in {
        animation: slideInRight 0.3s ease forwards;
    }

    @keyframes slideInRight {
        0% {
            transform: translateX(0px);
            opacity: 0.5;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    /* Optional subtle highlight for new messages */
    .annunciatoralert.highlight {
        background: rgba(var(--site-primary-rgb), 0.1);
        transition: background 0.5s ease;
    }
    /*@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}*/
.annunciatoralert-footer {
	display: none;
	border-top: 1px solid rgba(var(--midgrey), 0.25);
	padding: 10px 10px;
}
.annunciatoralert-footer button:has(.annunciator-view-all) {
	width: 100%;
	border: 0px;
	text-align: left;
	color: rgba(var(--linkblue), 0.75);
}
.annunciatoralert-footer button:has(.annunciator-view-all):hover {
	color: rgba(var(--linkblue), 1) !important;
}
.annunciatoralert-footer button img.annunciator-view-all {
	float: right;
	filter: var(--icon-filter-blue);
	opacity: 0.75;
}
.annunciatoralert-footer button:hover img.annunciator-view-all {
	opacity: 1 !important;
}
.al-driver-icn {
	display: inline-block;
    vertical-align: top;
	width: 40px;
	height: 40px;
	margin-right: 10px;
}
.al-event-detail {
	display: inline-block;
    vertical-align: top;
	background: var(--bs-body-bg);
	border: 8px solid var(--bs-body-bg);
	min-width: 230px;
	max-height: 86px;
	margin-left: 54px;
	margin-top: -80px;
	padding: 2px;
	padding-bottom: 6px;
	border-radius: 10px;
	overflow-y: auto;
	box-shadow: 0 0 5px 0px rgba(0,0,0,0.15);
}
.al-event-detail::before {
	content:"";
	width: 20px;
	height: 20px;
	background: var(--bs-body-bg);
	display: block;
	position: absolute;
	transform: rotate(45deg);
	margin-left: -14px;
	margin-top: 35px;
}
.annunciator-driver-img {
    display: inline-block;
    vertical-align: middle;
    width: 38px;
    height: 38px;
    border-radius: 50px;
    padding: 5px;
    margin: 0px;
}

.annunciator-route-header-content {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.annunciator-route-driver {
    display: inline-block;
    vertical-align: middle;
    margin-top: -5px;
    width: calc(100% - 115px);
}

.annunciator-driver-icon {
    width: 48px;
    height: 48px;
    border-radius: 30px;
    padding: 0px;
}

.annunciator-route-no-driver-icon {
    width: 28px;
    height: 28px;
    border-radius: 0;
    margin: 0px;
    filter: var(--icon-filter-white);
    opacity: 1;
}
/*-------EVENTS--------------*/
.annunciator-driver-img[data-name="RouteCreated"] { background-color: rgba(var(--secondary), 1); border-radius: 50px; }
.annunciator-driver-img[data-name="RouteStarted"] { background-color: rgba(var(--green), 0.75); border-radius: 50px; }
.annunciator-driver-img[data-name="RoutePaused"] { background-color: rgba(var(--default), 0.5); border-radius: 10px; }
.annunciator-driver-img[data-name="RouteResumed"] { background-color: rgba(var(--primary), 1); border-radius: 50px; }
.annunciator-driver-img[data-name="PickedUp"] { background-color: rgba(var(--green), 0.75); border-radius: 50px; }
.annunciator-driver-img[data-name="StopArrived"] { background-color: rgba(var(--secondary), 1); border-radius: 10px; }
.annunciator-driver-img[data-name="StopCompleted"] { background-color: rgba(var(--green), 0.75); border-radius: 50px; }
.annunciator-driver-img[data-name="DeliverySucceeded"] { background-color: rgba(var(--green), 1); border-radius: 50px; }
.annunciator-driver-img[data-name="DeliveryFailed"] { background-color: rgba(var(--red), 1); border-radius: 10px; 
/* transform:rotate(45deg);  */ width: 34px; height: 34px; padding: 3px; margin-left: 2px;}
.annunciator-driver-img[data-name="IncidentReported"] { background-color: rgba(var(--orange), 0.75); border-radius: 10px; 
/* transform:rotate(45deg);  */ width: 34px; height: 34px; padding: 3px; margin-left: 2px;}
.annunciator-driver-img[data-name="RouteRecalculated"] { background-color: rgba(var(--purple), 0.75); border-radius: 10px; }
.annunciator-driver-img[data-name="RouteCompleted"] { background-color: rgba(var(--green), 1); border-radius: 50px; }
.annunciator-driver-img[data-name="TelemetryUpdated"] { background-color: rgba(var(--indigo), 1); border-radius: 10px; }
.annunciator-driver-img[data-name="DriverBreakStarted"] { background-color: rgba(var(--default), 0.5); border-radius: 10px; }
.annunciator-driver-img[data-name="DriverBreakEnded"] { background-color: rgba(var(--primary), 1); border-radius: 10px; }
.annunciator-driver-img[data-name="ServiceLevelBreached"] { background-color: rgba(var(--red), 1); border-radius: 10px; 
/* transform:rotate(45deg);  */ width: 34px; height: 34px; padding: 3px; margin-left: 2px;}
.annunciator-driver-img[data-name="ManualOverride"] { background-color: rgba(var(--default), 1); border-radius: 10px; }
.dxbl-theme-dark .annunciator-driver-img[data-name="ManualOverride"] { background-color: rgba(var(--default), 1); border-radius: 10px; }
.annunciator-driver-img[data-name="DriverAssigned"] { background-color: rgba(var(--green), 0.75); border-radius: 50px; }
.annunciator-driver-img[data-name="RouteStatusChanged"] { background-color: rgba(var(--secondary), 1); border-radius: 10px; }
.annunciator-driver-img[data-name="OrderStageChanged"] { background-color: rgba(var(--secondary), 1); border-radius: 10px; }
.annunciator-driver-img[data-name="RouteDelayed"] { background-color: rgba(var(--purple), 0.75); border-radius: 10px; }
.annunciator-driver-img[data-name="RouteExpedited"] { background-color: rgba(var(--yellow), 1); border-radius: 10px; }

.annunciatoralert:has(.annunciator-driver-img[data-name="RouteCreated"]) { background-color: rgba(var(--secondary), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteStarted"]) { background-color: rgba(var(--green), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RoutePaused"]) { background-color: rgba(var(--default), 0.1);}
.dxbl-theme-dark .annunciatoralert:has(.annunciator-driver-img[data-name="RoutePaused"]) { background-color: rgba(var(--lighttext), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteResumed"]) { background-color: rgba(var(--primary), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="PickedUp"]) { background-color: rgba(var(--green), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="StopArrived"]) { background-color: rgba(var(--secondary), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="StopCompleted"]) { background-color: rgba(var(--green), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="DeliverySucceeded"]) { background-color: rgba(var(--green), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="DeliveryFailed"]) { background-color: rgba(var(--red), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="IncidentReported"]) { background-color: rgba(var(--orange), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteRecalculated"]) { background-color: rgba(var(--purple), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteCompleted"]) { background-color: rgba(var(--green), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="TelemetryUpdated"]) { background-color: rgba(var(--indigo), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverBreakStarted"]) { background-color: rgba(var(--default), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverBreakEnded"]) { background-color: rgba(var(--primary), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="ServiceLevelBreached"]) { background-color: rgba(var(--red), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="ManualOverride"]) { background-color: rgba(var(--default), 0.1);}
.dxbl-theme-dark .annunciatoralert:has(.annunciator-driver-img[data-name="ManualOverride"]) { background-color: rgba(var(--lighttext), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverAssigned"]) { background-color: rgba(var(--green), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteStatusChanged"]) { background-color: rgba(var(--secondary), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="OrderStageChanged"]) { background-color: rgba(var(--secondary), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteDelayed"]) { background-color: rgba(var(--purple), 0.1);}
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteExpedited"]) { background-color: rgba(var(--yellow), 0.1);}

/* .annunciatoralert:has(.annunciator-driver-img[data-name="RouteCreated"]) { border-left: 3px solid rgba(var(--secondary), 1); } 
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteStarted"]) { border-left: 3px solid rgba(var(--green), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RoutePaused"]) { border-left: 3px solid rgba(var(--default), 0.5); }
.dxbl-theme-dark .annunciatoralert:has(.annunciator-driver-img[data-name="RoutePaused"]) { border-left: 3px solid rgba(var(--lighttext), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteResumed"]) { border-left: 3px solid rgba(var(--primary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="PickedUp"]) { border-left: 3px solid rgba(var(--green), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="StopArrived"]) { border-left: 3px solid rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="StopCompleted"]) { border-left: 3px solid rgba(var(--green), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DeliverySucceeded"]) { border-left: 3px solid rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DeliveryFailed"]) { border-left: 3px solid rgba(var(--red), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="IncidentReported"]) { border-left: 3px solid rgba(var(--orange), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteRecalculated"]) { border-left: 3px solid rgba(var(--purple), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteCompleted"]) { border-left: 3px solid rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="TelemetryUpdated"]) { border-left: 3px solid rgba(var(--indigo), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverBreakStarted"]) { border-left: 3px solid rgba(var(--default), 0.5); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverBreakEnded"]) { border-left: 3px solid rgba(var(--primary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="ServiceLevelBreached"]) { border-left: 3px solid rgba(var(--red), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="ManualOverride"]) { border-left: 3px solid rgba(var(--default), 1); }
.dxbl-theme-dark .annunciatoralert:has(.annunciator-driver-img[data-name="ManualOverride"]) { border-left: 3px solid rgba(var(--lighttext), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverAssigned"]) { border-left: 3px solid rgba(var(--green), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteStatusChanged"]) { border-left: 3px solid rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="OrderStageChanged"]) { border-left: 3px solid rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteDelayed"]) { border-left: 3px solid rgba(var(--purple), 0.75); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteExpedited"]) { border-left: 3px solid rgba(var(--yellow), 1); }*/

.annunciatoralert:has(.annunciator-driver-img[data-name="RouteCreated"]) .al-route-name { color: rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteStarted"]) .al-route-name { color: rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RoutePaused"]) .al-route-name { color: rgba(var(--default), 1); }
.dxbl-theme-dark .annunciatoralert:has(.annunciator-driver-img[data-name="RoutePaused"]) .al-route-name { color: rgba(var(--lighttext), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteResumed"]) .al-route-name { color: rgba(var(--primary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="PickedUp"]) .al-route-name { color: rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="StopArrived"]) .al-route-name { color: rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="StopCompleted"]) .al-route-name { color: rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DeliverySucceeded"]) .al-route-name { color: rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DeliveryFailed"]) .al-route-name { color: rgba(var(--red), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="IncidentReported"]) .al-route-name { color: rgba(var(--orange), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteRecalculated"]) .al-route-name { color: rgba(var(--purple), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteCompleted"]) .al-route-name { color: rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="TelemetryUpdated"]) .al-route-name { color: rgba(var(--indigo), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverBreakStarted"]) .al-route-name { color: rgba(var(--default), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverBreakEnded"]) .al-route-name { color: rgba(var(--primary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="ServiceLevelBreached"]) .al-route-name { color: rgba(var(--red), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="ManualOverride"]) .al-route-name { color: rgba(var(--default), 1); }
.dxbl-theme-dark .annunciatoralert:has(.annunciator-driver-img[data-name="ManualOverride"]) .al-route-name { color: rgba(var(--lighttext), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="DriverAssigned"]) .al-route-name { color: rgba(var(--green), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteStatusChanged"]) .al-route-name { color: rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="OrderStageChanged"]) .al-route-name { color: rgba(var(--secondary), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteDelayed"]) .al-route-name { color: rgba(var(--purple), 1); }
.annunciatoralert:has(.annunciator-driver-img[data-name="RouteExpedited"]) .al-route-name { color: rgba(var(--yellow), 1); }

.annunciator-driver-img[data-name="DeliveryFailed"] img,
.annunciator-driver-img[data-name="IncidentReported"] img,
.annunciator-driver-img[data-name="ServiceLevelBreached"] img {
	transform: rotate(-45deg);
}
.annunciator-information img,
.annunciator-warning img,
.annunciator-urgent img {
	opacity: 0;
}
.annunciatoralert-wrapper.annunciator-information .annunciator-driver-img {
	background: url("../../../../IImageService/circle-information") center center no-repeat !important;
	filter: var(--icon-filter-white);
	background-size: 40px 40px !important;
	opacity: .75;
	border-radius: 0px !important;
}
.annunciatoralert-wrapper.annunciator-warning .annunciator-driver-img {
	background: url("../../../../IImageService/square-exclamation") center center no-repeat !important;
	filter: var(--icon-filter-white);
	background-size: 40px 40px !important;
	opacity: .75;
	border-radius: 0px !important;
}
.annunciatoralert-wrapper.annunciator-urgent .annunciator-driver-img {
	background: url("../../../../IImageService/triangle-exclamation") center center no-repeat !important;
	filter: var(--icon-filter-white);
	background-size: 40px 40px !important;
	opacity: .75;
	border-radius: 0px !important;
}
.annunciatoralert-wrapper.annunciator-information {
	padding: 4px 5px 5px 3px;
	background-color: var(--site-blue) !important;
	border-color: var(--site-blue) !important;
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.35);
}
.annunciatoralert-wrapper.annunciator-warning {
	padding: 4px 5px 5px 3px;
	background-color: var(--site-gold) !important;
	border-color: var(--site-gold) !important;
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.35);
}
.annunciatoralert-wrapper.annunciator-urgent {
	padding: 0px 5px 5px 3px;
	background-color: var(--site-red) !important;
	border-color: var(--site-red) !important;
	border-color: var(--site-red) !important;
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.35);
}
.annunciatoralert-wrapper.annunciator-information .annunciatoralert .al-alert-line1 .al-route-name {
	color: var(--site-blue) !important;
}
.annunciatoralert-wrapper.annunciator-warning .annunciatoralert .al-alert-line1 .al-route-name {
	color: var(--site-gold) !important;
}
.annunciatoralert-wrapper.annunciator-urgent .annunciatoralert .al-alert-line1 .al-route-name {
	color: var(--site-red) !important;
}
 @media (max-width: 600px) {
 /* No sidebar offset on phones — the lone bell sits in the bottom-left corner. */
 .annunciator-stack,
 .collapse-toggle .annunciator-stack {
	 left: 16px;
	 bottom: 16px;
 }
 /* Only when a category annunciator is actually shown — a lone reopen bell stays compact. */
 .annunciator-stack:has(.annunciatoralert-wrapper.annunciator-visible .messages-stack .annunciatoralert) {
	 left: 20px;
	 background: rgba(var(--midgrey), .5);
	 width: 90vw;
	 padding: 20px;
	 border-radius: 30px;
	 backdrop-filter: blur(4px);
	 box-shadow: inset 0px 2px 2px 0px rgba(255,255,255,0.5), inset 0px -2px 2px 0px rgba(0,0,0,0.25);
 }
 .annunciatoralert-wrapper .annunciatoralert-header .annunciatoralert-controls,
     .annunciatoralert-header .annunciatoralert-controls {
		 /* margin-left: -48px; */
		 margin-top: -55px;
		 opacity: 1 !important;
		 transition: .3s;
	 }
	/*.annunciatoralert-wrapper {
		width: calc(100% - 30px);
	}
	.annunciatoralert-wrapper:has(.annunciatoralert-container.height-1) {
	width: 60px;
	height: 60px;
	border-radius: 50px;
	position: fixed;
	bottom: -20px;left: -20px;
	padding: 4px;
	box-shadow: 0 0 0 0px rgba(var(--primary),0);
	animation: annunciator-aura 1.5s ease;
	animation-delay: 1s;
	transition: .1s ease;
	border: 0px;
	}
	.height-8 {
    height: 520px;
	}
}
@media (max-height: 850px) {
	.height-8 {
    max-height: 620px;
  overflow-y: auto;
  height: 60vh;
}*/
}