body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
}

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

th {
  position: relative;
  cursor: pointer;
}

/* Default colors that will be overridden by Colourability */
thead tr {
  background-color: #f0f0f0;
}

tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.sort-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  position: relative;
  top: 1px;
}

.sort-indicator::before,
.sort-indicator::after {
  content: '';
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  opacity: 0.3;
}

.sort-indicator::before {
  top: 0;
  border-bottom: 5px solid #666;
}

.sort-indicator::after {
  bottom: 0;
  border-top: 5px solid #666;
}

.sort-indicator.asc::before {
  opacity: 1;
}

.sort-indicator.desc::after {
  opacity: 1;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.centered {
  text-align: center;
}

.row-view {
  padding: 15px;
  border: 1px solid #ddd;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.field-container {
  display: flex;
  align-items: center;
}

.field-label {
  font-weight: bold;
  margin-right: 5px;
}

.value-cell {
  display: inline-block;
}




.controls {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.operation-buttons button {
  margin-right: 8px;
  padding: 6px 12px;
}

.status-container {
  position: fixed;
  top: 10px;
  right: 10px;
  max-width: 300px;
  z-index: 1000;
}

.status-message {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  position: relative;
}

.info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.warning {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s;
}

.dismiss-button {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 16px;
}

#offline-mode {
  margin-right: 10px;
}










