/* View-specific styles extracted from inline <style> blocks. */

.dashboard-soft {
  padding-top: 6px;
  background: transparent;
  border-radius: 0;
  padding-bottom: 12px;
}

.dashboard-soft .row {
  margin-bottom: 8px;
}

.dashboard-soft .box.box-danger {
  border-top: 0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(44, 62, 80, 0.08);
  background: #ffffff;
  overflow: hidden;
}

.dashboard-soft .box-header.with-border {
  border-bottom: 1px solid #f2f2f2;
  padding: 14px 18px 12px;
  background: #fcfcfc;
}

.dashboard-soft .box-title {
  font-weight: 600;
  color: #5f5f5f;
  letter-spacing: 0.2px;
}

.dashboard-soft .box-body {
  padding: 12px 10px 8px;
  display: block;
}

.dashboard-soft .box-footer {
  border-top: 0;
  background: transparent;
  padding: 4px 16px 14px;
}

.dashboard-soft .info-box {
  border-radius: 12px;
  min-height: 90px;
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.08);
  border: 0;
  overflow: hidden;
  transition: box-shadow 0.18s ease;
  display: flex;
  align-items: stretch;
}

.dashboard-soft .info-box:hover {
  box-shadow: 0 5px 12px rgba(44, 62, 80, 0.11);
}

.dashboard-soft .info-box-icon {
  border-radius: 12px 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: auto;
  min-height: 100%;
}

.dashboard-soft .info-box-content {
  padding: 12px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.dashboard-soft .info-box-text {
  display: block;
  margin-bottom: 4px;
  white-space: normal;
  line-height: 1.35;
}

.dashboard-soft .info-box-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.dashboard-soft .info-box-text > div,
.dashboard-soft .info-box-number > div {
  display: block;
  width: 100%;
}

.dashboard-soft .info-box-text > div {
  font-size: inherit;
  line-height: 1.35;
}

.dashboard-soft .info-box-number > div {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.dashboard-soft .bg-green {
  background: #00a65a !important;
}

.dashboard-soft .bg-red {
  background: #dd4b39 !important;
}

.dashboard-soft .bg-yellow {
  background: #f39c12 !important;
}

.dashboard-soft .bg-maroon {
  background: #d81b60 !important;
}

.dashboard-soft .bg-teal {
  background: #39cccc !important;
}

.dashboard-soft .bg-aqua {
  background: #00c0ef !important;
}

.dashboard-soft .prints_last_1_day,
.dashboard-soft .prints_last_7_days,
.dashboard-soft .prints_last_30_days,
.dashboard-soft .prints_last_30_days_no_contract,
.dashboard-soft .Printers_reporting,
.dashboard-soft .printers_not_reporting,
.dashboard-soft .clients_reporting,
.dashboard-soft .clients_not_reporting,
.dashboard-soft .u_toner_alarms,
.dashboard-soft .u_maintenance_alarms,
.dashboard-soft .u_orders,
.dashboard-soft .u_tickets,
.dashboard-soft .30d_toner_alarms,
.dashboard-soft .30d_waste_maintenance_alarms,
.dashboard-soft .30d_jam_maintenance_alarms,
.dashboard-soft .30d_img_maintenance_alarms,
.dashboard-soft .30d_field_maintenance_alarms,
.dashboard-soft .30d_clean_maintenance_alarms {
  display: block;
  width: 100%;
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 991px) {
  .dashboard-soft .box-body {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.maintenance-toolbar,
.meters-toolbar,
.printer-status-toolbar,
.system-toolbar,
.toner-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
  width: 100%;
}

.maintenance-toolbar-right,
.meters-toolbar-right,
.printer-status-toolbar-right,
.system-toolbar-right,
.toner-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-left: auto;
  max-width: 100%;
}

.maintenance-search,
.meters-search,
.printer-status-search,
.system-search,
.toner-search {
  width: 200px;
  max-width: 100%;
}

.maintenance-search.input-group,
.meters-search.input-group,
.printer-status-search.input-group,
.system-search.input-group,
.toner-search.input-group {
  display: flex;
  align-items: stretch;
}

.maintenance-search .input-group-addon,
.maintenance-search .form-control,
#maintenance-page-size,
.maintenance-toolbar .btn,
.meters-search .input-group-addon,
.meters-search .form-control,
#meters-page-size,
.meters-toolbar .btn,
.printer-status-search .input-group-addon,
.printer-status-search .form-control,
#printer-status-page-size,
.printer-status-toolbar .btn,
.system-search .input-group-addon,
.system-search .form-control,
#system-page-size,
.system-toolbar .btn,
.toner-search .input-group-addon,
.toner-search .form-control,
#toner-page-size,
.toner-toolbar .btn {
  height: 30px;
}

.maintenance-search .input-group-addon,
.meters-search .input-group-addon,
.printer-status-search .input-group-addon,
.system-search .input-group-addon,
.toner-search .input-group-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 6px 10px;
  line-height: 1;
  border-right: 0;
}

.maintenance-search .form-control,
.meters-search .form-control,
.printer-status-search .form-control,
.system-search .form-control,
.toner-search .form-control {
  flex: 1 1 auto;
  padding: 6px 10px;
  font-size: 12px;
  border-left: 1px solid #d2d6de;
}

#maintenance-page-size,
#meters-page-size,
#printer-status-page-size,
#system-page-size,
#toner-page-size {
  width: 56px;
  padding: 4px 6px;
  font-size: 12px;
}

.maintenance-toolbar .btn,
.meters-toolbar .btn,
.printer-status-toolbar .btn,
.system-toolbar .btn,
.toner-toolbar .btn {
  padding: 4px 10px;
  font-size: 12px;
}

.maintenance-columns-menu,
.meters-columns-menu,
.printer-status-columns-menu,
.system-columns-menu,
.toner-columns-menu {
  padding: 10px 12px;
  min-width: 180px;
  max-height: 280px;
  overflow-y: auto;
}

.maintenance-columns-menu label,
.meters-columns-menu label,
.printer-status-columns-menu label,
.system-columns-menu label,
.toner-columns-menu label {
  display: block;
  font-weight: 400;
  margin-bottom: 6px;
  white-space: nowrap;
}

.maintenance-grid-wrap,
.meters-grid-wrap,
.printer-status-grid-wrap,
.system-grid-wrap,
.toner-grid-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.maintenance-grid-wrap table,
.meters-grid-wrap table,
.printer-status-grid-wrap table,
.system-grid-wrap table,
.toner-grid-wrap table {
  min-width: 1420px;
  width: max-content;
  table-layout: fixed;
}

.toner-grid-wrap table {
  min-width: 1280px;
}

.maintenance-grid-wrap table th,
.maintenance-grid-wrap table td,
.meters-grid-wrap table th,
.meters-grid-wrap table td,
.printer-status-grid-wrap table th,
.printer-status-grid-wrap table td,
.system-grid-wrap table th,
.system-grid-wrap table td,
.toner-grid-wrap table th,
.toner-grid-wrap table td {
  vertical-align: middle;
}

.maintenance-grid-wrap table th,
.maintenance-grid-wrap table td,
.meters-grid-wrap table th,
.meters-grid-wrap table td,
.printer-status-grid-wrap table th,
.printer-status-grid-wrap table td,
.system-grid-wrap table th,
.system-grid-wrap table td,
.toner-grid-wrap table th,
.toner-grid-wrap table td {
  padding: 5px 6px;
  line-height: 1.25;
}

.maintenance-grid-wrap th,
.maintenance-grid-wrap td,
.meters-grid-wrap th,
.meters-grid-wrap td,
.printer-status-grid-wrap th,
.printer-status-grid-wrap td,
.system-grid-wrap th,
.system-grid-wrap td,
.toner-grid-wrap th,
.toner-grid-wrap td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.maintenance-grid-wrap thead th,
.meters-grid-wrap thead th,
.printer-status-grid-wrap thead th,
.system-grid-wrap thead th,
.toner-grid-wrap thead th {
  position: relative;
  user-select: none;
}

.maintenance-grid-wrap thead th.is-sortable,
.meters-grid-wrap thead th.is-sortable,
.printer-status-grid-wrap thead th.is-sortable,
.system-grid-wrap thead th.is-sortable,
.toner-grid-wrap thead th.is-sortable {
  cursor: pointer;
}

.maintenance-grid-wrap thead th.is-sortable:after,
.meters-grid-wrap thead th.is-sortable:after,
.printer-status-grid-wrap thead th.is-sortable:after,
.system-grid-wrap thead th.is-sortable:after,
.toner-grid-wrap thead th.is-sortable:after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #bbb;
}

.maintenance-grid-wrap thead th.sort-asc:after,
.meters-grid-wrap thead th.sort-asc:after,
.printer-status-grid-wrap thead th.sort-asc:after,
.system-grid-wrap thead th.sort-asc:after,
.toner-grid-wrap thead th.sort-asc:after {
  border-top: 0;
  border-bottom: 5px solid #555;
}

.maintenance-grid-wrap thead th.sort-desc:after,
.meters-grid-wrap thead th.sort-desc:after,
.printer-status-grid-wrap thead th.sort-desc:after,
.system-grid-wrap thead th.sort-desc:after,
.toner-grid-wrap thead th.sort-desc:after {
  border-top: 5px solid #555;
}

.maintenance-grid-footer,
.meters-grid-footer,
.printer-status-grid-footer,
.system-grid-footer,
.toner-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.maintenance-grid-summary,
.meters-grid-summary,
.printer-status-grid-summary,
.system-grid-summary,
.toner-grid-summary {
  color: #666;
}

.maintenance-resize-handle,
.meters-resize-handle,
.printer-status-resize-handle,
.system-resize-handle,
.toner-resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
}

.maintenance-resize-handle:after,
.meters-resize-handle:after,
.printer-status-resize-handle:after,
.system-resize-handle:after,
.toner-resize-handle:after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 4px;
  width: 2px;
  background: rgba(221, 75, 57, 0.28);
  border-radius: 1px;
}

.maintenance-resize-handle:hover,
.maintenance-resize-handle.is-active,
.meters-resize-handle:hover,
.meters-resize-handle.is-active,
.printer-status-resize-handle:hover,
.printer-status-resize-handle.is-active,
.system-resize-handle:hover,
.system-resize-handle.is-active,
.toner-resize-handle:hover,
.toner-resize-handle.is-active {
  background: rgba(221, 75, 57, 0.12);
}

.maintenance-resize-handle:hover:after,
.maintenance-resize-handle.is-active:after,
.meters-resize-handle:hover:after,
.meters-resize-handle.is-active:after,
.printer-status-resize-handle:hover:after,
.printer-status-resize-handle.is-active:after,
.system-resize-handle:hover:after,
.system-resize-handle.is-active:after,
.toner-resize-handle:hover:after,
.toner-resize-handle.is-active:after {
  background: #dd4b39;
}

.maintenance-actions .btn,
.meters-actions .btn,
.printer-status-actions .btn,
.system-actions .btn,
.toner-actions .btn {
  margin-right: 4px;
}

.maintenance-actions .btn,
.meters-actions .btn,
.printer-status-actions .btn,
.system-actions .btn,
.toner-actions .btn {
  padding: 1px 4px;
  line-height: 1.2;
}

.maintenance-actions .btn:last-child,
.meters-actions .btn:last-child,
.printer-status-actions .btn:last-child,
.system-actions .btn:last-child,
.toner-actions .btn:last-child {
  margin-right: 0;
}

.maintenance-empty,
.meters-empty,
.printer-status-empty,
.system-empty,
.toner-empty {
  text-align: center;
  color: #777;
  padding: 24px 12px;
}

.toner-advice-panel {
  min-height: 72px;
}

.toner-advice-beta {
  color: #999;
  font-size: 11px;
  font-weight: 600;
  margin-left: 4px;
  text-transform: uppercase;
}

.toner-advice-loading,
.toner-advice-meta,
.toner-advice-reason {
  color: #555;
  font-size: 13px;
  line-height: 1.35;
}

.toner-advice-status {
  border-left: 4px solid #777;
  color: #444;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 5px;
  padding: 1px 0 1px 8px;
}

.toner-advice-status-send {
  border-left-color: #2f8f4e;
}

.toner-advice-status-postpone {
  border-left-color: #f39c12;
}

.toner-advice-status-warning {
  border-left-color: #f39c12;
}

.toner-advice-status-manual {
  border-left-color: #777;
}

.toner-advice-meta {
  font-weight: 600;
  margin-bottom: 0;
}

.consumables-modal-dialog {
  width: min(980px, calc(100vw - 48px));
}

.consumables-modal-body {
  padding: 22px 28px 26px;
}

.consumables-modal-title {
  padding: 0 0 12px;
}

.consumables-modal-title h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.consumables-modal-content {
  padding: 0;
}

.consumables-box {
  border-top: 3px solid #dd4b39;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  margin-bottom: 0;
}

.consumables-header {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 16px 34px 14px;
}

.consumables-header:before,
.consumables-header:after {
  display: none;
}

.consumables-header .close {
  position: absolute;
  top: 16px;
  right: 18px;
}

.consumables-header .col-sm-6 {
  float: none;
  padding: 0;
}

.consumables-header .box-header {
  border-bottom: 1px solid #f0f2f4;
  padding: 0 0 10px;
}

.consumables-list {
  max-height: min(62vh, 620px);
  overflow-y: auto;
  padding: 10px 34px 18px;
}

.consumable-item {
  padding: 11px 0 12px;
  border-bottom: 1px solid #f1f3f5;
}

.consumable-item:last-child {
  border-bottom: 0;
}

.consumable-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.consumable-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.consumable-value {
  flex: 0 0 auto;
  color: #4a5560;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.consumable-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  background: #edf1f4;
  border-radius: 999px;
}

.consumable-fill {
  height: 100%;
  background: #3c8dbc;
  border-radius: 999px;
}

.consumable-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.consumable-badge-ok {
  color: #2f6f21;
  background: #eaf7e5;
}

.consumable-badge-empty {
  color: #9f2f24;
  background: #fbe9e7;
}

.maintenance-toolbar .input-group,
.maintenance-toolbar .btn-group,
.maintenance-toolbar select,
.meters-toolbar .input-group,
.meters-toolbar .btn-group,
.meters-toolbar select,
.printer-status-toolbar .input-group,
.printer-status-toolbar .btn-group,
.printer-status-toolbar select,
.system-toolbar .input-group,
.system-toolbar .btn-group,
.system-toolbar select,
.toner-toolbar .input-group,
.toner-toolbar .btn-group,
.toner-toolbar select {
  flex: 0 0 auto;
}
