/* Стили шаблона reviews.php. Порядок правил и подключения сохранён; файл кэшируется браузером. */
.anketa-card::after{
    
    display: none !important;
    
}
/* Базовые стили */
.reviews-page {
    min-height: 100vh;
    padding: 30px 20px;
    line-height: 1.5;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Заголовок */
.page-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Сетка анкет */
.anketas-grid {
    display: grid;
    gap: 25px;
}

/* Карточка анкеты */
.anketa-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.anketa-card:hover {
    border-color: #333;
}

.card-main {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 25px;
    gap: 30px;
}

@media (max-width: 768px) {
    .card-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
}

/* Изображение */
.image-section {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-badge .star-icon {
    width: 14px;
    height: 14px;
    color: #c4455c;
}

.rating-value {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon {
    color: #444;
    width: 48px;
    height: 48px;
}

/* Информация */
.info-section {
    display: flex;
    flex-direction: column;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.anketa-name {
    margin: 0;
    flex: 1;
}

.anketa-name a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.anketa-name a:hover {
    color: #c4455c;
}

.review-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.875rem;
}

.review-icon {
    width: 14px;
    height: 14px;
    color: #888;
}

.info-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.875rem;
}

.meta-icon {
    width: 12px;
    height: 12px;
    color: #666;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars .star {
    width: 14px;
    height: 14px;
    color: #444;
}

.stars .star.filled {
    color: #c4455c;
}

.rating-text {
    color: #aaa;
    font-size: 0.875rem;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4455c;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 16px;
    border: 1px solid #c4455c;
    border-radius: 6px;
    width: fit-content;
    transition: all 0.3s ease;
}

.profile-link:hover {
    background: rgba(196, 69, 92, 0.1);
    gap: 12px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.profile-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* Секция отзывов */
.reviews-section {
    border-top: 1px solid #222;
    padding: 25px;
    background: #0f0f0f;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviews-header h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-btn {
    background: none;
    border: 1px solid #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    border-color: #c4455c;
    color: #c4455c;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slide-counter {
    color: #888;
    font-size: 0.75rem;
    min-width: 40px;
    text-align: center;
}

.reviews-slider {
    position: relative;
    min-height: 150px;
}

.review {
    display: none;
    animation: fadeIn 0.3s ease;
}

.review.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
}

.reviewer-avatar svg {
    width: 16px;
    height: 16px;
    color: #666;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.review-date {
    color: #888;
    font-size: 0.75rem;
    margin-top: 2px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    width: 12px;
    height: 12px;
    color: #444;
}

.review-rating .star.filled {
    color: #c4455c;
}

.review-content {
    color: #ddd;
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    border-left: 3px solid #c4455c;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #c4455c;
    transform: scale(1.2);
}

.dot:hover {
    background: #555;
}

/* Состояние пустого экрана */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    color: #444;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.empty-state p {
    color: #888;
    font-size: 0.875rem;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 480px) {
    .reviews-page {
        padding: 20px 15px;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .card-main {
        padding: 20px;
    }
    
    .reviews-section {
        padding: 20px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .slider-nav {
        align-self: flex-end;
    }
}
