@import "tailwindcss";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lexend:wght@100..900&display=swap');

/* Tailwind v4 container utility customization */
@utility container {
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f9fafb;
}

::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

a, button, [role="button"], input[type="submit"], select {
  cursor: pointer;
}

/* Custom utility classes */
.text-balance {
  text-wrap: balance;
}

/* Static legal/info pages typography */
.page-content > p {
  margin-bottom: 1rem;
  line-height: 1.65;
  color: #334155;
}
.page-content > h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.page-content > h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
}
.page-content > ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #334155;
}
.page-content > ul li {
  margin-bottom: 0.375rem;
  line-height: 1.6;
}
.page-content a {
  color: #0284c7;
  text-decoration: underline;
}
.page-content a:hover {
  color: #0369a1;
}

/* Pagy pagination */
nav.pagy.series-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

nav.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  color: #475569;
  background: white;
  transition: all 0.2s;
}

nav.pagy.series-nav a:hover:not([aria-disabled="true"]):not([aria-current="page"]) {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: #f0f9ff;
}

nav.pagy.series-nav a[aria-current="page"] {
  background: linear-gradient(to right, #0ea5e9, #0284c7);
  color: white;
  border-color: transparent;
  font-weight: 600;
}

nav.pagy.series-nav a[aria-disabled="true"] {
  color: #cbd5e1;
  border-color: #e2e8f0;
  cursor: default;
}

nav.pagy.series-nav a[role="separator"] {
  border: none;
  background: none;
  color: #94a3b8;
  min-width: 1.5rem;
  padding: 0;
}
