﻿/* ── Таблица залов ─────────────────────────────────────── */
.venue-table__row--clickable {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.venue-table__row--empty {
    opacity: 0.6;
}

/* ── Посуточный график ─────────────────────────────────── */
.daily-chart {
    width: 100%;
    padding: 8px 0;
}

.chart-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 8px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 200px;
    padding: 0 4px;
    border-bottom: 2px solid var(--mud-palette-divider);
    border-left: 2px solid var(--mud-palette-divider);
}

.chart-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 28px;
    height: 100%;
    position: relative;
}

    .chart-bar-col.has-events .chart-bar-label {
        font-weight: 700;
    }

.chart-bar-track {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.chart-bar-fill {
    width: 100%;
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.3s ease;
}

/* Точки типа события поверх столбца */
.chart-bar-dot {
    position: absolute;
    top: -6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid white;
}

.chart-bar-dot--concert {
    right: 2px;
    background: var(--mud-palette-secondary);
}

.chart-bar-dot--rehearsal {
    left: 2px;
    background: var(--mud-palette-tertiary);
}

.chart-bar-label {
    font-size: 9px !important;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 4px;
    white-space: nowrap;
    max-height: 48px;
    overflow: hidden;
}


/* ── Таблица занятости ─────────────────────────────── */
.activity-table__row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

/* ── Рейтинг ───────────────────────────────────────── */
.rating-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .rating-row:hover {
        background: var(--mud-palette-action-default-hover);
    }

.rating-row--podium {
    background: var(--mud-palette-background-grey);
}

.rating-rank {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 28px;
}

.rating-info {
    overflow: hidden;
}

.rating-bar-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 110px;
}

.rating-bar {
    height: 8px;
    border-radius: 4px;
    min-width: 4px;
    flex: 1;
    transition: width 0.4s ease;
}

/* ── Карточка исполнителя ───────────────────────────── */
.metric-cell {
    border-right: 1px solid var(--mud-palette-divider);
}

    .metric-cell:last-child {
        border-right: none;
    }