body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 400px;
  margin: 20px auto;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

select,
input[type="text"],
button {
  font-size: 14px;
  box-sizing: border-box;
}

select {
  width: 100%;
  height: 38px;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* SN Group */
.sn-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  height: 38px;
}

.sn-input {
  flex: 1;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
  outline: none;
  height: 100%;
  font-size: 14px;
}

/* Tombol ?? dan + kecil */
.scan-btn,
.add-btn {
  width: 40px;
  min-width: 40px;
  height: 38px;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-btn {
  background: linear-gradient(135deg, #1976d2, #0d47a1);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.add-btn {
  background: linear-gradient(135deg, #4CAF50, #2e7d32);
  border-radius: 0 6px 6px 0;
}

/* Tombol Cek */
.cek-btn {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #ff6d00, #d84315); /* orange ke merah */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.cek-btn:hover {
  background: linear-gradient(135deg, #ff8a33, #e64a19);
}

/* Result Box */
.result-box {
  margin-top: 20px;
  background: #e9ecef;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px;
}





 

.tab-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 20px;
  border-bottom: 2px solid #ddd;
}

.tab-container .tab {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s, color 0.2s;
}

.tab-container .tab:hover {
  background: #eee;
}

.tab-container .tab.active {
  background: #fff;
  font-weight: bold;
  color: #ff6d00;
  border-color: #ccc #ccc #fff;
}

.sn-input.same-size {
  height: 40px;
  font-size: 14px;
}

