/* ===== KONOK: брендинг кабинета отельера (marketplace seller area) =====
   Scoped по body[id^="module-..."] — НЕ трогает раскладку (без display/float/width),
   только цвета/радиусы/типографика поверх стоковой Bootstrap-вёрстки. */

body[id^="module-marketplace"],
body[id^="module-konokextguest"],body[id^="module-cardreader"],
body[id^="module-fiscaldriver"],
body[id^="module-roomcalendar"],
body[id^="module-elqrpayment"],
body[id^="module-dynamicqr"] {
  background: #FBF8F2 !important;
  font-family: 'Onest', sans-serif;
}

/* ---- боковое меню кабинета ---- */
body[id^="module-marketplace"] .list_content ul,
body[id^="module-konokextguest"] .list_content ul,body[id^="module-cardreader"] .list_content ul,
body[id^="module-fiscaldriver"] .list_content ul,
body[id^="module-roomcalendar"] .list_content ul,
body[id^="module-elqrpayment"] .list_content ul,
body[id^="module-dynamicqr"] .list_content ul {
  background: #fff;
  border: 1px solid #F1EADF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(31,41,33,.06);
  padding: 6px;
}
[id^="module-"] .list_content ul li { border: 0 !important; }
[id^="module-"] .list_content ul li a {
  color: #1F2921 !important;
  border-radius: 14px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
[id^="module-"] .list_content ul li a:hover { background: #FBF3EA !important; color: #E2640A !important; }
[id^="module-"] .list_content ul li.menu_active > span > a,
[id^="module-"] .list_content ul li.menu_active a,
[id^="module-"] .list_content ul li.active a {
  background: #FFF1E4 !important; color: #E2640A !important;
}
[id^="module-"] .list_content ul li a i { color: inherit; }
/* заголовок группы меню («Торговая площадка») */
[id^="module-"] .list_content ul li:first-child {
  color: #9CA3AF; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700;
}

/* ---- заголовки-полосы разделов (были тёмно-серые #333) ---- */
[id^="module-"] .wk-mp-page-title {
  background: #1F2921 !important;
  border-radius: 14px !important;
  font-family: 'Nunito', sans-serif; font-weight: 800;
  padding: 14px 18px !important;
}
[id^="module-"] .wk-mp-page-title span,
[id^="module-"] .wk-mp-page-title { color: #fff !important; }

/* ---- карточки/панели ---- */
[id^="module-"] .wk-mp-content,
[id^="module-"] .wk-mp-page-content,
[id^="module-"] .panel,
[id^="module-"] .wk_seller_panel {
  background: #fff;
  border: 1px solid #F1EADF !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(31,41,33,.05);
}
[id^="module-"] .wk-mp-content h1,
[id^="module-"] .wk-mp-content h2,
[id^="module-"] .wk-mp-content h3,
[id^="module-"] .wk-mp-content h4,
[id^="module-"] .panel-heading,
[id^="module-"] .panel-title {
  color: #1F2921; font-family: 'Nunito', sans-serif; font-weight: 800;
}
[id^="module-"] hr { border-color: #F1EADF; }

/* ---- кнопки → брендовые оранжевые пилюли ---- */
[id^="module-"] .btn.btn-default.button,
[id^="module-"] a.button.button-small,
[id^="module-"] a.button.button-medium,
[id^="module-"] button.button,
[id^="module-"] .continue.btn {
  background: #E2640A !important;
  border-color: #E2640A !important;
  color: #fff !important;
  border-radius: 9999px !important;
  font-family: 'Nunito', sans-serif; font-weight: 800;
  box-shadow: 0 6px 18px rgba(226,100,10,.2);
}
[id^="module-"] .btn.btn-default.button:hover,
[id^="module-"] button.button:hover,
[id^="module-"] .continue.btn:hover { background: #F0853B !important; border-color: #F0853B !important; }
[id^="module-"] .btn.btn-default.button span,
[id^="module-"] button.button span { color: #fff !important; }
/* вторичные/нейтральные кнопки и табы дат */
[id^="module-"] .btn.btn-default:not(.button) {
  border-radius: 9999px; border-color: #F1EADF; color: #1F2921; background: #fff;
}

/* ---- ссылки в контенте → бренд (кроме меню/кнопок) ---- */
[id^="module-"] .wk-mp-content a:not(.btn):not(.button) { color: #E2640A; }
[id^="module-"] .wk-mp-content a:not(.btn):not(.button):hover { color: #C24F00; }

/* ---- табы статистики (Продажи/Заказы…) и плитки KPI ---- */
[id^="module-"] .nav-tabs > li.active > a,
[id^="module-"] .nav-tabs > li > a:hover { border-color: #E2640A; color: #E2640A; }

/* ---- таблицы ---- */
[id^="module-"] table.table thead th,
[id^="module-"] .table > thead > tr > th {
  background: #FBF3EA; color: #1F2921; border-color: #F1EADF;
  font-family: 'Nunito', sans-serif; font-weight: 800;
}
[id^="module-"] .table > tbody > tr > td { border-color: #F1EADF; }

/* ---- хлебные крошки кабинета ---- */
[id^="module-"] .breadcrumb a { color: #E2640A; }


/* ===== KONOK: алерты/сообщения в кабинете и потоке партнёра ===== */
body[id^="module-marketplace"] #center_column,
body[id^="module-konokextguest"] #center_column,body[id^="module-cardreader"] #center_column,
body[id^="module-fiscaldriver"] #center_column { padding: 24px 0 40px !important; min-height: 40vh; }
[id^="module-marketplace"] .alert, [id^="module-konokextguest"] .alert, [id^="module-fiscaldriver"] .alert,
[id^="module-roomcalendar"] .alert, [id^="module-elqrpayment"] .alert, [id^="module-dynamicqr"] .alert {
  border-radius: 18px !important; border: 1px solid #F1EADF !important; padding: 18px 22px !important;
  font-family: 'Onest', sans-serif; font-weight: 600; box-shadow: 0 4px 18px rgba(31,41,33,.05);
  max-width: 880px; margin-left: auto; margin-right: auto;
}
[id^="module-"] .alert-info, [id^="module-"] .alert-success {
  background: #E7F0EA !important; color: #2A4D3E !important; border-color: #CDE3D5 !important;
}
[id^="module-"] .alert-warning { background: #FFF1E4 !important; color: #9A4A00 !important; border-color: #F6D8BD !important; }
[id^="module-"] .alert-danger, [id^="module-"] .alert-error { background: #FEF2F2 !important; color: #B91C1C !important; border-color: #FECACA !important; }
/* хлебные крошки кабинета — плоский стиль как в редизайне */
[id^="module-"] .breadcrumb {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  padding: 18px 0 !important; box-shadow: none !important; font-size: 14px; line-height: 1.4;
}
/* прячем иконку-домик и её разделитель — крошки чисто текстом (как «Главная › Отели › …») */
[id^="module-"] .breadcrumb .home,
[id^="module-"] .breadcrumb .home + .navigation-pipe { display: none !important; }


/* ===== KONOK: белый хедер на страницах кабинета/партнёра (recolor стокового) ===== */
body[id^="module-marketplace"] header, body[id^="module-konokextguest"] header,body[id^="module-cardreader"] header,
body[id^="module-fiscaldriver"] header, body[id^="module-roomcalendar"] header,
body[id^="module-elqrpayment"] header, body[id^="module-dynamicqr"] header,
body[id^="module-customotp"] header,
body[id^="module-marketplace"] header .banner, body[id^="module-marketplace"] header .header-top,
body[id^="module-konokextguest"] header .banner,body[id^="module-cardreader"] header .banner, body[id^="module-konokextguest"] header .header-top,body[id^="module-cardreader"] header .header-top,
body[id^="module-fiscaldriver"] header .banner, body[id^="module-fiscaldriver"] header .header-top {
  background: #fff !important; background-image: none !important; color: #1F2921 !important;
}
body[id^="module-marketplace"] header, body[id^="module-konokextguest"] header,body[id^="module-cardreader"] header,
body[id^="module-fiscaldriver"] header, body[id^="module-roomcalendar"] header,
body[id^="module-elqrpayment"] header, body[id^="module-dynamicqr"] header {
  box-shadow: 0 2px 14px rgba(31,41,33,.07) !important; border-bottom: 1px solid #F1EADF !important;
}
[id^="module-"] header a, [id^="module-"] header span, [id^="module-"] header li > a,
[id^="module-"] header .account_user_name, [id^="module-"] header nav a {
  color: #1F2921 !important; text-shadow: none !important;
}
/* бейдж корзины — белая цифра на оранжевом, не наследует тёмный цвет хедера модульных страниц */[id^="module-"] header .kn-cart-badge, [id^="module-"] header .kn-cart-badge span { color: #fff !important; }
[id^="module-"] header a:hover, [id^="module-"] header nav a:hover,
[id^="module-"] header .sf-menu > li.sfHover > a, [id^="module-"] header .sf-menu > li:hover > a,
[id^="module-"] header li.active > a { color: #E2640A !important; }
[id^="module-"] header .header_user_info i, [id^="module-"] header .icon, [id^="module-"] header [class^="icon-"] { color: #1F2921 !important; }
/* выпадашки внутри хедера — на белом фоне читаемо */
[id^="module-"] header .dropdown-menu { background: #fff !important; border: 1px solid #F1EADF !important; }
[id^="module-"] header .dropdown-menu a { color: #1F2921 !important; }

/* ===== KONOK breadcrumb: чистые разделители ===== */
[id^="module-"] .breadcrumb .navigation-pipe { color: #C9C2B6 !important; font-size: 0 !important; text-indent: 0 !important; width: auto !important; display: inline-block !important; vertical-align: middle; }
[id^="module-"] .breadcrumb .navigation-pipe::before { content: "\203A" !important; font-size: 16px !important; color: #C9C2B6 !important; padding: 0 8px; text-indent: 0 !important; display: inline-block; }
[id^="module-"] .breadcrumb a, [id^="module-"] .breadcrumb a span { color: #6B7280 !important; font-weight: 600; }
[id^="module-"] .breadcrumb a:hover { color: #E2640A !important; }
[id^="module-"] .breadcrumb .home .icon-home { color: #E2640A !important; }
[id^="module-"] .breadcrumb .navigation_page, [id^="module-"] .breadcrumb > span:last-child { color: #1F2921 !important; font-weight: 700; }


/* header#header recolor hi-spec (бьёт автозагрузочный #header{green}) */
body[id^="module-marketplace"] #header, body[id^="module-konokextguest"] #header,body[id^="module-cardreader"] #header,
body[id^="module-fiscaldriver"] #header, body[id^="module-roomcalendar"] #header,
body[id^="module-elqrpayment"] #header, body[id^="module-dynamicqr"] #header,
body[id^="module-customotp"] #header,
body[id^="module-marketplace"] #header .banner, body[id^="module-marketplace"] #header #nav-main,
body[id^="module-marketplace"] #header .header-top, body[id^="module-konokextguest"] #header .header-top,body[id^="module-cardreader"] #header .header-top,
body[id^="module-fiscaldriver"] #header .header-top {
  background: #fff !important; background-image: none !important; border: 0 !important;
}

/* ===== KONOK cabinet header standalone ===== */
.kn-header{display:none}
.kn-header *{box-sizing:border-box}
body[id^="module-marketplace"] .kn-header,body[id^="module-konokextguest"] .kn-header,body[id^="module-cardreader"] .kn-header,
body[id^="module-fiscaldriver"] .kn-header,body[id^="module-roomcalendar"] .kn-header,
body[id^="module-elqrpayment"] .kn-header,body[id^="module-dynamicqr"] .kn-header{
  display:block;position:sticky;top:0;z-index:1000;background:#fff;
  border-bottom:1px solid #F1EADF;box-shadow:0 2px 12px rgba(31,41,33,.05)}
body:has(#konok-page) .kn-header,body:has(#konok-home) .kn-header{display:none!important}
body[id^="module-marketplace"] .header-container,body[id^="module-konokextguest"] .header-container,body[id^="module-cardreader"] .header-container,
body[id^="module-fiscaldriver"] .header-container,body[id^="module-roomcalendar"] .header-container,
body[id^="module-elqrpayment"] .header-container,body[id^="module-dynamicqr"] .header-container{display:none!important}
.kn-header__inner{max-width:1280px;margin:0 auto;padding:0 24px;height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.kn-header__logo{display:flex;align-items:center;flex:0 0 auto}
.kn-header__logo img{height:38px;width:auto;object-fit:contain;display:block}
.kn-header__nav{display:flex;align-items:center;gap:32px}
.kn-header__nav a{font-family:'Onest',sans-serif;font-size:14px;font-weight:600;color:#1F2921;text-decoration:none;transition:color .2s}
.kn-header__nav a:hover{color:#E2640A}
.kn-header__actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.kn-header__divider{width:1px;height:24px;margin:0 8px;background:#F1EADF;display:inline-block}
.kn-pill-wrap{position:relative}
.kn-header .kn-pill{display:inline-flex;align-items:center;gap:6px;font-family:'Onest',sans-serif;font-size:14px;font-weight:600;color:#1F2921;background:transparent;border:0;cursor:pointer;padding:6px 12px;border-radius:9999px;transition:background .2s;text-decoration:none;line-height:1}
.kn-header .kn-pill:hover{background:#F7F2E9;color:#1F2921}
.kn-header .kn-pill svg{width:16px;height:16px;flex:0 0 auto}
.kn-header .kn-pill .kn-pill__chev{width:14px;height:14px;opacity:.7}
.kn-header .kn-pill .kn-pill__lbl{white-space:nowrap}
.kn-header .kn-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:200px;background:#fff;border:1px solid #F1EADF;border-radius:16px;box-shadow:0 10px 30px rgba(31,41,33,.12);padding:6px;z-index:1100}
.kn-header .kn-menu__item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;font-size:14px;font-weight:500;color:#1F2921;text-decoration:none;transition:background .15s}
.kn-header .kn-menu__item:hover{background:#F7F2E9;color:#1F2921}
.kn-header .kn-menu__item.is-current{color:#E2640A;font-weight:700}
.kn-header .kn-menu__item svg{width:16px;height:16px;flex:0 0 auto}
.kn-header .kn-som-sign{text-decoration:underline;text-underline-offset:2px}
@media(max-width:860px){.kn-header__nav{display:none}}

/* ===== KONOK cabinet layout width (seller area не 880) ===== */
body[id^="module-marketplace"] #columns,body[id^="module-konokextguest"] #columns,body[id^="module-cardreader"] #columns,body[id^="module-fiscaldriver"] #columns,body[id^="module-roomcalendar"] #columns,body[id^="module-elqrpayment"] #columns,body[id^="module-dynamicqr"] #columns,
body[id^="module-marketplace"] #center_column,body[id^="module-konokextguest"] #center_column,body[id^="module-cardreader"] #center_column,body[id^="module-fiscaldriver"] #center_column,body[id^="module-roomcalendar"] #center_column,body[id^="module-elqrpayment"] #center_column,body[id^="module-dynamicqr"] #center_column{max-width:1280px!important;width:auto!important}
body[id^="module-marketplace"] .breadcrumb,body[id^="module-konokextguest"] .breadcrumb,body[id^="module-cardreader"] .breadcrumb,body[id^="module-fiscaldriver"] .breadcrumb,body[id^="module-roomcalendar"] .breadcrumb,body[id^="module-elqrpayment"] .breadcrumb,body[id^="module-dynamicqr"] .breadcrumb{max-width:1280px!important;margin-left:auto!important;margin-right:auto!important}
body[id^="module-marketplace"] .list_content ul,body[id^="module-konokextguest"] .list_content ul,body[id^="module-cardreader"] .list_content ul,body[id^="module-fiscaldriver"] .list_content ul,body[id^="module-roomcalendar"] .list_content ul,body[id^="module-elqrpayment"] .list_content ul,body[id^="module-dynamicqr"] .list_content ul{overflow:visible!important}

/* ===== KONOK cabinet dashboard reskin (Webkul seller area) ===== */
[id^="module-"] .wk-mp-content,[id^="module-"] .wk-mp-page-content{font-family:'Onest',sans-serif;color:#1F2921}
[id^="module-"] .wk-mp-content h1,[id^="module-"] .wk-mp-content h2,[id^="module-"] .wk-mp-content h3,[id^="module-"] .wk-mp-content h4,[id^="module-"] .wk-mp-content h5,[id^="module-"] .panel-title,[id^="module-"] .panel h3,[id^="module-"] .panel h4{font-family:'Nunito','Onest',sans-serif!important;color:#1F2921!important;font-weight:800!important}
[id^="module-"] .wk-mp-content hr,[id^="module-"] .panel hr{border-color:#F1EADF!important;opacity:1}
/* панели → KONOK-карточки */
[id^="module-"] .panel{background:#fff!important;border:1px solid #F1EADF!important;border-radius:18px!important;box-shadow:0 6px 24px rgba(31,41,33,.06)!important;padding:22px 24px!important;margin-bottom:22px!important}
[id^="module-"] .panel-content{background:transparent!important}
[id^="module-"] .panel-heading,[id^="module-"] .panel-title{background:transparent!important;border:0!important;padding:0 0 6px!important;font-size:18px!important}
/* KPI badge-карточки */
[id^="module-"] .badges-wrapper{display:flex!important;flex-wrap:wrap;gap:14px}
[id^="module-"] .badge-wrapper{border:1px solid rgba(31,41,33,.06)!important;border-radius:16px!important;padding:18px 20px!important;box-shadow:0 4px 16px rgba(31,41,33,.05)!important;min-width:150px;flex:1 1 0}
[id^="module-"] .badge-wrapper b,[id^="module-"] .badge-wrapper strong,[id^="module-"] .badge-wrapper .badge-count{font-family:'Nunito',sans-serif!important;font-weight:800!important;color:#1F2921!important}
/* stat-box (метрики) */
[id^="module-"] .stat-box{background:#fff!important;border:1px solid #F1EADF!important;border-radius:14px!important;padding:16px!important;box-shadow:0 3px 12px rgba(31,41,33,.04)!important}
[id^="module-"] .stat-box .value-wrapper{color:#E2640A!important;font-family:'Nunito',sans-serif!important;font-weight:800!important;font-size:20px!important}
[id^="module-"] .stat-box .title-wrapper{color:#6B7280!important;font-weight:600!important}
/* dash performance "--" */
[id^="module-"] .dash-performance{display:flex;flex-wrap:wrap;gap:12px}
[id^="module-"] .dash-item{background:#FBF8F2!important;border:1px solid #F1EADF!important;border-radius:14px!important;padding:14px 16px!important;text-align:center}
/* nav-tabs → KONOK underline-pills */
[id^="module-"] .nav-tabs{border-bottom:1px solid #F1EADF!important;gap:4px;display:flex;flex-wrap:wrap}
[id^="module-"] .nav-tabs > li{margin-bottom:-1px}
[id^="module-"] .nav-tabs > li > a{border:0!important;border-radius:12px 12px 0 0!important;color:#6B7280!important;font-weight:600!important;background:transparent!important;padding:10px 16px!important;margin:0!important}
[id^="module-"] .nav-tabs > li.active > a,[id^="module-"] .nav-tabs > li > a:hover{color:#E2640A!important;background:#FFF1E4!important;border-bottom:2px solid #E2640A!important}
/* инпуты/селекты/дейтпикер */
[id^="module-"] .wk-mp-content select,[id^="module-"] .wk-mp-content .form-control,[id^="module-"] .input-date.form-control{border:1px solid #E7DECF!important;border-radius:12px!important;color:#1F2921!important;box-shadow:none!important;background:#fff!important;height:auto!important;padding:10px 14px!important}
[id^="module-"] .input-group .btn.setPreselectDateRange{border:1px solid #E7DECF!important;background:#fff!important;color:#6B7280!important;font-weight:600!important;border-radius:0!important;box-shadow:none!important}
[id^="module-"] .input-group .btn.setPreselectDateRange.btn-primary,[id^="module-"] .input-group .btn.setPreselectDateRange:hover{background:#E2640A!important;border-color:#E2640A!important;color:#fff!important}
[id^="module-"] .input-group > .btn:first-child{border-radius:12px 0 0 12px!important}
[id^="module-"] .input-group > .btn:last-child{border-radius:0 12px 12px 0!important}
/* общие btn-primary → brand pill */
[id^="module-"] .btn-primary{background:#E2640A!important;border-color:#E2640A!important;color:#fff!important;border-radius:10px!important;font-weight:700!important}
[id^="module-"] .btn-primary:hover{background:#F0853B!important;border-color:#F0853B!important}
/* таблицы */
[id^="module-"] .table-responsive{border-radius:14px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border:1px solid #F1EADF}
[id^="module-"] .wk-mp-content table.table{margin:0!important}
[id^="module-"] .wk-mp-content table.table > thead > tr > th{background:#FBF8F2!important;color:#1F2921!important;border-color:#F1EADF!important;font-weight:700!important}
[id^="module-"] .table-striped > tbody > tr:nth-child(odd){background:#FCFAF6!important}
[id^="module-"] .wk-mp-content .table > tbody > tr > td{border-color:#F1EADF!important;color:#1F2921}

/* --- dashboard accents → brand --- */
[id^="module-"] .dash-trend-graph-select.active .badge-wrapper{background:#FFF1E4!important;border-color:#F6D9BD!important}
[id^="module-"] .dash-trend-graph-select.active .data_value{color:#E2640A!important;font-weight:800!important}

/* --- graph-select tabs (Продажи/Заказы) → KONOK --- */
[id^="module-"] .dash-trends-wrapper{display:flex!important;flex-wrap:wrap;gap:12px}
[id^="module-"] .dash-trend-graph-select{background:#fff!important;border:1px solid #F1EADF!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(31,41,33,.04)!important;color:#1F2921!important;padding:14px!important}
[id^="module-"] .dash-trend-graph-select .dash-item{background:transparent!important;border:0!important;padding:0!important;color:#6B7280!important;font-weight:700!important}
[id^="module-"] .dash-trend-graph-select .data_value{color:#1F2921!important;font-family:'Nunito',sans-serif!important;font-weight:800!important}
[id^="module-"] .dash-trend-graph-select.active{background:#E2640A!important;border-color:#E2640A!important;color:#fff!important}
[id^="module-"] .dash-trend-graph-select.active .dash-item,[id^="module-"] .dash-trend-graph-select.active .data_value,[id^="module-"] .dash-trend-graph-select.active span{color:#fff!important;background:transparent!important}

/* --- title-bar: весь текст белый --- */
[id^="module-"] .wk-mp-page-title,[id^="module-"] .wk-mp-page-title *{color:#fff!important}
[id^="module-"] .wk-mp-page-title a:hover{color:#FFD9B8!important}

/* --- KPI-карточки: чистые белые (как на аккаунте) --- */
[id^="module-"] .badge-wrapper{border:1px solid rgba(31,41,33,.06)!important;box-shadow:0 4px 16px rgba(31,41,33,.05)!important;border-radius:16px!important;padding:18px 20px!important}
[id^="module-"] .badges-wrapper .badge-wrapper{text-align:center!important}
[id^="module-"] .badges-wrapper .badge-wrapper .value-wrapper,[id^="module-"] .badges-wrapper .badge-wrapper .title-wrapper{text-align:center!important}
[id^="module-"] .badges-wrapper .badge-strip{display:block!important;height:4px!important;border-radius:9999px!important;margin:0 auto 10px!important;width:38px!important}
[id^="module-"] .badge-wrapper .badge-count,[id^="module-"] .badge-wrapper b,[id^="module-"] .badge-wrapper strong{color:#1F2921!important;font-family:'Nunito',sans-serif!important;font-weight:800!important}
[id^="module-"] .badge-wrapper .badge-title,[id^="module-"] .badge-wrapper small,[id^="module-"] .badge-wrapper p{color:#6B7280!important}

/* --- внутренние отступы контента кабинета --- */
[id^="module-"] .wk-mp-page-content{padding:18px 24px 24px!important}
[id^="module-"] .wk-mp-content{padding:0!important}
[id^="module-"] .wk-mp-page-title{padding:16px 24px!important;margin-bottom:0!important}



/* ===================================================================
   KONOK cabinet v2: единые контролы форм, DataTables, кнопки
   (fix разнокалиберных полей / не на своей высоте)
   =================================================================== */

/* --- единая высота 42px и вид для всех контролов форм --- */
[id^="module-"] .wk-mp-content input.form-control,
[id^="module-"] .wk-mp-content select.form-control,
[id^="module-"] form input.form-control,
[id^="module-"] form select.form-control,
[id^="module-"] .selector{
  height:42px!important; min-height:42px!important;
  border:1px solid #E7DECF!important; border-radius:12px!important;
  background:#fff!important; background-image:none!important; box-shadow:none!important;
  color:#1F2921!important; font-family:'Onest',sans-serif!important; box-sizing:border-box!important;
}
[id^="module-"] input.form-control,
[id^="module-"] select.form-control{ padding:8px 14px!important; line-height:24px!important; }
[id^="module-"] .wk-mp-content textarea.form-control,
[id^="module-"] form textarea.form-control{
  border:1px solid #E7DECF!important; border-radius:12px!important; background:#fff!important;
  box-shadow:none!important; padding:10px 14px!important; min-height:90px!important; color:#1F2921!important;
}
[id^="module-"] input.form-control:focus,
[id^="module-"] select.form-control:focus,
[id^="module-"] textarea.form-control:focus,
[id^="module-"] .selector.active{
  border-color:#E2640A!important; box-shadow:0 0 0 3px rgba(226,100,10,.12)!important;
}

/* --- uniform-обёртка <select>: выглядит как input + аккуратная стрелка --- */
[id^="module-"] .selector{ position:relative!important; display:inline-block!important; overflow:hidden!important; padding:0!important; }
[id^="module-"] .form-group .selector,
[id^="module-"] fieldset .selector,
[id^="module-"] .row .selector{ width:100%!important; }
[id^="module-"] .selector > span{
  display:block!important; height:40px!important; line-height:40px!important;
  padding:0 36px 0 14px!important; width:100%!important; background:none!important;
  color:#1F2921!important; font-family:'Onest',sans-serif!important;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
[id^="module-"] .selector::after{
  content:""; position:absolute; right:14px; top:50%; width:8px; height:8px;
  border-right:2px solid #9CA3AF; border-bottom:2px solid #9CA3AF;
  transform:translateY(-70%) rotate(45deg); pointer-events:none;
}
[id^="module-"] .selector select{
  position:absolute!important; left:0; top:0; width:100%!important; height:42px!important;
  opacity:0!important; margin:0!important; border:0!important; cursor:pointer;
}

/* --- chosen (форма отеля: страна/штат) под input --- */
[id^="module-"] .chosen-container{ width:100%!important; }
[id^="module-"] .chosen-container-single .chosen-single{
  height:42px!important; line-height:40px!important; border:1px solid #E7DECF!important;
  border-radius:12px!important; background:#fff!important; box-shadow:none!important;
  padding:0 14px!important; color:#1F2921!important;
}
[id^="module-"] .chosen-container-single .chosen-single div b{ background-position:0 12px!important; }
[id^="module-"] .chosen-container-active .chosen-single{ border-color:#E2640A!important; }

/* --- intl-tel (телефон): выровнять высоту --- */
[id^="module-"] .intl-tel-input,[id^="module-"] .iti{ width:100%!important; display:block!important; }
[id^="module-"] .intl-tel-input input,[id^="module-"] .iti input{ height:42px!important; }

/* --- DataTables: «Отображать [N] записей на страницу» в одну строку --- */
[id^="module-"] .dataTables_length label{
  display:flex!important; align-items:center!important; gap:8px!important;
  white-space:nowrap!important; font-weight:600!important; color:#1F2921!important; margin:0!important;
}
[id^="module-"] .dataTables_length .selector{ width:auto!important; min-width:64px!important; flex:0 0 auto; }
[id^="module-"] .dataTables_length .selector > span{ padding:0 30px 0 12px!important; width:auto!important; min-width:28px; }
[id^="module-"] .dataTables_filter label{
  display:flex!important; align-items:center!important; gap:8px!important;
  white-space:nowrap; font-weight:600!important; color:#1F2921!important; margin:0!important;
}
[id^="module-"] .dataTables_filter input{ height:42px!important; }
[id^="module-"] .dataTables_wrapper .row{ align-items:center; }

/* --- таблицы DataTables на всю ширину карточки (убрать пустую полосу справа) --- */
[id^="module-"] .dataTables_wrapper{ width:100%!important; }
[id^="module-"] .dataTables_wrapper table.dataTable,
[id^="module-"] table.dataTable{ width:100%!important; }

/* --- зелёные стоковые кнопки (btn-success: «Создать заказы») → бренд --- */
[id^="module-"] .btn-success,
[id^="module-"] a.btn-success,
[id^="module-"] button.btn-success{
  background:#E2640A!important; border-color:#E2640A!important; color:#fff!important;
  border-radius:10px!important; font-weight:700!important; box-shadow:0 6px 18px rgba(226,100,10,.2)!important;
}
[id^="module-"] .btn-success:hover{ background:#F0853B!important; border-color:#F0853B!important; }

/* --- кнопка «Добавить…» (pull-right): отступ снизу, чтобы не липла к плашке/таблице --- */
[id^="module-"] .wk_text_right.pull-right{ margin:0 0 16px!important; }
[id^="module-"] .wk_text_right.pull-right > a,
[id^="module-"] .wk_text_right.pull-right > .btn{ margin:0!important; }

/* --- input-group (дейтпикер) высота кнопок под 42px --- */
[id^="module-"] .input-group .form-control{ height:42px!important; }
[id^="module-"] .input-group-btn > .btn,
[id^="module-"] .input-group .btn{ height:42px!important; }

/* --- table-responsive на всю ширину формы (добиваем пустую полосу справа) --- */
[id^="module-"] .wk-mp-page-content .table-responsive,
[id^="module-"] form .table-responsive{ width:100%!important; display:block!important; }
[id^="module-"] .table-responsive > .dataTables_wrapper,
[id^="module-"] .table-responsive > table{ width:100%!important; }

/* --- fix: intl-tel separate-dial-code — вернуть левый отступ под флаг+код (мой общий padding его перебивал) --- */
[id^="module-"] .iti--separate-dial-code input.form-control,
[id^="module-"] .iti--separate-dial-code input[type=tel],
[id^="module-"] .intl-tel-input.separate-dial-code input,
[id^="module-"] .intl-tel-input input[type=tel]{ padding-left:96px!important; }
[id^="module-"] .iti__flag-container,[id^="module-"] .intl-tel-input .flag-container{ height:42px!important; }
[id^="module-"] .iti__selected-flag,[id^="module-"] .intl-tel-input .selected-flag{ display:flex!important; align-items:center!important; height:42px!important; }


/* ===== KONOK breadcrumb: гасим стоковые «стрелки»-сегменты (overlap + sprite) ===== */
[id^="module-"] .breadcrumb a,
[id^="module-"] .breadcrumb a.home {
  background: transparent !important; padding: 0 !important; margin: 0 !important;
  border-radius: 0 !important; width: auto !important; box-shadow: none !important;
  text-indent: 0 !important;
}
[id^="module-"] .breadcrumb .navigation-pipe {
  width: auto !important; text-indent: 0 !important; background: none !important;
  overflow: visible !important; min-height: 0 !important;
}
[id^="module-"] .breadcrumb { overflow: visible !important; }

/* ===== KONOK breadcrumb: убить псевдо-стрелки/ромбы сегментов (a:before/:after) ===== */
[id^="module-"] .breadcrumb a:before,
[id^="module-"] .breadcrumb a:after,
[id^="module-"] .breadcrumb a.home:before,
[id^="module-"] .breadcrumb a.home:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
}

/* Fix #7: длинные подписи KPI-карточек (Средняя продолжительность пребывания) переносим, не даём вылезать за карточку */
[id^="module-"] .stat-box{min-width:0!important;overflow:hidden!important}
[id^="module-"] .stat-box .title-wrapper,[id^="module-"] .stat-box .title-wrapper p{overflow-wrap:break-word!important;word-break:break-word!important;hyphens:auto!important;white-space:normal!important;margin:0!important;min-width:0!important}

/* Fix #35: длинные названия услуг в таблице «Guests inside» переносим, не даём вылезать за таблицу */
#guests_inside_table{table-layout:fixed;width:100%}
#guests_inside_table td,#guests_inside_table th{word-break:break-word;overflow-wrap:anywhere;white-space:normal;vertical-align:middle}
