/* Аналитика: стили только для /sale4 */
html.olap-sale4 form.row { background:#fff; border:1px solid #e5e8f0; border-radius:12px; box-shadow:0 4px 14px rgba(16,24,40,.06); padding:4px 16px 20px; align-items:end; }
html.olap-sale4 form.row .mt-5 { margin-top:1rem !important; }
html.olap-sale4 form.row .btn-success { background:#2952cc; border-color:#2952cc; padding:.55rem 1.2rem; font-weight:600; }
html.olap-sale4 form.row .btn-success:hover { background:#1b3a9a; }
html.olap-sale4 .input-group-text { background:#fff; border-color:#d5dbe7; }
html.olap-sale4 #button-addon1 { background:#fff; border-color:#d5dbe7; }
html.olap-sale4 .btn-warning, html.olap-sale4 .btn-info { background:#eaf0ff; color:#2952cc; border:1px solid #d9e3ff; border-radius:8px; padding:6px 12px !important; font-weight:600; }
html.olap-sale4 .btn-warning a { color:#2952cc !important; padding:0 !important; }
html.olap-sale4 .btn-info:hover, html.olap-sale4 .btn-warning:hover { background:#dce7ff; }
html.olap-sale4 .sale4table { font-size:.84rem !important; margin-top:12px; }
html.olap-sale4 .sale4table thead th { background:#eef2fb !important; color:#334155 !important; border-color:#dde3f0 !important; padding:12px 10px !important; white-space:nowrap; }
html.olap-sale4 .sale4table td { padding:10px !important; vertical-align:middle; }
html.olap-sale4 .table-responsive-md:has(.sale4table) { background:#fff; border:1px solid #e5e8f0; border-radius:12px; box-shadow:0 4px 14px rgba(16,24,40,.06); overflow-x:auto; }
html.olap-sale4 .list-group-item { padding:.8rem 1rem; }

/* Таблица аналитики и переключение страниц */
html.olap-sale4 div[style*="overflow"]:has(> .table-responsive-md > .sale4table) { border:0 !important; border-radius:0 !important; background:transparent !important; }
html.olap-sale4 .sale4table { margin:0 !important; }
html.olap-sale4 .custom-table__pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; flex-wrap:wrap; }
html.olap-sale4 .custom-table__pagination .pagination { display:inline-flex; align-items:center; gap:6px; margin:0; }
html.olap-sale4 .custom-table__pagination .page-link { display:flex; align-items:center; justify-content:center; width:38px; height:38px; padding:0; margin:0 !important; border:1px solid #d5dbe7; border-radius:8px !important; color:#2952cc; background:#fff; }
html.olap-sale4 .custom-table__pagination .page-item.disabled .page-link { color:#aab2c0; background:#f7f8fb; }
html.olap-sale4 .custom-table__pagination .form-select { height:38px; border-radius:8px; border-color:#d5dbe7; margin:0; font-size:14px; }

/* Кнопки над таблицей */
html.olap-sale4 .btn-warning:has(a[download="export.csv"]), html.olap-sale4 .btn-info:has(+ div[style*="overflow"]) { display:inline-flex; align-items:center; justify-content:center; min-height:38px; margin-bottom:12px !important; line-height:1.25; vertical-align:top; }
html.olap-sale4 .btn-warning:has(a[download="export.csv"]) a { display:block; line-height:inherit; }
