

.brands-period-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.brands-dashboard-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
    align-items: start;
}

.brands-card-header {
    margin-bottom: 20px;
}

.brands-card-header h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.brands-card-header p {
    font-size: 0.9em;
    color: #7f8c8d;
}

/* БЛОК 1: Список */
.brands-simple-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background-color: var(--bg-color);
    border-radius: 16px;
    transition: transform 0.2s;
}

.brand-list-item:hover {
    transform: translateX(5px);
    background-color: #eef2ff;
}

.brand-name {
    font-weight: 600;
    color: var(--text-color);
}

.brand-count {
    font-weight: 700;
    color: var(--accent-color);
    background: white;
    padding: 4px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.brand-count.is-zero {
    color: #bdc3c7; /* Серый цвет для нулевых значений */
}

/* БЛОК 2: График */
.brands-chart-container {
    min-height: 450px; /* Минимальная высота для графика */
    position: relative;
}

.hint-text {
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.error-text {
    color: #e74c3c;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .brands-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Убираем пунктирную линию и курсор-подсказку у элементов списка марок */
.brand-list-item .tooltip-trigger {
    border-bottom: none;
    cursor: default;
}