/* Konkurser-sida */
.search-form {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-controls {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
}

.search-button-group {
  display: flex;
  align-items: flex-end;
}

.search-button {
  width: 100%;
  min-width: 80px;
  height: 42px;
  margin: 0;
}

/* Custom Select Styling */
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2em 1.2em;
  padding-right: 2.5rem;
  cursor: pointer;
}

.custom-select:hover {
  border-color: #666;
}

.custom-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-gray);
}

.bankruptcy-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.bankruptcy-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.bankruptcy-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.bankruptcy-header {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 4px 0;
  color: var(--primary-color);
  line-height: 1.3;
}

.company-info {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.org-number {
  font-weight: 500;
  color: #333;
}

.bankruptcy-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-row {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.detail-label {
  font-weight: 400;
  color: var(--text-gray);
  min-width: 100px;
}

.detail-value {
  color: #333;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  display: inline-block;
}

.status-badge.status-initiated {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.status-badge.status-terminated {
  background-color: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

.court-info,
.dates-info {
  padding: 6px 0;
}

.email-link {
  color: #2563eb;
  text-decoration: none;
  margin-left: 8px;
}

.email-link:hover {
  text-decoration: underline;
}

.purpose-section,
.sni-codes-section,
.trustee-section,
.financial-section {
  background-color: #f9fafb;
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 8px 0;
  color: var(--primary-color);
}

.section-title .period {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-gray);
}

.purpose-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.sni-codes-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sni-code-item {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.sni-code {
  font-weight: 500;
  color: #4b5563;
  min-width: 60px;
}

.sni-name {
  color: #333;
}

.trustee-info {
  font-size: 0.9rem;
}

.trustee-name {
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.trustee-company {
  color: var(--text-gray);
  margin-bottom: 8px;
}

.trustee-address {
  color: var(--text-gray);
  font-size: 0.85rem;
}

.financial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.financial-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.financial-label {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.financial-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.financial-value.negative {
  color: #dc2626;
}

.financial-value.positive {
  color: #059669;
}

.results-info {
  text-align: center;
  margin: 24px 0;
}

.results-info p {
  font-size: 0.95rem;
}

.results-info strong {
  font-weight: 500;
  color: var(--primary-color);
}

.search-form .input-field {
  box-sizing: border-box;
}

/* Bankruptcy County Filter */
.bankruptcy-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.bankruptcy-county-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - 5rem);
  overflow-y: auto;
}

.bankruptcy-main-content {
  min-width: 0; /* Prevent grid blowout */
}

.bankruptcy-county-filter-section {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
}

.bankruptcy-county-filter-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.bankruptcy-county-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bankruptcy-county-item {
  margin-bottom: 0.5rem;
}

.bankruptcy-county-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.bankruptcy-county-link:hover {
  background-color: #f5f5f5;
}

.bankruptcy-county-item.active .bankruptcy-county-link {
  background-color: var(--primary-color);
  color: white;
}

.bankruptcy-county-name {
  font-size: 0.9375rem;
}

.bankruptcy-county-count {
  font-weight: 600;
  font-size: 0.875rem;
  background: #f0f0f0;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  min-width: 32px;
  text-align: center;
}

.bankruptcy-county-item.active .bankruptcy-county-count {
  background: rgba(255, 255, 255, 0.2);
}

.bankruptcy-county-item.show-all {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.bankruptcy-county-item.show-all .bankruptcy-county-link {
  font-weight: 500;
  color: var(--primary-color);
}

.bankruptcy-county-item.show-all .bankruptcy-county-link:hover {
  background-color: rgba(0, 16, 32, 0.05);
}

.bankruptcy-county-sidebar::-webkit-scrollbar {
  width: 6px;
}

.bankruptcy-county-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.bankruptcy-county-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.bankruptcy-county-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.search-reset {
  margin-top: -16px;
  margin-bottom: 24px;
  text-align: center;
}

.reset-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #f3f4f6;
  color: var(--text-gray);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.reset-link:hover {
  background-color: #e5e7eb;
  color: var(--primary-color);
  border-color: #d1d5db;
  text-decoration: none;
}

.reset-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .search-form {
    padding: 16px;
  }
  
  .search-controls {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-button-group {
    margin-top: 8px;
  }
  
  .search-button {
    width: 100%;
  }
  
  .bankruptcy-card {
    padding: 16px;
  }
  
  .company-name {
    font-size: 1.25rem;
  }
  
  .company-info {
    flex-direction: column;
    gap: 4px;
  }
  
  .financial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .detail-row {
    flex-direction: column;
    gap: 4px;
  }
  
  .detail-label {
    min-width: auto;
    font-weight: 500;
  }
  
  .bankruptcy-page-layout {
    grid-template-columns: 1fr;
  }

  .bankruptcy-county-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
  }

  .bankruptcy-county-filter-section {
    position: relative;
  }

  .bankruptcy-county-filter-title {
    cursor: pointer;
    padding-right: 2rem;
    position: relative;
  }

  .bankruptcy-county-filter-title::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s;
  }

  .bankruptcy-county-filter-section.collapsed .bankruptcy-county-filter-title::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  .bankruptcy-county-filter-section.collapsed .bankruptcy-county-list {
    display: none;
  }

  .bankruptcy-county-list {
    max-height: 300px;
    overflow-y: auto;
  }
}

/* Risk gauge */
.risk-gauge {
  width: 100%;
  background-color: #ffffff;
}

.risk-gauge .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.risk-gauge .gauge-panel {
  flex: 1;
  display: flex;
}

.risk-gauge .chart-area {
  width: 100%;
  max-width: 600px;
  height: 600px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.risk-gauge .chart-wrapper {
  width: 66.666667%;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem 1rem 0.5rem;
}

.risk-gauge .notifications {
  flex: 1;
  padding: 0 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.risk-gauge .notifications h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.risk-gauge .notification-list {
  width: 100%;
}

.risk-gauge .notification {
  display: flex;
  align-items: center;
  height: 3rem;
  margin-bottom: 0.75rem;
}

.risk-gauge .badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 0.75rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.risk-gauge .badge.green {
  background-color: #10b981;
}

.risk-gauge .badge.yellow {
  background-color: #f59e0b;
}

.risk-gauge .badge.red {
  background-color: #ef4444;
}

.risk-gauge .notification .text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}

.risk-gauge .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 2.5rem;
}

.risk-gauge .content p {
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.risk-gauge .chevron {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .risk-gauge .container {
    gap: 2rem;
  }

  .risk-gauge .chart-area {
    height: auto;
    min-height: 350px;
    max-height: 450px;
  }

  .risk-gauge .chart-wrapper {
    width: 80%;
    max-width: 350px;
    padding: 1.5rem 1rem 0.5rem;
  }

  .risk-gauge .content {
    margin-left: 1.5rem;
  }

  .risk-gauge .content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .risk-gauge .container {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 0 1rem;
  }

  .risk-gauge .gauge-panel {
    width: 100%;
  }

  .risk-gauge .chart-area {
    height: auto;
    min-height: 300px;
    max-height: 400px;
  }

  .risk-gauge .chart-wrapper {
    width: 90%;
    max-width: none;
    padding: 1rem 0.5rem 0.5rem;
  }

  .risk-gauge .notifications {
    padding: 0 1rem 0.5rem;
    margin-top: -1rem;
  }

  .risk-gauge .notifications h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .risk-gauge .notification {
    height: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .risk-gauge .notification .text {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .risk-gauge .badge {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.625rem;
    margin-right: 0.5rem;
  }

  .risk-gauge .content {
    margin-left: 0;
    text-align: center;
    padding: 0 1rem;
  }

  .risk-gauge .content h2 {
    font-size: 1.75rem;
  }

  .risk-gauge .content p {
    max-width: none;
    margin-bottom: 1.5rem;
  }
}

/* Map section */
.map-section {
  width: 100%;
  padding: 2rem 1rem;
}

@media (max-width: 899px) {
  .map-section {
    position: relative;
    left: -20px;
    width: 100vw;
    padding: 2rem 20px;
    box-sizing: border-box;
  }

  .map-content-wrapper {
    align-items: center;
    max-width: none;
  }

  .map-container {
    width: 100%;
    max-width: none;
  }
}

.map-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

@media (min-width: 900px) {
  .map-content-wrapper {
    flex-direction: row;
  }
}

.map-text-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .map-text-content {
    width: 50%;
    order: 2;
    margin-left: 2rem;
  }
}

.map-text-container {
  max-width: 28rem;
}

@media (min-width: 900px) {
  .map-text-container {
    padding: 2.5rem;
  }
}

.map-text-container p {
  color: var(--text-gray);
}

.map-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  width: fit-content;
  margin-top: 1.75rem;
}

.map-cta-button:hover {
  background-color: #374151;
}

.map-chevron-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

.map-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: visible;
}

@media (min-width: 900px) {
  .map-content {
    width: 50%;
    order: 1;
  }
}

.map-container {
  position: relative;
  height: 600px;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: visible;
}

.map-display {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

.map-controls-box {
  position: absolute;
  bottom: 4rem;
  right: -2rem;
  width: fit-content;
  transition: opacity 0.6s ease-in-out;
  display: none;
}

@media (min-width: 900px) {
  .map-controls-box {
    display: block;
  }
}

.map-controls-box.hidden {
  pointer-events: none;
  opacity: 0;
}

.map-controls-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: white;
  padding: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-toggle {
  position: relative;
  display: flex;
  height: 2.25rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background-color: white;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}

.map-toggle:hover {
  background-color: #f9fafb;
}

.map-toggle.active {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.map-toggle-icon {
  width: 1rem;
  height: 1rem;
  color: #374151; /* OR #6b7280 */
  position: absolute;
  right: 0;
  top: 1rem;
  margin-right: -0.25rem;
}

.map-toggle-text {
  font-size: 0.75rem;
  color: #374151;
  white-space: nowrap;
}

.map-hand-icon svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 899px) {
  .map-controls-box {
    display: none;
  }
}

.map-container.hovered .map-controls-box {
  opacity: 0;
  pointer-events: none;
}

.maplibregl-canvas {
  border-radius: 0.75rem;
}

.maplibregl-ctrl-attrib {
  background-color: rgba(255, 255, 255, 0.8) !important;
  border-radius: 0.375rem !important;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0.5rem !important;
}

.maplibregl-ctrl-attrib a {
  color: #374151 !important;
  text-decoration: none !important;
}

.maplibregl-ctrl-attrib a:hover {
  text-decoration: underline !important;
}

/* Satellite */
.satellite-images-section {
  width: 100%;
}

@media (max-width: 899px) {
  .satellite-images-section {
    position: relative;
    left: -20px;
    width: 100vw;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .satellite-content-wrapper {
    align-items: center;
    max-width: none;
  }

  .satellite-images-split {
    width: 100%;
    max-width: none;
  }
}

.satellite-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

@media (min-width: 900px) {
  .satellite-content-wrapper {
    flex-direction: row;
  }
}

.satellite-text-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .satellite-text-content {
    width: 50%;
    justify-content: center;
  }
}

.text-container {
  max-width: 28rem;
}

@media (min-width: 900px) {
  .text-container {
    margin-left: 0;
  }
}

.text-container p {
  color: var(--text-gray);
}

.satellite-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  width: fit-content;
}

.satellite-cta-button:hover {
  background-color: #374151;
}

.satellite-chevron-icon {
  width: 1rem;
  height: 1rem;
}

.satellite-image-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

@media (min-width: 900px) {
  .satellite-image-content {
    width: 50%;
  }
}

.satellite-image-content.fullscreen {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.satellite-fullscreen-toggle {
  position: absolute;
  right: 0.25rem;
  top: 1rem;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
}

.satellite-fullscreen-toggle:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.satellite-fullscreen-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.satellite-images-split {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  cursor: ew-resize;
  user-select: none;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #f3f4f6;
  --slider-position: 50%;
  --clip-position: 50%;
  will-change: transform;
  transform: translateZ(0);
}

.satellite-background-image,
.satellite-foreground-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.satellite-foreground-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 var(--clip-position, 50%) 0 0);
  transition: clip-path 0.1s ease-out;
  will-change: clip-path;
  transform: translateZ(0);
}

.satellite-images-split.dragging .satellite-foreground-container {
  transition: none;
}

.year-label {
  position: absolute;
  bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
  pointer-events: none;
  transform-origin: left bottom;
  opacity: var(--label-opacity, 1);
  transform: scale(var(--label-scale, 1));
}

.satellite-images-split.dragging .year-label {
  transition: none;
}

.left-label {
  left: 0.75rem;
  transform-origin: left bottom;
}

.right-label {
  right: 0.75rem;
  transform-origin: right bottom;
}

.satellite-images-split:hover .year-label {
  background-color: rgba(0, 0, 0, 0.6);
}

.satellite-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  left: var(--slider-position, 50%);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  cursor: ew-resize;
  touch-action: none;
  transition: left 0.1s ease-out;
  will-change: left;
  transform: translateX(-50%) translateZ(0);
}

.satellite-images-split.dragging .satellite-slider-line {
  transition: none;
}

.satellite-slider-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: ew-resize;
  border-radius: 50%;
  background-color: white;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s;
  outline: none;
  will-change: transform;
  transform: translate(-50%, -50%) translateZ(0);
}

.satellite-slider-handle:focus {
  opacity: 1;
}

.satellite-slider-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #374151;
  transition: transform 0.2s ease;
  display: block;
}

.satellite-images-split.hovered .slider-handle {
  opacity: 0;
}

.satellite-images-split.hovered:hover .slider-handle {
  opacity: 1;
}

.satellite-competitor-box {
  position: absolute;
  left: 0;
  top: 2.5rem;
  margin-left: -2.5rem;
  width: 33.333333%;
  max-width: 250px;
  transition: opacity 0.3s ease-in-out;
  display: none;
}

@media (min-width: 900px) {
  .satellite-competitor-box {
    display: block;
  }
}

.satellite-competitor-box.hidden {
  pointer-events: none;
  opacity: 0;
}

.satellite-competitor-content {
  position: relative;
  border-radius: 0.75rem;
}

.satellite-competitor-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: block;
}

.satellite-competitor-pin {
  position: absolute;
  left: 0;
  top: 0;
  margin-left: -0.75rem;
  margin-top: -0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  border: 2px solid white;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.satellite-competitor-pin img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.competitor-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
}

.text-box {
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.5rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}

.sub-text {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.125rem;
}

.image-controls-box {
  transition: opacity 0.3s ease-in-out;
  display: none;
}

@media (min-width: 900px) {
  .image-controls-box {
    display: block;
  }
}

.image-controls-box.hidden {
  pointer-events: none;
  opacity: 0;
}

.controls-content {
  position: absolute;
  bottom: 5rem;
  left: 0;
  margin-left: -4rem;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: white;
  padding: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.year-select {
  width: 5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  font-size: 0.875rem;
  pointer-events: none;
}

.vs-text {
  color: #6b7280;
  font-size: 0.875rem;
}

.filters-toggle {
  height: 2.25rem;
  width: 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background-color: white;
  padding: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.filters-toggle:hover {
  background-color: #f9fafb;
}

.filters-icon {
  width: 1rem;
  height: 1rem;
}

.satellite-content-wrapper.fullscreen .satellite-text-content {
  display: none;
}

.satellite-content-wrapper.fullscreen .satellite-image-content {
  width: 100%;
  max-width: 72rem;
}

.satellite-content-wrapper.fullscreen .competitor-box,
.satellite-content-wrapper.fullscreen .image-controls-box {
  display: none;
}

/* Document */
.official-documents-section {
    width: 100%;
    overflow: visible;
}

.official-documents-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.official-documents-text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.official-documents-text-container {
    max-width: 600px;
    text-align: center;
}

    .official-documents-text-container h2 {
        margin-bottom: 1rem;
        color: #1f2937;
    }

    .official-documents-text-container p {
        color: var(--text-gray);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

.official-documents-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1f2937;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: fit-content;
}

    .cta-button:hover {
        background-color: #374151;
    }

.official-documents-chevron-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

.official-documents-documents-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
}

.official-documents-documents-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    overflow: visible;
    padding: 2rem 0;
    align-items: center;
}

@media (min-width: 900px) {
    .official-documents-documents-container {
        flex-direction: row;
        gap: 3rem;
        padding: 0;
        justify-content: center;
        align-items: flex-start;
    }
}

.official-documents-document {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1.414;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.03);
    position: relative;
    transform: none;
    transition: none;
    overflow: hidden;
}

@media (min-width: 900px) {
    .official-documents-official-documents-document {
        width: auto;
        max-width: 420px;
        flex: 0 0 auto;
    }
}

.official-documents-annual-report-document {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.official-documents-protocol-document {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.official-documents-document::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 50%, #e5e7eb 100%);
}

.official-documents-document-content {
    padding: 1.2rem;
    height: 100%;
    font-size: 0.65rem;
    line-height: 1.2;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .official-documents-document-content {
        padding: 1.8rem;
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

.annual-report {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
    min-height: 0;
}

@media (min-width: 900px) {
    .annual-report {
        gap: 1rem;
    }
}

.official-documents-document-header {
    text-align: center;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .official-documents-document-header {
        padding-bottom: 0.75rem;
    }
}

.official-documents-document-subtitle {
    font-size: 0.6rem;
    margin-bottom: 0.6rem;
    color: #6b7280;
}

@media (min-width: 900px) {
    .official-documents-document-subtitle {
        font-size: 0.65rem;
        margin-bottom: 0.75rem;
    }
}

.official-documents-company-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    color: #1f2937;
}

@media (min-width: 900px) {
    .official-documents-company-name {
        font-size: 1rem;
    }
}

.official-documents-org-number {
    font-size: 0.6rem;
    margin-bottom: 0.6rem;
    color: #6b7280;
}

@media (min-width: 900px) {
    .official-documents-org-number {
        font-size: 0.65rem;
        margin-bottom: 0.75rem;
    }
}

.official-documents-period {
    font-size: 0.6rem;
    color: #6b7280;
}

@media (min-width: 900px) {
    .official-documents-period {
        font-size: 0.65rem;
    }
}

.official-documents-financial-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.official-documents-section-title {
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
    color: #1f2937;
    border-bottom: 2px solid #1f2937;
    padding-bottom: 0.2rem;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .official-documents-section-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.25rem;
    }
}

.official-documents-balance-table {
    background-color: #f9fafb;
    border-radius: 0.25rem;
    overflow: hidden;
    flex: 1;
    border: 1px solid #e5e7eb;
    min-height: 0;
}

.official-documents-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.6rem;
}

@media (min-width: 900px) {
    .official-documents-table-row {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }
}

.official-documents-table-row:last-child {
    border-bottom: none;
}

.official-documents-header-row {
    background-color: #f3f4f6;
    color: #1f2937;
    font-weight: bold;
    border-bottom: 2px solid #d1d5db;
}

.official-documents-table-label {
    color: #374151;
    font-weight: 500;
}

.official-documents-table-value {
    text-align: right;
    color: #374151;
    font-weight: 500;
}

.official-documents-header-row .table-label,
.official-documents-header-row .table-value {
    color: #1f2937;
    font-weight: bold;
}

.official-documents-discrepancy-row {
    background-color: #fef2f2;
    border-left: 3px solid #ef4444;
}

.official-documents-discrepancy-highlight {
    background-color: #fee2e2;
    color: #dc2626;
    font-weight: bold;
    padding: 0.15rem 0.3rem;
    border-radius: 0.15rem;
    border: 1px solid #fca5a5;
}

@media (min-width: 900px) {
    .official-documents-discrepancy-highlight {
        padding: 0.2rem 0.4rem;
        border-radius: 0.2rem;
    }
}

.official-documents-total-row {
    background-color: #f3f4f6;
    font-weight: bold;
}

.official-documents-discrepancy-tooltip {
    margin-top: 0.8rem;
    background-color: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 0.4rem;
    padding: 0.8rem;
    font-size: 0.7rem;
    color: #dc2626;
    flex-shrink: 0;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.1), 0 2px 4px -1px rgba(239, 68, 68, 0.06);
}

@media (min-width: 900px) {
    .official-documents-discrepancy-tooltip {
        margin-top: 1rem;
        padding: 1rem;
        font-size: 0.8rem;
        border-radius: 0.5rem;
        border-width: 3px;
    }
}

.official-documents-protocol-title {
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.6rem;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .official-documents-protocol-title {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        padding-bottom: 0.75rem;
    }
}

.official-documents-protocol-section {
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .official-documents-protocol-section {
        margin-bottom: 0.75rem;
    }
}

.official-documents-protocol-section .section-title {
    font-size: 0.65rem;
    font-weight: bold;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.15rem;
    margin-bottom: 0.3rem;
    color: #1f2937;
}

@media (min-width: 900px) {
    .official-documents-protocol-section .section-title {
        font-size: 0.7rem;
        padding-bottom: 0.2rem;
        margin-bottom: 0.4rem;
    }
}

.official-documents-highlighted-section {
    background-color: #fef3c7;
    padding: 0.15rem 0.3rem;
    border-radius: 0.15rem;
    border: 1px solid #f59e0b;
}

@media (min-width: 900px) {
    .official-documents-highlighted-section {
        padding: 0.2rem 0.4rem;
        border-radius: 0.2rem;
    }
}

.official-documents-protocol-section p {
    font-size: 0.65rem;
    line-height: 1.2;
    color: #374151;
}

@media (min-width: 900px) {
    .official-documents-protocol-section p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}

.official-documents-signature-section {
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 2px solid #d1d5db;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .official-documents-signature-section {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }
}

.official-documents-signature-label {
    font-size: 0.65rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: #1f2937;
}

@media (min-width: 900px) {
    .official-documents-signature-label {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
}

.official-documents-signature-name {
    font-size: 0.65rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 0.15rem;
}

@media (min-width: 900px) {
    .official-documents-signature-name {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
}

.official-documents-signature-title {
    font-size: 0.6rem;
    color: #6b7280;
}

@media (min-width: 900px) {
    .official-documents-signature-title {
        font-size: 0.65rem;
    }
}

.official-documents-highlighted-signature {
    background-color: #fef3c7;
    padding: 0.15rem 0.3rem;
    border-radius: 0.15rem;
    border: 1px solid #f59e0b;
    display: inline-block;
}

@media (min-width: 900px) {
    .official-documents-highlighted-signature {
        padding: 0.2rem 0.4rem;
        border-radius: 0.2rem;
    }
}

.official-documents-protocol-tooltip {
    position: absolute;
    background-color: white;
    border: 2px solid #6b7280;
    border-radius: 0.4rem;
    padding: 0.6rem;
    font-size: 0.6rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-width: 10rem;
    line-height: 1.2;
}

@media (min-width: 900px) {
    .official-documents-protocol-tooltip {
        padding: 0.75rem;
        font-size: 0.7rem;
        max-width: 12rem;
        border-radius: 0.5rem;
        line-height: 1.3;
    }
}

.official-documents-tooltip-1 {
    top: 35%;
    right: 0.8rem;
    left: auto;
}

@media (min-width: 900px) {
    .official-documents-tooltip-1 {
        right: 1rem;
        top: 30%;
    }
}

.official-documents-tooltip-2 {
    bottom: 15%;
    right: 0.8rem;
    left: auto;
}

@media (min-width: 900px) {
    .official-documents-tooltip-2 {
        right: 1rem;
        bottom: 5%;
    }
}

@media (max-width: 899px) {
    .official-documents-documents-container {
        padding: 1rem 0;
    }
}

}

/* Fast search */
.fast-search-section {
    background: #ffffff;
}

.fast-search-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 900px) {
    .fast-search-content-wrapper {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 2rem;
    }
}

.search-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .search-content {
        width: 100%;
    }
}

.fast-search-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 901px) {
    .text-content {
        text-align: left;
    }
}

@media (max-width: 900px) {
    .text-content {
        width: 100%;
        text-align: center;
    }
}

.fast-search-text-container {
    max-width: 480px;
    padding-left: 5rem;
}

@media (max-width: 900px) {
    .fast-search-text-container {
        padding-left: 0;
        margin: 0 auto;
    }
}

.fast-search-chevron-icon {
    width: 1rem;
    height: 1rem;
}

.search-container {
    width: 100%;
    max-width: 36rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    position: relative;
}

@media (max-width: 900px) {
    .search-container {
        max-width: 100%;
    }
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    display: flex;
    align-items: center;
    height: 3rem;
    width: 100%;
    border: 2px solid #3b82f6;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 1.125rem;
    background: white;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    gap: 0.25rem;
    box-sizing: border-box;
}

.search-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.search-text {
    color: #1f2937;
}

.cursor-blink {
    display: inline-block;
    width: 2px;
    height: 1.25rem;
    background: #1f2937;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.result-category {
    margin-bottom: 1rem;
}

.category-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    position: relative;
}

    .result-item.selected {
        background: #f3f4f6;
    }

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

    .result-icon img {
        width: 1.25rem;
        height: 1.25rem;
        color: #6b7280;
    }

.result-content {
    flex: 1;
    overflow: hidden;
}

.result-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-details {
    font-size: 0.875rem;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlight {
    background: #fef3c7;
    padding: 0.125rem 0;
    border-radius: 0.125rem;
}

.result-badge {
    margin-left: auto;
    align-self: center;
    white-space: nowrap;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.search-popover {
    position: absolute;
    right: -6.25rem;
    top: 15rem;
    width: 12.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0.5rem;
    font-size: 0.875rem;
    z-index: 10;
}

@media (max-width: 900px) {
    .search-popover {
        right: 0.25rem;
    }
}

.fast-search-popover-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .fast-search-popover-item:hover {
        background: #f3f4f6;
        transform: translateX(2px);
    }

    .fast-search-popover-item.highlighted {
        background: #f3f4f6;
    }

        .fast-search-popover-item.highlighted:hover {
            background: #e5e7eb;
        }

    .fast-search-popover-item img {
        width: 1rem;
        height: 1rem;
        color: #6b7280;
    }

.fast-search-hand-icon {
    position: absolute;
    right: 1.5rem;
    top: 0.75rem;
}

    .fast-search-hand-icon img {
        width: 1rem;
        height: 1rem;
    }



/* Our sources */
.our-sources-container {
    --text-gray: #999;
    background-color: var(--primary-color);
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-medium);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .our-sources-image-container {
    position: relative;
    padding: 10px;
    border-radius: var(--radius-medium);
    background: black;
    z-index: 1;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  .our-sources-image-container::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(
      45deg,
      #ff0080,
      #ff8c00,
      #40e0d0,
      #8a2be2,
      #ff0080,
      #ff8c00,
      #40e0d0,
      #8a2be2
    );
    background-size: 400% 400%;
    border-radius: calc(var(--radius-medium) + 1px);
    z-index: -1;
    animation: gradientShift 4s ease infinite;
  }
  
  .our-sources-image-container::after {
    content: "";
    position: absolute;
    inset: -15px;
    background: linear-gradient(
      45deg,
      #ff0080,
      #ff8c00,
      #40e0d0,
      #8a2be2,
      #ff0080,
      #ff8c00,
      #40e0d0,
      #8a2be2
    );
    background-size: 400% 400%;
    border-radius: calc(var(--radius-medium) + 15px);
    z-index: -2;
    filter: blur(40px);
    opacity: 0.6;
    animation: gradientShift 4s ease infinite;
  }
  
  .our-sources-logos-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    max-width: 700px;
    width: 100%;
    justify-items: center;
  }
  
  .our-sources-logos-top {
    margin-bottom: 20px;
  }
  
  .our-sources-logos-bottom {
    margin-top: 20px;
  }
  
  .our-sources-icon-wrapper {
    width: 75px;
    height: 75px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-medium);
    background: linear-gradient(
      to bottom,
      var(--primary-color),
      rgba(255, 255, 255, 0.1)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: float 4s ease-in-out infinite;
  }
  
  .our-sources-icon-wrapper:nth-child(1) {
    animation: float 3.5s ease-in-out infinite;
    animation-delay: 0s;
  }
  
  .our-sources-icon-wrapper:nth-child(2) {
    animation: floatReverse 4.2s ease-in-out infinite;
    animation-delay: 0.3s;
  }
  
  .our-sources-icon-wrapper:nth-child(3) {
    animation: float 3.8s ease-in-out infinite;
    animation-delay: 0.7s;
  }
  
  .our-sources-icon-wrapper:nth-child(4) {
    animation: floatReverse 4.5s ease-in-out infinite;
    animation-delay: 1.1s;
  }
  
  .our-sources-icon-wrapper:nth-child(5) {
    animation: float 3.2s ease-in-out infinite;
    animation-delay: 1.5s;
  }
  
  .our-sources-icon-wrapper:nth-child(6) {
    animation: floatReverse 4.8s ease-in-out infinite;
    animation-delay: 0.9s;
  }
  
  .our-sources-icon-wrapper:nth-child(7) {
    animation: float 3.6s ease-in-out infinite;
    animation-delay: 1.8s;
  }
  
  .our-sources-icon-wrapper:hover {
    transform: scale(1.1);
    animation-play-state: paused;
  }
  
  .our-sources-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .icon-wrapper:hover .logo {
    opacity: 1;
  }
  
  .our-sources-text-content {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .our-sources-text-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2rem;
  }
  
  .our-sources-text-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .our-sources-tic-logo {
    max-width: 150px;
    height: auto;
    margin: 0;
  }
  
  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
  
    50% {
      background-position: 100% 50%;
    }
  
    100% {
      background-position: 0% 50%;
    }
  }
  
  @keyframes float {
    0%,
    100% {
      transform: translateX(0px) translateY(0px);
    }
  
    25% {
      transform: translateX(2px) translateY(-1px);
    }
  
    50% {
      transform: translateX(-1px) translateY(-2px);
    }
  
    75% {
      transform: translateX(-2px) translateY(1px);
    }
  }
  
  @keyframes floatReverse {
    0%,
    100% {
      transform: translateX(0px) translateY(0px);
    }
  
    25% {
      transform: translateX(-2px) translateY(1px);
    }
  
    50% {
      transform: translateX(1px) translateY(2px);
    }
  
    75% {
      transform: translateX(2px) translateY(-1px);
    }
  }
  
  @media (min-width: 769px) {
    .our-sources-container {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .our-sources-container {
      margin: 0 auto;
      padding: 15px;
    }
  
    .our-sources-logos-grid {
      grid-template-columns: repeat(4, 1fr);
      max-width: 400px;
      gap: 15px;
    }
  
    .our-sources-icon-wrapper {
      width: 60px;
      height: 60px;
    }
  
    .our-sources-text-content h3 {
      font-size: 1.5rem;
    }
  
    .our-sources-text-content p {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .our-sources-container {
      margin: 0 auto;
      padding: 10px;
    }
  
    .our-sources-logos-grid {
      grid-template-columns: repeat(3, 1fr);
      max-width: 280px;
      gap: 10px;
    }
  
    .our-sources-icon-wrapper {
      width: 45px;
      height: 45px;
    }
  
    .our-sources-text-content h3 {
      font-size: 1.2rem;
    }
  
    .our-sources-text-content p {
      font-size: 0.9rem;
    }
  
    .our-sources-image-container {
      margin: 15px 0;
    }
  
    .our-sources-tic-logo {
      max-width: 120px;
    }
  }

  /* Navbar */

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  padding: 20px 0;
  margin-top: 40px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  transition: margin-top 0.3s ease;
}

.navbar-wrapper.scrolled {
  margin-top: 0;
}

.navbar {
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  width: fit-content;
  min-width: 600px;
  border-radius: var(--radius-medium);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.navbar:has(.dropdown[data-dropdown-height="525"]:hover) {
  padding-bottom: 525px;
  box-shadow: var(--dropdown-shadow);
}

.navbar:has(.dropdown[data-dropdown-height="316"]:hover) {
  padding-bottom: 290px;
  box-shadow: var(--dropdown-shadow);
}

.navbar:has(.dropdown[data-dropdown-height="270"]:hover) {
  padding-bottom: 270px;
  box-shadow: var(--dropdown-shadow);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.navbar-logo svg {
  height: 20px;
  width: auto;
  display: block;
}

.navbar-logo a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-left: 40px;
  margin-right: 40px;
}

.navbar-links li {
  margin-left: 30px;
  position: relative;
}

.navbar-links li:first-child {
  margin-left: 0;
}

.navbar-links a {
  text-decoration: none;
  font-weight: 300;
  color: black;
}

.navbar-links a:hover {
  text-decoration: underline;
}

.dropdown {
  position: relative;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 60px;
  background: transparent;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dropdown:hover::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown.force-hover::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown.force-hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 15px;
  left: -10px;
  width: 220px;
  padding: 20px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
}

.dropdown.force-hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 10px 15px;
  color: black;
  text-decoration: none;
  font-weight: 300;
  text-align: left;
  border-radius: 6px;
  height: 46px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.menu-dot {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.dropdown-menu a:hover {
  text-decoration: underline;
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 30px;
  height: 30px;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-sheet {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: white;
  z-index: 2002;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-sheet.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background-color: white;
}

.mobile-menu-logo svg {
  height: 20px;
  width: auto;
  display: block;
  color: black;
}

.mobile-menu-logo a {
  display: block;
  text-decoration: none;
  color: black;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: black;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 30px 0;
  flex: 1;
  overflow-y: auto;
  background-color: white;
}

.mobile-menu-links li {
  margin: 0;
}

.mobile-menu-links a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  color: black;
  font-weight: 300;
  font-size: 1.1rem;
  border-bottom: none;
  transition: text-decoration 0.2s ease;
}

.mobile-menu-links a:hover {
  text-decoration: underline;
  background-color: transparent;
}

.mobile-dropdown {
  position: relative;
}

.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: white;
  display: none;
}

.mobile-submenu li {
  margin: 0;
}

.mobile-submenu a {
  padding: 15px 40px;
  font-size: 1rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-submenu .menu-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.mobile-submenu a:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

.mobile-dropdown > span:hover {
  background-color: #f5f5f5;
}

.mobile-dropdown > span {
  position: relative;
  display: block;
  padding: 20px 20px;
  color: black;
  font-weight: 300;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-dropdown > span::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.mobile-dropdown.active > span::after {
  content: "−";
}

.mobile-login-btn {
  background-color: black !important;
  color: white !important;
  margin: 20px 20px 0 20px;
  border-radius: 8px;
  text-align: center;
  border-bottom: none !important;
  padding: 15px 20px !important;
  font-size: 1rem !important;
}

.mobile-login-btn:hover {
  background-color: #333 !important;
  text-decoration: none !important;
}

/* Tablet */
@media (max-width: 1274px) and (min-width: 1041px) {
  .navbar-wrapper {
    padding: 20px 0;
    margin-top: 40px;
  }

  .navbar {
    padding: 12px 10px;
    min-width: 580px;
  }

  .navbar-container {
    padding: 0 5px;
  }

  .navbar-logo svg {
    height: 18px;
  }

  .navbar-links {
    margin-left: 20px;
    margin-right: 20px;
  }

  .navbar-links li {
    margin-left: 20px;
  }

  .navbar-links a {
    font-size: 0.85rem;
    font-weight: 300;
    white-space: nowrap;
  }

  .desktop-login {
    font-size: 0.85rem;
  }

  .dropdown-menu {
    width: 200px;
    padding: 15px 0;
    left: -10px;
    margin: 0;
    top: 14px;
  }

  .dropdown-menu li {
    margin: 0;
    padding: 0;
  }

  .dropdown-menu a {
    padding: 8px 15px;
    text-align: left;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 42px;
    box-sizing: border-box;
    width: 100%;
    font-size: 0.85rem;
    gap: 8px;
  }

  .menu-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }

  .dropdown::before {
    width: 500px;
  }

  .navbar:has(.dropdown[data-dropdown-height="362"]:hover) {
    padding-bottom: 395px;
  }

  .navbar:has(.dropdown[data-dropdown-height="316"]:hover) {
    padding-bottom: 260px;
  }

  .navbar:has(.dropdown[data-dropdown-height="270"]:hover) {
    padding-bottom: 240px;
  }
}

/* Mobile */
@media (max-width: 1040px) {
  .navbar-wrapper {
    padding: 0px;
    padding-top: 20px;
  }

  .navbar {
    width: calc(100% - 40px);
    min-width: auto;
    padding: 15px 20px;
  }

  .navbar-container {
    padding: 0 20px;
  }

  .navbar-links,
  .desktop-login {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1274px) and (min-width: 1041px) {
  .signup-btn {
    padding: 8px 16px !important;
    font-size: 0.9rem;
  }
}

@media (max-width: 1040px) {
  .signup-btn {
    display: none !important;
  }
}

/* Bankruptcy County Filter Tablet */
@media (min-width: 769px) and (max-width: 1080px) {
  .bankruptcy-page-layout {
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
  }

  .bankruptcy-county-filter-section {
    padding: 1.25rem;
  }

  .bankruptcy-county-link {
    padding: 0.375rem 0.625rem;
  }
}

/* Bankruptcy County Filter Large Screens */
@media (min-width: 1400px) {
  .bankruptcy-page-layout {
    grid-template-columns: 320px 1fr;
  }
}


