/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--global-font-family);
  }
  
  @font-face {
    font-family: gothic720_bt_bold;
    src: url(https://floor.so/airroomfiles/gothik1/gothic720_bt_bold.ttf);
  }
  @font-face {
    font-family: gothic720_lt_bt_light;
    src: url(https://floor.so/airroomfiles/gothik1/gothic720_lt_bt_light.ttf);
  }
  @font-face {
    font-family: gothic725_bd_bt_bold;
    src: url(https://floor.so/airroomfiles/gothik1/gothic725_bd_bt_bold.ttf);
  }
  
  @font-face {
    font-family: gothicno13_bt;
    src: url(https://floor.so/airroomfiles/gothicno13_bt/gothicno13_bt.ttf);
  }
  
  @font-face {
    font-family: gothic720_bt_roman;
    src: url(https://floor.so/airroomfiles/gothicno13_bt/gothic720_bt_roman.ttf);
  }
  
  /* Header styling */
  .header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header h1 {
    font-size: 1.5rem;
    color:white;
  }
  
  .header-buttons {
    display: flex;
  }
  
  .header-button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 6px 12px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 1.0rem;
    border-radius: 25px
  }
  
  /* Main content styling */
  .main-content {
    padding: 20px;
  }

  /* Add your CSS styles here */
  .scan-inner-container {
    display: block;
    align-items: center;
    float: left;
    width: 100%;
    height: 100%;
  }

  .btn-container
  {
    float: left;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .mainQrCode
  {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 10px;
    border-color: #d3d3d33b;
    width: 75%;
  }

  .image-container {
    margin-right: 20px;
    float: left;
  }
  .image {
    max-width: 100px;
    max-height: 100px;
  }
  .info-container {
    display: flex;
    flex-direction: column;
  }
  .name {
    font-weight: bold;
    font-size: 18px;
  }
  .floor-id {
    font-size: 16px;
  }
  .submit-button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .cancel-button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: gray;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 4px;
  }


.qrcodeOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    z-index: 9999; /* Make sure it's above other content */
    align-items: center;
    @media (max-width: 768px) {
        /* Adjust overlay styles for smaller screens */
        align-items: flex-start; /* Align content to the top */
        padding: 20px; /* Add padding for breathing space */
      }
  }

  /* Style close icon for smaller screens */
  .close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
  
    /* Media query for smaller screens */
    @media (max-width: 768px) {
      font-size: 32px; /* Reduce font size for smaller screens */
    }
  }
  #scannerContainerMain
  {
  float: left;
    width: 30%;
    background: white;
    padding: 20px;
    display: flex;
    border-radius: 12px;
    height: auto;
    margin-left: 33%;
    min-height: 221px;
    justify-content: center;
    align-items: center;
}
  

  #scannerContainer
  {
    float: left;
    width: 100%;
  }

  #scannedData
  {
    float: left;
    width: 100%;
    height: 100%;
    display:none;
  }

  .qrtoast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color:#F44336;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    z-index: 999;
  }
  
  
  
  /* Mobile responsive layout */
  @media screen and (max-width: 480px) {
    #scannerContainerMain
  {
    float: left;
    width: 100%;
    background: white;
    padding: 20px;
    display: flex;
    border-radius: 12px;
    height: auto;
    margin-left: 0;
    min-height: 221px;
    min-height: 221px;
    justify-content: center;
    align-items: center;
  }

    .header {
      padding: 10px;
    }
  
    .header h1 {
      font-size: 1.2rem;
      color:white;
    }
  
    .header-buttons {
      flex-direction: column;
      align-items: flex-end;
    }
  
    .header-button {
      margin: 5px 0;
    }

    .mainQrCode
    {
      position: relative;
      display: flex;
      flex-direction: column;
      border: 1px solid #ccc;
      padding: 10px;
      border-color: #d3d3d33b;
      width: 100%;
    }
  }

 
  
  
  
  
