/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.sales-container {
  transition: width 0.3s ease-in-out, margin-left 0.3s ease-in-out;
  margin-left: 270px;
  margin-top: 50px;
  width: calc(100% - 270px);
  height: 100%;
}
.stocks-container {
  margin-left: 275px !important;
  width: calc(100% - 275px) !important;
}

/* Grid Layout */
/* .grid-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-gap: 20px;
  margin-top: 20px;
  grid-template-rows: auto 1fr auto;
  height: 100%;
} */

.grid-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: auto 1fr;
  grid-gap: 20px;
  margin-top: 20px;
  align-items: start;
}
/* .customer-details {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.customer-details .card-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  height: 13vh;
} */
.compact-customer-details label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.compact-customer-details input,
.compact-customer-details select {
  font-size: 0.85rem;
  padding: 4px 8px;
}

.details {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4px;
}

/* #printerSelect {
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 12px;
  height: auto;
}

label.printer {
  font-size: 12px;
  line-height: 1;
} */

/* .customer-details .card-header h5 {
  font-size: 2.3vh;
}

.customer-details .card-header {
  height: 5vh;
  margin: 0;
}

.customer-details .input-group {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.customer-details .card-body label {
  font-weight: bold;
  font-size: 2vh;
}

.customer-details .form-control {
  width: 100%;
  height: auto;
} */

.scan-product {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.summary {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  /* margin-top: -10px; */
}

.pos-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Styling for Buttons */
.btn {
  padding: 0px 15px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-danger {
  background-color: #e74c3c;
  color: white;
}

.btn-warning {
  background-color: #f39c12;
  color: white;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

/* Card Styling */
.card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  background-color: #fff;
}

.card-header {
  padding: 10px;
  font-size: 18px;
  background-color: #2b4464;
  border-radius: 20px 2px 20px 2px !important;
}

.card-header h5 {
  color: #fff;
}

.card-body {
  padding: 13px;
}

/* Table Styling */
.table {
  width: 100%;
  margin-top: 20px;
}

.table-bordered {
  border: 1px solid #ddd;
}

.table th,
.table td {
  padding: 10px;
  text-align: center;
}

.table .thead-dark {
  background-color: #343a40;
  color: white;
}

.table .btn-danger {
  padding: 5px 10px;
  font-size: 14px;
}

ul.list-group {
  padding-left: 0;
}

ul.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-input {
  width: 4vw;
  text-align: center;
}

.change-amount {
  font-size: 1.1rem;
  font-weight: 800;
}

/* discount cell */

.discount-cell {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.discount-cell:hover {
  background-color: #f0f0f0;
}

.discount-cell input[type="checkbox"]:checked {
  background-color: #4caf50;
}

.discount-cell:hover .badge {
  opacity: 1;
}

/* hide the side and nav */

.burger-menu {
  cursor: pointer;
}

/* Sidebar transition */
.hide-sidebar {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

/* Expand header and main container when sidebar is hidden */
.full-width {
  width: 100% !important;
  margin-left: 0 !important;
}

/* dropdown */

.dropdown-item {
  padding: 10px;
  cursor: pointer;
  background: #fff;
  /* border-bottom: 1px solid #ddd; */
  transition: background 0.2s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: #393f47;
  color: white;
}

/* .custom-margin {
  margin-left: 275px;
} */

/* smaller summary elements */
/* #transactionId,
#paymentMode {
  font-size: 0.9rem;
  padding: 6px 10px;
}

label[for="transactionId"],
label[for="paymentMode"] {
  font-size: 0.88rem;
  margin-bottom: 4px;
  font-weight: 600;
}

ul.list-group.mb-3 {
  font-size: 0.9rem;
}

ul.list-group.mb-3 .list-group-item {
  padding: 8px 12px;
}

#transactionId {
  height: 32px;
} */
