/* Стили страницы оффера (page-specific, вне index.css). */

/* ── Select2-фильтр по ПП в шапке таблицы целей ── */
.goals-pp { position: relative; }
.goals-pp .select2-container { min-width: 140px; text-align: left; }

.goals-pp .select2-container--default .select2-selection--single {
    height: 36px;
    border: 1px solid #e2e2ea;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
}
.goals-pp .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    padding-left: 14px;
    padding-right: 26px;          /* место под стрелку — текст не наезжает */
    font-size: 13px;
    color: #333;
}
.goals-pp .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 8px;
}
.goals-pp .select2-results__option {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Иконки заголовков в аналитике оффера — Font Awesome, мелкие ч/б. */
.an-ico {
    color: #9a9aa5;
    font-size: 14px;
    margin-right: 6px;
}

/* ── График цен по ГЕО: отдельная панель под всем оффером ── */
.goals-chart {
    margin-top: 24px;
    padding: 20px 24px;
    border: 1px solid #ececf1;
    border-radius: 8px;
    background: #fff;
}
.goals-chart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.goals-chart__title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.goals-chart__ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #9a9aa5;          /* ч/б, приглушённая */
    fill: currentColor;
}
.goals-chart__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.goals-chart__types {
    display: inline-flex;
    border: 1px solid #e2e2ea;
    border-radius: 999px;
    overflow: hidden;
}
.goals-chart__type {
    padding: 6px 14px;
    background: #fff;
    border: none;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.goals-chart__type + .goals-chart__type { border-left: 1px solid #e2e2ea; }
.goals-chart__type.is-active { background: #ff6b35; color: #fff; }
.goals-chart__canvas {
    width: 100%;
    height: 380px;
}
.goals-chart__hint {
    margin-top: 10px;
    font-size: 12px;
}
.goals-chart-lock {
    margin-top: 24px;
    padding: 20px 24px;
    border: 1px dashed #e2e2ea;
    border-radius: 8px;
    text-align: center;
}
.goals-chart-lock .d-flex { justify-content: center; }

