body {
  font-family: sans-serif;
  background-color: #121212;
  color: #eee;
  padding: 1rem;
}
#app {
  background-color: #222;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
h1, h2, h3, h4 {
  color: #eee;
}
input[type="text"] {
  background-color: #333;
  color: #eee;
  border: 1px solid #666;
}
button {
  cursor: pointer;
}
.hover\:bg-gray-900:hover {
  background-color: #444;
}
.text-gray-400 {
  color: #aaa;
}
.font-semibold {
  color: #eee;
}
.bg-green-900 {
  background-color: #004000;
  color: #98FB98;
}
.text-green-300 {
  color: #98FB98;
}
.bg-green-800 {
  background-color: #003000;
  color: #66CDAA;
}
.text-green-400 {
  color: #66CDAA;
}
.bg-red-800 {
  background-color: #400000;
  color: #F08080;
}
.text-red-400 {
  color: #F08080;
}

.bg-gray-800 {
  background-color: #2d2d2d;
  color: #bbb;
}

.text-gray-300 {
  color: #ccc;
}

.border-gray-700 {
  border-color: #555;
}
.divide-y-gray-700 > :not([hidden]) ~ :not([hidden]) {
  border-top-color: #555;
}
.item {
  width: 120px;
  height: 80px;
}
.attach {
  width: 120px;
  height: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  word-break: break-word;
  overflow-wrap: break-word; 
  padding: 2px;
}
.attach > div:nth-child(1){
  height: 120px;
}
/* Inside static/style.css */
.bg-blue-700 {
  background-color: #2c5282; /* Example highlight color */
}
.text-white {
  color: #fff;
}
.modal{
  max-width: 60%;
  min-width: 600px;
  justify-content: center;
  align-items: center;
}
.modal-inner {
  justify-content: center;
}

/* Added styles for timelines */
.flex.space-x-4 {
  display: flex;
  gap: 1rem;
}

.flex.space-x-4 > div {
  flex: 1;
}

/* Styles for attachment diffs */
.added {
  display: flex;
  align-items: center;
}

.removed {
  display: flex;
  align-items: center;
}

/* Styles for timestamps */
.font-semibold.text-sm.text-gray-500 {
  font-size: 0.875rem; /* Adjust as needed */
}
.avatarcols {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.attcols{
  display: flex;
  gap: .2rem;
  flex-flow: column;
}
.parcelcols{
  display: flex;
  gap: 1rem;
  max-width:300px;
  min-width:280px;
  min-height:40px;
  flex-flow:column;
  position: sticky;
  flex:1;
  top: 0;                   /* Stick to the top of the viewport */
  overflow-y: auto; 
}
.parcelcols > div {
  position: sticky;
  top: 0;                   /* Stick to the top of the viewport */
  overflow-y: auto; 
  
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .flex.space-x-4 {
    flex-direction: column;
  }

  .modal {
    min-width: 90%;
  }
}
.flat-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
  min-height: 1000px;
}
.timeline-item {
  width:120px;
}
.avatar-header {
  position: sticky;
  top: 0;
  background-color: #222;
  padding: 4px;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid #555;
  z-index: 2;
}
.avatar-timeline {
  position: relative;
}
.timeline-box {
  position: absolute;
  left: 5px;
  right: 5px;
  border-radius: 4px;
  padding: 2px;
  font-size: 0.65rem;
  overflow: hidden;
}
.entry-header {
  font-weight: bold;
  font-size: 0.9rem;
}
.entry-times {
  font-size: 0.75rem;
  margin-top: 4px;
}

.status-marker.leaving {
  background-color: #400000; /* Red for leaving */
}