#posSection {
  padding: 1rem;
  font-family: 'Poppins', sans-serif;
}

.pos-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.pos-tab {
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  background: #eee;
  border-radius: 8px;
  font-weight: 600;
}

.pos-tab.active {
  background: #111;
  color: #fff;
}

.pos-tab-content {
  display: none;
}

.pos-tab-content.active {
  display: block;
}

.hidden {
  display: none !important;
}

.pos-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Left side cart */
.pos-cart {
  flex: 1;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Header */
.pos-header h2 {
  margin: 0;
}

.pos-header p {
  color: #666;
}

#posCart {
  list-style: none;
  padding: 0;
}

.cart-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  padding: 4px 8px;
  border: none;
  cursor: pointer;
  background: #ddd;
  border-radius: 4px;
}

.remove-btn {
  background: none;
  border: none;
  color: red;
  cursor: pointer;
}

.price {
  font-weight: bold;
}

.payment-section {
  margin-top: 20px;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 10px;
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-options label {
  background: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.payment-input {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-input input,
.payment-input select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.data-table th {
  background: #111;
  color: #fff;
}

.digital-receipt-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  overflow-y: auto;
  padding: 20px;
  z-index: 9999;
}

.receipt-header {
  text-align: center;
}

.receipt-info {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
}

.items-table th,
.items-table td {
  border-bottom: 1px solid #ddd;
  padding: 8px;
}

.autocomplete-dropdown {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
}

.autocomplete-item {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background: #f2f2f2;
}
