.slider-container {
    width: 100%;
    display: block;
    margin: auto;
}

.irs--flat {
    height: 60px;
}

.irs-grid {
    display: block;
    top: 35px;
    height: 0; /* Use 0 instead of 0px for consistency */
    z-index: 10;
}

.irs--big .irs-line {
    height: 14px;
}

.irs-grid-pol.custom {
    background: #555;
    height: 8px;
    position: absolute;
    font-size: 11px;
    top: 1px;
    width: 1px;
}

.irs-grid-pol.custom.newyear {
    height: 20px;
    width: 2px;
    top: -2px;
    /* Position: absolute; already defined in .irs-grid-pol.custom */
}
.irs-grid-text.custom {
    position: absolute;
    white-space: nowrap;
    display: block;
    top: 14px; /* Moved from below for consistency */
    transform: translateX(-50%);
    cursor: pointer;
    font-size: 0.9em; /* Moved from below for consistency */
    color: #333 !important;
}

.irs-grid-text.custom.newyear {
    font-weight: bold;
    top: 28px !important;
    font-size: 1em;
}

.irs-grid-text {
    display: none;
}

.irs-from,
.irs-to,
.irs-single {
    font-size: 11px !important;
}

.irs-min,
.irs-max {
    color: #ddd !important;
    font-size: 11px !important;
}

.irs--big .irs-from::before,
.irs--big .irs-to::before,
.irs--big .irs-single::before {
    position: absolute !important;
    display: block !important;
    content: "" !important;
    bottom: -6px !important;
    left: 50%;
    margin-left: -3px !important;
    overflow: hidden !important;
    border: 3px solid transparent !important;
    border-top-color: #3071a9 !important; /* Removed redundant line */
}

.irs--big .irs-bar {
    top: 33px;
    height: 14px;
    background-color: #3071a9;
    border: none; /* Cleaner way to remove border */
    background: linear-gradient(to bottom, #6689a8 0%, #6689a8 30%, #6689a8 100%);
    box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.5);
}

.irs-handle {
    opacity: 0.5 !important;
}


@media (max-width: 640px) {
    .irs--big {
        height: 65px !important;
    }

    .irs-grid {
        top: 45px !important;
    }

    .irs-grid-text.custom {
        top: 10px !important;
    }

    .irs-grid-pol.custom {
        top: -9px !important;
    }

    .irs-grid-pol.custom.newyear {
        top: -12px !important;
        height: 34px !important;
    }
    .irs-grid-text.custom.newyear {
        top: 24px !important;
        font-size: 1em;
    }

    footer .container {
        width: 100% !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 362px) {
    .irs--big {
        height: 65px !important;
    }

    .irs-grid {
        top: 45px !important;
    }

    .irs-grid-text.custom {
        top: 10px !important;
    }

    .irs-grid-pol.custom {
        top: -9px !important;
    }

    .irs-grid-pol.custom.newyear {
        top: -12px !important;
        height: 34px !important;
    }
    .irs-grid-text.custom.newyear {
        top: 24px !important;
        font-size: 1em;
    }

    footer .container {
        width: 100% !important;
        margin-top: 0 !important;
    }
}
