.service-alerts-modal {
    display: none;
    position: absolute;
    width: 23.75rem;
    padding: 0.75rem 0.625rem 0.75rem 0.75rem;
    background-color: var(--gray-5);
    box-shadow: 0 0.125rem 0.625rem rgba(0 0 0 / 10%);
    z-index: 1000;
    border-radius: 0.5rem;
}

[dir='rtl'] .service-alerts-modal {
    right: -3rem;
}

.service-alerts-modal .alerts-body::-webkit-scrollbar {
    width: 0.5rem;
}

.service-alerts-modal .alerts-body::-webkit-scrollbar-track {
    background: var(--gray-8);
}

.service-alerts-modal .alerts-body::-webkit-scrollbar-thumb {
    background-color: var(--gray-9);
    border-radius: 0.625rem;
    border: 0.1875rem solid var(--gray-8);
}

.service-alerts-modal .alerts-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-10);
}

.service-alerts-modal .alerts-body {
    max-height: 31.25rem;
    overflow-y: auto;
}

.service-alerts-modal .alerts-body .no-service {
    background-color: white;
    width: 100%;
    display: inline-block;
    border-radius: 0.625rem;
    padding: 1.25rem;
}

.service-alerts-modal .service-modal-footer {
    padding: 0.625rem;
    background-color: var(--gray-8);
    display: flex;
    justify-content: space-between;
    border-top: 0.0625rem solid var(--gray-11);
}

.service-alerts-modal .service-alert {
    margin-bottom: 0.625rem;
    padding: 0.625rem;
    background-color: var(--white);
    border-radius: 0.3125rem;
    box-shadow: 0 0.0625rem 0.1875rem rgba(0 0 0 / 10%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-alerts-modal .service-alert-arrow {
    border: solid var(--gray-14);
    border-width: 0 0.125rem 0.125rem 0;
    display: inline-block;
    padding: 0.1875rem;
    transform: rotate(-45deg);
    margin-right: 0.625rem;
}

.service-alerts-modal .service-alert-text {
    width: 100%;
    max-width: 25em;
    font-size: var(--body-font-size-s);
    font-weight: 500;
    line-height: 1.25rem;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.service-alerts-modal .service-close-all {
    cursor: pointer;
    color: var(--link-color);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    text-align: left;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.service-alerts-modal .service-alerts-button {
    cursor: pointer;
    color: blue;
}

@media (width < 1280px) {
    .healthcare #service-alerts-button {
        margin-top: 30px;
    }
}

.service-alerts-modal .close-parent {
    cursor: pointer;
    user-select: none;
    margin-left: 0.625rem;
    margin-right: 0.3125rem;
}

.service-alerts-modal .crosssign {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.9375rem;
    height: 0.9375rem;
    background-color: white;
    border-radius: 50%;
    border: 0.0938rem solid var(--gray-13);
}

.service-alert-badge {
    position: absolute;
    top: -0.4375rem;
    right: -0.25rem;
    padding: 0;
    border-radius: 50%;
    background-color: red;
    color: white;
    text-align: center;
    height: 0.9375rem;
    width: 0.9375rem;
    font-size: 0.6125rem;
}

.service-alerts-modal .services-red-dot {
    display: inline-block;
    background-color: var(--red-2);
    min-width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.1875rem;
}

.service-alerts-modal .services-red-dot.white {
    background-color: white;
}

.service-alerts-modal .service-modal-footer .service-view-all {
    cursor: pointer;
    color: var(--link-color);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-decoration: none;
    max-width: 60%;
}

.service-alerts-modal .symbol-chevron {
    transform: rotate(-90deg);
    display: inline-block;
    position: relative;
    width: 1.125rem;
    height: 1.115rem;
    vertical-align: middle;
    color: #696969;;
}

.service-alerts-modal .service-view-all .symbol-chevron {
    transform: rotate(-90deg);
    display: inline-block;
    position: relative;
    width: 1.125rem;
    height: 1.125rem;
    top: -0.094rem;
    vertical-align: middle;
    color:currentcolor;
}

.service-alerts-modal .service-alert-text small {
    font-size: var(--body-font-size-s);
    font-weight: 400;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    float: left;
    line-height: 1.5rem;
    color: gray;
}

.service-alerts-modal .service-alert-text div:hover {
    cursor: pointer;
}

.service-alerts-modal .service-container {
    background-color: var(--white);
    border-radius: 0.3125rem;
    width: 22.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem;
    text-decoration: none;
}

.service-alerts-modal .service-container:hover {
    background-color: var(--gray-12);
    border-radius: 0.3125rem;
}

@media (width >= 1280px) {
    /* Adjust service alerts modal width for larger screens */
    header .service-alerts-modal {
        width: 22rem;
    }

    header section#nav.no-language .nav-alert .service-alerts-modal:dir(ltr) {
        right: -0.75rem;
    }
}

@media (width < 1280px) {
    .service-alerts-modal {
        right: -0.75rem;
    }

    [dir='rtl'] .service-alerts-modal {
        left: -0.75rem;
        right: auto;
    }

    img:has(+ .service-alert-badge) {
        position: relative;
        top: 5px;
    }

    .service-alert-badge {
        top: -0.0375rem;
    }
}

@media (width <= 400px) {
    .service-alerts-modal {
        right: -1.8rem;
    }

    [dir='rtl'] .service-alerts-modal {
        left: -1.8rem;
        right: auto;
    }
}

@media (width <= 380px) {
    .service-alerts-modal {
        max-width: 360px;
    }
}

@media (width <= 370px) {
    .service-alerts-modal {
        max-width: 350px;
    }
}

#service-count-container {
    position: absolute;
    width: 3.125rem;
    height: 3.125rem;
    transform: translate(-50%, -50%);
    top: 0.0313rem;
    right: -2.9063rem;
}

.service-alerts-modal #one {
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: one 2s infinite;
    animation-delay: 0s;
    animation-timing-function: ease-in-out;
    background-color: var(--red-1);
}

@keyframes one {
    0% {
        width: 25%;
        height: 25%;
        opacity: 1;
        background: transparent;
    }

    100% {
        width: 50%;
        height: 50%;
        opacity: 0;
    }
}


[dir='rtl'] .service-alerts-modal i.symbol-chevron::after {
    transform: rotate(45deg);
}

/* ── Service Alert Flyout panel ──────────────────────────────────────────── */

.sa-flyout-panel {
  position: fixed;
  top: 0;
  right: 0;
  max-height: 100vh;
  width: min(26rem, 100vw);
  background: var(--background-color, #fff);
  box-shadow: -0.25rem 0 1.25rem rgb(0 0 0 / 20%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

.sa-flyout-panel.is-open {
  transform: translateX(0);
}

/* ── Flyout overlay ──────────────────────────────────────────────────────── */

.sa-flyout-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 40%);
  z-index: 1999;
  display: none;
}

.sa-flyout-overlay.is-visible {
  display: block;
}

body.sa-flyout-open {
  overflow: hidden;
}

/* ── Flyout header ───────────────────────────────────────────────────────── */

.sa-flyout-header {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}

.sa-flyout-title {
  font-size: var(--heading-font-size-s, 1.25rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--text-color, #121212);
}

.sa-flyout-title u {
  text-decoration: none;
}

.sa-flyout-title u::after {
  content: '';
  display: block;
  width: 5rem;
  height: 0.25rem;
  margin: 1rem 0 0;
  background-color: var(--gold, #ffb500);
}

.sa-flyout-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: var(--text-color, #121212);
  margin-bottom: 0.75rem;
}

.sa-flyout-close:hover,
.sa-flyout-close:focus-visible {
  color: var(--link-color, #0662bb);
}

/* ── Flyout scrollable body ──────────────────────────────────────────────── */

.sa-flyout-body {
  overflow-y: auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--body-font-size-s, 0.875rem);
  line-height: 1.6;
  color: var(--text-color, #121212);
}

.sa-flyout-body::-webkit-scrollbar {
  width: 0.375rem;
}

.sa-flyout-body::-webkit-scrollbar-thumb {
  background: var(--gray-9, #ccc);
  border-radius: 0.375rem;
}

/* ── Flyout detail content ───────────────────────────────────────────────── */

.sa-flyout-detail-content {
  padding-bottom: 1rem;
}

.sa-flyout-alert-body {
  font-size: var(--body-font-size-s, 0.875rem);
  line-height: 1.6;
  color: var(--text-color, #121212);
}

.sa-flyout-alert-body p {
  margin: 0 0 1rem;
}

.sa-flyout-alert-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.sa-flyout-alert-body li {
  margin-bottom: 0.5rem;
}

.sa-flyout-alert-body a {
  color: var(--link-color, #0662bb);
  text-decoration: underline;
}