/* Scroll Bar Styling */

::-webkit-scrollbar {
  width: 6px;
}

/* Track */

::-webkit-scrollbar-track {
  /* background: #333; */
  opacity: 0.5;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
  transition: all 250ms;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background-color: #888;
}

/* General CSS  */

* {
  font-family: "Inter", sans-serif, apple color emoji, segoe ui emoji,
    noto color emoji, segoe ui symbol, Tajawal;
}

body {
  font-size: 16px;
}

a {
  transition: all 250ms ease;
}

.button {
  font-weight: bold;
}

.button.is-loading {
  pointer-events: none !important;
  opacity: 0.7 !important;
}

form {
  display: contents;
}

.box.hero {
  margin-bottom: 0.75em;
}

.card + .card {
  margin-top: 24px;
}

.siiimpleToast {
  max-width: 100%;
  white-space: normal;
}

.siiimpleToast[data-state="success"] {
  background-color: rgb(105, 185, 105);
}

.title {
  font-weight: bold;
}

.select.is-multiple {
  height: auto;
}

.modal-card-title {
  font-weight: bold;
}

/* Easy use classes */

.navbar.has-shadow,
.has-shadow {
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1);
}

.has-background-darker {
  background-color: #222;
}

.has-background-orange {
  background-color: orange;
}

.has-background-orange.is-light {
  background-color: rgb(255, 207, 117);
}

.is-wrapping * {
  word-wrap: break-word;
}

.is-fullwidth {
  width: 100%;
}

.is-fullheight {
  height: 100%;
}

.is-rounded {
  border-radius: 12px;
}

.pointer-events-none {
  pointer-events: none;
}

.is-flex.is-vcentered {
  align-items: center;
}

.has-padding {
  padding: 0.5em;
}

#main-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

#sidenav {
  padding: 0.5em !important;
  height: 100vh;
  overflow-y: scroll;
}

#sidenav.is-closed {
  pointer-events: none;
  opacity: 0;
  z-index: -10;
  position: absolute;
}

#sidenav > .brand {
  padding-top: 6px;
  display: block;
  margin-bottom: -10px;
  /* margin: auto; */
}

#sidenav > .brand > img {
  width: 140px;
  margin: auto;
}

#sidenav a.columns.is-vcentered {
  margin: 0;
  font-weight: 400;
}

.menu-list a.columns {
  color: #ddd;
}

.menu-list a.columns:hover,
.menu-list a.columns:focus {
  color: #ddd;
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-list a.columns.is-active {
  background-color: var(--primary-color);
}

#sidenav a.columns.is-vcentered > .icon {
  width: 2em;
  padding-right: 0.5em;
}

#sidenav a.columns.is-vcentered.is-static {
  opacity: 0.3;
}

#main > div:first-child {
  max-height: calc(100vh - 60px);
  max-width: 100vw;
  overflow-y: scroll;
  padding: 2em !important;
}

.sidenav .dropdown-trigger button {
  cursor: default;
}

.icon-is-large {
  font-size: 2rem;
}

.has-margin {
  margin: 12px;
}

button.box {
  border: 0;
  text-align: left;
}

.is-fixed-top {
  position: fixed;
  /* top: 0; */
}

.tab {
  display: none;
}

.tab.is-active {
  display: initial;
}

.overflow-hidden {
  overflow: hidden;
}

/* Specific Styles */
.pos-footer {
  width: 100vw;
  position: fixed;
  bottom: 0;
  border-top: 1px solid lightgrey;
  padding-bottom: 8px;
  background-color: #eee;
  z-index: 39;
}

.pos-footer > .columns {
  margin-top: 0;
  padding-left: 16px;
  padding-right: 16px;
}

.pos-footer .hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75em;
}

.pos-footer input {
  height: 100%;
}

.button.is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.pos-footer a.is-disabled:hover {
  border-color: transparent;
  cursor: default;
}

.menu-padding {
  padding-top: 76px;
}

.logo-panel {
  max-width: 200px;
  max-height: 260px;
}

.dp {
  display: inline-block;
  position: relative;
  margin: 0px;
  border-radius: 32px;
  height: 28px !important;
  width: 28px !important;
}

.header-dropdown {
  width: 300px;
}

.header-dropdown .navbar-item {
  justify-content: space-between;
}

table {
  border-radius: 8px;
  overflow: hidden;
}

table td {
  vertical-align: middle !important;
}

.table thead th,
.table tfoot th {
  text-transform: uppercase;
  color: #777;
  font-weight: 400;
}

thead.pos-header {
  background-color: #333;
  color: white;
  border-bottom: 3px solid rgb(255, 210, 32);
}

thead.pos-header * {
  color: white;
}

.table tfoot td {
  border: 0;
}

.table.fixed td:nth-child(1) {
  width: 60%;
  text-overflow: ellipsis;
}

.table.fixed td:nth-child(2) {
  width: 20%;
}

.table.fixed td:nth-child(3) {
  width: 20%;
}

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */

input[type="number"] {
  -moz-appearance: textfield;
}

.product-container {
  height: 50vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
}

.product-grid {
  border: 2px solid #ddd;
  padding: 6px;
  border-radius: 8px;
  background-color: #eee;
  display: flex;
  flex-direction: column;
}

.product-grid.on-discount {
  border-color: rgb(77, 188, 252);
}

.product-grid.is-out-of-stock {
  border-color: darkred;
  opacity: 0.4;
}

.product-container .column {
  padding: 5px;
}

.product-grid .image {
  margin-bottom: 6px;
}

.product-grid .content {
  line-height: normal;
}

.has-border-right {
  border-right: 1px solid #eeeeee;
  padding-right: 15px !important;
}

.modal a.close-modal {
  top: 5px;
  right: 5px;
}

#client-results {
  max-height: 500px;
  overflow-y: scroll;
}

.modal {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.modal * {
  pointer-events: none;
}

.modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.modal.is-active * {
  pointer-events: all;
}

.column {
  padding: 0.5em;
}

.scrollable {
  overflow: scroll;
}

.private-data {
  filter: blur(5px);
  pointer-events: pointer;
  transition: all 250ms ease;
}

.private-data:focus,
.private-data:focus-within {
  filter: blur(0);
}
