.inv-heading{
    font-size: 3em;

}
.text-custom-red {
    font-size: 2em;
    color: #D8232A;
    margin: 0;

}
.text-custom-orange {
    border-top: 3px solid #142350;

    color: #142350;
}
.text-light-black {
    font-size: 0.7em;
    margin: 0;
    color: #000000;
}
.value-text {
    font-size: 3em;
    font-weight: bold;
}
.arrow-icon {
    width: 11%;
}
/* Infinite Scroller Effect */
.marquee-container {
    overflow: hidden;
    position: relative;
    height: 300px; /* Adjust height as needed */
}
.marquee-content {
    display: flex;
    position: absolute;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}
.marquee-item-inv {
    flex: 0 0 auto;
    padding: 8px;
    border-right: 1px solid red;
    width: fit-content; /* Adjust width as needed */
    margin: 0 20px; /* Adjust margin as needed */
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.marquee-content:after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, white);
}
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(calc(-300px * 6)); /* Adjust to match total width of items */
    }
}


.chart-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#charts-container {
    min-height: 400px; /* Adjust based on your expected chart height */
}

.chart-buttons-wrapper {
    justify-content: center;
    width: 35%;
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin: 0 auto;
}

button {
    padding: 10px 20px;
    margin: 10px;
    border: 2px solid #418bbf;
    background-color: #4765ad;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background-color: #74c9f1;
    color: #333333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:active {
    background-color: #6fa3ad;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(65, 139, 191, 0.5);
}

.color-legend {
    display: flex;
    flex-direction: column;
    margin-left: 20px; /* Adjust as needed */
}

.chart-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px; /* Adjust margin to ensure title is visible */
    text-anchor: middle;
    fill: #333;
}

#color-legend {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping if needed */
    margin-top: 20px; /* Space above the legend */
    padding: 0;
}

.color-legend {
    display: flex;
    flex-direction: column;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space between legend items */
}

.legend-box {
    width: 20px; /* Width of the color box */
    height: 20px; /* Height of the color box */
    margin-right: 10px; /* Space between color box and label */
    border-radius: 3px; /* Rounded corners */
}

.legend-label {
    margin: 0; /* Remove default margins */
    font-size: 14px; /* Adjust font size as needed */
}

section {
    margin-top: 2rem;
    width: 100%;
}

section #chart-wrap {
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    margin: auto;
    max-width: 1000px; /* Adjust to fit multiple charts */
    position: relative;
    width: 100%;
}

section #chart-wrap .chart-tooltip {
    margin-left: 15px;
    position: absolute;
    z-index: 10;
}

section #chart-wrap .chart-tooltip .chart-tooltip-wrap {
    background-color: #181818;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    display: block;
    padding: .875rem;
}

section #chart-wrap .chart-tooltip .chart-tooltip-wrap p {
    color: #fff;
    font-size: .875rem;
    line-height: 1.75;
    margin: 0;
}

section #chart-wrap svg {
    margin: 10px auto;
    display: block;
}

section #chart-wrap svg .text {
    fill: #fff;
    font-size: .875rem;
    text-anchor: middle;
}

section #chart-wrap .legend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin: 2rem auto;
    width: 100%;
}

section #chart-wrap .legend .legend-group {
    align-items: center;
    display: flex;
    flex-basis: 100px;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
}

section #chart-wrap .legend .legend-group .legend-box {
    height: 20px;
    margin: 0;
    width: 20px;
}

section #chart-wrap .legend .legend-group .legend-label {
    margin: 0;
}
.chart-section{
    align-items: center;
    display: flex;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 767px) {
    .chart-section{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .chart-buttons-wrapper {
        width: 100%; /* Make button container full-width */
        padding: 0 10px; /* Add padding for small screens */
        flex-direction: column; /* Stack buttons vertically */
    }

    


    section #chart-wrap {
        max-width: 100%; /* Full width on mobile */
        padding: 0 10px; /* Add padding */
    }

    section #chart-wrap .legend {
        flex-direction: column; /* Stack legends vertically */
        align-items: center; /* Center-align the legends */
        gap: 5px; /* Reduce gap between legend groups */
        justify-content: center; /* Center the legends */
        margin-top: 10px; /* Move legends below buttons */
    }

    section #chart-wrap .legend .legend-group {
        width: 100%; /* Ensure legend groups take full width */
        justify-content: center; /* Center align legend items */
        background-color: #333;
    }
}

#charts-container {
    min-height: 400px; /* Adjust based on your expected chart height */
}


button {
    padding: 10px 20px;
    margin: 10px;
    border: 2px solid #418bbf;
    background-color: #4765ad;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background-color: #74c9f1;
    color: #333333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:active {
    background-color: #6fa3ad;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(65, 139, 191, 0.5);
}

.color-legend {
    display: flex;
    flex-direction: column;
    margin-left: 20px; /* Adjust as needed */
}

.chart-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px; /* Adjust margin to ensure title is visible */
    text-anchor: middle;
    fill: #333;
}

#color-legend {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping if needed */
    margin-top: 20px; /* Space above the legend */
    padding: 0;
}

.color-legend {
    display: flex;
    flex-direction: column;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space between legend items */
}

.legend-box {
    width: 20px; /* Width of the color box */
    height: 20px; /* Height of the color box */
    margin-right: 10px; /* Space between color box and label */
    border-radius: 3px; /* Rounded corners */
}

.legend-label {
    margin: 0; /* Remove default margins */
    font-size: 14px; /* Adjust font size as needed */
}

section {
    margin-top: 2rem;
    width: 100%;
}

section #chart-wrap {
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    margin: auto;
    max-width: 1000px; /* Adjust to fit multiple charts */
    position: relative;
    width: 100%;
}

section #chart-wrap .chart-tooltip {
    margin-left: 15px;
    position: absolute;
    z-index: 10;
}

section #chart-wrap .chart-tooltip .chart-tooltip-wrap {
    background-color: #181818;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    display: block;
    padding: .875rem;
}

section #chart-wrap .chart-tooltip .chart-tooltip-wrap p {
    color: #fff;
    font-size: .875rem;
    line-height: 1.75;
    margin: 0;
}

section #chart-wrap svg {
    margin: 10px auto;
    display: block;
}

section #chart-wrap svg .text {
    fill: #fff;
    font-size: .875rem;
    text-anchor: middle;
}

section #chart-wrap .legend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin: 2rem auto;
    width: 100%;
}

section #chart-wrap .legend .legend-group {
    align-items: center;
    display: flex;
    flex-basis: 100px;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
}

section #chart-wrap .legend .legend-group .legend-box {
    height: 20px;
    margin: 0;
    width: 20px;
}

section #chart-wrap .legend .legend-group .legend-label {
    margin: 0;
}
.chart-section{
    align-items: center;
    display: flex;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 767px) {
    .chart-section{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .chart-buttons-wrapper {
        width: 100%; /* Make button container full-width */
        padding: 0 10px; /* Add padding for small screens */
        flex-direction: column; /* Stack buttons vertically */
    }

    


    section #chart-wrap {
        max-width: 100%; /* Full width on mobile */
        padding: 0 10px; /* Add padding */
    }

    section #chart-wrap .legend {
        flex-direction: column; /* Stack legends vertically */
        align-items: center; /* Center-align the legends */
        gap: 5px; /* Reduce gap between legend groups */
        justify-content: center; /* Center the legends */
        margin-top: 10px; /* Move legends below buttons */
    }

    section #chart-wrap .legend .legend-group {
        width: 100%; /* Ensure legend groups take full width */
        justify-content: center; /* Center align legend items */
        background-color: #333;
    }
}




.hosw .swiper-pagination{
    bottom: 0 !important;
}
.hosw .swiper-pagination-bullet-active {
    background: #f50028 !important;
    
}
.hosw .swiper-pagination .swiper-pagination-bullet {

    border-radius: 6px;
    height: 7px;
    width: 7px;
    transition: all .3s ease-out
}
.hosw .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 50px
}
