/* AKTUN_FIX_V2 — flush header, hide license nag, cover login bg */
html, body {
  margin: 0 !important;
  padding-top: 0 !important;
}
body > div:first-of-type a[href*="activate"] {
  display: none !important;
}
body > div:has(> a[href*="activate"]),
div[style*="font-size: 15pt"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pace,
.pace-progress,
.pace-activity,
.pace-inactive {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}
.header-navbar,
.header-navbar.fixed-top,
.header-navbar.navbar-static-top,
.header-navbar.navbar-fixed-top {
  top: 0 !important;
  margin-top: 0 !important;
}
.header-navbar.navbar-border {
  border-top: 0 !important;
}
.app-content.content,
.app-content,
.content-wrapper,
.content-body,
body.horizontal-layout .app-content,
body.horizontal-layout.horizontal-menu .content-wrapper,
body.vertical-layout .app-content,
body.blank-page .app-content,
body.bg-full-screen-image .app-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.fixed-navbar {
  padding-top: 4.5rem !important;
}
body.fixed-navbar .header-navbar.fixed-top,
body.fixed-navbar .header-navbar {
  top: 0 !important;
}
body.bg-full-screen-image {
  background-size: cover !important;
  background-position: center !important;
  min-height: 100vh;
}
body.bg-full-screen-image .card-header {
  padding-top: 0 !important;
  padding-bottom: 0.25rem !important;
}
body.bg-full-screen-image .card-header img,
body.bg-full-screen-image .avatar-100 {
  margin-top: 0 !important;
}
.navbar-brand img.brand-logo,
img.brand-logo {
  max-height: 42px;
  width: auto;
}

/* EC-LINE-POS-PRINT: ticket 80mm ESC/POS (EC Line) */
#print_section, #print_section .receipt {
  width: 76mm;
  max-width: 76mm;
  font-family: "Courier New", Courier, monospace;
  font-size: 11pt;
  line-height: 13pt;
  color: #000;
}
#print_section img { max-width: 76mm; max-height: 22mm; height: auto; }
@media print {
  @page { size: 80mm auto; margin: 2mm; }
  html, body { width: 76mm !important; margin: 0 !important; background: #fff !important; }
  .header-navbar, .navbar, .modal-footer, .border_no_print + .modal-footer,
  nav, .btn, .modal-header { display: none !important; }
  .modal, .modal-dialog, .modal-content, .modal-body, #print_section {
    position: static !important;
    width: 76mm !important;
    max-width: 76mm !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  #print_section .receipt { width: 76mm; max-width: 76mm; }
}
