.dwidget{
  flex: 1;
  padding: 10px;
}

/* Mobile view */
@media (max-width: 768px) {
  .dwidget {
      flex: unset;
      width: 100%;
    /* Full width on smaller screens */
  }
}

.drop-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px dashed #007bff;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  min-height: 130px;
}

table tbody tr:hover {
  cursor: pointer;
  background-color: #f0f8ff;
  transition: background-color 0.3s ease;
}

#fileList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-y: scroll;
  max-height: 140px;
}

.thumbFileName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link {
  cursor: pointer;
}

table.inspTable td {
  height: 50px;
}

.cardClosedFile {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cardClosedFile td.filename,
.cardClosedFile th.filename {
  width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Shows "..." if content overflows */
  white-space: nowrap;
  /* Prevents text from wrapping */
  padding: 8px;
}

.stickyHeader{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1055;
}

.nav-tabs .badge {
    position: relative;
    top: -7px; 
}

.nav-tabs-wrapper {
    white-space: nowrap;
}
.nav-tabs {
    flex-wrap: nowrap;   /* keep all tabs in one line */
}
.nav-item {
    flex: 0 0 auto;      /* prevent shrinking */
}
