.single-line-info {
    display: flex;
    flex-wrap: nowrap;      /* keep everything in one line */
    gap: 2rem;              /* spacing between each info block */
  }

/* Overlay background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* light transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

/* Spinner and text wrapper */
.loading-box {
  display: flex;
  align-items: center;
  gap: 12px; /* spacing between spinner and text */
}

/* Spinner style */
.custom-spinner {
  width: 3rem;
  height: 3rem;
  border-width: 0.35rem;
}

/* Loading text */
.loading-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
/* softer backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-spinner {
  width: 2rem;  /* bigger spinner */
  height: 2rem;
}
.loading-text {
  font-size: 1rem;   /* match spinner size */
  font-weight: 400;
  color: #333;
}


  .single-line-info > div {
    display: flex;          /* label and span inline */
    align-items: center;    /* vertically align label & span */
    white-space: nowrap;    /* prevent breaking inside each block */
  }

  .control-label1 {
    margin-right: 0.5rem;   /* space between label and span */
    flex-shrink: 0;         /* label doesn't shrink */
  }

  .text-wrap {
    white-space: nowrap;    /* no word break in span */
    flex-shrink: 0;         /* span doesn't shrink */
  }

.custom-textarea {
  height: 25px;
  padding: 2px;
  resize: none;
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
  background-color: white;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  overflow: hidden; /* Hides both vertical and horizontal scrollbars */
}


.container {
  display: flex;
  height: 100vh;
}

.resizable {
  display: flex;
  width: 100%;
}

.col-left, .col-right {
  padding: 15px;
}

.col-left {
  flex-grow: 1;
  min-width: 20%; /* Minimum width for the left column */
}

.col-right {
  flex-grow: 1;
  min-width: 20%; /* Minimum width for the right column */
}

.divider {
  width: 5px;
  cursor: col-resize;
  background-color: #f0f0f0;
}

.split-container {
  display: flex;
  width: 100%;
  height: 100vh;
}

.pane {
  background-color: #f0f0f0; 
}

.splitter {
  width: 5px;
  background-color:#2c5891;
  cursor: col-resize;
}




th, td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #2c5891; 
  color: #ffffff;
}

.btn-group-all .btn-sm{
    margin-right:10px;
}
.btn-group-all{
    margin-bottom: 15px;
}
/* In component.css or global styles */
.small-dropdown {
  width: 200px;
  font-size: 13px;
  padding: 4px;
}

.table-container {
  /* max-height: 400px; /* Adjust as needed */
  overflow-y: auto;  /* Enables vertical scrolling */
  display: block;
}

.compact-table td,
.compact-table th {
  padding: 4px !important;
  vertical-align: middle;
}

.compact-table input,
.compact-table select,
.compact-table textarea {
  height: 25px;
  font-size: 13px;
  padding: 2px 4px;
}

.pdf-viewer-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  position: relative;
  background: white;
}

.toolbar {
  z-index: 1;
  position: sticky;
  top: 0;
  background: #f5f5f5;
  padding: 8px 16px;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.goto-input {
  width: 60px;
}

.sync-scroll {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.canvas-container {
  height: 80vh;
  overflow-y: auto;
  padding: 10px;
  flex-grow: 1;
}

.icon-button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

.icon-button:hover {
  color: #007bff;
}

.global-loader {
  text-align: center;
  font-weight: bold;
  padding: 1rem;
  color: #007bff;
}
.canvas-container.dark-mode {
  background-color: #2e2e2e;
  color: white;
}

.canvas-container.dark-mode canvas {
  filter: invert(1) hue-rotate(180deg);
}


.textLayer {
  font-family: sans-serif;
  line-height: 1;
  position: absolute;
  color: transparent;
  white-space: pre;
  user-select: text;
  -webkit-user-select: text;
  pointer-events: none; /* So it doesn’t block scroll/clicks */
}


.textLayer div {
  pointer-events: none; /* Prevents mouse interaction unless needed */
}

.highlight {
  background-color: yellow !important;
  color: black !important;
}


