.twssc-slider-container {
    margin: 30px 0;
    position: relative;
    line-height: 0;
}

.twssc-slider-main {
    position: relative;
}

.twssc-slider-slide {
    padding: 0px 5px;
    transition: opacity 0.3s ease;
}

.twssc-slider-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.twssc-slider-container[data-fade-animation="yes"] .slick-slide {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
}

.twssc-slider-container[data-fade-animation="yes"] .slick-slide.slick-active {
    opacity: 1 !important;
}

.twssc-slider-container .slick-prev,
.twssc-slider-container .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.twssc-slider-container .slick-prev:hover,
.twssc-slider-container .slick-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.twssc-slider-container .slick-prev:before,
.twssc-slider-container .slick-next:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.twssc-slider-container .slick-prev:before {
    -webkit-mask-image: url('../images/arrow-left.svg');
    mask-image: url('../images/arrow-left.svg');
}

.twssc-slider-container .slick-next:before {
    -webkit-mask-image: url('../images/arrow-right.svg');
    mask-image: url('../images/arrow-right.svg');
}

.twssc-slider-container[data-arrows-type="custom"] .slick-prev:before,
.twssc-slider-container[data-arrows-type="custom"] .slick-next:before {
    display: none;
}

.twssc-slider-container .slick-prev {
    left: 10px;
}

.twssc-slider-container .slick-next {
    right: 10px;
}

.twssc-slider-container .slick-prev,
.twssc-slider-container .slick-next {
    opacity: 1;
    visibility: visible;
}

.twssc-slider-main .slick-dots {
    position: absolute;
    bottom: -30px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
}

.twssc-slider-main .slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    padding: 0;
    cursor: pointer;
}

.twssc-slider-main .slick-dots li button {
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.twssc-slider-main .slick-dots li button:before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .twssc-slider-slide {
        padding: 0px;
    }
    
    .twssc-slider-container .slick-prev,
    .twssc-slider-container .slick-next {
        width: 30px !important;
        height: 30px !important;
    }
    
    .twssc-slider-main .slick-dots {
        bottom: -25px;
    }
}

.twssc-slider-error {
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    text-align: center;
}