label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    gap: 10px;
    margin-bottom: 30px;
}

button {
    padding: 12px 24px;
    background: #73518D;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.platform-filter {
    margin: 20px 0;
}

.btn {
    border: 1px solid #73518D;
    color: #6C6B6B;
    border-radius: 3px;
    -webkit-transition: 0.35s;
    transition: 0.35s;
    background: #fff;
}

.btn.active {
    background: #73518D;
    color: white;
}

.review {
    background: white;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 300px;
    overflow-y: auto;
    min-width: 100%;
}

.review-platform {
    max-width: 90px;
}

.review-platform img {
    max-width: 100%;
}

.swiper-container {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.reviews-slider {
    padding: 0 55px;
    position: relative;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.review-header-info {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.review-name {
    font-weight: bold;
    color: #6C6B6B;
    flex: 1;
}

.review-date {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.review-text {
    flex: 1;
    font-size: 16px;
    line-height: 145%;
}

.review-rating {
    border-radius: 5px;
    color: #ffc107;
    font-weight: bold;
    margin-top: auto;
    padding: 3px 5px;
    width: fit-content;
}

.review-rating-text {
    color: #888;
    font-weight: 500;
    font-size: 14px;
    margin-left: 5px;
}

.review-tagword {
    font-size: 14px;
}

.positive {
    background-color: #E0F6EE;
}

.middle {
    background-color: #FFF2D9;
}

.negative {
    background-color: #FCE8E8;
}

.review-rating-num {
    color: #6C6B6B;
    font-weight: 500;
}


/* Кастомные стрелки */
.swiper-button-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.swiper-button-custom:hover {
    background: #f8f9fa;
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    border: solid #333;
    border-width: 2px 2px 0 0;
    display: inline-block;
}

.swiper-button-custom-next {
    right: 0;
}

.swiper-button-custom-next::after {
    transform: rotate(45deg);
    margin-left: -2px;
}

.swiper-button-custom-prev {
    left: 0;
}

.swiper-button-custom-prev::after {
    transform: rotate(-135deg);
    margin-right: -2px;
}

.swiper-button-custom.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Скрываем стандартные элементы */
.swiper-pagination {
    display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-slider {
        padding: 0 30px;
    }
    
    .swiper-button-custom {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .reviews-slider {
        padding: 0 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}