@font-face {
  font-family: 'Tahoma';
  src: url('fonts/tahoma.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static//Montserrat-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
body, .control-label {
  font-family: 'Tahoma';
}

.btn, .top-bar .top-elements .dropdown .dropdown-menu a, .top-bar .navbar-default .navbar-nav > li > a{
  font-family: 'Tahoma', 'Nunito', sans-serif;
}
.table>thead>tr>th {
  line-height: 0.92857143;
}

.table-condensed > thead > tr > th {
  align-content: space-evenly;
  text-transform: uppercase;
}
li.item-suggestions.ui-menu-item {
  text-transform: capitalize;
}
.register .register-right .sale-buttons {
  min-height: auto;
  padding: 5px 5px;
}

.register .register-summary .sub-total {
  height: 29px;
  line-height: 29px;
  font-weight: bold;
}
.register .register-summary .sub-total .value {
  font-weight: bold;
}
.register .register-summary .global-discount-group .key {
  max-width: unset;
}
.amount.total-amount {
  color: #6FD64B;
  font-size: 20px;
}
.amount_due .amount {
  color: #ff9e28;
  font-size: 20px;
}
.register .register-summary .amount-block {
  padding-top: 5px;
}
li.list-group-item.total_amount, .amount_due .key {
  font-size: 17px;
  color: #67676C;
}
.register .register-right .customer-badge {
  min-height: 60px;
  padding: 2px 28px;
}
.register .register-right .customer-badge .details .btn-edit {
  display: none;;
}
.add-payment a.btn {
  border-radius: 0;
  width: calc(34.5% - 8px);
  min-width: 75px;
  padding: 4px;
  font-size: 12px;
  flex-grow: 1;
  flex-shrink: 1;
}
.register .register-summary .add-payment .btn-pay {
  margin-bottom: 5px;
  font-family: revert;
}

th.item_sort_able.sales_total, .item_sort_able.sales_discount, .item_sort_able.sales_quantity, .item_sort_able.sales_price    {
  text-align: center;
}
.register .register-items .register-items-holder .register-item-content .register-item-name {
  font-size: 15px;
  text-transform: uppercase;
}
th.item_sort_able.item_name_heading {
  text-align: left;
}

button.btn.btn-suspended.dropdown-toggle.btn-sm, .register .register-right .sale-buttons .btn-cancel,
.register .register-right .sale-buttons .btn-more, .register .register-right .sale-buttons .btn-default, 
.register .register-right .sale-buttons .btn-suspended, .btn-sm {
  padding: 0px 10px;
  height: 25px;
}

.top-bar .top-elements > li > a {
  line-height: 41px;
  padding: 0px 17px;
  font-family: 'Tahoma';
}

.top_header_class {
  background: #337ab7;
  height: 40px;
  margin-top: 10px;
  margin-right: 3px;
  border-radius: 5px;
}
.top-bar .navbar-default .navbar-nav > .open > a, .top-bar .navbar-default .navbar-nav > .open > a:focus, .top-bar .navbar-default .navbar-nav > .open > a:hover {
  color: #f1f1f1;
}
.top-bar .top-elements .dropdown .drop-icon {
  top: 2px;
}
.top-bar .top-elements .dropdown .dropdown-menu.avatar_drop {
  min-width: 180px;
}
.top-bar .top-elements .dropdown .dropdown-menu.avatar_drop li a {
  padding: 5px 0px;
}
.top-bar .top-elements .dropdown .dropdown-menu.avatar_drop li a .text {
  top: 10px;
}
a.logout_button {
  top: 2px;
}
.top-bar .top-elements .dropdown .dropdown-menu.avatar_drop .logout_button .text {
  top: 7px;
}
.popup_button {
  width: 30%;
  text-wrap: balance;
  min-height: 60px;
}
.fullscreen {
  margin-left:0px
}
span.cart.cart-number.count {
  padding-left: 7px;
  padding-top: 13px !important;
  top: 5px;
  font-weight: bold;
  font-size: 22px;
  font-family: 'Montserrat';
}
.register .register-summary .add-payment .btn-pay {
  height: 32px;
}
ul.list-inline.print-buttons>li {
  padding-right: 0px !important;
  padding-left: 0px;
}
.dashboard-stats h3, .close-amount .pull-right {
  font-family: 'Montserrat' !important;
}
.modal .modal-content .modal-body {
  font-family: 'Tahoma';
}


@media only screen and (max-width: 767px) {
  .top-bar .top-elements .dropdown > a {
    overflow: auto;
  }
}


.table-reports tbody tr td {
  padding: 2px 5px;
  height: auto;
}
.table-reports thead th, .table-reports thead td {
  text-align: revert-layer !important;
}
.no-padding {
  padding: 0px;
}
.panel-piluku > .panel-heading {
  border-bottom: none;
}

@media print { 
  table {
    font-family: 'Tahoma';
  }
  #sortable_table th {
    font-weight: bold;
    background: #EEE !important;
    padding: 6px 5px;
  }
}

@media (min-width: 1200px) {
  .add-payment a.btn {
    width: calc(34% - 7px);
  }
}

@media (max-width: 991px) {
  .add-payment a.btn {
    width: calc(33.8% - 7px);
  }
}


@media only screen and (min-width: 802px) and (max-width: 1366px) {
    .wrapper.mini-bar .left-bar .admin-logo .logo-holder {
        /* display: none; */
        margin-top: 7px;
        background: url(../img/zeropos_short_logo.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 45px;
        /* padding: 15px; */
        margin: 7px;
    }
}
img#header-logo {
    display: none;
}

.left-bar .admin-logo .logo-holder, .side-bar .admin-logo .logo-holder {
    margin-top: 7px;
    background: url(../img/header_logo_lanka.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 46px;
    margin: 7px;
    margin-left: 21px;
}

/* Report summary + header styling extracted from report views */
.report-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 8px;
}

@media (min-width: 1200px) {
  .report-summary-grid {
    flex-wrap: nowrap;
  }
}

.report-summary-card {
  position: relative;
  flex: 1 1 120px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
  border: 1px solid rgba(226, 232, 240, 0.2);
}

.report-summary-card::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 38%;
  background: rgba(59, 130, 246, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.report-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  border-color: rgba(59, 130, 246, 0.25);
}

.report-summary-card:hover::after {
  opacity: 0.28;
  transform: translate(10px, -6px) scale(1.04);
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.report-summary-card.metric-negative .metric-value {
  color: #dc2626;
}

.report-summary-card.metric-negative .metric-icon {
  background: rgba(252, 165, 165, 0.18);
  color: #b91c1c;
}

.report-summary-card.metric-negative::after {
  background: rgba(248, 113, 113, 0.18);
}

.report-summary-card.metric--violet::after {
  background: rgba(129, 140, 248, 0.22);
}

.report-summary-card.metric--violet .metric-icon {
  background: rgba(129, 140, 248, 0.16);
  color: #4f46e5;
}

.report-summary-card.metric--teal::after {
  background: rgba(45, 212, 191, 0.22);
}

.report-summary-card.metric--teal .metric-icon {
  background: rgba(45, 212, 191, 0.16);
  color: #0f766e;
}

.report-summary-card.metric--amber::after {
  background: rgba(251, 191, 36, 0.24);
}

.report-summary-card.metric--amber .metric-icon {
  background: rgba(251, 191, 36, 0.16);
  color: #b45309;
}

.report-summary-card.metric--rose::after {
  background: rgba(244, 114, 182, 0.22);
}

.report-summary-card.metric--rose .metric-icon {
  background: rgba(244, 114, 182, 0.16);
  color: #be185d;
}

.report-summary-card.metric--slate::after {
  background: rgba(148, 163, 184, 0.25);
}

.report-summary-card.metric--slate .metric-icon {
  background: rgba(148, 163, 184, 0.16);
  color: #334155;
}

.report-summary-card.metric--emerald::after {
  background: rgba(52, 211, 153, 0.24);
}

.report-summary-card.metric--emerald .metric-icon {
  background: rgba(52, 211, 153, 0.16);
  color: #047857;
}

@media (max-width: 991px) {
  .report-summary-grid {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
}

@media print {
  .report-summary-grid {
    gap: 12px;
  }

  .report-summary-card {
    box-shadow: none !important;
    border: 1px solid #CBD5F5 !important;
  }

  .report-summary-card::after {
    display: none;
  }
}

.report-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.report-header__info {
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.report-header__title {
  font-size: 1.12rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.report-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #1e3a8a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.report-header__actions .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 6px 14px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.report-header__actions .btn-primary {
  box-shadow: 0 6px 14px rgba(59,130,246,0.12);
}

.report-header__actions .btn.btn-more {
  border-radius: 10px;
  padding: 6px 10px;
  background: #eef2ff;
  color: #312e81;
  border: none;
}

.report-header__actions .btn.btn-more:hover {
  background: #e0e7ff;
}

.report-header__actions .dropdown-menu {
  min-width: 220px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .report-header {
    padding: 12px;
  }

  .report-header__title {
    font-size: 1.05rem;
  }

  .report-header__actions {
    width: 100%;
    justify-content: flex-start;
  }
}