@font-face {
  font-family: 'IRANSansX';
  src: url('IRANSansXFaNum-Regular.ttf') format('truetype');
}
html {
  scroll-behavior: smooth;
}
  body,h1,h2,h3,h4,th{
    font-family: IRANSansX  !important;
  }
  .table-wrapper {
      width: 100%;
      overflow-x: auto;
  }
  
  table {
      width: 100%;
  }
  
  th, td {
      white-space: nowrap; /* Prevent text from wrapping */
  }
  body {    
      margin: 0 !important;
      padding: 0 !important;
  }
  .box-left {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
  }
  .box-right {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
  }
      #results {
        border: 0px solid rgb(0, 153, 255);
        max-height: 150px;
        overflow-y: auto;
        margin-top: 10px;
      }
      .result-item {
        font-style: italic;
        background-color: rgb(236, 254, 255);
        padding: 8px;
        cursor: pointer;
      }
      .result-item:hover {
        background-color: rgb(175, 255, 215);
      }
  
  /* Style for the loading overlay */
  #loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
  }
  
  /* Style for the loading spinner */
  .loading-spinner {
      border: 8px solid #00e8b6;
      border-top: 8px solid #ff9ef9c5;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1s linear infinite;
  }
  
  /* Spinner animation */
  @keyframes spin {
      0% {
          transform: rotate(0deg);
      }
  
      100% {
          transform: rotate(360deg);
      }
  }

  /* Full-screen overlay */
  #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: grayscale(100%);
    display: none;
    z-index: 9999;
}

#loadingText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
}


.round-top-left {
  border-top-left-radius: 10px;
}
.round-top-right {
  border-top-right-radius: 10px;
}
.round-bottom-left {
  border-bottom-left-radius: 10px;
}
.round-bottom-right {
  border-bottom-right-radius: 10px;
}