.score-number span {
    font-size: 20px;
    opacity: 0.5;
}
/* Селектор бренда */
.brand-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #413028;
    cursor: pointer;
    min-width: 200px;
    outline: none;
    transition: all 0.2s ease;
}

.brand-select:hover {
    border-color: #2D6A4F;
}

.brand-select:focus {
    border-color: #2D6A4F;
    box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.1);
}

/* Отзывы */
.review-item {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.validation-hero-card {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 40px 60px; 
    min-height: 250px;
    background-color: #B19D8F;
}

/* Мобильная адаптация для validation */
@media (max-width: 1024px) {
    .validation-hero-card {
        flex-direction: column;
        padding: 30px;
        min-height: auto;
        gap: 30px;
        text-align: center;
    }
    
    .stats-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .validation-hero-card {
        padding: 24px 20px;
        gap: 24px;
    }
    
    .score-num {
        font-size: 48px;
    }
    
    .score-total {
        font-size: 20px;
    }
    
    .stats-grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
    
    .stat-box {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        text-align: left;
    }
    
    .stat-icon-bg {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .review-item {
        padding: 16px 0;
    }
    
    .review-user {
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .score-number span {
        font-size: 16px;
    }
}

/* Стили левой части */
.score-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-title {
    font-size: 14px;
    opacity: 0.6;
    color: #413028;
}

.score-main-value {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.score-num {
    font-size: 64px;
    font-weight: 700;
    color: black;
    line-height: 1;
}

.score-total {
    font-size: 24px;
    opacity: 0.4;
    color: #413028;
}

.score-trend-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2D6A4F; 
    font-weight: 500;
}

/* Стили правой части */
.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 140px); 
    grid-template-rows: repeat(2, auto);
    gap: 30px 40px; 
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.stat-icon-bg {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 5px;
}

.stat-icon-bg img {
    width: 20px;
    opacity: 0.8;
}

.stat-desc {
    font-size: 11px;
    opacity: 0.5;
    color: #413028;
    max-width: 100px; 
    line-height: 1.2;
}
.chart-card h4 {
    font-size: 16px;
    color: black;
    margin-bottom: 20px;
    font-weight: 700;
}

/* --- КРУГОВАЯ ДИАГРАММА (SVG) --- */
.chart-container-pie {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.pie-svg {
    width: 200px;
    height: 200px;
}

.pie-segment {
    fill: none;
    stroke-width: 3;
    stroke-linecap: flat; /* Четкие края */
    transition: stroke-dashoffset 0.3s ease;
}

/* Цвета сегментов */
.segment-green  { stroke: #2D6A4F; } 
.segment-red    { stroke: #FF4D4D; } 
.segment-yellow { stroke: #FFE066; }

/* Текстовые метки */
.chart-label {
    font-size: 1.8px;
    font-family: inherit;
    font-weight: 500;
}

.label-green  { fill: #2D6A4F; text-anchor: middle; }
.label-red    { fill: #FF4D4D; text-anchor: start; }
.label-yellow { fill: #4A3F35; text-anchor: start; } 
.label-blue   { fill: #4A3F35; text-anchor: end; }   


/* Подпись под столбцом */
.bar-label {
    position: absolute;
    bottom: -15px; 
    width: 80px; 
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.7;
    text-align: center;
    white-space: normal;
}
.chart-box {
    position: relative;
    height: 220px; 
    width: 100%;

}

.chart-card {
    min-width: 0; 
    background-color: #B19D8F;
}
/* Общий контейнер */
.reviews-container {
    padding: 30px;
    background-color: #B19D8F;
}

/* Группа фильтров */
.reviews-header {
    margin-bottom: 25px;
}

.filter-pill-group {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 12px;
}

.filter-pill {
    padding: 8px 16px;
    border: none;
    background: none;
    border-radius: 10px;
    font-size: 13px;
    color: #413028;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-pill.active {
    background: #B19D8F; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Карточка отзыва */
.review-card {
    background: #C5B6AA; 
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 15px;
}

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

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

.user-avatar {
    width: 44px;
    height: 44px;
    background: #413028;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}

.user-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.review-date {
    font-size: 12px;
    opacity: 0.6;
}

/* Звезды */
.rating-stars {
    color: #D77552;
    font-size: 18px;
}

.star { opacity: 0.3; }
.star.active { opacity: 1; }

@media (max-width: 1024px) {
    .validation-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
        min-height: auto;
    }

    .stats-grid-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .review-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bar-label {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .review-card {
        padding: 16px;
    }

    .review-user {
        flex-direction: column;
        align-items: flex-start;
    }

    .pie-svg {
        width: 100%;
        height: auto;
    }

    .chart-box {
        height: 180px;
    }
}
.review-content {
    font-size: 14px;
    line-height: 1.5;
    color: black;
    margin-bottom: 15px;
}

/* Подвал отзыва */
.review-footer {
    display: flex;
    gap: 20px;
}

.interaction-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: black;
    cursor: pointer;
    opacity: 0.8;
}

.interaction-btn:hover { opacity: 1; }

.conclusions-container {
    padding: 30px;
    margin-top: 20px;
    background-color: #B19D8F;
}

.conclusions-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: black;
}

.conclusions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.conclusion-item {
    background: #C5B6AA; 
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-left: 6px solid transparent; 
    position: relative;
}

/* Цветовые акценты для разных типов выводов */
.conclusion-item.positive { border-left-color: #278271; }
.conclusion-item.neutral { border-left-color: #F0CF66; }
.conclusion-item.suggestion { border-left-color: #413028; }

.conclusion-content {
    max-width: 80%;
}

.conclusion-main {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: black;
}

.conclusion-sub {
    font-size: 13px;
    opacity: 0.7;
    color: #413028;
}

/* Стили плашек справа */
.status-tag {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: lowercase;
}

.positive-tag { background: #413028; color: #FFFFFF; } 
.neutral-tag { background: #B19D8F; color: black; } 
.suggestion-tag { background: #B19D8F; color: black; }

/* Cетка: лево — гибкое, право — 340px */
.validation-layout {
    display: grid !important;
    grid-template-columns: 1fr 340px; 
    gap: 25px;
    align-items: start;
    margin-top: 20px;
}

/* Контейнеры для карточек */
.validation-main-content, 
.validation-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px;
}
.quick-stats-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: black;
}

.age-stats-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.age-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: black;
    opacity: 0.8;
}

/* Прогресс-бар */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #ECECF0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #413028; 
    border-radius: 10px;
}

/* Стили текстовой статистики */
.stats-table {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 13px;
    color: #413028;
    opacity: 0.7;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: black;
}

.stat-value small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #5e4f44;
}

.stat-value.positive {
    color: #21695C;
}


.validation-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* Адаптив: если экран меньше 1200px, боковая панель падает вниз */
@media (max-width: 1200px) {
    .validation-layout {
        grid-template-columns: 1fr;
    }
    .validation-sidebar {
        display: grid !important;
        grid-template-columns: 1fr 1fr; 
    }
}

.validation-sidebar .card {
    background: #B19D8F; 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1100px) {
    .validation-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .validation-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr; /* Статистика в два ряда на планшетах */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .validation-sidebar {
        grid-template-columns: 1fr; /* В один ряд на телефонах */
    }
}
@media (max-width: 768px) {
    .validation-hero-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .score-section {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stats-grid-container {
        grid-template-columns: 1fr 1fr; /* 2x2 на мобилках */
        gap: 15px;
    }

    /* Графики ставим друг под другом */
    .validation-charts-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    /* Фильтры отзывов со скроллом */
    .filter-pill-group {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 8px;
        scrollbar-width: none;
    }
    
    .filter-pill-group::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        white-space: nowrap;
        padding: 8px 16px;
    }

    /* Карточка отзыва */
    .review-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rating-stars {
        align-self: flex-start;
    }

    /* Ключевые выводы (выстраиваем теги в ряд) */
    .conclusion-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .status-tag {
        align-self: flex-start;
    }
}