
.div1{
  height:300px;
  max-width:100%;
  background: linear-gradient(#3fff7c,#3ffbe0);
  text-align: center;
  border: 2px solid grey;
}
.h11{
  font-size:8vw;
 max-width: 100%;
}

.footer{
  height:100px;
  width:100%;
  background:black;
  text-align:center;
  line-height:100px;
  border: 2px solid grey;
}
.p1{
  color:white;
}

.div2{
  height:200px;
   width:100%;
  background:#000;
}

 .table { border-collapse: collapse; width: 100%; }
        th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
        th { background-color: #f2f2f2; }

.divxl{
   height:100px;
   width:100%;
  background: linear-gradient(#3fff7c,#3ffbe0);
}
.h2d1{
  text-align:center;
}
.inpbtn{
    background:linear-gradient(#c6f8ff,#6b76ff);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btnscann{
text-align:center;
}

/* Container principal */
#divOPC1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Container da câmera */
.camera-container {
    width: 100%;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

/* Wrapper para controlar o tamanho da câmera */
.camera-wrapper {
    width: 100%;
    max-width: 640px;
    height: 300px; /* Altura fixa */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

/* Elemento da câmera */
.camera-feed {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Estilo para o código exibido */
.code-display {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 10px auto;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
}

/* Container da lista */
.list-container {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Botão */
.btnOPC1 {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 15px auto;
    display: block;
    padding: 12px;
    background:linear-gradient(#6b2cf5,#d450e6);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btnOPC1:hover {
    background:linear-gradient(#c6f8ff,#6b76ff);
}

/* Lista de itens */
.items-list {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.items-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.items-list li:last-child {
    border-bottom: none;
}

.items-list li:hover {
    background: #f9f9f9;
}

/* Ajuste para o Quagga */
canvas.drawing, canvas.drawingBuffer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.INPT{
  width: 100%;
    max-width: 500px;
    height:50px;
}
.BTNP{
  width: 100%;
    max-width: 500px;
    height:50px;
     background:linear-gradient(#6b2cf5,#d450e6);
     color: white;
     
}
.otons{
  height:280px;
  width:100%;
   display: flex;
  overflow: auto;
  text-align:center;
  justify-content: center;
  border: 6px solid;
  align-items:center;
border-color: #f3ff77 #a1ffd9;
background: linear-gradient(#a1ffd9,#f3ff77);
}
.im1{
  align-items: center;
  text-align:center;
  justify-content: center;
  position:relative;
  margin-right:30px;
  border:6px solid;
  border-color: #f3ff77 #a1ffd9;
  
}
.txtimg{
    position:absolute;
    top:25%;
}