/* Redesign 2025 Custom Styles */
/* Ensure proper width constraints for collapsed/expanded states */
.min-w-16 {
  min-width: 4rem; /* 64px */
  width: auto;
}

.min-w-64 {
  min-width: 16rem; /* 256px */
  width: auto;
}

/* Custom scrollbar for survey lists */
.survey-list-scroll {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.survey-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.survey-list-scroll::-webkit-scrollbar-track {
  background: #f8fafc;
}

.survey-list-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.survey-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Line clamp utility for text truncation */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination styles */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination a,
.pagination span,
.pagination em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  color: #3b82f6;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.pagination a:hover {
  background-color: #eff6ff;
}

.pagination .current,
.pagination em {
  background-color: #3b82f6;
  color: white;
  font-style: normal;
}

.pagination .disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

.pagination .previous_page,
.pagination .next_page {
  padding: 0 0.75rem;
}
