@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');



#add-list-card, .list-card {
  max-width: 200px;
}

.list-card {
  transform: rotate(var(--rotation, 0deg));
  transition: all 0.3s ease;
  background: white; 
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 
    3px 3px 6px rgba(0,0,0,0.1), 
    inset -1px -1px 2px rgba(0,0,0,0.05);
  font-family: 'Karla', sans-serif;
}
.dark .list-card {
  background: black; 
}

.list-card-title {
  font-family: 'Caveat', cursive;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.58rem;
  margin: 21px 0 42px;
}

.list-card-notes {
  font-family: 'Karla', sans-serif;
}

.list-card-progress {
    position: absolute;
    bottom: 8px;
    left: 19px;
}

.list-card.overdue {
  background-color: #FF6B6B; 
  color: white;
}

.list-card.near-due {
  background-color: #FFD93D; 
  color: black;
}

.list-card.completed {
  background-color: #6BCB77; 
  color: white;
}

.list-card:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
}

.line-through {
  text-decoration: line-through;
}

#list-notes {
  background: transparent;
  border: none;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  min-height: 30px;
  resize: none;
}

.item-name {
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
}

#lists-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: min-content;
  gap: 1.5rem;
  padding: 2rem;
  perspective: 1000px;
}

.agenda-timeline {
  height: calc(100vh - 113px);
  overflow: auto;
}

#list-detail-content {
  max-height: calc(100vh - 56px);
}

.agenda-timeline .date-section h2 {
  position: sticky;
  top: 0;
  background-color: #f3f4f6; /* bg-gray-100 */
  z-index: 20;
  padding: 0.5rem 1rem;  /* = pt-2 pb-2 px-4 */
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dark .agenda-timeline .date-section h2 {
  background-color: #000;
}

