@charset "UTF-8";
body {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  height: 100vh;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f6fff8;
  opacity: 0.1;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #f6fff8 10px), repeating-linear-gradient(rgba(0, 151, 46, 0.3333333333), #00972e);
}

@keyframes spin360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.spin {
  animation: spin360 1s ease-in-out infinite;
}

.input-error {
  color: brown;
  font-size: 0.8rem;
}

textarea {
  height: auto !important;
}

.td-wrap {
  width: 1%;
  white-space: nowrap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
}

.form-control:focus {
  box-shadow: none;
}

label,
.form-label,
.btn,
.nav-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.btn-brown {
  background: #966919;
  color: white;
}
.btn-brown:hover {
  background: rgb(106.2857142857, 74.4, 17.7142857143);
  color: white;
}

.btn:focus {
  box-shadow: none;
}

label[required]::after {
  content: "*";
  color: red;
  font-weight: bold;
  margin-left: 5px;
}

.select2-container--default .select2-results__option--highlighted {
  color: #fff;
  background-color: #007bff;
}

.select2-container--default .select2-results__option--highlighted * {
  color: #fff !important;
}

.receipt,
.numeric-data,
.dashboard-metric {
  font-family: "IBM Plex Sans", sans-serif;
  letter-spacing: 0.5px;
}

blockquote,
.section-title-fancy {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
}

.card {
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

ul.swal-error-list {
  list-style-type: none;
}
ul.swal-error-list li {
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}
ul.swal-error-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: brown;
  font-weight: bold;
}

.pos-content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}
.pos-content .top-bar,
.pos-content .bottom-bar {
  flex-shrink: 0;
}
.pos-content .middle-box {
  flex: 1;
  overflow: hidden;
}
.pos-content .middle-box .product-card {
  text-align: center;
  border-radius: 5px;
  border: 1px solid lightgrey;
  background: white;
  margin-bottom: 10px;
}
.pos-content .middle-box .product-card .product-card-link {
  position: relative;
  color: #333;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
}
.pos-content .middle-box .product-card img {
  max-width: 100%;
  height: 50px;
  margin-bottom: 0.5rem;
}
.pos-content .middle-box .product-card .product-name {
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  line-height: 1.2rem;
  height: calc(1 * 1.2rem);
}
.pos-content .middle-box .product-card.no-stock .product-card-link {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
.pos-content .middle-box .product-card.no-stock .product-card-link::after {
  content: "Out of stock";
  position: absolute;
  display: block;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6666;
  color: white;
  font-size: 0.6rem;
  font-weight: bold;
  text-transform: uppercase;
}
.pos-content .middle-box .product-card:hover {
  border-color: #00972e;
}
.pos-content .middle-box .product-card:hover.no-stock {
  border-color: red;
}
.pos-content .products-table td {
  vertical-align: middle;
}

#login-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../images/pos_bg.jpg") center no-repeat;
  background-size: cover;
  position: relative;
}
#login-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 128, 0, 0.7);
  z-index: 1;
}
#login-section .wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
}
#login-section .wrapper img {
  width: 150px;
}
#login-section .card-credentials {
  width: 25vw;
}
#login-section .card-counters {
  width: 25vw;
  height: 100%;
  max-height: 60vh;
  overflow-y: auto;
}
#login-section .form-control {
  border-color: rgba(128, 128, 128, 0.5);
}

.card-radio {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  transition: 0.2s ease-in-out;
}
.card-radio input[type=radio] {
  accent-color: #0d6efd;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
}
.card-radio:hover {
  border-color: #0d6efd;
}
.card-radio.active {
  border: 2px solid #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.3);
}/*# sourceMappingURL=pos.css.map */