.landing-header {
    position: sticky;
    background: #fff;
    z-index: 3;
    top: 0;
    transition: box-shadow 0.3s ease-in-out;
}

.scrolled-header .container-fluid {
    box-shadow: 0 10px 30px #523f690d;
}

.header .menu .menu-item .menu-link.active {
    transition: color .2s ease;
    background-color: #f9f9f9;
    color: #d39311;
}

.iholding-text-primary {
    color: #0b3d6b !important;
}


.iholding-bg-primary {
    background: #0b3d6b !important;
}

.iholding-light-bg-primary {
    background: #0b3d6b14 !important;
}

.iholding-bg-border-1 {
    border: 1px solid #0b3d6b !important;
}


.ab1ac9d9bab12da47298>img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;

    box-shadow: 0 0 5px 2px #5fa7ea;
    animation: glowing-img 2s infinite alternate;
}

@keyframes glowing-img {
    from {
        box-shadow: 0 0 5px 2px #5fa7ea;
    }

    to {
        box-shadow: 0 0 20px 10px #5fa7ea, 0 0 30px 15px #5fa7ea;
    }
}

.ab1ac9d9bab12da47298 {
    position: relative;
    bottom: 50px !important;
    right: 50px !important;
}

.ab1ac9d9bab12da47298::before {
    content: "Tư vấn trực tiếp";
    position: absolute;
    /* bottom: -10px;
    right: 50%;
    transform: translateY(-50%); */
    bottom: -30px;
    right: -50%;
    transform: translatex(-15px);
    white-space: nowrap;
    padding: 3px 5px;
    background-color: #0b3d6b;
    color: #fff;
    border-radius: 5px;
    font-size: 10px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 5px 2px #5fa7ea;
    animation: glowing-img 2s infinite alternate;
    /* animation: show-and-hide 6s infinite; */
}

@keyframes show-and-hide {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-30px);
    }

    10% {
        opacity: 1;
        transform: translateY(-50%) translateX(0px);
    }

    40% {
        opacity: 1;
        transform: translateY(-50%) translateX(0px);
    }

    50% {
        opacity: 0;
        transform: translateY(-50%) translateX(-30px);
    }

    100% {
        opacity: 0;
    }
}

.btn-check:checked+.btn.btn-active-light,
.btn-check:active+.btn.btn-active-light,
.btn.btn-active-light:focus:not(.btn-active),
.btn.btn-active-light:hover:not(.btn-active),
.btn.btn-active-light:active:not(.btn-active),
.btn.btn-active-light.active,
.btn.btn-active-light.show,
.show>.btn.btn-active-light {
    color: #1c3150 !important;
    border-color: #1c3150 !important;
    background-color: #fff !important;
}

/* #content_view {
    margin-top: 60px;
} */

.text-limit-2-line {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}

/*.app-navbar-item {*/
/*    position: relative;*/
/*}*/

#notificationList {
    position: absolute;
    top: 80px;
    right: 0;
    display: none;
}

#notificationList.show {
    display: block;
}


.notification-item.unread {
    background-color: #f8f9fa;
    border-left: 3px solid #dc3545;
}

.notification-item {
    font-size: 13px !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 15px;
}

.notification-item.unread {
    background-color: #f5f5f5;
    font-weight: 600;
}

.notification-loader {
    text-align: center;
    padding: 10px;
}

/* Hiện nền sáng khi hover */
.notification-item:hover {
    background-color: #f8f9fa;
}

/* Gỡ text-truncate khi hover để hiển thị đầy đủ nội dung */
.notification-item:hover .text-truncate {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

@media (max-width: 991.98px) {
    .ab1ac9d9bab12da47298>img {
        width: 40px !important;
        height: 40px !important;
    }

    .ab1ac9d9bab12da47298 {
        bottom: 45px !important;
        right: 35px !important;
    }

    .ab1ac9d9bab12da47298::before {
        bottom: -20px;
    }
}

.leaflet-tile {
    image-rendering: pixelated; /* hoặc crisp-edges */
    background-color: transparent !important;
}
.leaflet-tile-container img {
    border: none !important;
}

.leaflet-tile-container img {
    margin: -1px 0 0 -1px;
}

.osd-rotate-controls {
    background: none transparent;
    border: none;
    margin: 5px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 10px;
}

.osd-rotate-controls .openseadragon-control {
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 16px;
    color: #000;
    background: linear-gradient(180deg, rgb(255 255 255), rgb(0 0 0 / 15%));
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 50%;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 60%);
    cursor: pointer;
    transition: background 0.3s ease;
}

.osd-rotate-controls .openseadragon-control i{
    color: #000;
}

.osd-rotate-controls .openseadragon-control:hover {
    background: linear-gradient(180deg, rgb(255 0 0), rgb(255 142 5));
    transform: scale(1.1);
}