/* Shared header module: matches settings/printer header design */

.module-page-body {
  margin: 0;
  background: #f5f7fb;
  color: #212529;
}

.module-page-shell {
  background: #f5f7fb;
  border: none;
  box-shadow: none;
}

.module-page-header {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.module-page-header .module-back-btn {
  background: #6c757d;
  border: 2px solid #5a6268;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 8px 15px;
  flex-shrink: 0;
  white-space: nowrap;
}

.module-page-header .module-title {
  font-size: 18px;
  font-weight: 700;
  color: #495057;
  line-height: 1.2;
  margin-left: auto;
  margin-right: 15px;
  text-align: right;
  flex-shrink: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.pkg-icon {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}

.pkg-icon--lg {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
}

.pkg-icon--sm {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

@media (max-width: 768px) {
  .module-page-header .module-back-btn {
    font-size: 13px;
    padding: 8px 12px;
  }

  .module-page-header .module-title {
    font-size: 15px;
  }
}
