body {
    font-family: Arial, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*overflow: hidden;*/
    position: relative;
  }
  
  .background-image {
    position: absolute;
    margin-left: -8px;
    margin-top: -8px;
    top: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    background-image: url("bg.jpg");
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    z-index: -1; /* Places the image behind other content */
  }
  
  .container {
    text-align: center;
    /* background-color: #ffffff; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    padding: 20px;
  }
  
  h1 {
    color: #007bff;
    margin-bottom: 20px;
  }
  
  #scan,
  #payment {
    display: none;
  }
  
  #preview {
    width: 770px;
    height: 1076px;
    position: absolute;
    top: 740px;
    left: 100px;
    border-radius: 20px; /* Opsional: Membulatkan sudut video */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Opsional: Menambahkan bayangan */
    object-fit: cover; /* Mengatur bagaimana video menyesuaikan dengan ukuran elemen */
  }
  
  .icon-qris {
    width: 250px;
    position: absolute;
    top: 1700px;
    left: 360px;
  }
  
  #date-time {
    position: absolute;
    font-size: 30px;
    top: 565px;
    left: 80px;
  }
  
  #merchant-name {
    font-size: 42px;
    position: absolute;
    top: 740px;
    left: 80px;
  }
  #merchant-name2 {
    font-size: 36px;
    position: absolute;
    top: 1308px;
    right: 90px;
  }
  #merchant-name3 {
    font-size: 36px;
    position: absolute;
    top: 1805px;
    left: 75px;
  }
  #nominal {
    height: 80px;
    width: 400px;
    position: absolute;
    top: 917px;
    right: 170px;
    background: transparent;
    border: none;
    text-align: right;
    font-size: 46px;
    font-weight: bold;
    color: #333;
    padding: 0 10px;
    box-shadow: none;
  }
  #nominal:focus {
    outline: none; /* Remove default outline */
    box-shadow: none; /* Remove box shadow if any */
  }
  #merchant-acquirer {
    font-size: 36px;
    position: absolute;
    top: 1245px;
    right: 90px;
  }
  #merchant-id {
    font-size: 36px;
    position: absolute;
    top: 1453px;
    right: 90px;
  }
  #merchant-address {
    font-size: 36px;
    position: absolute;
    top: 1383px;
    right: 90px;
  }
  
  #back {
    background: transparent;
    border: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100px;
    width: 80px;
  }
  
  #result {
    display: none;
    text-align: left;
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  #result div {
    margin-bottom: 10px;
  }
  
  #error-message {
    color: #dc3545;
    margin-top: 10px;
  }
  