.overflow-x-auto {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

/* Responsive font sizing */
.responsive-table {
  font-size: clamp(0.7rem, 1.5vw, 1rem);
}

th {
  text-align: left;
  padding: clamp(4px, 0.5vw, 8px);
  min-width: 40px; /* Ensure minimum width for headers */
  white-space: normal; /* Allow text to wrap */
}

td {
  text-align: left;
  padding: clamp(4px, 0.5vw, 8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fix for year column to prevent truncation */
td.year-column {
  min-width: 80px;
  white-space: normal;
  font-family: monospace;
  text-align: center;
  overflow: visible;
  text-overflow: clip;
}

/* Style for policy date annotation */
.policy-date-annotation {
  font-size: 1em;
  color: inherit;
  margin-top: 2px;
  text-align: center;
  display: block;
}

/* Style for policy date when it's the only content in the cell */
.policy-date-only {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
}

th {
  background-color: #f2f2f2;
  position: sticky;
  top: 0;
}

.sticky {
  position: sticky;
  left: 0;
  z-index: 1;
}

.bg-inherit {
  background-color: inherit;
}

.bg-gray-50 {
  background-color: #fafafa;
}

.bg-white {
  background-color: #ffffff;
}

.bg-gray-100 {
  background-color: #f2f2f2;
}

.border-b {
  border-bottom: 1px solid #e2e8f0;
}

.border-r {
  border-right: 1px solid #e2e8f0;
}

.border {
  border: 1px solid #e2e8f0;
}

.min-w-full {
  min-width: 100%;
}

.font-medium {
  font-weight: 500;
}

.text-right {
  text-align: right;
}

.z-10 {
  z-index: 10;
}

.mb-4 {
  margin-bottom: 1rem;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.text-xl {
  font-size: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.text-white {
  color: white;
}

.rounded {
  border-radius: 0.25rem;
}

.hover\:bg-blue-600:hover {
  background-color: #2563eb;
}

.text-center {
  text-align: center;
}

.p-4 {
  padding: 1rem;
}

.text-red-500 {
  color: #ef4444;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  color: #2c3e50;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  transition: background-color 0.3s;
}

button:hover {
  opacity: 0.9;
}

.bg-blue-500 {
  background-color: #3498db;
}

.bg-gray-200 {
  background-color: #ecf0f1;
}

.text-white {
  color: white;
}

.text-center {
  text-align: center;
}

.text-gray-500 {
  color: #7f8c8d;
}

.text-gray-600 {
  color: #636e72;
}

.text-sm {
  font-size: 0.875rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.font-bold {
  font-weight: 700;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pt-4 {
  padding-top: 1rem;
}

.border-t {
  border-top: 1px solid #e2e8f0;
}

.border-b {
  border-bottom: 1px solid #e2e8f0;
}

.flex {
  display: flex;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
/* Base styles */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
}

/* Additional utility classes */
.rounded {
  border-radius: 0.25rem;
}
