.my-cards {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 40%;
    cursor: pointer;
}

.my-cards:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.my-card {
    padding: 2px 16px;
}

td a {
	margin-top: 10px;
}
.lao-font {
    font-family: 'Noto Serif Lao';
}
.button-bg-green{
    background-color: chartreuse;
}
.button-bg-white{
    background-color: floralwhite;
    
}
.answer-btn{
    background-color: red;
    color: white;
    font-size: 20pt;
    width: 100px;
    
}
.answer-btn:hover{
    background-color: darkred;
    color: white;
    font-size: 20pt;
    width: 100px;
    
}
.answer-btn:active{
    background-color: green;
    color: white;
    font-size: 20pt;
    width: 100px;
    
}
.red-font{
    color : red;
}
.td-bgblue-boldfont{
    
    font-size: medium;
    font-weight: bold;
    background: #cce5ff;
    text-align: center;
}
.preserve-content{
    white-space: pre;
    
}
.mini-btn{
    width: 70px;

}
.mini-btn-select{
    width: 70px;
    background-color: greenyellow;
}
.hide-content{
    display: none;
}
.unhide-content{
    display: block;
}




.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;

  }
  
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #262afc;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav a:hover {
    color: #13017a;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  #main {
    transition: margin-left .5s;
    padding: 16px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }
  .toggle-div{
    display: none;
    transition: 0.5s;
  }
  .footer{
    text-align: center; 
    margin-top: 50px;
    padding-bottom: 25px;
  }
  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
  }
  
  li {
    float: left;
  }
  
  li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover, .navdropdown:hover .dropbtn {
    background-color: red;
  }
  
  li.navdropdown {
    display: inline-block;
  }
  
  .navdropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .navdropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .navdropdown-content a:hover {background-color: #f1f1f1;}
  
  .navdropdown:hover .navdropdown-content {
    display: block;
  }
  .chart-container {
    width: 100%;
    height: 100%;
    aspect-ratio: 2; 
   }

.qrcontainer {
    width: 100%;
    max-width: 500px;
    margin: 5px;
}

.qrcontainer h1 {
    color: #ffffff;
}

.qrsection {
    background-color: #ffffff;
    padding: 50px 30px;
    border: 1.5px solid #b2b2b2;
    border-radius: 0.25em;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
}

#my-qr-reader {
    padding: 20px !important;
    border: 1.5px solid #b2b2b2 !important;
    border-radius: 8px;
}

#my-qr-reader img[alt="Info icon"] {
    display: none;
}

#my-qr-reader img[alt="Camera based scan"] {
    width: 100px !important;
    height: 100px !important;
}
#html5-qrcode-anchor-scan-type-change {
  text-decoration: none !important;
  color: #1d9bf0;
}

video {
  width: 100% !important;
  border: 1px solid #b2b2b2 !important;
  border-radius: 0.25em;
}
#video-container {
  line-height: 0;
}

#video-container.example-style-1 .scan-region-highlight-svg,
#video-container.example-style-1 .code-outline-highlight {
  stroke: #64a2f3 !important;
}

#video-container.example-style-2 {
  position: relative;
  width: max-content;
  height: max-content;
  overflow: hidden;
}
#video-container.example-style-2 .scan-region-highlight {
  border-radius: 30px;
  outline: rgba(0, 0, 0, .25) solid 50vmax;
}
#video-container.example-style-2 .scan-region-highlight-svg {
  display: none;
}
#video-container.example-style-2 .code-outline-highlight {
  stroke: rgba(255, 255, 255, .5) !important;
  stroke-width: 15 !important;
  stroke-dasharray: none !important;
}

#flash-toggle {
  display: none;
}

hr {
  margin-top: 32px;
}
input[type="file"] {
  display: block;
  margin-bottom: 16px;
}
.wrap-text{
  width: 200px;
  word-break: break-all;
  white-space: normal;
}
.product-image{
  width:100px;height:100px;
}
.product-list{
  padding-top: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
  padding-left: 3px;
  margin-top: 3px;
  margin-bottom: 3px;
  margin-right: 3px;
  margin-left: 3px;
}

.notification-box {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 300px;
  z-index: 1000; /* Ensure it floats over other elements */
  display: flex;
  flex-direction: column;
}

.notification-box header {
  font-size: 18px;
  margin-bottom: 8px;
}


#drop-zone {
  width: 300px;
  height: 200px;
  border: 2px dashed #ccc;
  border-radius: 5px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

#drop-zone.dragover {
  border-color: #4CAF50; /* Green */
  background-color: rgba(76, 175, 80, 0.1);
}

#drop-zone.error {
  border-color: #f44336; /* Red */
  background-color: rgba(244, 67, 54, 0.1);
}

.images-container {
  margin-top: 20px;
}

.uploaded-image {
  max-width: 200px;
  height: auto;
  margin: 10px;
  border-radius: 4px;
}

.zoom {
  padding: 3px;
  transition: transform .2s; /* Animation */
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

.zoom:hover {
  transform: scale(2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  z-index: 1000;
  margin: 0;
   
}

