/* SCROLLBAR: START */

.scroll-container {
    /* position: relative; */
    height: 100vh;
    overflow: auto; /* Enable native scrolling */
    padding-right: 10px; /* Account for the scrollbar width */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.scroll-container::-webkit-scrollbar {
    width: 10px; /* Custom scrollbar width */
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track background */
    border-radius: 10px; /* Rounded edges for the track */
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #007bff; /* Thumb color */
    border-radius: 10px; /* Rounded edges for the thumb */
    border: 2px solid #f1f1f1; /* Space between thumb and track */
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Firefox */
.scroll-container {
    scrollbar-width: thin; /* Narrow scrollbar */
    scrollbar-color: #007bff #f1f1f1; /* Thumb and track colors */
}

.content-wrapper {
    padding: 20px;
}

.content-wrapper h1 {
    font-size: 2rem;
    color: #333;
}

.content-wrapper p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}


/* SCROLLBAR: END */


.sticky-sidebar {
    /* position: sticky; */
    /* height: 100%;
    background: #007bff;
    color: #fff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}


.post-slide {
    background: #fff;
    margin: 0px 5px 0px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0px 14px 22px -9px #bbcbd8;
}

@media only screen and (max-width: 1280px) {
    .post-slide .post-content {
        padding: 0px 15px 25px 15px;
    }
}


    .nk-msg-item:hover {
  
        border-left:2px solid #816bff;
  
    } 

    .highlight {
        border-left:2px solid #816bff;
    }

    .no-break {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loader-wheel {
    animation: spin 0.6s infinite linear;
    border: 5px solid #0866C6;
    border-left: 5px solid #fff0;
    /* border-right: 5px solid #0866C6; */
    border-radius: 100%;
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
    z-index: 999999;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /* width: 100px; */
    /* Need a specific value to work */
}

.hover-bg-danger:hover {
    background-color: #f8d7da; /* Light red for hover effect */
}

.hover-bg-grey:hover {
    background-color: #fafafa; /* Light red for hover effect */
}

tr.custom_loading {
    background-image: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, .05) 50%);
    background-size: 200% 100%;
    animation: custom_loading 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

tr.custom_loading td {
    opacity: .45;
    pointer-events: none;
}

tr.tbl_row_error td {
    background-color: #dc354610;
}

div.custom_loading2 {
    background-image: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, .05) 50%);
    background-size: 200% 100%;
    animation: custom_loading2 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

div.custom_loading2 {
    opacity: .45;
    pointer-events: none;
}

@keyframes custom_loading2 {
    0% {
        background-position: 0;
    }
    50% {
        background-position: -30%;
    }
    80% {
        background-position: -100%;
    }
    100% {
        background-position: -200%;
    }
}

@keyframes custom_loading {
    0% {
        background-position: 0;
    }
    50% {
        background-position: -30%;
    }
    80% {
        background-position: -100%;
    }
    100% {
        background-position: -200%;
    }
}

.error-color {
    background-color:#ffdacf !important;
}

.error-bg {
    background-color:#ffdacf !important;
}

.unread {
    background-color:#fff8e4 !important;
}
