:root {
    color-scheme: light dark;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/*hide the first row for tables on smaller screens*/
@media (max-width: 768px) {
    #datatable_wrapper > div:nth-child(1) {
        display: none !important;
    }
}


@media (max-width: 768px) {
    html {
        font-size: 18px !important;
    }

    input,
    textarea,
    select {
        font-size: 18px !important;
    }
}


@media screen and (-webkit-min-device-pixel-ratio:0) {
    select,
    textarea,
    input {
        font-size: 18px !important;
    }
}


@media (max-width: 576px) {
    .mt-sm-neg-50 {
        margin-top: -50px !important;
    }
}

.card-check {
    position: absolute;
    top: 15px;
    left: 6px;
    border-radius: 10px !important;
    border-color: var(--bs-body-color);
}

.card-text-success {
    /*background-color: #28a745;*/ /* Bootstrap's 'success' green */
    color: #28a745; /*#ffffff;*/
    border-radius: .5rem; /* Standard border radius */
    padding: 0.0em 0.2em 0.0em 0.2em; /* Standard padding top, right, btm, left*/
    font-size: 1.1em; /* Standard font size */
    font-weight: bold;
    /*background-color: #28a745;*/
}

[data-bs-theme="dark"] .card-text-success {
    color: #2ef62d;
}

.card-text-success.small {
    font-size: 0.8em; /* Standard font size */
}


.card-text-danger {
    /*background-color: #dc3545;*/ /* Bootstrap's 'danger' red */
    color: #dc3545; /*#ffffff;*/
    border-radius: .5rem; /* Standard border radius */
    padding: 0.0em 0.2em 0.0em 0.2em; /* Standard padding top, right, btm, left */
    font-size: 1.1em; /* Standard font size */
    font-weight: bold;
    /*background-color: #dc3545;*/
}

[data-bs-theme="dark"] .card-text-danger {
    color: #ff0018;
}

.card-text-danger.small {
    font-size: 0.8em; /* Standard font size */
}

.card-text-info {
    color: var(--bs-primary-bg, #0d6efd); /* light-dark(var(--bs-primary-bg, #0d6efd), var(--bs-warning-bg, #ffc107)); /*var(--bs-primary-bg, #0d6efd);*/
    border-radius: 1rem;
    padding: 0.25em 0.5em;
    font-size: 1.2em;
    font-weight: bold;
}

[data-bs-theme="dark"] .card-text-info {
    color: var(--bs-warning-bg, #ffc107);
}

.card-text-info.small {
    font-size: 1.0em; /* Standard font size */
}

.card-bg-info {
    background-color: var(--bs-primary-bg, #0d6efd); /* light-dark(var(--bs-primary-bg, #0d6efd), var(--bs-warning-bg, #ffc107)); /*var(--bs-primary-bg, #0d6efd);*/
    border-radius: 1rem;
    padding: 0.25em 0.5em;
    font-size: 1.2em;
    font-weight: bold;
}

[data-bs-theme="dark"] .card-bg-info {
    background-color: var(--bs-warning-bg, #ffc107);
}

.chart-canvas {
    height: 500px; /* Default height for larger screens */
}

@media (max-width: 768px) {
    .chart-canvas {
        height: 400px; /* Height for screens smaller than 768px */
    }
}

.date-display {
    position: relative;
    display: inline-block;
    padding: 2px 6px;
    /* Use the Bootstrap body background and border variables if available */
    background-color: var(--bs-body-bg, #f8f9fa);
    border: 1px solid var(--bs-border-color, #ccc);
    border-radius: 4px;
    vertical-align: middle;
    line-height: 1;
    /* Use Bootstrap body text color variable */
    color: var(--bs-body-color, #212529);
}

.date-month-day {
    font-size: 1rem; /* Main date text size */
    display: inline-block;
}

.date-year {
    position: absolute;
    top: -0.6em; /* Adjust vertical position as needed */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem; /* Smaller text size for the badge */
    /* Use Bootstrap warning background and text color variables */
    background-color: var(--bs-warning-bg, #ffc107);
    color: var(--bs-warning-text, #000);
    padding: 1px 3px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .date-display {
    /* In dark mode, use darker background and lighter text */
    background-color: var(--bs-dark-bg, #212529);
    border-color: var(--bs-dark-border, #444);
    color: var(--bs-dark-text, #f8f9fa);
}
/* Optionally adjust the year badge in dark mode if needed */
[data-bs-theme="dark"] .date-year {
    background-color: var(--bs-warning-bg, #ffc107);
    /* You might want to tweak this color for better contrast in dark mode */
    color: var(--bs-warning-text, #212529);
}


.goal-display {
    /*position: relative;*/
    display: inline-flex;
    padding: 0px 0px;
    /* Use the Bootstrap body background and border variables if available */
    /*background-color: var(--bs-body-bg, #f8f9fa);*/
    /*border: 1px solid var(--bs-border-color, #ccc);*/
    /*border-radius: 4px;*/
    /*vertical-align: middle;*/
    line-height: 1;
    /* Use Bootstrap body text color variable */
    color: var(--bs-primary-bg, #0d6efd);
    white-space: nowrap;
}

.goal-value {
    font-size: 1.2em; /* Main date text size */
    display: inline-block;
    font-weight: bold;
}

.goal-total {
    /*position: relative;*/
    /*top: 0%;*/ /* Adjust vertical position as needed */
    /*left: 100%;*/
    align-content: end;
    bottom: 0%;
    /*transform: translateX(+60%);*/
    font-size: 0.9em; /* Smaller text size for the badge */
    /* Use Bootstrap warning background and text color variables */
    /*background-color: var(--bs-warning-bg, #ffc107);*/
    /*color: var(--bs-warning-text, #000);*/
    padding: 0px 0px;
    border-radius: 0px;
    white-space: nowrap;
}

    .goal-total::before {
        content: '/';
        margin-right: -2px; /* Adjust value as needed */
    }

/* Dark mode adjustments */
[data-bs-theme="dark"] .goal-display {
    /* In dark mode, use darker background and lighter text */
    /*background-color: var(--bs-dark-bg, #212529);*/
    /*border-color: var(--bs-dark-border, #444);*/
    color: var(--bs-warning-bg, #ffc107);
}


.text-bg-indigo {
    background-color: #6610f2 !important;
    color: #fff !important;
    border: 1px solid #520dc2 !important;
}

.btn-indigo {
    background-color: #6610f2 !important;
    color: #fff !important;
    border: 1px solid #520dc2 !important;
}

    .btn-indigo:hover {
        background-color: #520dc2 !important;
        border-color: #3e0a91 !important;
    }

    .btn-indigo:active {
        background-color: #3e0a91 !important;
        border-color: #2b065b !important;
    }

.text-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    max-width: 100%;
}

.main-text {
    /*position: absolute;*/
    /*top: 0.1em;*/
    /*font-size: 1rem;*/ /* Adjust as needed for main text */
    color: var(--bs-body-color, #212529);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.sub-text {
    /*position: absolute;*/
    /*top: +1.3em;*/
    font-size: 0.90rem; /* Smaller size for the subtext */
    /*    font: menu;*/
    color: var(--bs-secondary-color, #6c757d); /*Muted color */
    /*margin-top: 2px;*/ /* Slight spacing between rows */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .main-text .sub-text {
    color: var(--bs-dark-text, #f8f9fa);
}


.navbar-divider {
    border-top: 1px solid var(--bs-muted-color, #6c757d); /* Light gray color for the divider */
    margin: 0.2rem 6.2rem 0.2rem 0.5rem; /* Vertical margin to space the divider top, right, btm, left */
    list-style: none; /* Remove default list styling */
}

/* Change the background color of active nav-pills to secondary */
@media (min-width: 768px) {
    .nav-pills .nav-link.active {
        background-color: var(--bs-secondary);
        color: #fff; /* Ensure text is readable on secondary background */
    }
}

/* Optionally, change the text color of inactive nav-pills */
.nav-pills .nav-link {
    color: var(--bs-dark, #212529);
}
/* Dark mode adjustments */
[data-bs-theme="dark"] .nav-pills .nav-link {
    color: var(--bs-light, #ffffff);
}

/*https://jsfiddle.net/w64ufqvh/1/*/
@media (min-width: 768px) {
    .nav-item:hover {
        background-color: #c5c6c6; /* Replace with your preferred color */
        transition: background-color 0.2s ease-in-out;
    }

    /* Dark mode adjustments */
    [data-bs-theme="dark"] .nav-item:hover {
        background-color: #7e7e7e; /* Replace with your preferred color */
        transition: background-color 0.2s ease-in-out;
    }
}


.receipt-box {
    border: 3px dashed #999;
    cursor: pointer;
    text-align: center;
    border-radius: 0.5em;
    font-family: Arial, sans-serif;
    color: #666;
    transition: border-color 0.3s, color 0.3s;
}

    .receipt-box:hover {
        border-color: #666;
        color: #333;
    }




/* Full-page overlay */
.full-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 0, 0, 0.8); /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050; /* Ensure it appears above other elements */
    display: none;
    transition: visibility 0.5s, opacity 0.5s ease;
}

.wave-content {
    display: flex;
    /*min-height: 100vh;*/
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-size: large;
}

    .wave-content h2 {
        color: #fff;
        font-size: 8rem;
        font-weight: 100;
        position: absolute;
    }

        .wave-content h2:nth-child(1) {
            /*color: transparent;*/
            -webkit-text-stroke: 2px #f8f9fa;
        }

        .wave-content h2:nth-child(2) {
            color: #1637ef;
            animation: animate 4s ease-in-out infinite;
        }

/* Responsive font scaling */
@media (max-width: 1200px) {
    .wave-content h2 {
        font-size: 8rem;
    }
}

@media (max-width: 768px) {
    .wave-content h2 {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .wave-content h2 {
        font-size: 5rem;
    }
}

@keyframes animate {
    0%, 100% {
        clip-path: polygon( 0% 45%, 16% 44%, 33% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100% );
    }

    50% {
        clip-path: polygon( 0% 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100% );
    }
}

/* Sidebar container */
#sideBar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px; /* Collapsed width */
    overflow-x: hidden;
    transition: width 0.5s ease;
    z-index: 1000; /* Ensures sidebar is above other content */
}

    /* Sidebar expands on hover */
    #sideBar.expanded {
        width: 180px; /* Expanded width */
    }

    /* Sidebar expands on hover */
    #sideBar .navbar-brand {
        font-size: 1.5rem !important;
        /*transform:  rotateZ(-90deg);*/
        display: none;
        transition: font-size 0.5s ease, transform 0.5s ease, visibility 0.5s ease, display 0.5s ease;
    }

    /* Sidebar expands on hover */
    #sideBar.expanded .navbar-brand {
        font-size: 1.5rem !important;
        display: block;
        /*transform: rotateZ(0deg);*/
    }

    #sideBar.expanded .navbar-divider {
        margin: 0.2rem 0.5rem 0.2rem 0.5rem; /* Vertical margin to space the divider top, right, btm, left */
    }

    /* Text labels hidden by default */
    #sideBar ul li a span {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    /* Text labels become visible when sidebar is hovered */
    #sideBar.expanded ul li a span {
        opacity: 1;
        visibility: visible;
    }

    /* Expanded sidebar */
    #sideBar.expanded {
        width: 160px;
    }

/* Adjust content margin when expanded */
/*#sideBar.expanded + #mainContent {
            margin-left: 150px;
        }*/

/* Main content */
#mainContent {
    margin-left: 60px; /* Same as collapsed sidebar width */
    transition: margin-left 0.5s ease;
}

/* Adjust main content margin when sidebar is hovered */
#sideBar.expanded + #mainContent {
    margin-left: 160px; /* Same as expanded sidebar width */
}


@media (max-width: 768px) {
    #mainContent {
        margin-left: 0px; /* Same as collapsed sidebar width */
    }

    #sideBar.expanded + #mainContent {
        margin-left: 0px; /* Same as expanded sidebar width */
    }
}

/*Removing table header bottom border line on phone*/
@media (max-width: 768px) {
    .custom-header th {
        border-style: hidden !important;
    }
}

.dt-scroll-head {
    overflow: visible !important;
}

/*Styling for processing window in datatable to in the center of page*/
div.dt-processing {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(30%, -50%) !important;
    z-index: 9999 !important;
    /*background: white;*/
    padding: 0.5rem 0.5rem !important;
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 10px rgba(0,0,0,0.2);*/
    width: auto !important;
    text-align: center;
}

.tick-fade-slide {
    will-change: transform;
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .tick-fade-slide.show {
        opacity: 1;
        transform: translateY(0);
    }

/* WebKit-based browsers (Chrome, Edge, Safari) */
.scroll-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(120, 120, 120, 0.4);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background-color 0.3s;
}

    .scroll-wrapper::-webkit-scrollbar-thumb:hover {
        background-color: rgba(120, 120, 120, 0.6);
    }

/* Firefox */
.scroll-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 120, 120, 0.4) transparent;
}

.scrollable-container {
    min-height: 100px; /* Ensures at least 3 items are visible */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .scrollable-container {
        max-height: 150px; /* This controls the overall height */
    }
}

@media (min-width: 601px) {
    .scrollable-container {
        max-height: 130px; /* This controls the overall height */
    }
}

#datatable tbody tr:hover td {
    background-color: var(--bs-secondary-bg-subtle, #e2e3e5) !important;
}

[data-bs-theme="dark"] #datatable tbody tr:hover td {
    background-color: var(--bs-secondary-bg-subtle, #e2e3e5) !important;
    /*color: red !important;*/
}


/* scroll snap takes care of restoring scroll position */
.swipe-container {
    display: flex;
    overflow: auto;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    padding: 0px !important;
    margin: 1px;
    border-radius: 18px;
}
    /* scrollbar should be hidden */
    .swipe-container::-webkit-scrollbar {
        display: none;
    }
/* main element should always snap into view */
.swipe-element {
    scroll-snap-align: start;
    /*border-radius: 10px;*/
    /*font-family: sans-serif;*/
    /*padding: 5px;*/
    /*background-color: whitesmoke;*/
    margin-left: 2px;
    margin-right: 2px;
}
/* actions and element should be 100% wide */
.action,
.swipe-element {
    min-width: 100%;
}

.action {
    display: flex;
    align-items: center;
}

/* action background colors */
.left {
    background-color: var(--bs-primary, #e2e3e5);
}

.right {
    justify-content: flex-end;
    background-color: var(--bs-danger, #e2e3e5);
}

.dashboard-card-icon {
    left: 14px;
    top: -10px;
    opacity: 0.5;
    font-size: 1rem !important;
    display: none;
}

.toast-container {
    top: 1rem;
    right: 1rem;
    /*    display: block !important;
    background: black;
    height: 200px;
    width: 100px;*/
}

@media (max-width: 575.98px) {
    .toast-container {
        top: 3rem;
        right: 1rem;
    }
}

/*.tag-pill {
    padding: 0;*/ /* Remove all inherent padding from the badge */
/*line-height: 1.2;*/ /* Ensure a consistent vertical baseline */
/*height: 100%;*/ /* Allow inner items to define height */
/*font-size: 10pt;
    border-radius: 5px;*/
/* Smooth transitions for moving and scaling */
/*transition: transform 0.3s ease-out, opacity 0.3s ease-out, box-shadow 0.3s ease-out;
    transform-origin: top left;
}*/


/* 1. Base Container: Sets up the hover target and initial size */
.tag-stack-container {
    position: relative;
    /*background-color:aqua;*/
    /* Height of one pill (Bootstrap standard is about 2.25rem/36px for large pills) */
    height: 1.25rem;
    /*width: fit-content;*/
    max-width: 100px;
    /* Allow the expanded absolute children to render outside the container */
    overflow: visible;
    z-index: 2;
}

    /* 2. Individual Pill Positioning (Collapsed State) */
    .tag-stack-container .tag-pill {
        position: inherit;
        padding: 0; /* Remove all inherent padding from the badge */
        line-height: 1.2; /* Ensure a consistent vertical baseline */
        height: 100%; /* Allow inner items to define height */
        font-size: 10pt;
        border-radius: 5px;
        max-width: 90px;
        /* Smooth transitions for moving and scaling */
        transition: transform 0.3s ease-out, opacity 0.3s ease-out, box-shadow 0.3s ease-out, max-width 0.1s ease-out;
        transform-origin: top left;
    }

        /* Set base overlap/stacking appearance (macOS style) */
        .tag-stack-container .tag-pill:nth-child(2) {
            /*opacity: 0.99;*/
            transform: rotateZ(-0deg) translateX(0px) translateY(0px) scale(0.98);
            z-index: 8;
        }

        .tag-stack-container .tag-pill:nth-child(3) {
            /*opacity: 0.99;*/
            transform: rotateZ(-0deg) translateX(0px) translateY(0px) scale(0.96);
            z-index: 9;
        }

        /* Hide pills beyond the third one to keep the component clean when collapsed */
        .tag-stack-container .tag-pill:nth-child(n+4) {
            /*opacity: 0.99;*/
            /*visibility: hidden;*/
            transform: translateX(0px) translateY(0px) scale(0.96);
            z-index: 10;
        }

    .tag-stack-container .tag-goto {
        cursor: pointer;
        transition: color 0.2s ease;
        padding-right: 5px;
        padding-left: 5px;
        text-overflow: ellipsis;
    }

        .tag-stack-container .tag-goto:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

    .tag-stack-container .tag-pill .tag-remove {
        cursor: pointer;
        transition: color 0.2s ease;
        padding-left: 1px;
        display: none !important;
    }

    .tag-stack-container:hover .tag-pill .tag-remove {
        cursor: pointer;
        transition: color 0.2s ease;
        padding-left: 1px;
        display: flex !important;
    }

        .tag-stack-container .tag-remove:hover {
            background-color: rgba(0, 0, 0, 0.2);
        }

    /* 3. Hover State: Expanding the stack */
    .tag-stack-container:hover {
        z-index: 50; /* Bring the entire stack to the front on hover */
        /* Crucial fix: Do NOT change height here. The container stays small. */
    }

        .tag-stack-container:hover .tag-pill {
            /* Remove scaling, make visible, bring to the top */
            position: absolute;
            transform: scale(1) !important;
            opacity: 1 !important;
            visibility: visible !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            max-width: 1000px;
            z-index: 10; /* Reset z-index */
        }

            /* Apply calculated vertical translation for each item on hover (2.5rem spacing) */
            .tag-stack-container:hover .tag-pill:nth-child(1) {
                transform: translateY(0) !important;
                z-index: 14;
            }

            .tag-stack-container:hover .tag-pill:nth-child(2) {
                transform: translateY(1.4rem) !important;
                z-index: 13;
            }

            .tag-stack-container:hover .tag-pill:nth-child(3) {
                transform: translateY(2.8rem) !important;
                z-index: 12;
            }

            .tag-stack-container:hover .tag-pill:nth-child(4) {
                transform: translateY(4.2rem) !important;
                z-index: 11;
            }

            .tag-stack-container:hover .tag-pill:nth-child(5) {
                transform: translateY(5.6rem) !important;
                z-index: 10;
            }

            .tag-stack-container:hover .tag-pill:nth-child(6) {
                transform: translateY(7.0rem) !important;
                z-index: 9;
            }
/* Add more rules here if you expect more than 6 tags */



/* Text Styles */
.card-title {
    font-size: 0.99rem; /* Smaller title font */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.2;
}

.card-value {
    font-size: 1.65rem; /* Smaller value font */
    font-weight: 700;
    margin-top: 3px;
}


/* Optional: make indicators circular and spaced */
.carousel-indicators [data-bs-target] {
    width: 20px;
    height: 5px;
    border-radius: 10%;
    background-color: var(--bs-body-color) !important;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
}


.floating-signal-bar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10050;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-body-color);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    display: none; /* default visible: set to none in HTML if hidden */
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Custom CSS for the Shrinking Animation */
.auth-button {
    /* Enable transitions for width and border-radius */
    transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
    overflow: hidden; /* Hide content during size change */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px; /* Fixed height for consistent look and as the target size */
    cursor: pointer;
}

.shrink-to-spinner {
    /* Apply the final state for the animation */
    width: 48px !important; /* Set width equal to height */
    border-radius: 50% !important; /* Make it a circle, !important overrides Bootstrap's border-radius on buttons */
}

/*Ripple effect for identifiers*/
/* Base dot used for pulse */
.blink-dot {
    position: relative;
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    overflow: visible; /* allow pseudo element to grow */
}

    /* expanding ring for pulse, placed behind the dot */
    .blink-dot::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #0d6efd;
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        transform-origin: center center;
        z-index: -1; /* behind the dot */
        pointer-events: none;
        animation: pulseWave 1.5s infinite ease-out;
    }

@keyframes pulseWave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Base dot with inner circle */
.badge-ripple {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}
/* Ripple style with two rings */
/* Ripple effect around dot */
.badge-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
    animation: ripple 1.5s infinite ease-out;
    pointer-events: none;
}

/* stagger multiple rings */
.badge:nth-child(2)::before {
    animation-delay: 0.5s;
}

.badge:nth-child(3)::before {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}
/*//////////////////////////////*/

.recent-items-container {
    overflow-x: auto;
    white-space: nowrap;
}
    .recent-items-container::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .recent-items-container::-webkit-scrollbar-track {
        background: transparent;
    }
    .recent-items-container::-webkit-scrollbar-thumb {
        background-color: rgba(120, 120, 120, 0.4);
        border-radius: 10px;
        border: 2px solid transparent;
        background-clip: content-box;
        transition: background-color 0.3s;
    }

        .recent-items-container::-webkit-scrollbar-thumb:hover {
            background-color: rgba(120, 120, 120, 0.6);
        }