/* Union County Clerk's Office - Veteran Grave Registration Database - Modern CSS */
/* Based on propertySearch2 design with veteranRedesign functionality */

:root {
  --union-maroon: #863844;
  --union-maroon-light: #A84A5C;
  --union-maroon-dark: #6B2C35;
  --union-blue: #1E73BE;
  --union-blue-light: #4A8FD8;
  --union-blue-dark: #155BA8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; scroll-behavior: smooth; background-color: var(--gray-900); }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #eef2ff 100%);
  min-height: 100vh;
}

/* iOS top safe area - fixed maroon bar that overlays the status bar area */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: linear-gradient(135deg, var(--union-maroon) 0%, var(--union-maroon-dark) 100%);
  z-index: 9999;
  pointer-events: none;
}

a { color: var(--union-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--union-blue-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* Layout */
.min-h-screen { min-height: 100vh; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 640px) { .flex-grow { padding-top: 2rem; padding-bottom: 2rem; } }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:col-span-2 { grid-column: span 2; }
}

/* Spacing */
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.ml-4 { margin-left: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.underline { text-decoration: underline; }
.text-white { color: white; }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
.text-union-maroon { color: var(--union-maroon); }
.text-union-blue { color: var(--union-blue); }
.text-red-500 { color: #ef4444; }

/* Glass Card - Main Design Element */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-2xl);
}

/* Tailwind-style opacity utilities */
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.hover\:bg-union-blue\/10:hover { background-color: rgba(30, 115, 190, 0.1); }
.hover\:border-union-blue\/40:hover { border-color: rgba(30, 115, 190, 0.4); }
.group:hover .group-hover\:text-union-blue-dark { color: var(--union-blue-dark); }

/* Blue utility classes for row selection */
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.hover\:bg-blue-100:hover { background-color: #dbeafe; }
.text-white { color: white; }

/* Selected row styling */
.selected-row {
  background-color: var(--union-blue) !important;
}
.selected-row td {
  color: white !important;
}

/* View button in results table */
.view-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--union-blue);
  color: white;
}
.view-btn:hover {
  background: var(--union-blue-dark);
}
/* View button on selected row - use contrasting color */
.selected-row .view-btn {
  background: white;
  color: var(--union-blue);
}
.selected-row .view-btn:hover {
  background: var(--gray-100);
}

/* Disable text selection */
.select-none,
#resultsBody tr,
#resultsBody td {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Cemetery List Styling - matches veteranRedesign exactly */
.cemetery-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* space-y-2.5 */
  padding-top: 4px; /* Allow room for hover lift effect */
  margin-top: 0;
}

.cemetery-item {
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem; /* p-3.5 sm:p-4 */
  border-radius: 0.75rem; /* rounded-xl */
  background-color: rgba(255, 255, 255, 0.6); /* bg-white/60 */
  border: 1px solid var(--gray-300); /* border border-gray-100 */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  transition: all 0.3s ease; /* transition-all duration-300 */
  cursor: pointer;
}

.cemetery-item:hover {
  background-color: rgba(30, 115, 190, 0.15);
  border-color: var(--union-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cemetery-name {
  color: var(--union-blue); /* text-union-blue */
  font-weight: 600; /* font-semibold */
  font-size: 1rem; /* text-sm, sm:text-base handled by media query */
  line-height: 1.25; /* leading-tight */
  transition: color 0.2s ease; /* transition-colors */
}

@media (min-width: 640px) {
  .cemetery-name {
    font-size: 1rem; /* sm:text-base */
  }
}

.cemetery-item:hover .cemetery-name {
  color: var(--union-blue-dark); /* group-hover:text-union-blue-dark */
}

.cemetery-count {
  color: var(--gray-500); /* text-gray-500 */
  font-size: 0.75rem; /* text-xs, sm:text-sm handled by media query */
  margin-top: 0.25rem; /* mt-1 */
}

@media (min-width: 640px) {
  .cemetery-count {
    font-size: 0.875rem; /* sm:text-sm */
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.card-elevated {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.modern-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.modern-card-elevated {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

/* Rounded Corners */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Borders */
.border { border: 1px solid var(--gray-200); }
.border-2 { border: 2px solid var(--gray-200); }
.border-t { border-top: 1px solid var(--gray-200); }
.border-b { border-bottom: 1px solid var(--gray-200); }
.border-b-2 { border-bottom: 2px solid var(--gray-200); }
.border-l-4 { border-left: 4px solid var(--gray-200); }
.border-l-union-blue { border-left-color: var(--union-blue); }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-gray-700 { border-color: var(--gray-700); }
.border-union-maroon { border-color: var(--union-maroon); }
.border-union-blue { border-color: var(--union-blue); }
.border-transparent { border-color: transparent; }
.border-t-4 { border-top-width: 4px; }

/* Backgrounds */
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-union-maroon { background-color: var(--union-maroon); }
.bg-union-blue { background-color: var(--union-blue); }
.bg-blue-50 { background-color: #eff6ff; }
.bg-yellow-50 { background-color: #fefce8; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-modern:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--union-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--union-blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--union-blue);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--union-blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
  color: var(--gray-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gray {
  background: var(--gray-500);
  color: var(--white);
}
.btn-gray:hover {
  background: var(--gray-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Form Elements */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: 0.5rem;
  background: var(--white);
  transition: all 0.2s ease;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--union-blue);
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.15);
}

.form-input::placeholder { color: var(--gray-400); }

/* Radio & Checkbox */
input[type="radio"], input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--union-blue);
  cursor: pointer;
}

.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.radio-label, .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.2s;
}
.radio-label:hover, .checkbox-label:hover { background: var(--gray-50); }

/* Tooltip */
.tooltip {
  position: relative;
}
.tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 0.75rem;
  background: var(--gray-900);
  color: white;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
  z-index: 100;
}
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

/* Tabs */
.tabs { border-bottom: 1px solid var(--gray-200); margin-bottom: 1.5rem; }
.tab-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: -1px; }
.tab-button {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-button:hover {
  color: var(--union-maroon);
  border-bottom-color: var(--gray-300);
}
.tab-button.active {
  color: var(--union-maroon);
  border-bottom-color: var(--union-maroon);
}

.tab-content { display: none; padding: 1.5rem 0; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }

/* Alerts / Info Boxes */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.alert-info {
  background: #eff6ff;
  color: var(--gray-900);
  border-left: 4px solid var(--union-blue);
}
.alert-success { background: #dcfce7; color: #166534; border-left: 4px solid #22c55e; }
.alert-warning {
  background: #fefce8;
  color: var(--gray-900);
  border-left: 4px solid #eab308;
}
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; }

/* Document Type Grid */
.doc-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  border: 2px solid var(--gray-300);
  border-radius: 0.5rem;
  padding: 1rem;
  background: var(--white);
}
@media (min-width: 768px) { .doc-type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .doc-type-grid { grid-template-columns: repeat(4, 1fr); } }
.doc-type-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.doc-type-item:hover { background: var(--gray-100); border-color: var(--gray-300); }
.doc-type-item span { font-size: 0.8125rem; color: var(--gray-700); white-space: nowrap; }

/* Result Cards */
.result-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}
.result-card:hover {
  border-color: var(--union-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.page-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover { border-color: var(--union-blue); color: var(--union-blue); }
.page-btn.active {
  background: var(--union-maroon);
  color: var(--white);
  border-color: var(--union-maroon);
}

/* Header */
.header {
  position: relative;
  z-index: 60;
  background: linear-gradient(135deg, var(--union-maroon) 0%, var(--union-maroon-dark) 100%);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0.5;
}
.header-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
@media (min-width: 640px) { .header-content { gap: 1rem; padding: 0.75rem 0; } }
@media (min-width: 768px) { .header-content { gap: 1rem; padding: 1rem 0; } }

/* Logout button in header */
.logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.logout-btn:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 640px) { .logout-btn span { display: none; } .logout-btn { padding: 0.5rem; } }

/* Request count badge */
.request-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-left: 0.25rem;
  line-height: 1;
  vertical-align: middle;
}
.header-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
  flex-shrink: 0;
}
@media (min-width: 640px) { .header-logo { width: 3.5rem; height: 3.5rem; } }
@media (min-width: 768px) { .header-logo { width: 5rem; height: 5rem; } }
.header-text { min-width: 0; flex: 1; }
.header-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.125rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
@media (min-width: 640px) { .header-title { font-size: 1.25rem; margin-bottom: 0.25rem; } }
@media (min-width: 768px) { .header-title { font-size: 1.875rem; } }
.header-subtitle {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
}
@media (min-width: 640px) { .header-subtitle { font-size: 0.875rem; } }
@media (min-width: 768px) { .header-subtitle { font-size: 1.125rem; } }

/* Navigation */
.nav {
  position: relative;
  z-index: 60;
  background: var(--union-blue);
  box-shadow: var(--shadow-lg);
}

/* Full-width nav row */
.nav-row {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 1rem;
  width: 100%;
}
@media (min-width: 768px) {
  .nav-row {
    display: flex;
  }
  .nav .container {
    max-width: none;
    padding: 0;
  }
}

/* Legacy grid support */
.nav-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0.5rem 0;
}

.nav-item { position: relative; }
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  background: transparent;
  white-space: nowrap;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-button:hover, .nav-button.active, .nav-item:hover .nav-button { background: rgba(255,255,255,0.15); color: white; }
.nav-button svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.nav-item:hover .nav-button svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  min-width: 220px;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu {
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s;
}
.dropdown-link:hover {
  background: var(--union-blue);
  color: white;
}

/* Mobile Menu */
.mobile-menu-wrapper {
  display: block;
  padding: 0.5rem 0;
  position: relative;
  z-index: 51;
}
@media (min-width: 768px) {
  .mobile-menu-wrapper { display: none; }
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.1); }
.mobile-menu-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  padding-bottom: 1rem;
  position: relative;
  z-index: 51;
}
.mobile-menu.active { display: block; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }

/* Mobile menu overlay - captures taps outside menu and darkens content below nav */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 55;
}
.mobile-menu-overlay.active { display: block; }
@media (min-width: 768px) { .mobile-menu-overlay { display: none !important; } }

.mobile-nav-section { border-top: 1px solid rgba(255,255,255,0.15); }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.8);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.mobile-nav-toggle:hover { color: white; }
.mobile-nav-toggle svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.mobile-nav-toggle.open svg { transform: rotate(180deg); }
.mobile-subnav {
  display: none;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem 0;
}
.mobile-subnav.active { display: block; }
.mobile-subnav a {
  display: block;
  padding: 0.5rem 2rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.mobile-subnav a:hover { color: white; }

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  margin-top: 3rem;
  border-top: 4px solid var(--union-maroon);
}
.footer-content { padding: 2.5rem 1rem 3rem 1rem; }
@media (min-width: 640px) { .footer-content { padding: 3rem 1rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2rem;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 5rem; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 4rem; } }
.footer-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.025em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--union-blue); }
.footer-link svg {
  width: 1rem;
  height: 1rem;
  color: #913B46;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-bottom a { color: var(--gray-400); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--union-blue); }

/* Divider */
.modern-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2rem 0;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-fade-in { animation: fadeIn 0.4s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-slide-down { animation: slideDown 0.5s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Utility Classes */
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }
.prose { max-width: 65ch; }
.prose.max-w-none { max-width: none; }
.max-w-none { max-width: none; }
.prose p { margin-bottom: 1rem; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* SVG Icons */
.icon { display: inline-block; vertical-align: middle; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* Width utilities */
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }

/* Height utilities */
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }

/* Flex shrink */
.flex-shrink-0 { flex-shrink: 0; }

/* Birth/Death date container with divider */
.birth-death-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.birth-death-container > div:first-child {
  grid-column: 1;
}
.birth-death-container .birth-death-divider {
  grid-column: 2;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #d1d5db, transparent);
  align-self: stretch;
  display: block;
}
.birth-death-container > div:last-child {
  grid-column: 3;
}

/* Responsive */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .glass-card, .modern-card-elevated { border-radius: 1rem; }
  .footer-content { padding: 3rem 1rem 3rem 1rem !important; }

  /* Stack search buttons on mobile */
  .search-buttons-container {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .search-buttons-container .btn {
    margin-left: 0 !important;
    width: 100%;
  }

  /* Fix bullet point layout on mobile - ensure items don't overflow */
  .footer-links li,
  .info-list li {
    display: flex;
    align-items: flex-start;
    word-break: break-word;
  }
  .footer-links li svg,
  .info-list li svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
  }

  /* More padding for sort combobox on mobile */
  .sort-select,
  #sortBy {
    padding: 0.625rem 1rem !important;
  }

  /* Reduce results table height on mobile */
  #resultsSection .overflow-y-auto {
    max-height: 620px !important;
  }

  /* Birth/Death container - stack on mobile */
  .birth-death-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .birth-death-container > div:first-child,
  .birth-death-container > div:last-child {
    grid-column: auto;
  }

  /* Date fields mobile layout - Month/Day/Year on one row, Modifier stacked below */
  .date-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .date-fields-grid .date-modifier-field {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
  }

  /* Divider between birth and death dates on mobile - horizontal */
  .birth-death-divider {
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, #d1d5db, transparent) !important;
    margin: 1rem 0 !important;
  }

  /* Prevent zoom on input focus - use 16px font size */
  input[type="text"],
  input[type="date"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:rounded-3xl { border-radius: 1.5rem; }
}
@media (min-width: 768px) {
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:p-10 { padding: 2.5rem; }
}

/* Modal / Dialog */
.modal-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999 !important;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex !important;
}
.modal-content {
  background: transparent;
  border-radius: 1.5rem;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}
.modal-close:hover {
  background: white;
  transform: scale(1.1);
}
.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-600);
}
.modal-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 1.5rem;
  background: white;
}

/* ============================================
   VETERAN-SPECIFIC STYLES
   ============================================ */

/* Gradient backgrounds */
.bg-gradient-maroon {
  background: linear-gradient(135deg, var(--union-maroon) 0%, var(--union-maroon-dark) 100%);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, var(--union-blue) 0%, var(--union-blue-dark) 100%);
}

.bg-gradient-to-br {
  background: linear-gradient(to bottom right, var(--union-blue) 0%, var(--union-blue-dark) 100%);
}

.from-union-blue {
  --tw-gradient-from: var(--union-blue);
}

.to-union-blue-dark {
  --tw-gradient-to: var(--union-blue-dark);
}

/* Text shadows */
.text-shadow-strong {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-soft {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navigation link styles */
.nav-link {
  display: block;
  text-align: center;
  padding: 0.5rem 0.5rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

@media (min-width: 640px) {
  .nav-link {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

.nav-link:hover,
.nav-link.active {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

.nav-text {
  position: relative;
  z-index: 10;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--union-maroon);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover .nav-indicator,
.nav-indicator.active {
  transform: scaleX(1);
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--union-maroon) 0%, var(--union-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient card */
.gradient-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-lg);
}

/* Hover lift effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Animation delays */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }

/* Slide up animation */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out forwards;
}

/* Scale in animation */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Table styles for search results */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.table thead th {
  position: sticky;
  top: 0;
  background: var(--union-maroon);
  z-index: 10;
}

.table th {
  font-weight: 600;
}

.table td {
  color: var(--gray-700);
}

/* Results table specific styles */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.results-table th {
  background: var(--gray-100);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 2px solid var(--gray-300);
  white-space: nowrap;
}

.results-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.results-table tr:hover td {
  background: var(--gray-50);
}

.results-table .pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.results-table .pdf-link:hover {
  transform: scale(1.1);
}

/* Button styles for pagination */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Responsive table wrapper */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid var(--gray-200);
  border-top-color: var(--union-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* PDF Modal */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.pdf-modal.active {
  display: flex;
}

.pdf-modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 900px;
  max-height: 90vh;
  width: 95%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pdf-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-800);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.pdf-modal-close:hover {
  background: var(--gray-900);
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-container {
  width: 100%;
  max-height: calc(90vh - 2rem);
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pdf-page {
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

/* Prevent drag/save on PDF container elements */
.pdf-container canvas,
.pdf-container img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Additional responsive utilities */
@media (min-width: 640px) {
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:h-14 { height: 3.5rem; }
  .sm\:w-14 { width: 3.5rem; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:mb-12 { margin-bottom: 3rem; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:h-20 { height: 5rem; }
  .md\:w-20 { width: 5rem; }
  .md\:gap-4 { gap: 1rem; }
  .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:mb-1 { margin-bottom: 0.25rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:text-6xl { font-size: 3.75rem; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Additional size utilities */
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.min-w-0 { min-width: 0; }
.flex-1 { flex: 1 1 0%; }
.min-h-\[500px\] { min-height: 500px; }
.max-h-\[600px\] { max-height: 600px; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-\[1600px\] { max-width: 1600px; }
.pr-2 { padding-right: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.overflow-y-auto { overflow-y: auto; }
.border-r { border-right: 1px solid; }
.last\:border-r-0:last-child { border-right: 0; }
.border-black\/30 { border-color: rgba(0, 0, 0, 0.3); }
.blur-3xl { filter: blur(64px); }
.inset-0 { inset: 0; }
.absolute { position: absolute; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.opacity-10 { opacity: 0.1; }
.tracking-wide { letter-spacing: 0.025em; }
.border-yellow-400 { border-color: #facc15; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-sm-8 { gap: 2rem; }

/* Mobile table swipe hint */
.table-swipe-hint {
  display: none;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}
@media (max-width: 768px) {
  .table-swipe-hint { display: block; }
}
