/* ========================================
   CUSTOM SECTIONS 3
   ======================================== */

/* ========================================
   Annual Reports Open Data (ar-open-)
   Prefix: ar-open-
   Beskrivning: Årsredovisningar under öppna data
   ======================================== */

/* Page Layout */
.ar-open-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.ar-open-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - 3rem);
  overflow-y: auto;
}

.ar-open-main-content {
  min-width: 0;
}

/* Filter Section */
.ar-open-filter-section {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
}

.ar-open-filter-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.ar-open-filter-group {
  margin-bottom: 2rem;
}

.ar-open-filter-group:last-child {
  margin-bottom: 0;
}

.ar-open-filter-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ar-open-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ar-open-filter-item {
  margin-bottom: 0.5rem;
}

.ar-open-filter-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;
}

.ar-open-filter-link:hover {
  background-color: #f5f5f5;
}

.ar-open-filter-item.active .ar-open-filter-link {
  background-color: var(--primary-color);
  color: white;
}

.ar-open-filter-name {
  font-size: 0.9375rem;
}

.ar-open-filter-count {
  font-weight: 600;
  font-size: 0.875rem;
  background: #f0f0f0;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  min-width: 32px;
  text-align: center;
}

.ar-open-filter-item.active .ar-open-filter-count {
  background: rgba(255, 255, 255, 0.2);
}

.ar-open-filter-reset {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.ar-open-filter-reset-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.ar-open-filter-reset-link:hover {
  opacity: 0.7;
}

/* Results Cards */
.ar-open-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ar-open-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.ar-open-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ar-open-card-header {
  margin-bottom: 1rem;
}

.ar-open-company-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--primary-color);
}

.ar-open-company-info {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.ar-open-org-number {
  font-weight: 500;
  color: #333;
}

.ar-open-report-year {
  font-weight: 500;
}

.ar-open-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ar-open-detail-row {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.ar-open-detail-label {
  font-weight: 500;
  color: var(--text-gray);
  min-width: 80px;
}

.ar-open-detail-value {
  color: #333;
}

.ar-open-format-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #e5e7eb;
  color: #374151;
}

.ar-open-format-badge.ar-open-format-pdf {
  background-color: #fee2e2;
  color: #dc2626;
}

.ar-open-format-badge.ar-open-format-xbrl,
.ar-open-format-badge.ar-open-format-ixbrl {
  background-color: #dbeafe;
  color: #2563eb;
}

.ar-open-format-badge.ar-open-format-xhtml {
  background-color: #f3e8ff;
  color: #7c3aed;
}

.ar-open-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ar-open-btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ar-open-btn-small svg {
  width: 16px;
  height: 16px;
}

/* Viewer Container */
.ar-open-viewer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.ar-open-breadcrumb {
  margin-bottom: 1rem;
}

.ar-open-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ar-open-breadcrumb a:hover {
  text-decoration: underline;
}

.ar-open-viewer-header {
  margin-bottom: 2rem;
}

.ar-open-viewer-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.ar-open-meta {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-gray);
}

.ar-open-meta .ar-open-org-number {
  font-weight: 500;
  color: #333;
}

/* Tabs */
.ar-open-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.ar-open-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--text-gray);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: -2px;
}

.ar-open-tab:hover {
  color: var(--primary-color);
}

.ar-open-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 500;
}

.ar-open-tab svg {
  width: 16px;
  height: 16px;
}

/* Content Wrapper */
.ar-open-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

/* PDF Container */
.ar-open-pdf-container {
  flex: 1;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  overflow: hidden;
  min-height: 800px;
}

#adobe-dc-view {
  width: 100%;
  height: 800px;
}

/* Transcript Container */
.ar-open-transcript-container {
  flex: 1;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 2rem;
  max-height: 800px;
  overflow-y: auto;
}

.ar-open-transcript-header {
  margin-bottom: 1.5rem;
}

.ar-open-transcript-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ar-open-transcript-content {
  font-family: monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.ar-open-transcript-content pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
}

/* HTML Container */
.ar-open-html-container {
  flex: 1;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 2rem;
  overflow-y: auto;
  max-height: 800px;
}

.ar-open-xhtml-content {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Missing Content */
.ar-open-missing {
  text-align: center;
  padding: 4rem 2rem;
}

.ar-open-missing-icon {
  margin-bottom: 1.5rem;
}

.ar-open-missing-icon svg {
  width: 64px;
  height: 64px;
  color: #d1d5db;
}

.ar-open-missing h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

/* Info Box */
.ar-open-info-box {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.ar-open-info-box-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ar-open-info-box-header h3 {
  font-size: 1rem;
  margin: 0;
}

.ar-open-info-box-content {
  padding: 1.5rem;
}

.ar-open-info-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.ar-open-info-row:last-child {
  margin-bottom: 0;
}

.ar-open-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.ar-open-info-value {
  font-size: 0.875rem;
  color: #333;
}

.ar-open-info-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .ar-open-content-wrapper {
    grid-template-columns: 1fr;
  }

  .ar-open-info-box {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .ar-open-page-layout {
    grid-template-columns: 1fr;
  }

  .ar-open-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
  }

  .ar-open-filter-section {
    position: relative;
  }

  .ar-open-filter-title {
    cursor: pointer;
    padding-right: 2rem;
    position: relative;
  }

  .ar-open-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;
  }

  .ar-open-filter-section.collapsed .ar-open-filter-title::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  .ar-open-filter-section.collapsed .ar-open-filter-group,
  .ar-open-filter-section.collapsed .ar-open-filter-reset {
    display: none;
  }

  .ar-open-search-form {
    padding: 1rem;
  }

  .ar-open-search-controls {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ar-open-card {
    padding: 1rem;
  }

  .ar-open-company-name {
    font-size: 1.125rem;
  }

  .ar-open-actions {
    flex-wrap: wrap;
  }

  .ar-open-viewer-container {
    padding: 1rem;
  }

  .ar-open-viewer-header h1 {
    font-size: 1.5rem;
  }

  .ar-open-tabs {
    flex-wrap: wrap;
  }

  .ar-open-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  #adobe-dc-view {
    height: 600px;
  }

  .ar-open-pdf-container,
  .ar-open-transcript-container,
  .ar-open-html-container {
    max-height: 600px;
  }
}

/* ========================================
   Prefix: kontroll-ar-
   Beskrivning: Kontroll av årsredovisningar
   ======================================== */

.kontroll-ar-table {
  table-layout: auto;
}

.kontroll-ar-table td {
  text-overflow: ellipsis;
}

.kontroll-ar-details-header h2 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.kontroll-ar-xbrl-viewer-container {
  width: 100%;
  margin-top: 1rem;
}

.kontroll-ar-xbrl-iframe {
  width: 100%;
  height: 900px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  background: white;
}

.kontroll-ar-xbrl-header {
  margin-bottom: 1rem;
}

.kontroll-ar-xbrl-header h3 {
  margin-bottom: 0.5rem;
}

.kontroll-ar-xbrl-header p {
  margin-bottom: 1rem;
}

.kontroll-ar-btn-secondary {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.kontroll-ar-btn-secondary:hover {
  background: #f5f5f5;
}

.kontroll-ar-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.kontroll-ar-toggle-icon.rotated {
  transform: rotate(180deg);
}

/* ========================================
   Öppna Data Tables (oppna-data-)
   Prefix: oppna-data-
   Beskrivning: Tabeller för öppna data sidan
   ======================================== */

.oppna-data-table-container {
  padding: 40px 0;
  overflow-x: auto;
  position: relative;
}

.oppna-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border: none;
}

.oppna-data-table th,
.oppna-data-table td {
  padding: 0;
  vertical-align: middle;
}

.oppna-data-table td:first-child {
  font-weight: 600;
  color: #1a1a1a;
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.oppna-data-table tbody tr:first-child td {
  border-top: 1px solid #e2e8f0;
}

.oppna-data-table .spacer {
  width: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.oppna-data-table .plan-header {
  padding: 0;
}

.oppna-data-table .plan-header-content {
  background: rgba(246, 246, 247, 0.4);
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  border-radius: 12px 12px 0 0;
  padding: 32px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.oppna-data-table .plan-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.oppna-data-table .plan-cell {
  text-align: center;
  background: white;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #f3f4f6;
  padding: 20px;
}

.oppna-data-table .plan-cell-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.oppna-data-table .cc-zero-icon {
  width: 120px;
  height: auto;
}

.oppna-data-table .plan-footer {
  background: rgba(246, 246, 247, 0.4);
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
  height: 16px;
}

.oppna-data-mobile-explorer {
  display: none;
  overflow: visible !important;
  max-width: 100%;
}

.oppna-data-access-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f3f4f6 100%);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  gap: 2rem;
}

.oppna-data-access-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
}

.oppna-data-access-item i {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.oppna-data-access-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}

.oppna-data-badge {
  background: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oppna-data-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.oppna-data-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oppna-data-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.oppna-data-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #fafbfc;
  border-bottom: 1px solid #f3f4f6;
}

.oppna-data-card-header h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  flex: 1;
  padding-right: 1rem;
}

.oppna-data-license-badge {
  width: 48px;
  height: auto;
  flex-shrink: 0;
}

.oppna-data-card-content {
  padding: 1.5rem;
}

.oppna-data-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oppna-data-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.oppna-data-feature-list li:before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #9ca3af;
}

.oppna-data-feature-list li.green-text {
  color: #10b981;
  font-weight: 500;
}

.oppna-data-feature-list li.green-text:before {
  color: #10b981;
}

.oppna-data-mobile-cta {
  margin-top: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.oppna-data-cta-text {
  margin-top: 1rem;
  margin-bottom: 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

@media (max-width: 970px) {
  .oppna-data-table-container {
    overflow: visible !important;
    padding: 0;
    margin: 0;
  }

  .oppna-data-table {
    display: none;
  }

  .oppna-data-mobile-explorer {
    display: block;
    overflow: visible !important;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .oppna-data-access-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }

  .oppna-data-access-divider {
    width: 60px;
    height: 1px;
  }

  .oppna-data-access-item {
    font-size: 0.9375rem;
  }

  .oppna-data-card-header {
    padding: 1rem 1.25rem;
  }

  .oppna-data-card-header h4 {
    font-size: 1rem;
  }

  .oppna-data-license-badge {
    width: 80px;
  }

  .oppna-data-card-content {
    padding: 1.25rem;
  }

  .oppna-data-feature-list li {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }

  .oppna-data-mobile-cta {
    padding: 1.5rem;
  }
}

/* ========================================
   Checklista Tables (checklista-)
   Prefix: checklista-
   Beskrivning: Tabeller för checklista sidan
   ======================================== */

/* Container */
.checklista-table-container {
  padding: 40px 0;
  overflow-x: auto;
  position: relative;
}

/* Desktop Table */
.checklista-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border: none;
}

.checklista-table th,
.checklista-table td {
  padding: 0;
  vertical-align: middle;
}

.checklista-table td:first-child {
  font-weight: 400;
  color: #1a1a1a;
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.checklista-table tbody tr:first-child td {
  border-top: 1px solid #e2e8f0;
}

.checklista-table .plan-header {
  padding: 0;
}

.checklista-table .plan-header-content {
  background: rgba(246, 246, 247, 0.4);
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  border-radius: 12px 12px 0 0;
  padding: 32px 24px 24px;
  text-align: center;
}

.checklista-table .plan-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
}

.checklista-table .plan-cell {
  text-align: center;
  background: white;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #f3f4f6;
  padding: 20px;
}

.checklista-table .plan-footer {
  background: rgba(246, 246, 247, 0.4);
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
  height: 16px;
}

.checklista-table tbody tr td[colspan="2"] {
  background: #f9fafb;
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.checklista-mobile-view {
  display: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

.checklista-accordion {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.checklista-category {
  border-bottom: 1px solid #e5e7eb;
}

.checklista-category:last-child {
  border-bottom: none;
}

.checklista-category-header {
  padding: 1.25rem;
  background: #f9fafb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.checklista-category-header:hover {
  background: #f3f4f6;
}

.checklista-category-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.checklista-category-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.checklista-category.active .checklista-category-icon {
  transform: rotate(180deg);
}

.checklista-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.checklista-category.active .checklista-category-content {
  max-height: 2000px;
}

.checklista-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: background-color 0.2s ease;
}

.checklista-item:hover {
  background-color: #fafbfc;
}

.checklista-item:last-child {
  border-bottom: none;
}

.checklista-item-text {
  flex: 1;
  padding-right: 1rem;
  color: #374151;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.checklista-item-status {
  flex-shrink: 0;
  background: #f0fdf4;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #86efac;
}

.checklista-item-status .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklista-item-status .check-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(45%) sepia(93%) saturate(456%)
    hue-rotate(86deg) brightness(93%) contrast(85%);
}

@media (max-width: 970px) {
  .checklista-table-container {
    overflow: visible !important;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  .checklista-table {
    display: none;
  }

  .checklista-mobile-view {
    display: block;
    background: transparent !important;
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .checklista-category-header {
    padding: 1rem;
  }

  .checklista-category-title {
    font-size: 1rem;
  }

  .checklista-item {
    padding: 1rem;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }

  .checklista-item-text {
    padding-right: 0;
    font-size: 0.875rem;
  }

  .checklista-item-status {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .checklista-item-status .check-icon img {
    width: 14px;
    height: 14px;
  }
}

/* ========================================
   Search Landing Pages (search-landing-)
   Prefix: search-landing-
   Beskrivning: Gemensamma stilar för alla söklandningssidor (fastigheter, företag, etc.)
   Används av: Properties/Index.cshtml, Companies/Index.cshtml
   ======================================== */

.search-landing-search-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.search-landing-search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.search-landing-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 16, 32, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.search-landing-search-input:hover {
  border-color: #999;
}

.search-landing-page-hero {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.search-landing-page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Kompakt hero-design för söklandningssidor */
.search-landing-page-hero-compact {
  text-align: center;
  padding: 1.5rem 0 1rem;
  margin-bottom: 0.5rem;
}

.search-landing-page-hero-compact h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.search-landing-hero-search {
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.search-landing-mini-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}

.search-landing-mini-benefits span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.search-landing-mini-benefits svg {
  color: #10b981;
  flex-shrink: 0;
}

.search-landing-hero-subtitle {
  font-size: 2rem;
  color: #2c3e50;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.search-landing-hero-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.7;
}

.search-landing-benefits-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 1.5rem auto;
  padding: 0 1rem;
}

.search-landing-benefit-item {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-medium);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-landing-benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-landing-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.search-landing-benefit-icon svg {
  width: 100%;
  height: 100%;
}

.search-landing-benefit-item h3 {
  font-size: 0.9375rem;
  color: var(--primary-color);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.search-landing-benefit-item p {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.4;
  margin: 0;
}

.search-landing-premium-hint {
  color: #10b981;
  font-weight: 500;
  font-size: 0.75rem;
  display: block;
  margin-top: 0.25rem;
}

.search-landing-search-section {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #f8f9fa;
  border-radius: var(--radius-medium);
  margin: 2rem auto;
  max-width: 1200px;
}

.search-landing-search-section h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.search-landing-search-hint {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-style: italic;
}

.search-landing-table-container {
  max-width: 1200px;
  margin: 1rem auto 2rem;
  padding: 0 1rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.search-landing-data-table {
  width: 100%;
  background: white;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-landing-data-table thead {
  background-color: #f8f9fa;
}

.search-landing-data-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-color);
}

.search-landing-data-table tbody tr {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.search-landing-data-table tbody tr:hover {
  background-color: #f8f9fa;
}

.search-landing-data-table td {
  padding: 1rem 1.5rem;
  color: #374151;
}

.search-landing-data-table a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.search-landing-data-table a:hover {
  text-decoration: underline;
  color: #002040;
}

/* Specifik kolumnbredd för företagssökning */
.search-landing-data-table th:first-child,
.search-landing-data-table td:first-child {
  width: 140px;
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
}

.property-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.property-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-medium);
  transition: all 0.3s ease;
}

.property-breadcrumb a:hover {
  background-color: rgba(0, 0, 0, 0.06);
  transform: translateX(-2px);
  color: var(--primary-color);
}

.property-breadcrumb a svg {
  transition: transform 0.3s ease;
}

.property-breadcrumb a:hover svg {
  transform: translateX(-2px);
}

.property-details-hero {
  background: transparent;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.property-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.property-details-hero h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.property-address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray);
  font-size: 1.125rem;
}

.property-address svg {
  color: var(--text-gray);
}

.property-quick-stats {
  max-width: 1200px;
  margin: -3rem auto 2rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.property-stat-card {
  background: white;
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-top: 0.25rem;
}

.property-info-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.property-info-card {
  background: white;
  border-radius: var(--radius-medium);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.property-info-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.property-info-card p {
  line-height: 1.8;
  color: var(--text-gray);
}

.property-promo-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  border-radius: var(--radius-medium);
  padding: 2rem;
  text-align: center;
}

.promo-icon {
  width: 48px;
  height: 48px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.property-promo-card h4 {
  font-size: 1.125rem;
  color: #047857;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.property-promo-card p {
  font-size: 0.9375rem;
  color: #065f46;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.promo-link {
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.promo-link:hover {
  gap: 0.5rem;
  text-decoration: underline;
}

.property-map-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.map-header h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
}

.map-controls {
  display: flex;
  gap: 0.5rem;
}

.map-control-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-gray);
}

.map-control-btn:hover {
  background: #f3f4f6;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.property-map-container {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #f5f5f5;
}

.property-details-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.property-details-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.property-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.property-detail-card {
  background: white;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.property-detail-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.property-detail-card h3 {
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.property-details-table {
  width: 100%;
  border-collapse: collapse;
}

.property-details-table td:first-child {
  font-weight: 500;
  color: var(--text-gray);
  width: 40%;
  font-size: 0.875rem;
}

.property-details-table td {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9375rem;
}

.property-details-table tr:last-child td {
  border-bottom: none;
}

.detail-tag {
  display: inline-block;
  background: #e5e7eb;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin: 0.125rem;
}

.coord-value {
  font-family: monospace;
  font-size: 0.9375rem;
  color: var(--primary-color);
}

.text-muted {
  color: #9ca3af;
  font-size: 0.8125rem;
}

.property-subscription-section {
  background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
  padding: 5rem 0;
  margin-top: 4rem;
}

.subscription-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.subscription-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.subscription-header p {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.property-subscription-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.property-subscription-box {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  position: relative;
  transition: all 0.3s ease;
}

.property-subscription-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

.property-subscription-box.featured {
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px -8px rgba(0, 16, 32, 0.15);
}

.property-subscription-box.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(0, 16, 32, 0.25);
}

.subscription-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-gray);
  border: 1px solid #e5e7eb;
  border-radius: 50px;
}

.property-subscription-box.featured .subscription-label {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.property-subscription-box h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.subscription-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.price-currency {
  font-size: 1.25rem;
  color: var(--text-gray);
  font-weight: 400;
}

.subscription-description {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 3rem;
}

.subscription-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.subscription-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}

.subscription-features li:last-child {
  border-bottom: none;
}

.subscription-features svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.subscription-features strong {
  color: var(--primary-color);
}

.property-subscription-box .btn-subscription {
  width: 100%;
  padding: 0.875rem 1rem !important;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block !important;
  text-align: center;
  cursor: pointer;
  margin: 0;
  box-sizing: border-box;
}

.property-subscription-box .btn-subscription.btn-outline {
  background: white !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

.property-subscription-box .btn-subscription.btn-outline:hover {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 16, 32, 0.2);
}

.property-subscription-box .btn-subscription.btn-primary {
  background: var(--primary-color) !important;
  color: white !important;
  border: 2px solid var(--primary-color) !important;
}

.property-subscription-box .btn-subscription.btn-primary:hover {
  background: #002040 !important;
  border-color: #002040 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 16, 32, 0.3);
}

.search-landing-trust-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 1rem;
  text-align: center;
}

.search-landing-trust-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 600;
}

.search-landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.search-landing-trust-item {
  text-align: left;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: var(--radius-medium);
  border-left: 4px solid var(--primary-color);
}

.search-landing-trust-item strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.search-landing-trust-item p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .search-landing-benefits-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 500px;
  }

  .search-landing-benefit-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0.875rem 1rem;
    gap: 1rem;
  }

  .search-landing-benefit-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .search-landing-benefit-item h3 {
    margin-bottom: 0.125rem;
  }
}

@media (max-width: 768px) {
  .search-landing-page-hero {
    padding: 1rem 0 0.75rem;
  }

  .search-landing-page-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .search-landing-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .search-landing-hero-description {
    font-size: 0.9375rem;
    padding: 0 0.75rem;
  }

  /* Kompakt hero mobile styles */
  .search-landing-page-hero-compact {
    padding: 1rem 0.75rem;
  }

  .search-landing-page-hero-compact h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .search-landing-hero-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .search-landing-hero-search {
    padding: 0 0.75rem;
  }

  .search-landing-mini-benefits {
    display: none;
  }

  .search-landing-benefits-container {
    display: none;
  }

  .search-landing-search-section {
    padding: 0.75rem;
    margin: 1rem 0.75rem;
    border-radius: 8px;
  }

  .search-landing-search-section h2 {
    font-size: 1.25rem;
  }

  .search-landing-search-hint {
    font-size: 0.8125rem;
    padding: 0 0.25rem;
  }

  .search-landing-search-container {
    padding: 0;
    margin: 0;
  }

  .search-landing-search-input {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem;
    max-width: none;
  }

  .search-landing-table-container {
    padding: 0 0.75rem;
    margin: 1rem auto;
  }

  .search-landing-data-table {
    font-size: 0.8125rem;
    border-radius: 8px;
  }

  .search-landing-data-table th,
  .search-landing-data-table td {
    padding: 0.5rem 0.625rem;
  }

  .search-landing-data-table th {
    font-size: 0.75rem;
  }

  .search-landing-trust-section {
    margin: 1.5rem auto;
    padding: 1.5rem 0.75rem;
  }

  .search-landing-trust-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .search-landing-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .search-landing-trust-item {
    padding: 0.875rem;
    border-radius: 8px;
  }

  .search-landing-trust-item strong {
    font-size: 1rem;
  }

  .search-landing-trust-item p {
    font-size: 0.875rem;
  }

  .property-breadcrumb {
    padding: 0 0.75rem;
  }

  .property-details-hero {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
  }

  .property-details-hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .property-address {
    font-size: 0.9375rem;
    flex-wrap: wrap;
  }

  .property-quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: -2rem auto 1.5rem;
    padding: 0 0.75rem;
  }

  .property-stat-card {
    padding: 1rem;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .property-info-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem auto;
    padding: 0 0.75rem;
  }

  .property-info-card,
  .property-promo-card {
    padding: 1.5rem;
  }

  .property-map-section {
    margin: 2rem auto;
    padding: 0 0.75rem;
  }

  .map-header h3 {
    font-size: 1.25rem;
  }

  .property-details-section {
    margin: 2rem auto;
    padding: 0 0.75rem;
  }

  .property-details-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .property-details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .property-detail-card h3 {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }

  .property-details-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .detail-tag {
    font-size: 0.8125rem;
    padding: 0.2rem 0.5rem;
    margin: 0.1rem;
  }

  .property-subscription-section {
    padding: 3rem 0;
    margin-top: 2rem;
  }

  .subscription-header h2 {
    font-size: 1.75rem;
  }

  .subscription-header p {
    font-size: 1rem;
  }

  .property-subscription-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.75rem;
  }

  .property-subscription-box {
    padding: 2rem 1.25rem;
  }

  .property-subscription-box .btn-subscription {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.875rem;
  }

  .property-subscription-box h3 {
    font-size: 1.5rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .subscription-features li {
    font-size: 0.875rem;
    padding: 0.625rem 0;
  }

  .search-landing-data-table {
    font-size: 0.875rem;
  }

  .search-landing-data-table th,
  .search-landing-data-table td {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .search-landing-page-hero h1 {
    font-size: 1.75rem;
  }

  .search-landing-hero-subtitle {
    font-size: 1.25rem;
  }

  /* Kompakt hero small mobile */
  .search-landing-page-hero-compact h1 {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
  }

  .search-landing-page-hero-compact {
    padding: 0.75rem 0.5rem;
    margin-bottom: 0.25rem;
  }

  .search-landing-hero-subtitle {
    font-size: 0.875rem;
    line-height: 1.3;
    padding: 0 0.25rem;
  }

  .search-landing-mini-benefits {
    display: none;
  }

  .search-landing-hero-search {
    padding: 0 0.5rem;
    margin: 0.75rem auto 0;
  }

  .search-landing-data-table th:nth-child(3),
  .search-landing-data-table td:nth-child(3) {
    display: none;
  }

  /* Hide "Status" column on very small screens for companies */
  .search-landing-data-table th:nth-child(4),
  .search-landing-data-table td:nth-child(4) {
    display: none;
  }

  .search-landing-search-input {
    font-size: 0.9375rem;
    padding: 0.625rem 0.875rem;
  }

  .search-landing-table-container {
    margin: 0.5rem auto 1.5rem;
    padding: 0 0.5rem;
  }

  .search-landing-data-table {
    font-size: 0.8125rem;
  }

  .search-landing-data-table th,
  .search-landing-data-table td {
    padding: 0.5rem 0.625rem;
  }

  .search-landing-data-table th:first-child,
  .search-landing-data-table td:first-child {
    width: auto;
  }

  .search-landing-search-section {
    margin: 0.75rem 0.5rem;
    padding: 0.625rem;
  }

  .search-landing-trust-section {
    padding: 1.25rem 0.5rem;
  }
}

/* ========================================
   Property Listings (property-list-)
   Prefix: property-list-
   Beskrivning: Fastighetslistningar för /fastigheter routes
   ======================================== */

.property-list-breadcrumb,
.property-list-page-header,
.property-list-grid,
.property-list-type-grid,
.property-list-table,
.property-list-results {
  --property-accent: #2c3e50;         /* Muted dark blue-gray */
  --property-accent-hover: #34495e;   /* Slightly lighter on hover */
  --property-badge-bg: #ecf0f1;       /* Very light gray */
  --property-badge-text: #2c3e50;     /* Dark blue-gray text */
  --property-gradient-start: #f8f9fa; /* Subtle gradient start */
  --property-gradient-end: #e9ecef;   /* Subtle gradient end */
  --property-link: #495057;           /* Dark gray for links */
  --property-link-hover: var(--primary-color); /* Use theme primary on hover */
}

.property-list-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  margin-bottom: 24px;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.property-list-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-list-breadcrumb-link {
  color: #6b7280;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.property-list-breadcrumb-link:hover {
  background: #f3f4f6;
  color: var(--primary-color);
}

.property-list-breadcrumb-separator {
  color: #d1d5db;
  font-size: 1.125rem;
}

.property-list-breadcrumb-current {
  color: var(--primary-color);
  font-weight: 600;
  padding: 6px 12px;
  background: var(--property-badge-bg);
  border-radius: 6px;
}

.property-list-page-header {
  margin-bottom: 32px;
}

.property-list-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.property-list-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.property-list-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: linear-gradient(135deg, var(--property-gradient-start) 0%, var(--property-gradient-end) 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.property-list-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-list-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.property-list-stat-label {
  font-size: 0.875rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Grid Layout for County/Municipality Cards */
.property-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.property-list-grid-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.property-list-grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--property-accent) 0%, var(--property-accent-hover) 100%);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.property-list-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.property-list-grid-card:hover::before {
  transform: translateY(0);
}

.property-list-grid-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.property-list-grid-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.property-list-grid-card-code {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--property-badge-bg);
  color: var(--property-badge-text);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'SF Mono', monospace;
}

.property-list-grid-card-count {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 16px 0 8px 0;
}

.property-list-grid-card-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 16px;
}

.property-list-grid-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--property-link);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s ease;
}

.property-list-grid-card-action:hover {
  gap: 10px;
  color: var(--property-link-hover);
}

.property-list-grid-card-action::after {
  content: '→';
  font-size: 1.125rem;
}

/* Property Type Cards (for municipality view) */
.property-list-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.property-list-type-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.property-list-type-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.property-list-type-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--property-accent) 0%, var(--property-accent-hover) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
}

.property-list-type-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.property-list-type-codes {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 12px;
  font-family: 'SF Mono', monospace;
}

.property-list-type-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

/* Property Detail Cards (for final listing) */
.property-list-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.property-list-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.property-list-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--property-accent);
  transform: translateY(-2px);
}

.property-list-card-inner {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.property-list-card-main {
  flex: 1;
  padding: 24px;
}

.property-list-card-side {
  width: 200px;
  background: linear-gradient(135deg, var(--property-gradient-start) 0%, var(--property-gradient-end) 100%);
  border-left: 1px solid #e2e8f0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.property-list-header {
  margin-bottom: 20px;
}

.property-list-designation {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--primary-color);
  line-height: 1.3;
}

.property-list-designation a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-list-designation a:hover {
  color: var(--property-link-hover);
  text-decoration: underline;
}

.property-list-address {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-list-address::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url('/images/location-pin.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}

.property-list-info {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: #64748b;
  align-items: center;
}

.property-list-id {
  font-weight: 500;
  color: #475569;
  font-family: 'SF Mono', monospace;
}

.property-list-status {
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
}

.property-list-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.property-list-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-list-detail-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.property-list-detail-value {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 500;
}

.property-list-price {
  margin-bottom: 8px;
}

.property-list-price-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 4px;
}

.property-list-price-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.property-list-price-year {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 4px;
}

.property-list-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--property-link);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.property-list-action-link:hover {
  color: var(--property-link-hover);
  gap: 10px;
}

.property-list-action-link::after {
  content: '→';
  font-size: 1.125rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .property-list-breadcrumb {
    font-size: 0.8125rem;
  }
  
  .property-list-title {
    font-size: 1.5rem;
  }
  
  .property-list-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .property-list-grid {
    grid-template-columns: 1fr;
  }
  
  .property-list-type-grid {
    grid-template-columns: 1fr;
  }
  
  .property-list-card-inner {
    flex-direction: column;
  }
  
  .property-list-card-main {
    padding: 20px;
  }
  
  .property-list-card-side {
    width: 100%;
    padding: 20px;
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }
  
  .property-list-designation {
    font-size: 1.125rem;
  }
  
  .property-list-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .property-list-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .property-list-price-value {
    font-size: 1.5rem;
  }
  
  /* Convert table to cards on mobile */
  .property-list-table-responsive {
    display: none;
  }
  
  .property-list-mobile-cards {
    display: block;
  }
}

@media (min-width: 769px) {
  .property-list-mobile-cards {
    display: none;
  }
  
  .property-list-table-responsive {
    display: block;
  }
}

.campaign-price-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.original-price {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 1.25rem;
  color: #6b7280;
  font-weight: 500;
}

.campaign-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.property-subscription-box .campaign-price .price-amount {
  color: #ef4444 !important;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
}

.property-subscription-box .campaign-price .price-currency {
  color: #ef4444 !important;
  font-weight: 600;
  font-size: 1.25rem;
}

.campaign-badge {
  background: #ef4444;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Table styling for desktop */
.property-list-table {
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.property-list-table thead {
  background: linear-gradient(135deg, var(--property-gradient-start) 0%, var(--property-gradient-end) 100%);
}

.property-list-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

.property-list-table td {
  padding: 16px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}

.property-list-table tbody tr:hover {
  background: #f8fafc;
}

.property-list-table tbody tr:last-child td {
  border-bottom: none;
}

.property-list-table-action {
  color: var(--property-link);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.property-list-table-action:hover {
  gap: 8px;
  color: var(--property-link-hover);
}

.property-list-table-action::after {
  content: '→';
}


.company-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-detail-breadcrumb {
  padding: 16px 0;
  margin-bottom: 8px;
}

.company-detail-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: #f9fafb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.company-detail-breadcrumb a:hover {
  background: #e5e7eb;
  color: var(--primary-color);
  transform: translateX(-2px);
}

.company-detail-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 32px;
  margin-bottom: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 16, 32, 0.06);
  border: 1px solid rgba(0, 16, 32, 0.04);
}

.company-detail-hero-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.company-detail-hero-info {
  flex: 1;
}

.company-detail-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.company-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.company-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,16,32,0.06);
}

#org-number {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  font-weight: 600;
  color: var(--primary-color);
}

.company-detail-meta button {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 8px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.company-detail-meta button:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 16, 32, 0.15);
}

.company-detail-copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.company-detail-copy-tooltip.show {
  opacity: 1;
}

.company-detail-meta a {
  padding: 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: #6b7280;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.company-detail-meta a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 16, 32, 0.15);
}

.company-detail-description {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 15px;
}

.company-detail-risk-box {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  position: relative;
  overflow: visible;
  border: 2px solid transparent;
}

.company-detail-risk-indicator {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.company-detail-risk-box.high-risk {
  background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
  border-color: #fca5a5;
}

.company-detail-risk-box.high-risk .company-detail-risk-indicator {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.company-detail-risk-box.low-risk {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}

.company-detail-risk-box.low-risk .company-detail-risk-indicator {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #059669;
  border: 1px solid #86efac;
}

.company-detail-risk-box p {
  font-size: 15px;
  color: #1f2937;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.company-detail-risk-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.company-detail-risk-box ul li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.company-detail-risk-box ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 16px;
}

.company-detail-action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.company-detail-action-buttons button {
  flex: 1;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.company-detail-risk-box small {
  display: block;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.company-detail-section {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,16,32,0.06);
  margin-bottom: 24px;
}

.company-detail-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
}

.company-detail-section h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-detail-section-badge {
  padding: 4px 12px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #4338ca;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-detail-section p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Tables - Premium Style */
.company-detail-table-wrapper {
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
}

.company-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.company-detail-table * {
  box-sizing: border-box;
}

.company-detail-table thead {
  background: linear-gradient(180deg, #fafbfc 0%, #f3f4f6 100%);
}

.company-detail-table th {
  text-align: left;
  padding: 16px;
  font-weight: 600;
  color: #111827;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #e5e7eb;
  vertical-align: middle;
  box-sizing: border-box;
}

.company-detail-table td {
  text-align: left;
  padding: 16px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  font-size: 14px;
  box-sizing: border-box;
}

.company-detail-table th,
.company-detail-table td {
  padding: 16px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}


.company-detail-table th.company-detail-table-center,
.company-detail-table td.company-detail-table-center {
  text-align: center !important;
}

.company-detail-table tbody tr {
  transition: all 0.2s ease;
}

.company-detail-table tbody tr:hover {
  background: linear-gradient(90deg, #f9fafb 0%, #f3f4f6 100%);
}

.company-detail-table tbody tr:last-child td {
  border-bottom: none;
}


.company-detail-table.key-value-table td:first-child {
  font-weight: 500;
  color: #6b7280;
  width: 35%;
}

/* Status Icons */
.company-detail-table svg {
  width: 20px;
  height: 20px;
}

/* Export/Import Grid */
.company-detail-export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.company-detail-export-box {
  background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.2s ease;
}

.company-detail-export-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.company-detail-export-box strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-detail-export-box p {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1;
}

.company-detail-export-box small {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  margin-top: 8px;
}

/* Promo Section */
.company-detail-promo {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.company-detail-promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.company-detail-promo-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Empty States */
.company-detail-notice {
  padding: 32px;
  text-align: center;
  color: #6b7280;
  font-style: italic;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-radius: 16px;
  border: 2px dashed #d1d5db;
}

/* Special Table Styling */
.company-detail-table-background {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.company-detail-table-center {
  text-align: center;
}

.company-detail-table th.company-detail-table-center,
.company-detail-table td.company-detail-table-center {
  text-align: center;
}

.company-detail-section:has(h4:contains("Fordon")) .company-detail-table,
.vehicles-table {
  min-width: 1100px;
  table-layout: fixed;
}

.vehicles-table th:first-child,
.vehicles-table td:first-child {
  width: 90px;
  min-width: 90px;
}

.vehicles-table th:nth-child(2),
.vehicles-table td:nth-child(2) {
  width: 185px;
}

.vehicles-table th:nth-child(3),
.vehicles-table td:nth-child(3) {
  width: 130px;
}

.vehicles-table th:nth-child(4),
.vehicles-table td:nth-child(4) {
  width: 150px;
}

.vehicles-table th:nth-child(5),
.vehicles-table td:nth-child(5) {
  width: 140px;
}

.vehicles-table th:nth-child(6),
.vehicles-table td:nth-child(6) {
  width: 110px;
}

.vehicles-table th:nth-child(7),
.vehicles-table td:nth-child(7) {
  width: 130px;
}

.vehicles-table th:nth-child(8),
.vehicles-table td:nth-child(8) {
  width: auto;
}

.company-detail-table-wrapper.has-scroll {
  box-shadow: 
    inset -10px 0 10px -10px rgba(0,0,0,0.1),
    0 1px 3px rgba(0,0,0,0.05);
}

.company-detail-table-wrapper {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.company-detail-table.wide-table {
  min-width: 800px;
  table-layout: fixed;
}

.company-detail-table.wide-table th,
.company-detail-table.wide-table td {
  min-width: 100px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .public-sales-table th,
  .public-sales-table td {
    border-right: 1px solid #e5e7eb;
  }
  
  .public-sales-table th:last-child,
  .public-sales-table td:last-child {
    border-right: none;
  }
  
  .public-sales-table thead th {
    border-right-color: #d1d5db;
  }
}

.export-import-table {
  table-layout: auto !important;
  min-width: 400px;
}

.export-import-table th:first-child,
.export-import-table td:first-child {
  width: 50%;
  min-width: 200px;
  text-align: left !important;
}

.export-import-table th:nth-child(2),
.export-import-table td:nth-child(2),
.export-import-table th:nth-child(3),
.export-import-table td:nth-child(3) {
  width: 25%;
  min-width: 80px;
  text-align: center !important;
}

.export-import-table i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

/* Badges and Pills */
.company-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-detail-badge.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.company-detail-badge.warning {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  color: #ea580c;
}

.company-detail-badge.danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
  color: #dc2626;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
  .company-detail-hero-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .company-detail-risk-box {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .company-detail-container {
    padding: 0 0.75rem;
  }
  
  .company-detail-hero {
    border-radius: 0;
    padding: 0;
    margin: 0 0 16px 0;
    background: white;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .company-detail-hero-content {
    display: block;
    padding: 16px;
  }
  
  .company-detail-hero-info {
    width: 100%;
    margin: 0;
  }
  
  .company-detail-hero h1 {
    font-size: 28px;
  }
  
  .company-detail-meta {
    gap: 8px;
  }
  
  .company-detail-meta-item {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .company-detail-risk-box {
    padding: 16px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin: 0 0 16px 0;
    width: auto;
  }
  
  .company-detail-risk-indicator {
    display: none;
  }
  
  .company-detail-section {
    padding: 16px;
    margin: 0 0 8px 0;
    border-radius: 0;
    box-shadow: none;
    background: white;
    border: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .company-detail-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .company-detail-table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 0;
    border: none;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .company-detail-table-background {
    border-radius: 0;
    box-shadow: none;
  }
  
  /* Mobile table transformation - Data-focused design */
  .company-detail-table {
    display: block;
    border: none;
    width: 100%;
    table-layout: auto !important;
    min-width: unset !important;
  }
  
  .company-detail-table thead {
    display: none;
  }
  
  .company-detail-table tbody {
    display: block;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 0;
  }
  
  /* Each row is a data item */
  .company-detail-table tr {
    display: block;
    margin: 0;
    padding: 12px 16px;
    background: transparent;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .company-detail-table tr:last-child {
    border-bottom: none;
  }
  
  .company-detail-table td {
    display: block;
    padding: 0;
    border: none;
    line-height: 1.5;
    width: 100%;
  }
  
  .company-detail-table td[data-label] {
    display: block;
    padding: 8px 0;
    width: 100%;
  }
  
  .company-detail-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    font-weight: 400;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    opacity: 0.8;
  }
  
  .company-detail-table td[data-label] {
    color: #0f172a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
  }
  
  
  .company-detail-table td[data-label="Befattning"] {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
  }
  
  .company-detail-table td[data-label="Kontrollerar"],
  .company-detail-table td[data-label="Utövar genom"] {
    font-size: 18px;
    font-weight: 500;
  }
  
  .company-detail-table td[data-label="Egenskap"] {
    display: none;
  }
  
  .company-detail-table td[data-label="Värde"] {
    color: #0f172a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
  }
  
  .company-detail-table td[data-label="Värde"]:before {
    content: attr(data-label-text);
    display: block;
    font-weight: 400;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    opacity: 0.8;
  }
  
  .company-detail-table td[data-label="Namn"]:before,
  .company-detail-table td[data-label-text="Verkställande direktör"]:before,
  .company-detail-table td[data-label-text="Styrelseledamot"]:before,
  .company-detail-table td[data-label-text="Styrelseordförande"]:before,
  .company-detail-table td[data-label-text="Styrelsesuppleant"]:before,
  .company-detail-table td[data-label-text="Revisor"]:before,
  .company-detail-table td[data-label-text="Huvudansvarig revisor"]:before,
  .company-detail-table td[data-label-text="Revisorssuppleant"]:before,
  .company-detail-table td[data-label-text="Lekmannarevisor"]:before,
  .company-detail-table td[data-label-text="Extern verkställande direktör"]:before,
  .company-detail-table td[data-label-text="Vice verkställande direktör"]:before {
    content: "NAMN" !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
  }
  
  .company-detail-table td[data-label="Namn"] table,
  .company-detail-table td > table {
    margin-top: 8px;
  }
  
  .company-detail-table td[data-label="Namn"] {
    padding-bottom: 0 !important;
  }
  
  @media (max-width: 768px) {
    .company-detail-table tbody td[data-label="Namn"] {
      font-size: 22px !important;
      font-weight: 600 !important;
      color: #0f172a !important;
      line-height: 1.3 !important;
      padding: 12px 0 !important;
    }
    
    .company-detail-table tbody td[data-label="Namn"]:before {
      font-size: 11px !important;
      font-weight: 400 !important;
      margin-bottom: 6px !important;
    }
    
    .company-detail-table tbody td[data-label="Befattning"] {
      font-size: 15px !important;
      font-weight: 400 !important;
      color: #6b7280 !important;
      padding: 8px 0 4px 0 !important;
    }
    
    .company-detail-table tbody td[data-label="Befattning"]:before {
      font-size: 11px !important;
      margin-bottom: 4px !important;
    }
  }
  
  .company-detail-table td[data-label="Typ"] {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #64748b !important;
  }
  
  .company-detail-table td[data-label="Skattetyp"] {
    font-size: 16px;
    color: #0f172a;
    padding: 0;
    border: none;
    width: 100%;
  }
  
  .company-detail-table td[data-label="Skattetyp"]:before {
    content: attr(data-label);
    display: block;
    font-weight: 400;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    opacity: 0.8;
  }
  
  .company-detail-table td[data-label="Status"] {
    display: none !important;
  }
  
  .company-detail-table tr.tax-registration-row td[data-label="Skattetyp"] {
    display: block;
  }
  
  .company-detail-table tr.tax-registration-row td[data-label="Skattetyp"]:after {
    content: none;
  }
  
  /* Tax Registration Table Styles */
  .tax-registration-table .tax-registration-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 24px;
  }
  
  .tax-registration-table .tax-text {
    flex: 1;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
  }
  
  .tax-registration-table .tax-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
  }
  
  .tax-registration-table .tax-status svg {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
  }
  
  .tax-registration-table .tax-status-yes {
    background-color: #f0fdf4;
    color: #16a34a;
  }
  
  .tax-registration-table .tax-status-no {
    background-color: #fef2f2;
    color: #dc2626;
  }
  
  /* Mobile styles for tax registration table */
  @media (max-width: 768px) {
    .tax-registration-table td {
      padding: 16px !important;
      border-bottom: none !important;
    }
    
    .tax-registration-table tbody tr {
      border-bottom: none !important;
    }
    
    .tax-registration-table tbody tr:last-child td {
      border-bottom: none !important;
    }
    
    .tax-registration-table .tax-registration-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    
    .tax-registration-table .tax-text {
      font-size: 15px;
      padding-right: 12px;
    }
    
    .tax-registration-table .tax-status {
      width: 24px !important;
      height: 24px !important;
      min-width: 24px;
      min-height: 24px;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    .tax-registration-table .tax-status svg {
      width: 16px !important;
      height: 16px !important;
    }
  }
  
  .address-content {
    display: block;
  }
  
  .address-text {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    margin-bottom: 8px;
  }
  
  .address-link {
    display: inline-block;
    padding: 8px 14px;
    background: #f0f9ff;
    color: #0369a1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    margin-right: 8px;
    margin-bottom: 4px;
    transition: background 0.2s;
  }
  
  .address-link:active {
    background: #e0f2fe;
  }
  
  .status-item {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    padding: 2px 0;
  }
  
  .company-detail-table td svg {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
    margin-right: 6px;
  }
  
  .company-detail-table td table {
    width: 100% !important;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  
  .company-detail-table td table thead {
    display: none;
  }
  
  .company-detail-table td table tbody {
    display: block;
    width: 100%;
  }
  
  .company-detail-table td table tbody tr {
    display: block;
    width: 100%;
    margin: 0 0 12px 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
  }
  
  .company-detail-table td table tbody tr:last-child {
    margin-bottom: 0;
  }
  
  .company-detail-table td table tbody td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
  }
  
  .company-detail-table td table tbody td:before {
    display: none !important;
  }
  
  .company-detail-table td table tbody td:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.4;
    word-wrap: break-word;
  }
  
  .company-detail-table td table tbody td:not(:first-child) {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
  }
  
  .company-detail-table-center {
    text-align: left !important;
  }
  
  .company-detail-table.info-table tr {
    padding: 12px 16px;
  }
  
  .company-detail-table.info-table td {
    display: block;
    padding: 0;
  }
  
  .company-detail-table.info-table td:first-child {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.8;
    background: transparent;
    border: none;
    display: block !important;
  }
  
  .company-detail-table.info-table td:first-child:before {
    display: none;
  }
  
  .company-detail-table.info-table td:last-child {
    font-size: 16px;
    line-height: 1.5;
    color: #0f172a;
    background: transparent;
    border: none;
  }
  
  .company-detail-table.info-table td:last-child:before {
    display: none;
  }
  
  .company-detail-promo {
    border-radius: 0;
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .company-detail-export-box {
    border-radius: 8px;
    padding: 16px;
  }
  
  .company-detail-notice {
    border-radius: 8px;
    padding: 16px;
  }
  
  .company-detail-action-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .company-detail-action-buttons button {
    width: 100%;
    margin: 0;
  }
  
  .company-detail-export-grid {
    grid-template-columns: 1fr;
  }
  
  .company-detail-promo-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .company-detail-promo-buttons button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .company-detail-container {
    padding: 0;
  }
  
  .company-detail-breadcrumb {
    padding: 12px;
    margin-bottom: 0;
  }
  
  .company-detail-hero {
    padding: 0;
    margin: 0;
  }
  
  .company-detail-hero-content {
    padding: 12px;
  }
  
  .company-detail-hero h1 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .company-detail-meta {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .company-detail-meta-item {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .company-detail-description {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .company-detail-risk-box {
    padding: 12px;
    margin: 0 0 12px 0;
  }
  
  .company-detail-section {
    padding: 12px;
    margin: 0 0 8px 0;
  }
  
  .company-detail-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .company-detail-section p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .company-detail-table th,
  .company-detail-table td {
    padding: 8px;
    font-size: 12px;
  }
  
  .company-detail-export-box {
    padding: 12px;
  }
  
  .company-detail-promo {
    padding: 12px;
  }
  
  .company-detail-notice {
    padding: 12px;
  }
}

.property-report-section.content-section {
  padding: 0;
}

.property-report-section .content-section__text {
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .property-report-section .content-section__text {
    padding: 0 2rem 0 0;
  }
}

.property-report-btn {
  display: inline-block !important;
  width: auto !important;
  margin-top: 1rem;
  white-space: nowrap;
}

.property-report-demo-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.property-report-demo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  z-index: 10;
  animation: property-report-pulse 2s infinite;
  box-shadow: 0 4px 12px rgba(0, 16, 32, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.02em;
  will-change: transform;
  backface-visibility: hidden;
  transition: all 0.3s ease;
}

@keyframes property-report-pulse {
  0% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.05) translateZ(0); }
  100% { transform: scale(1) translateZ(0); }
}

@keyframes property-report-glow {
  0%, 100% { 
    box-shadow: 0 10px 30px rgba(0, 16, 32, 0.8), 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% { 
    box-shadow: 0 10px 40px rgba(0, 16, 32, 1), 0 0 30px rgba(255, 255, 255, 0.4);
  }
}

.property-report-demo-link:hover img {
  transform: scale(1.02) !important;
}

.property-report-demo-link:hover .property-report-demo-badge {
  animation: property-report-glow 1s ease-in-out infinite;
  transform: translateX(-5px) translateY(-5px);
  background: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 16, 32, 0.8);
}


.browse-properties-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
}

.browse-properties-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 12px;
}

.browse-properties-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.browse-properties-counties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.browse-county-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
}

.browse-county-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.browse-county-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.browse-county-card:hover::before {
  transform: scaleX(1);
}

.browse-county-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.browse-county-count {
  font-size: 1rem;
  color: #64748b;
}

.browse-all-properties-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #2c3e50;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  margin: 0 auto;
  display: flex;
  width: fit-content;
}

.browse-all-properties-link:hover {
  background: #34495e;
  gap: 16px;
  transform: translateX(2px);
}

.browse-all-properties-link svg {
  transition: transform 0.3s ease;
}

.browse-all-properties-link:hover svg {
  transform: translateX(4px);
}

.browse-options-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 40px auto;
}

.browse-option-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.browse-option-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.browse-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  color: white;
}

.browse-option-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.browse-option-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
}

.browse-option-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2c3e50;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.browse-option-link:hover {
  gap: 12px;
  color: #1a1a1a;
}

.browse-option-link svg {
  transition: transform 0.2s ease;
}

.browse-option-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .browse-properties-section {
    padding: 40px 16px;
  }
  
  .browse-properties-section h2 {
    font-size: 1.5rem;
  }
  
  .browse-properties-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .browse-properties-counties {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .browse-county-card {
    padding: 16px;
  }
  
  .browse-county-name {
    font-size: 1.125rem;
  }
  
  .browse-all-properties-link {
    font-size: 1rem;
    padding: 12px 24px;
  }
  
  .browse-options-container {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px auto;
  }
  
  .browse-option-card {
    padding: 24px 20px;
  }
  
  .browse-option-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .browse-option-card h3 {
    font-size: 1.125rem;
  }
  
  .browse-option-card p {
    font-size: 0.875rem;
    margin-bottom: 20px;
  }
}


/* Property Report Example Section - Details page */
.property-report-example-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  margin-top: 60px;
}

.property-report-example-container {
  max-width: 1200px;
  margin: 0 auto;
}

.property-report-example-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 16px;
}

.property-report-example-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.property-report-example-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.property-report-example-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
}

.property-report-example-text p {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.property-report-example-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.property-report-example-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
  color: #475569;
}

.property-report-example-features li::before {
  content: '';
  display: inline-block;
  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='%232c3e50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.property-report-example-preview {
  position: relative;
}

.property-report-demo-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.property-report-demo-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.property-report-demo-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.property-report-demo-link:hover img {
  transform: scale(1.02);
}

.property-report-demo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #2c3e50;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.property-report-demo-link:hover .property-report-demo-badge {
  background: #34495e;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 968px) {
  .property-report-example-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .property-report-example-text {
    order: 2;
  }
  
  .property-report-example-preview {
    order: 1;
  }
}

@media (max-width: 640px) {
  .property-report-example-section {
    padding: 60px 16px;
  }
  
  .property-report-example-section h2 {
    font-size: 2rem;
  }
  
  .property-report-example-subtitle {
    font-size: 1.125rem;
    margin-bottom: 40px;
  }
  
  .property-report-example-text h3 {
    font-size: 1.5rem;
  }
  
  .property-report-example-text p {
    font-size: 1rem;
  }
  
  .property-report-demo-badge {
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    font-size: 0.875rem;
  }
}

/* ========================================
   COMPANY DETAILS 
   ======================================== */

.company-detail-section {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 32px 0;
    margin-bottom: 0;
}

.company-detail-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}

.company-detail-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.company-detail-section-header {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 12px;
}

.company-detail-section-header h4 {
    border: none;
    padding: 0;
    margin: 0;
}

.company-detail-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
}

.company-detail-table {
    background: transparent;
}

.company-detail-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.company-detail-table tbody tr:hover {
    background: #f9fafb;
}

.company-detail-table-background {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.company-detail-promo {
    background: linear-gradient(90deg, rgba(0, 105, 180, 0.03) 0%, transparent 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.company-detail-promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 20px;
    flex-wrap: wrap;
}

.company-detail-promo-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.company-detail-notice {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

.company-detail-export-grid {
    margin-bottom: 24px;
}

.company-detail-export-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.company-detail-export-box:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.company-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-detail-section ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
}

.company-detail-section ul li:last-child {
    border-bottom: none;
}

.company-sni-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-sni-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.company-sni-list li:hover {
    background: #f9fafb;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.company-sni-list li:last-child {
    border-bottom: none;
}

.company-sni-code {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 600;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.company-sni-code:hover {
    background: #003d6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.company-sni-description {
    color: #1d1d1b;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.company-sni-list li:nth-child(even) .company-sni-code {
    background: #1d1d1b;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.company-sni-list li:nth-child(even) .company-sni-code:hover {
    background: #0f0f0f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.company-sni-list li:nth-child(3n) .company-sni-code {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d6b 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-sni-list li:nth-child(3n) .company-sni-code:hover {
    background: linear-gradient(135deg, #003d6b 0%, #002547 100%);
}

.company-detail-section + .company-detail-section {
    margin-top: 32px;
}

.company-detail-section p {
    margin-bottom: 16px;
}

/* Organization List - Modern Design */
.org-list-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.org-list-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.org-list-card:hover::before {
    opacity: 1;
}

.org-list-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.org-list-card-inner {
    padding: 24px;
}

.org-list-header {
    margin-bottom: 16px;
    position: relative;
}

.org-list-company-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.org-list-company-name:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.org-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.org-list-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.org-list-meta-item::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-right: 4px;
}

.org-list-meta-item:first-child::before {
    display: none;
}

.org-list-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-list-status-badge.active {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--primary-color);
    border: 1px solid #bae6fd;
}

.org-list-status-badge.inactive {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.org-list-status-badge.bankruptcy {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.org-list-status-badge.liquidation {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.org-list-description {
    font-size: 14px;
    color: #475569;
    margin: 16px 0;
    line-height: 1.6;
    padding: 12px;
    background: #fafbfc;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.org-list-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
}

.org-list-tax-badges {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.org-list-tax-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.org-list-tax-badge.registered {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.org-list-tax-badge.registered:hover {
    background: var(--primary-color);
    color: white;
}

.org-list-tax-badge.not-registered {
    background: white;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
}

.org-list-tax-badge svg {
    width: 14px;
    height: 14px;
    transition: stroke 0.2s ease;
}

.org-list-tax-badge.registered:hover svg {
    stroke: white;
}

.org-list-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.org-list-metric-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.org-list-metric-item strong {
    color: #1e293b;
    font-weight: 700;
}

.org-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
    background: linear-gradient(to right, #fafbfc 0%, transparent 100%);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.org-list-footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.org-list-registration {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.org-list-registration-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.org-list-registration-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.org-list-lei {
    font-size: 11px;
    color: #94a3b8;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.org-list-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    background: white;
    transition: all 0.2s ease;
}

.org-list-action-link:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 69, 180, 0.2);
}

.org-list-action-link::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.2s ease;
}

.org-list-action-link:hover::after {
    transform: translateX(3px);
}

.org-list-special-status {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.org-list-special-status.konkurs {
    background: #dc2626;
    color: white;
}

.org-list-special-status.likvidation {
    background: #ea580c;
    color: white;
}

.org-list-special-status.fusion {
    background: #2563eb;
    color: white;
}


.public-sales-table tbody td {
  padding: 12px 14px;
  font-size: 0.9375rem;
}

.public-sales-table tbody td.company-detail-table-center {
  font-weight: 500;
  color: #1e293b;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.public-sales-table tbody tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.5);
}

.public-sales-table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.05);
  transition: background-color 0.15s ease;
}

.public-sales-table thead th {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  padding: 12px 16px;
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.public-sales-table tbody td.company-detail-table-center:empty::before {
  content: "–";
  color: #cbd5e1;
  font-weight: 400;
}

.public-sales-table tbody td:first-child {
  font-weight: 500;
  color: #334155;
  max-width: 350px;
  font-size: 0.9375rem;
}
