/* Quantity section container */
.quantity-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Button hover and disabled state */
.quantity-btn:hover:not(:disabled) {
  background-color: #003580;
  transform: scale(1.05);
}

.quantity-btn:disabled {
  background-color: #b0b0b0;
  cursor: not-allowed;
}

/* Input field (readonly) */
.quantity-input {
  width: 50px;
  border: none;
  background-color: #fff;
  color: #333;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  outline: none;
}

/* Align vertically with label */
.d-flex.align-items-center {
  gap: 0.5rem;
}

/* Label styling (Qty:) */
.fw-bold.me-2 {
  color: #444;
  font-size: 1rem;
}

.quantity-input {
  transition: background-color 0.2s;
}
.quantity-input.flash {
  background-color: #e0f0ff;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: none;
  background-color: #004aad;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;             /* tighten vertical space */
  transform: translateY(-1px); /* raise symbol slightly */
}
.quantity-btn.minusBtn {
  transform: translateY(-1px);
}

.quantity-btn.plusBtn {
  transform: translateY(-2px);
}

.quantity-btn:active {
  transform: translateY(0) scale(0.97);
}

