/* Main Layout */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header Section */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.primary-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  letter-spacing: -0.025em;
}

.header-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.search-count,
.report-count {
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

/* Navigation Breadcrumb */
.navigation-path {
  margin-bottom: 2rem;
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.breadcrumb-label {
  font-weight: 500;
  color: #6b7280;
}

.breadcrumb-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #9ca3af;
  font-weight: 500;
}

.current-page {
  font-weight: 600;
  color: #374151;
}

/* Section Headings */
.section-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

/* Alert Section */
.alert-section {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.alert-section .section-heading {
  color: #92400e;
  border-bottom-color: #fbbf24;
}

.alert-description {
  font-size: 1.1rem;
  color: #92400e;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.report-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.report-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.report-header {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.report-number {
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  font-family: 'Monaco', 'Consolas', monospace;
}

.report-number:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.report-content {
  line-height: 1.7;
}

.user-comment {
  font-style: italic;
  color: #4b5563;
  display: block;
  margin: 0;
  quotes: """ """ "'" "'";
}

.no-reports {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-style: italic;
}

/* Technical Details Section */
.technical-details {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #f3f4f6;
}

.info-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

/* Related Numbers Section */
.related-numbers {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.activity-content {
  font-size: 1rem;
  line-height: 1.8;
}

/* Number Index Section */
.number-index {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}

.index-container {
  margin-top: 1.5rem;
}

.format-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.format-column {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 1.5rem;
}

.format-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.number-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
}

.number-item {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  color: #374151;
  transition: all 0.2s ease;
}

.number-item:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 1rem 0.5rem;
  }
  
  .primary-title {
    font-size: 2rem;
  }
  
  .header-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .breadcrumb-container {
    flex-wrap: wrap;
    text-align: center;
  }
  
  .reports-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .format-columns {
    grid-template-columns: 1fr;
  }
  
  .section-heading {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .primary-title {
    font-size: 1.75rem;
  }
  
  .alert-section,
  .technical-details,
  .related-numbers,
  .number-index {
    padding: 1rem;
  }
  
  .report-card {
    padding: 1rem;
  }
}