:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --border: 214.3 31.8% 91.4%;
  --card: 0 0% 100%;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Noto Sans Tamil', 'Latha', sans-serif;
  color: hsl(var(--foreground));
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.06), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  min-height: 100vh;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

header {
  margin-bottom: 24px;
}


.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
}

/* Optional page title */
.page-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  letter-spacing: -0.02em;
}

/* Optional description under title */
.page-desc {
  margin: 0 0 18px;
  max-width: 760px;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Table container card */
.table-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  padding: 14px 16px 18px;
  overflow-x: auto;
}

/* Core table styles (shadcn-like) */
.table-shadcn {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}

.table-shadcn thead {
  background: hsl(var(--muted));
}

.table-shadcn th {
  text-align: left;
  padding: 8px 10px;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
}

.table-shadcn td {
  padding: 7px 10px;
  border-bottom: 1px solid hsl(var(--border));
}

.table-shadcn tbody tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.9);
}

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

.table-shadcn tbody tr:hover {
  background-color: hsl(var(--muted));
}

/* Optional caption if you want to describe the table */
.table-shadcn caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  font-size: 0.86rem;
  color: hsl(var(--muted-foreground));
}

/* Card wrapper for content */
.section-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
  margin-top: 16px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--muted-foreground));
}


/* District list, shadcn-like multi-column nav */
.district-grid {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px 18px;
}


.district-grid li {
  margin: 0;
}

.district-grid a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.district-grid a::before {
  content: "↗";
  font-size: 0.8rem;
  opacity: 0.6;
}

.district-grid a:hover {
  background-color: hsl(var(--muted));
  transform: translateY(-0.5px);
}