/* Modern CSS for US Code Browser */
:root {
  /* Color palette */
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #e74c3c;
  --background-color: #f5f6fa;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --background-light: #f9fafb;

  /* Typography */
  --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --heading-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --code-font: 'Courier New', monospace;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Border radius */
  --border-radius: 0.25rem;

  /* Transitions */
  --transition-speed: 0.3s;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body>.scroll-top {
  display: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
  margin-top: var(--spacing-lg);
}

h2 {
  font-size: 1.75rem;
  margin-top: var(--spacing-lg);
}

h3 {
  font-size: 1.5rem;
  margin-top: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.main-header {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.logo-link:hover {
  color: var(--text-color);
  text-decoration: none;
}

.nav-items {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-color);
}

.subheader {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 2rem;
}

.subheader-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-path>*:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--light-text);
}

.breadcrumb-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.country-flag {
  width: 1.25rem;
  height: auto;
  border-radius: 2px;
}

.sub-nav {
  display: flex;
  gap: 1rem;
}

.nav-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  text-decoration: none;
}

.nav-item .icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  fill: currentColor;
}

/* Main content */
main {
  flex: 1;
  padding: 2rem 0;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin: 0 var(--spacing-sm);
  color: var(--light-text);
}

.breadcrumbs a {
  color: var(--secondary-color);
}

.breadcrumbs li:last-child a {
  color: var(--text-color);
  pointer-events: none;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

.card-header {
  padding: var(--spacing-md);
  background-color: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.card-body {
  padding: var(--spacing-lg);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-lg);
}

th,
td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: rgba(0, 0, 0, 0.02);
  font-weight: 600;
}

tr:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

/* Lists */
ul,
ol {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
}

li {
  margin-bottom: var(--spacing-sm);
}

/* Title list */
.titles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.title-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.title-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.title-card a {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text-color);
  gap: 0.5rem;
}

.title-card a:hover {
  text-decoration: none;
}

.title-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
}

.title-name {
  font-size: 0.875rem;
  color: var(--light-text);
  font-weight: 500;
}

/* Chapters list */
.chapters-list {
  list-style: none;
  padding: 0;
}

.chapter-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.chapter-item:last-child {
  border-bottom: none;
}

.chapter-item a {
  display: block;
  color: var(--text-color);
  text-decoration: none;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-speed);
}

.chapter-item a:hover {
  color: var(--secondary-color);
}

.chapter-number {
  font-weight: bold;
  color: var(--secondary-color);
  margin-right: var(--spacing-sm);
}

/* Sections list */
.sections-list {
  list-style: none;
  padding: 0;
}

.section-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.section-item:last-child {
  border-bottom: none;
}

.section-item a {
  display: block;
  color: var(--text-color);
  text-decoration: none;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-speed);
}

.section-item a:hover {
  color: var(--secondary-color);
}

.section-number {
  font-weight: bold;
  color: var(--secondary-color);
  margin-right: var(--spacing-sm);
}

/* Section content */
.section-content {
  background-color: white;
  padding: var(--spacing-lg);
  padding-top: 0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

/* Subsections */
.subsection {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
  border-left: 3px solid var(--border-color);
}

.subsection-number {
  font-weight: bold;
  color: var(--primary-color);
}

/* Search */
.search-container {
  margin: 2rem 0;
  position: relative;
}

.search-box {
  width: 100%;
  display: flex;
  gap: 1rem;
  background: white;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-box input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-color);
  background: transparent;
}

.search-box input[type="text"]::placeholder {
  color: var(--light-text);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--light-text);
}

/* Search results */
.search-results {
  margin-top: var(--spacing-lg);
}

.search-result {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.search-result h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.search-result .snippet {
  color: var(--light-text);
  margin-top: var(--spacing-sm);
}

/* Error page */
.error {
  text-align: center;
  padding: 3rem 0;
}

.error h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error p {
  color: var(--text-color);
  margin-bottom: 2rem;
}

.error a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.error a:hover {
  background-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--background-light);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  color: var(--light-text);
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .main-nav ul {
    gap: 1rem;
  }

  .breadcrumb-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .sub-nav {
    width: 100%;
    justify-content: space-around;
  }
}

/* Loading indicators */
.loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25rem solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s linear infinite;
}

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

.text-error {
  color: var(--error-color);
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: var(--spacing-sm);
}

.p-2 {
  padding: var(--spacing-md);
}

.p-3 {
  padding: var(--spacing-lg);
}

.p-4 {
  padding: var(--spacing-xl);
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-accent {
  color: var(--accent-color);
}

.text-light {
  color: var(--light-text);
}

.text-success {
  color: var(--success-color);
}

.text-warning {
  color: var(--warning-color);
}

.text-error {
  color: var(--error-color);
}

.bg-primary {
  background-color: var(--primary-color);
  color: white;
}

.bg-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.bg-accent {
  background-color: var(--accent-color);
  color: white;
}

.bg-light {
  background-color: var(--background-color);
}

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

.shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rounded {
  border-radius: var(--border-radius);
}

.border {
  border: 1px solid var(--border-color);
}

.hidden {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Legal Resources Grid */
.legal-resources-grid {
  padding: 2rem 0;
}

.resource-card {
  display: block;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
  text-decoration: none;
}

.resource-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.resource-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resource-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

.country-flag {
  width: 2rem;
  height: auto;
  border-radius: 4px;
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resource-version {
  font-size: 0.875rem;
  color: var(--light-text);
  font-weight: 500;
}

.resource-status {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--success-color);
  background: rgba(46, 204, 113, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

/* About page styles */
.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-header h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--light-text);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.mission-section,
.vision-section {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--light-text);
  margin: 0;
}

/* Resource card styles */
.legal-resources-grid {
  max-width: 900px;
  margin: 3rem auto;
}

.resource-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
  text-decoration: none;
}

.resource-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.resource-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resource-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resource-version {
  font-size: 0.875rem;
  color: var(--light-text);
  font-weight: 500;
}

.resource-status {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--success-color);
  background: rgba(46, 204, 113, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

/* Documentation styles */
.documentation-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.documentation-header {
  text-align: center;
  margin-bottom: 4rem;
}

.documentation-header h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.documentation-subtitle {
  font-size: 1.25rem;
  color: var(--light-text);
}

.documentation-content {
  display: flex;
  flex-direction: column;
}

.endpoint-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  overflow: hidden;
}

.endpoint-header {
  background: var(--background-light);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.endpoint-header h3 {
  margin: 0;
  color: var(--text-color);
}

.method {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
}

.method.get {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success-color);
}

.endpoint-content {
  padding: 1.5rem;
}

.endpoint-url {
  display: block;
  background: var(--background-light);
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: var(--code-font);
  margin: 1rem 0;
}

.parameters {
  margin-top: 2rem;
}

.parameters table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.parameters th {
  text-align: left;
  background: var(--background-light);
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.parameters td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.response-example {
  margin-top: 2rem;
}

.response-example pre {
  /* background: var(--background-light); */
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
}

.response-example code {
  font-family: var(--code-font);
}

/* Remove hover effects */
.no-hover-effect {
  text-decoration: none !important;
  color: inherit !important;
}

.no-hover-effect:hover {
  text-decoration: none !important;
  color: inherit !important;
}

/* Category Icons */
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #ceddff;
  border-radius: 1rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.category-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.laws-icon {
  width: 100%;
  height: 100%;
  fill: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* API Explorer Styles */
.api-explorer {
  padding: 0 0 3rem 0;
}

.api-explorer h1 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 2.5rem;
}

.apis-table {
  max-width: 1000px;
  margin: 0 auto;
}

.category-section {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-section:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.category-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--light-text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.breadcrumb-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  text-decoration: none;
}

.breadcrumb-link .country-flag {
  width: 1.25rem;
  height: auto;
  border-radius: 2px;
}

/* Style fixes for the homepage hero section */
.hero-section {
  display: none;
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border-radius: 1rem;
  margin-bottom: 3rem;
  color: white;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Code block and clipboard functionality */
.code-block-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.code-block {
  background-color: #1e293b;
  border-radius: 0.375rem;
  overflow: auto;
}

.code-block pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--code-font);
  font-size: 0.875rem;
  color: #ffffff;
  white-space: pre;
}

/* Copy button styling */
.copy-btn,
.copy-code-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.6;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.copy-btn:hover,
.copy-code-btn:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05);
}

.copy-btn svg,
.copy-code-btn svg {
  fill: currentColor;
}

/* Code block copy button styling */
.copy-code-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.25rem;
  color: white;
  padding: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  z-index: 2;
}

.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.copy-code-btn svg {
  fill: white;
}

.code-block-container:hover .copy-code-btn {
  opacity: 1;
}

/* Success animation */
.success {
  background: rgba(46, 204, 113, 0.3) !important;
}

/* URL Container Styling */
.endpoint-url-container {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.endpoint-url {
  font-family: var(--code-font);
  font-size: 0.875rem;
  color: var(--primary-color);
  flex-grow: 1;
  user-select: all;
}

/* Tailwind-like utility classes */
.bg-gray-50 {
  background-color: #f9fafb;
  border-bottom: 1px solid var(--border-color);
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.max-w-7xl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

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

.flex {
  display: flex;
}

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

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

.space-x-4>*+* {
  margin-left: 1rem;
}

.text-gray-600 {
  color: #4b5563;
}

.hover\:text-gray-900:hover {
  color: #111827;
}

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Layout styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles */
.main-header {
  background: white;
  border-bottom: 1px solid var(--border-color);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.logo-section:hover {
  text-decoration: none;
}

.main-logo {
  height: 2rem;
  width: auto;
  margin-right: 0.75rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-color);
}

/* Main content styles */
main {
  padding: 2rem 0;
  min-height: calc(100vh - 8rem);
}

/* Footer styles */
footer {
  background: white;
  border-top: 1px solid var(--border-color);
  padding: 1rem 0;
  margin-top: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  .main-nav ul {
    gap: 1rem;
  }
}

/* Additional utility classes */
.text-gray-400 {
  color: #9ca3af;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.active {
  color: var(--text-color);
}

/* SVG styles */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Link styles */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* Navigation specific styles */
.nav-path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.country-flag {
  width: 1.25rem;
  height: auto;
  vertical-align: middle;
}