body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

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

:root {
  --sidebar-width: 300px;
  --layout-gap: 20px;
}

a {
  color: #38bdf8;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 100%;
  margin: 0;
  padding: 8px 4px 16px;
  background: #0f172a;
}

/* Responsive typography */
@media (max-width: 1200px) {
  .page {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page {
    font-size: 0.85rem;
    padding: 12px 8px 24px;
  }
}

/* Performance optimizations */
.media-item {
  contain: layout style paint;
}

.media-grid {
  contain: layout;
}

.layout {
  position: relative;
  display: block;
  padding-left: calc(var(--sidebar-width) + var(--layout-gap) + 16px);
  padding-right: 16px;
  box-sizing: border-box;
}

.sidebar {
  position: fixed;
  top: 16px;
  left: 16px;
  width: var(--sidebar-width);
  padding: 12px 10px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.sidebar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(56, 189, 248, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(56, 189, 248, 0.5);
}

/* Hide scrollbar when not needed */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}

/* Ensure content takes full width */
.sidebar > * {
  width: 100%;
  flex-shrink: 0;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 16px;
}

.branding-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.branding-logo-link {
  text-decoration: none;
  display: inline-block;
}

.branding-logo-link:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.sidebar-header h1 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #f8fafc;
}

.sidebar-header p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.content {
  min-width: 0;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  min-height: calc(100vh - 32px);
  box-sizing: border-box;
}

.header {
  text-align: center;
  margin-bottom: 16px;
}

.header h1 {
  font-weight: 600;
  margin-bottom: 8px;
}

.header p {
  color: #94a3b8;
  margin: 0;
}

.card {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.search-card {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 12px;
  box-sizing: border-box;
}

.roadmap-card {
  width: 100%;
  padding: 12px 18px;
  margin: 0;
  background: rgba(15, 23, 42, 0.6);
  box-sizing: border-box;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* API Key Section */
.api-key-block {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  border: 1px solid #1e293b;
  transition: all 0.3s ease;
  overflow: hidden;
}

.api-key-block h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Removed duplicate .api-key-block h3 rule */

.required-indicator {
  color: #f87171;
  font-size: 1.2em;
  line-height: 1;
}

.api-key-note {
  margin: 0 0 1rem 0;
  font-size: 0.9em;
  color: #94a3b8;
  line-height: 1.5;
}

.api-key-note a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.api-key-note a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.api-key-input-group {
  margin-top: 0.75rem;
}

.api-key-input {
  width: 100%;
  padding: 0.75rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.95em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.api-key-input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.input-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8em;
  color: #64748b;
  font-style: italic;
}

/* Donation Button */
.donation-buttons {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.bulk-actions {
  position: sticky;
  top: 0.5rem;
  z-index: 2;
  background: #0b0c10;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.bulk-actions__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bulk-actions__label {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.bulk-actions__controls input[type="number"] {
  width: 110px;
  background: #111827;
  color: #f9fafb;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

.bulk-actions__button {
  margin-top: 0.6rem;
  background: linear-gradient(120deg, #10b981, #0ea5e9);
  color: #0b0c10;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}

.bulk-actions__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(14,165,233,0.25);
}

.bulk-actions__hint {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.bulk-actions__status {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #a5f3fc;
  min-height: 1.2em;
}

.roadmap-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.roadmap-header .section-heading {
  margin-bottom: 0;
}

.roadmap-toggle {
  background: transparent;
  color: #38bdf8;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin: 4px 0;
}

.roadmap-toggle:hover,
.roadmap-toggle:focus-visible {
  background: rgba(56, 189, 248, 0.1);
  color: #e0f2fe;
  outline: none;
}

.roadmap-content[hidden] {
  display: none;
}

.roadmap-content {
  margin-top: 12px;
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.5) transparent;
}

.roadmap-content::-webkit-scrollbar {
  width: 6px;
}

.roadmap-content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.roadmap-content::-webkit-scrollbar-thumb {
  background-color: rgba(56, 189, 248, 0.5);
  border-radius: 3px;
}

.roadmap-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(56, 189, 248, 0.7);
}

.roadmap-subtitle {
  margin: 0;
  font-size: 0.9em;
  color: #94a3b8;
  width: 100%;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.roadmap-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: default;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.roadmap-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  appearance: none;
  border: 2px solid rgba(148, 163, 184, 0.5);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.6);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.roadmap-list input[type="checkbox"]:hover {
  border-color: rgba(56, 189, 248, 0.8);
}

.roadmap-list input[type="checkbox"]:checked {
  background-color: #38bdf8;
  border-color: #38bdf8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M6.173 12.067a.75.75 0 0 1-1.06.01L2.22 9.31a.75.75 0 0 1 1.06-1.061l2.385 2.385 5.905-5.905a.75.75 0 1 1 1.06 1.06l-6.457 6.278z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.roadmap-list input[type="checkbox"]:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.roadmap-list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roadmap-list small {
  color: #94a3b8;
  font-size: 0.78rem;
}

.roadmap-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #38bdf8;
  text-align: center;
}


.section-heading {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::before {
  content: '';
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.5), transparent);
}

.section-heading::after {
  content: '';
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5));
}

.section-divider {
  border: 0;
  border-bottom: 2px solid rgba(148, 163, 184, 0.15);
  margin: 24px 0;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
  height: 2px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}


.search-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e8f0;
}

.form-collapsible {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  padding: 0;
  overflow: hidden;
}

.form-collapsible summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-collapsible summary::-webkit-details-marker {
  display: none;
}

.form-collapsible summary::after {
  content: '\25BC';
  font-size: 0.75rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.form-collapsible[open] summary {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.75);
}

.form-collapsible[open] summary::after {
  transform: rotate(-180deg);
}

.form-collapsible-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.summary-hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}

.api-key-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 8px;
}


.search-form input,
.search-form select {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.6);
  color: inherit;
  font-size: 0.95rem;
}

.search-form button {
  height: 44px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
  margin-top: 8px;
}

.search-form button:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.search-form button:active {
  transform: translateY(0);
}


.how-to-link-wrapper {
  margin: 4px 0 12px;
  text-align: center;
}

.how-to-link {
  color: #38bdf8;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
}

.how-to-link:hover,
.how-to-link:focus {
  text-decoration: underline;
  outline: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  padding: 16px;
  /* Fallback for older browsers */
  text-align: center;
}

.modal-overlay::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}

.modal-overlay.open {
  display: flex !important;
}

.modal-dialog {
  width: min(520px, 100%);
  max-width: calc(100vw - 32px);
  background: rgba(30, 41, 59, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.6);
  padding: 24px;
  color: #e2e8f0;
  position: relative;
  margin: 0 auto;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #f8fafc;
}

.modal-close {
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
}

.modal-close:hover,
.modal-close:focus {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  outline: none;
}

.site-footer {
  margin-top: 24px;
  margin-left: calc(var(--sidebar-width) + var(--layout-gap));
  padding: 16px 12px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

@media (max-width: 1024px) {
  :root {
    --layout-gap: 16px;
  }

  .layout {
    padding-left: 0;
    padding-right: 0;
  }

  .sidebar {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    margin-bottom: 16px;
  }

  .content {
    min-height: auto;
  }

  .site-footer {
    margin-left: 0;
  }
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5f5;
}

.modal-body ol {
  padding-left: 20px;
  margin: 0 0 16px;
}

.modal-body li + li {
  margin-top: 8px;
}

.modal-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.alert {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 10px;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(56, 189, 248, 0.2);
  border-top: 4px solid #38bdf8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.no-results h3 {
  margin: 0 0 8px;
  color: #e2e8f0;
  font-size: 1.2rem;
  font-weight: 600;
}

.no-results p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0;
  padding: 20px;
}

.pagination button,
.pagination a {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.6);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}

.pagination button:hover,
.pagination a:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.pagination .active {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
  font-weight: 600;
}

.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
  width: 100%;
}

.media-item {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1/1; /* Make items square */
}

.media-download {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.photo-download {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.media-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(56, 189, 248, 0.4);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  aspect-ratio: 1/1; /* Ensure images maintain square aspect ratio */
}

.media-item:hover img {
  transform: scale(1.05);
}


.media-preview {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.media-preview:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.media-download-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.media-preview:hover .media-download-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.media-download-indicator svg {
  width: 24px;
  height: 24px;
}

.video-preview {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  width: 100%;
  aspect-ratio: 1/1; /* Match the aspect ratio of photos */
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 500;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.video-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.video-preview:hover::before {
  opacity: 1;
}

/* Video element styling for inline previews */
.video-preview video {
  transition: opacity 0.2s ease;
}

/* Ensure smooth transitions when showing/hiding video */
.video-preview img {
  transition: opacity 0.2s ease;
}



@media (max-width: 1200px) {
  .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 240px 1fr;
    gap: 16px;
  }
  
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .search-card {
    width: 100%;
  }
  
  .page {
      padding: 16px 8px 24px;
    }
  
  .search-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-form button {
    width: 100%;
  }
  
  .media-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  
  .media-item img {
      height: 140px;
    }
  
  
  
  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .media-item img {
    height: 160px;
  }
}

/* Accessibility improvements */
.search-form input:focus,
.search-form select:focus,
.search-form button:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.search-form input:focus,
.search-form select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Skip to main content for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #38bdf8;
  color: #0f172a;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Dual Results Layout */
.dual-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.source-section {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.source-heading {
  color: #38bdf8;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Responsive layout for dual results */
@media (max-width: 1024px) {
  .dual-results {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .source-section {
    padding: 1rem;
  }
  
  .source-heading {
    font-size: 1rem;
  }
}

