/* Formularz opinii */
.testimonial-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.star-rating {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    user-select: none;
}

.star-rating .star {
    display: inline-block;
    transition: color 0.2s;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #ffc107;
}

/* Slider opinii */
#testimonials-carousel {
    padding: 40px 0;
    border-radius: 15px;
}

.ts-testimonial-slide {
    padding: 60px 20px;
}

.ts-testimonial-stars {
    font-size: 28px;
}

.star-filled {
    color: #ffc107;
}

.star-empty {
    color: rgba(0, 0, 0, 0.3);
}

.ts-testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin: 30px 0;
}

.ts-testimonial-author h5 {
    font-weight: 600;
}


.additional-ratings {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.additional-ratings h6 {
    color: black;
}

.additional-ratings small {
    color: rgba(0, 0, 0, 0.9);
    display: block;
    margin-bottom: 5px;
}

.small-stars {
    font-size: 16px;
}

.small-star-filled {
    color: #ffc107;
}

.small-stars .ts-stars {
    color: #ffc107;
}

.small-start .filled {
    color: #ffc107;
}

.small-star-empty {
    color: rgba(0, 0, 0, 0.3);
}

.ts-carousel-control-prev,
.ts-carousel-control-next {
    width: 5%;
}

.ts-carousel-indicators {
    bottom: -30px;
}

.ts-carousel-indicators [data-bs-target] {
    background-color: rgba(0, 0, 0, 0.5);
}

.ts-carousel-indicators .active {
    background-color: black;
}

.ts-carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
    width: 2rem;
    height: 2rem;
}

.ts-carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    width: 2rem;
    height: 2rem;
}

@media (max-width: 768px) {
    .ts-testimonial-text {
        font-size: 1rem;
    }

    .ts-testimonial-slide {
        padding: 40px 15px;
    }

    .additional-ratings .col-md-4 {
        text-align: center;
    }
}

.ts-testimonials-slider {
    margin: 40px auto;
    max-width: 1000px;
}

.ts-testimonial-slide {
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.ts-testimonial-stars {
    font-size: 24px;
}

.ts-star-filled { color: #ffc107; }
.ts-star-empty { color: #ddd; }

.ts-testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin: 20px 0;
    color: #333;
}

.ts-testimonial-author h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption), .visually-hidden:not(caption) {
position: absolute!important;
}

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background: none !important;
    background-image: none !important;
}

.mb-3 {
    margin-bottom: 20px;
}

.mb-2 {
    margin-bottom: 15px;
}

.mt-4 {
    margin-top:30px;
}

/* Własne czarne strzałki pluginu */
.ts-carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
}

.ts-carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.ts-testimonial-extra-ratings {
    display: flex;
    flex-direction: column;
    text-align:left;
    width: 300px;
    margin: 0 auto;
    align-items: center;
}

.ts-rating-item {
    display:flex;
    flex-direction: column;
    gap:5px;
    margin-top: 20px;
    text-align: center;
}