/* styles.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

h1 {
  text-align: center;
  margin-top: 30px;
  color: #333;
}

#logo {
  margin-top: 20px; /* 로고 위 여백 추가 */
  display: flex;
  justify-content: center; /* 수평 가운데 정렬 */
}
#logo img {
  max-width: 50%; /* 최대 너비를 화면의 50%로 설정 */
  height: auto; /* 높이를 자동으로 조정하여 비율을 유지함 */
}

#go-to-index {
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #3788d8; /* 다른 배경색 */
    border: none;
    border-radius: 8px; /* 둥근 모서리 */
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: fixed; /* 화면에 고정 */
    top: 10px;
    right: 10px;
    width: 75px; /* 너비를 100px로 조정 */
    height: 40px; /* 높이를 40px로 조정 */
}

#scanner-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#result-container {
  text-align: center;
  margin-top: 20px;
}

#barcode-result {
  margin-top: 20px;
    font-weight: bold;
    font-size: 20px;
}
#confirmation-buttons {
  margin-top: 20px;
}

/* 버튼 스타일 추가 */
#button-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

button {
  flex-grow: 1;
  padding: 20px;
  font-size: 16px;
  color: #fff;
  background-color: #3788d8;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 150px;
  height: 50px;
  margin: 0 5px;
  line-height: 1px; /* 텍스트 수직 가운데 정렬 */
}

/* 버튼 사이에 공간을 추가 */
#button-container:not(:last-child) {
  margin-bottom: 20px;
}

#barcodeList {
  margin-top: 20px;
}
#barcodeList ul {
  list-style-type: none;
  padding: 0;
}
#barcodeList li {
  padding: 5px;
  border-bottom: 2px solid #ccc;
}
#barcodeInput {
  width: 80%;
  height: 25px;
  font-size: 14px;
  padding: 10px;
  margin: 10px 0;
}

