/* =========================================================
   Админка: Назначенные сделки по всем менеджерам
   + сортировка второго раздела выполняется в app.js
   ========================================================= */

/* Раздел виден и в админке, и у менеджера */
#assignedSalesSection {
    display: block;
}

.assigned-sales-section table {
    min-width: 1100px !important;
    table-layout: fixed !important;
}

/* Клиент */
.assigned-sales-section th:nth-child(1),
.assigned-sales-section td:nth-child(1) {
    width: 240px !important;
}

/* Менеджер */
.assigned-sales-section th:nth-child(2),
.assigned-sales-section td:nth-child(2) {
    width: 120px !important;
    font-weight: 900 !important;
    color: #111827 !important;
}

/* Деньги */
.assigned-sales-section th:nth-child(3),
.assigned-sales-section td:nth-child(3) {
    width: 120px !important;
    white-space: nowrap !important;
}

/* Статус */
.assigned-sales-section th:nth-child(4),
.assigned-sales-section td:nth-child(4) {
    width: 150px !important;
}

/* План */
.assigned-sales-section th:nth-child(5),
.assigned-sales-section td:nth-child(5) {
    width: 115px !important;
    white-space: nowrap !important;
}

/* Дней */
.assigned-sales-section th:nth-child(6),
.assigned-sales-section td:nth-child(6) {
    width: 70px !important;
    text-align: center !important;
}

/* Комментарии */
.assigned-sales-section th:nth-child(7),
.assigned-sales-section td:nth-child(7) {
    width: 100px !important;
    text-align: center !important;
}

/* Сделать уже */
.assigned-sales-section th:nth-child(8),
.assigned-sales-section td:nth-child(8) {
    width: 170px !important;
    text-align: center !important;
}

@media (max-width: 950px) {
    .assigned-sales-section td[data-label="Менеджер"] {
        display: grid !important;
        grid-template-columns: 96px 1fr !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .assigned-sales-section td[data-label="Менеджер"]::before {
        content: "Менеджер" !important;
        color: #64748b !important;
        font-size: 12px !important;
        font-weight: 900 !important;
    }
}
