/* Sections Component Styles */ 
/* Content Sections Styling */
.content-section {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
  }
  
  .content-section:target {
    animation: highlight 1.5s ease;
  }
  
  @keyframes highlight {
    0% { box-shadow: 0 0 0 4px var(--dentist-light-blue); }
    70% { box-shadow: 0 0 0 4px var(--dentist-light-blue); }
    100% { box-shadow: var(--shadow-md); }
  }
  
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--background-gray);
  }
  
  .section-header h2 {
    margin-bottom: 0;
    color: var(--dentist-blue);
    font-size: var(--font-size-2xl);
    font-weight: 600;
  }
  
  .section-actions {
    display: flex;
    gap: var(--spacing-sm);
  }
  
  .btn-icon {
    background: none;
    border: none;
    color: var(--dentist-blue);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-icon:hover {
    color: var(--primary-dark);
    background-color: var(--background-light);
    transform: translateY(-2px);
  }
  
  /* Specialty Content Layout */
  .specialty-content {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
  }
  
  .specialty-main-content {
    flex: 1;
    min-width: 0;
    padding: 0 var(--spacing-lg);
  }
  
  /* Section animations */
  .content-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Delay animation based on section order */
  .content-section:nth-child(1) { animation-delay: 0.1s; }
  .content-section:nth-child(2) { animation-delay: 0.2s; }
  .content-section:nth-child(3) { animation-delay: 0.3s; }
  .content-section:nth-child(4) { animation-delay: 0.4s; }
  .content-section:nth-child(5) { animation-delay: 0.5s; }
  .content-section:nth-child(6) { animation-delay: 0.6s; }
  .content-section:nth-child(n+7) { animation-delay: 0.7s; }
  
  /* Competitive Profile */
  .competitive-profile {
    background-color: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: var(--spacing-xl);
  }
  
  .competitive-profile h3 {
    color: var(--dentist-blue);
    margin-bottom: var(--spacing-md);
  }
  
  .profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .stat-card {
    margin-bottom: var(--spacing-md);
  }
  
  .stat-title {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-charcoal);
  }
  
  .stat-range {
    margin-bottom: var(--spacing-md);
  }
  
  .range-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: var(--spacing-xs);
    overflow: hidden;
  }
  
  .range-fill {
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 4px;
  }
  
  .range-labels {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--text-gray);
  }
  
  .range-markers {
    position: relative;
    height: 20px;
  }
  
  .range-marker {
    position: absolute;
    font-size: var(--font-size-xs);
    color: var(--text-gray);
    transform: translateX(-50%);
    white-space: nowrap;
  }
  
  /* Scroll to top button */
  .scroll-top-btn {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: white;
    border: none;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .scroll-top-btn:hover {
    transform: translateY(-5px);
  }
  
  /* Loading indicators */
  .loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
  }
  
  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--background-light);
    border-radius: 50%;
    border-top-color: var(--dentist-blue);
    animation: spin 1s infinite linear;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  /* Responsive section styling */
  @media (max-width: 1024px) {
    .main-content {
      margin-left: 0;
    }
  }
  
  @media (max-width: 768px) {
    .content-section {
      padding: var(--spacing-lg);
    }
    
    .section-header h2 {
      font-size: var(--font-size-xl);
    }
    
    .profile-stats {
      grid-template-columns: 1fr;
    }
  }