@import url(https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap);
:not(i) {
  font-family: "Cairo", sans-serif !important;
}

.form-control-lg::-webkit-input-placeholder {
  text-align: right;
  font-size: 0.9rem;
}

label {
  color: #000;
}

select option:first-child {
  color: red !important;
}

label.required::after {
  content: "*";
  color: red;
  font-size: 1rem;
  font-weight: 700;
  position: absolute;
  left: 1em;
}

.select2 + .select2-container .select2-selection {
  height: calc(1.8em + (1rem + 2px));
}
.select2 + .select2-container {
  width: 100% !important;
}

.btn,
.card,
.form-control,
.form-control-lg,
.form-select,
.form-select-lg,
.select2 + .select2-container .select2-selection,
li.next a,
li.previous a {
  border-radius: 0 !important;
  border-bottom-right-radius: 10px !important;
}

.form-control-lg,
.form-select-lg {
  min-height: calc(1.5em + (1rem + 2px));
}

.main-content {
  padding: 1px 100px;
}

@media (max-width: 1024px) {
  .main-content {
    padding: 10px;
  }
}

.ui-menu,
.ui-menu li {
  border-bottom-right-radius: 10px;
}

.ui-menu li {
  margin: 5px 0;
}

.dataTables_filter,
.dt-buttons {
  float: right !important;
  margin-bottom: 20px;
}

.dt-buttons {
  float: left !important;
}

.dt-buttons .btn {
  margin: 0 10px;
}

.dt-button-collection {
  left: auto !important;
}

#productImg input,
[data-visible="false"] {
  display: none;
}

#offcanvasProducts {
  min-width: 40vw;
}

.ui-menu.ui-autocomplete {
  max-height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
}

#productImg {
  border: 1px dashed #a7a6a6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

#login {
  height: 100vh;
  width: 100vw;
  background-image: url(https://mapi.orasys.xyz/images/login-bg.jpg);
}

#login:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

.login-container {
  background-color: rgba(255, 255, 255, 0.516);
  width: 70vw;
  height: 70vh;
  z-index: 1;
  padding: 0 !important;
}

#login,
#login .left-side,
#login .right-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

#login .left-side {
  flex-direction: column;
}

#login .left-side img {
  width: 80%;
  max-width: 500px;
  position: relative;
}
@keyframes example {
  0% {
    left: 0px;
  }
  100% {
    left: 80vw;
  }
}

#login .right-side {
  background-color: #525b88;
  min-height: 100%;
  height: 100%;
}

#login form {
  width: 70%;
  display: grid;
  gap: 20px;
  justify-items: center;
}

#login form .form-group {
  width: 80%;
  display: flex;
  flex-direction: column;
}

#login label {
  color: #fff !important;
}

#login .btn-color {
  background-color: #72cc50;
  color: #fff;
}

#login form .form-group .btn {
  padding: 10px;
  align-self: center;
}

@media (max-width: 1024px) {
  .login-container {
    width: 80vw;
  }

  #login form {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .login-container {
    width: 100vw;
  }
}

.flex-center {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.spinner,
.btn-txt {
  transition: all 0.3s linear;
}

.spinner-border {
  border-color: #ffff;
  border-left-color: transparent;
}

#offcanvasProcess .offcanvas-body {
  overflow: hidden !important;
}

.bill {
  max-height: 100vh;
  height: 100vh;
  padding-left: 23px;
}

.bill-body {
  display: grid;
  grid-auto-rows: max-content;
  height: 70vh;
  overflow: auto;
  padding: 5px 10px;
  font-weight: 800;
  border-bottom: 2px solid #aaa;
}

.item,
.item-edit {
  display: grid;
  position: relative;
}

.item {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  grid-template-columns: max-content max-content auto max-content max-content;
  margin: 10px 0;
}

.item,
.item div {
  padding: 5px;
}

.item-edit {
  grid-gap: 2%;
  align-items: end;
  grid-template-columns: 1fr 1fr auto;
  padding: 5px 0;
}

.item-edit .quantity {
  grid-gap: 2px;
  display: grid;
  font-size: 13px;
}

.item-quantity {
  display: grid;
  grid-template-columns: max-content auto max-content;
}

.item-edit .form-control {
  border-radius: 0 !important;
}

.item-quantity-icon,
.searchbar .fa-plus,
.searchbar .fa-search {
  background-color: #525b88;
  color: #fff;
  display: flex;
  align-items: center;
}

.item-quantity-icon {
  font-weight: 800;
  padding: 1px 11px;
}

.bill-actions > span:hover,
.btn-color,
.category li.active {
  background-color: #525b88;
  color: #fff;
}

.btn-color {
  outline: 0;
}

.bill-footer {
  grid-gap: 6px;
  display: grid;
  font-size: 14px;
  padding: 10px 5%;
}

.bill-footer div {
  display: grid;
  grid-template-columns: auto max-content;
  height: max-content;
}

.bill-actions {
  grid-gap: 2%;
  font-weight: 600;
  grid-template-columns: repeat(1, 1fr) !important;
  margin: 15px auto;
  text-align: left;
}

.order-bill-actions {
  grid-template-columns: auto !important;
}

.bill-actions > span,
.bill-pay {
  border-radius: 6px;
  cursor: pointer;
}

.bill-actions > span {
  background-color: #f1eeee;
  padding: 1.4rem 1rem;
  display: flex;
  justify-content: space-between;
}

.bill-actions > span:hover {
  transform: scale(1.02);
}

.bill-pay {
  /* background-image: linear-gradient(#525b88 0,#72cc50 100%); */
  background-color: #525b88;
  color: #fff;
  display: grid;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  grid-template-columns: auto max-content max-content;
  height: max-content;
  padding: 15px;
  text-decoration: none;
  position: absolute;
  bottom: 20px;
  left: 2%;
  max-width: 96%;
}
.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  height: calc(100vh - 200px);
  overflow-y: scroll;
  overflow-x: hidden;
  padding-left: 0.7rem;
}

.item-card {
  grid-auto-columns: auto;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0.2rem 0.2rem 5px 0.02rem rgba(105, 105, 105, 0.518);
  cursor: pointer;
  font-size: 14px !important;
  height: 250px;
  max-width: 160px;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  .item-card {
    height: 200px;
  }
}

.item-card .description {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0;
  width: 100%;
  padding: 0 0 10px;
  background-color: rgba(255, 255, 255, 0.599);
}

.item-card .description .card-title {
  font-size: 0.8rem !important;
}

.item-card .card-img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.category li {
  width: 5vw;
  height: 5vw;
  min-width: 60px;
  min-height: 60px;
  justify-content: center;
  font-size: 90%;
  font-weight: 700;
  background-color: #fff;
  border-color: #525b88;
  color: #525b88;
}

.category li.active {
  border-color: #525b88;
}

.modal-body .row {
  display: flex;
  justify-content: center;
}

.category li,
.modal-body .btn {
  display: flex;
  align-items: center;
}

.modal-body .btn {
  justify-content: space-around;
  padding: 0.5rem;
  margin: 0 10px;
  width: 40%;
}

.selected {
  border: 1px solid #242424;
}

.top-bill .btn:hover {
  color: #fff;
  font-weight: 700;
}

.rounded {
  border-radius: 5px;
}
#pay-content {
  max-height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
}
#pay-content .row:first-child {
  grid-template-columns: auto auto auto auto;
  column-gap: 20px;
}

#pay-content .row:first-child div {
  box-shadow: 0 0 3px 0 rgb(0 0 0/15%);
}

#pay-content .form-control,
#pay-content .form-select {
  border: 0;
  box-shadow: 0 0 3px 0 rgb(0 0 0/15%);
}

.calculator .numbers {
  grid-template-columns: 1fr 20% 20% 20%;
}

.calculator .numbers span {
  box-shadow: 0 0 3px 0 rgb(0 0 0/15%);
  cursor: pointer;
  font-weight: 900;
  margin: 5px;
  padding: 2rem 2rem;
  text-align: center;
}

#billDiscount i:hover,
.pay-btn,
.suggested div {
  cursor: pointer;
}

span#pay[disabled] {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.pay-btn.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.discount-btns .active {
  background-color: #525b88;
  color: #fff;
}

.noty_theme__metroui.noty_type__warning {
  background-color: #525b88;
  color: #fff;
}

.notification-icon {
  position: absolute;
  top: 27%;
  right: 47.5%;
  font-size: 0.9em;
  color: red;
}

.orders-list {
  display: grid;
  grid-template-columns: 100%;
  list-style: none;
  padding: 0;
  margin: auto;
  max-height: 100vh;
}

.orders-list li {
  padding: 20px 10px;
  background-color: #f0f0f0;
  margin: 10px 0;
}

.orders-list li .information {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
}

.orders-list li .information h6 {
  font-weight: 800;
  font-size: 1rem;
}

.sidebar-img {
  width: 10rem;
  margin-bottom: 1rem;
}

.ui-menu.ui-autocomplete {
  z-index: 1500;
}
