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

.annunciatoralert-header .dropdown .dropdown-menu {
    right: 0px;
}
.annunciatoralert-header {
    display: flex;
    justify-content: flex-start;
}

    .annunciatoralert-header .annunciatoralert-title {
        width: 70%;
        font-weight: 700;
		display: flex;
    }
    /* Controls */
    .annunciatoralert-header .annunciatoralert-controls {
        display: flex;
        justify-content: flex-end;
        gap: 6px;
        margin-bottom: 8px;
        width: 30%;
    }

        .annunciatoralert-header .annunciatoralert-controls button {
            padding: 4px 8px;
            font-size: 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            background: transparent;
            color: currentColor;
        }

.annunciatoralert-controls button:hover {
    background: var(--site-primary);
}
/* Alert container */
.annunciatoralert-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    transition: height 0.35s ease;
}
.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;
}
/* Height states */
.height-1 {
    height: 0px;
}
/* 1 alert */
.height-3 {
    height: 200px;
    overflow-y: auto;
}
/* default 3 alerts */
.height-8 {
    height: 620px;
    overflow-y: auto;
}


/* 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-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: fixed;
	bottom: 16px; left: 220px;
	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: 0px;
}
.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;
}
.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/xmark") center center no-repeat;
	background-size: cover;
}

.annunciatoralert-wrapper .btn-gear span {
    background: url("../IImageService/Linear (11)") center center no-repeat;
    background-size: cover;
}
/* Alert style */
.annunciatoralert {
    background:transparent;
    color: currentColor;
    border: 0px solid rgba(0,0,0,0.25);
    padding: 8px;
    border-radius: 6px;
    /* box-shadow: 0 1px 1px rgba(0,0,0,0.25); */
    font-size: 14px;
/*    transform: translateX(120%);
    opacity: 0;*/
    cursor: pointer;
}

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

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

    .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;
    }

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

    .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;
    }
    .al-route-name {
        max-width: 230px;
    }
    .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(20px);
            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;
    }
}*/
.al-driver-icn {
	display: inline-block;
    vertical-align: top;
	width: 60px;
}
.al-event-detail {
	display: inline-block;
    vertical-align: top;
	width: calc(100% - 70px);
}
.annunciator-driver-img {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    padding: 1px;
    margin-right: 10px;
}

.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: 39px;
    height: 39px;
    border-radius: 30px;
    margin: 6px;
    filter: var(--icon-filter-white);
    opacity: 0.75;
}


@media (max-width: 600px) {
	.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;
	}
}