/**
 * Исправленный файл стилей с жестким приоритетом для main.ui.grid
 * Путь: /local/php_interface/price_mp_panel/css/ozon_grid.css
 */

/* 1. КОРРЕКТИРОВКА ФОНА СТРОК (ПРОБИВАЕМ СИСТЕМНЫЕ СТИЛИ БИТРИКСА) */
.main-grid-row.product-type-simple td,
tr.main-grid-row.product-type-simple td {
    background-color: #f4faff !important; /* Блекло-голубой */
}

.main-grid-row.product-type-kit td,
tr.main-grid-row.product-type-kit td {
    background-color: #fff9f2 !important; /* Блекло-оранжевый */
}

.main-grid-row.product-type-offer td,
tr.main-grid-row.product-type-offer td {
    background-color: #fff0f0 !important; /* Блекло-красный */
}

/* 2. СТИЛИЗАЦИЯ ЦВЕТА ТЕКСТА ВНУТРИ ЯЧЕЕК */
.cell-site-price,
.cell-ozon-new-price {
    color: #002f55 !important; /* Темно-зеленый / Темно-синий */
    font-weight: bold !important;
}

/* 3. КРУГЛЫЕ СТАТУСНЫЕ МАРКЕРЫ (КОНТРОЛЬ ОЗОН) */
.status-marker-circle {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
}
.marker-control-green { background-color: #2ebd59 !important; }
.marker-control-black { background-color: #000000 !important; }

/* 4. ДИНАМИЧЕСКИЙ ГРАДИЕНТ ДЕМПИНГА ДЛЯ ЯЧЕЕК ДЕЛЬТЫ */
.cell-pricing-status.dumping-level-normal {
    background-color: #e6f4ea !important;
    color: #137333 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
}
.cell-pricing-status.dumping-level-low {
    background-color: #ffcccc !important;
    color: #333333 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
}
.cell-pricing-status.dumping-level-medium {
    background-color: #ff6666 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
}
.cell-pricing-status.dumping-level-critical {
    background-color: #800020 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
}

/* ЗНАЧОК АКЦИИ */
.cell-in-action-yes {
    color: #e02020 !important;
    font-weight: bold !important;
    font-size: 14px !important;
}
