.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    backdrop-filter: blur(8px); /* Background blur */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .modal-content {
    background-color: white;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    width: 100%;
    
    max-height: 90vh; /* ADD THIS */
    overflow-y: auto; /* ADD THIS */
  }
  
  
  @media (min-width: 768px) {
    .modal-content {
      max-width: 70%;
    }
  }
  

  /* Close button in top-right corner */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    background: none;
    color: #333;
    cursor: pointer;
  }

  .close-btn:hover {
    color: #ff0000;
  }

  /* Title */
  .modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }


  /* Action button */
  .modal-action-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .modal-action-btn:hover {
    background-color: #0056b3;
  }

  /* Open button style */
  .modal-open-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
  }

  .modal-open-btn:hover {
    background-color: #0056b3;
  }

  /* Smooth fade-in transition */
  .modal-overlay.show {
    display: flex;
    opacity: 1;
  }


  .modal-dialog {
    margin-bottom: 30%;
  }

  /* @media (min-height: 500px) {
    .modal-dialog {
      margin-top: 20vh; 
    }
  } */

  /* .modal-contents {
   
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0%;
    left: 50%;
    transform: translateY(40%);
    transform: translateX(-50%);
    z-index: 1050; 
  } */
  
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden !important;
}
/* WebKit browsers (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

*::-webkit-scrollbar-track {
  background: transparent !important;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #46e5a3, #06d455) !important; /* Indigo to Cyan */
  border-radius: 8px !important;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #06d455, #46e5a3) !important;
}

/* Firefox */
* {
  scrollbar-width: thin !important;
  scrollbar-color: #23ccb5 #f0f0f0 !important; /* Thumb, Track */
}
/* ---------------testReport */
    .biwta-logo {
      max-height: 100px;
    }
    .biwta-title {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.3;
    }
    .biwta-sub {
      font-size: 14px;
    }
    .biwta-underline {
      border-bottom: 2px solid #000;
      margin-top: 8px;
    }