.barcode-input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.barcode-input-header {
  width: 100%;
  height: 200px;
}

.barcode-input-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 350px;
}

.barcode-input-body .heading {
  font-size: 100px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.barcode-input-cat-container {
  margin-top: -80px;
}

.barcode-input-cat-container img {
  width: 900px;
  height: 900px;
}

/* Barcode scan section */
.barcode-scan-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 300px;
  gap: 30px;
}

.barcode-label-text {
  font-size: 40px;
  color: #a8b4ff;
  letter-spacing: 3px;
  text-align: center;
}

.barcode-input-field-wrapper {
  position: relative;
  width: 900px;
}

.barcode-input-field {
  width: 100%;
  padding: 35px 50px;
  font-family: "Nulshock", sans-serif;
  font-size: 60px;
  color: #fff;
  text-align: center;
  letter-spacing: 8px;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 80, 0.7),
    rgba(0, 10, 50, 0.8)
  );
  border: 4px solid rgba(100, 140, 255, 0.5);
  border-radius: 35px;
  outline: none;
  caret-color: #00ffff;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.barcode-input-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 40px;
  letter-spacing: 3px;
}

.barcode-input-field:focus {
  border-color: #00ffff;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.barcode-input-field.error {
  border-color: #ff6b6b;
  box-shadow: 0 0 40px rgba(255, 100, 100, 0.3);
}

/* Spinner */
.barcode-spinner {
  display: none;
  width: 60px;
  height: 60px;
  border: 5px solid rgba(0, 255, 255, 0.2);
  border-top-color: #00ffff;
  border-radius: 50%;
  animation: barcode-spin 1s linear infinite;
}

.barcode-spinner.active {
  display: block;
}

@keyframes barcode-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error & Info messages */
.barcode-error-message {
  font-size: 30px;
  color: #ff6b6b;
  text-align: center;
  min-height: 40px;
  text-shadow: 0 0 10px rgba(255, 100, 100, 0.3);
}

.barcode-customer-info {
  font-size: 28px;
  color: #33fff9;
  text-align: center;
  min-height: 80px;
  text-shadow: 0 0 10px rgba(51, 255, 249, 0.3);
  line-height: 1.6;
}

/* Continue button */
.barcode-continue-button-wrapper {
  margin-top: 20px;
}

.barcode-continue-button-wrapper .barcode-continue-button {
  background: url("../assets/green-button.png") no-repeat center center;
  background-size: contain;
  background-position: center;
  padding: 70px 0px;
  width: 600px;
  font-size: 45px;
  color: white;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.barcode-continue-button-wrapper .barcode-continue-button:hover {
  transform: scale(1.05);
}

.barcode-continue-button-wrapper .barcode-continue-button:active {
  transform: scale(0.95);
}

.barcode-continue-button-wrapper .barcode-continue-button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sample hint */
.barcode-sample-hint {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-style: italic;
  margin-top: 10px;
}
