.table-responsive {
  overflow-y: auto;
  max-height: 60vh;
}

.content-wrapper {
  min-height: 90vh !important;
  max-height: 90vh !important;
}

#filter-popup {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.filter-popup-content {
  padding: 5px;
}

.filter-input-wrapper {
  position: relative;
}

#filter-input {
  width: 100%;
  padding-right: 30px; /* Space for the icon */
  box-sizing: border-box;
}

.filter-icon-input {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
}

.filter-icon-input .fa {
  font-size: 16px;
}

#suggestions-list {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  margin: 5px 0 0;
  padding: 0;
  border-top: 1px solid #ccc;
}

#suggestions-list li {
  padding: 5px;
  cursor: pointer;
}

#suggestions-list li:hover {
  background-color: #f0f0f0;
}

#result_list tr th {
  white-space: nowrap; /* Prevent text wrapping */
}

#result_list tr th .text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-icon {
  margin: 0 0.25em 0 0.75em;
}

.form-group.field-name:has(#id_format) {
    display: none !important;
}

.page-actions a.import_link.btn.btn-secondary {
    color: black;
    margin: 0 10px;
}

@media (prefers-color-scheme: dark) {
    table.import-preview tbody tr{
        background-color: #BBB !important;
    }
}

@media (prefers-color-scheme: dark) {
  table.import-preview tbody tr.skip {
    background-color: #d2d2d2 !important;
  }

  table.import-preview tbody tr.new {
    background-color: #bdd8b2 !important;
  }

  table.import-preview tbody tr.delete {
    background-color: #f9bebf !important;
  }

  table.import-preview tbody tr.update {
    background-color: #fdfdcf !important;
  }

  .validation-error-container {
    background-color: #ffc1c1 !important;
  }

  table.import-preview tbody td ins {
    background-color: transparent !important;
  }

  table.import-preview tbody td del {
    background-color: transparent !important;
  }
}