.texture-comparison-visualizer {
  padding: 16px;
  background: white;
  border-radius: 8px;
  
  .visualizer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    
    h6 {
      margin: 0;
      font-size: 15px;
      font-weight: 600;
      color: #333;
    }
    
    .material-count {
      font-size: 12px;
      color: #666;
      background: #f0f0f0;
      padding: 4px 10px;
      border-radius: 12px;
    }
  }
  
  .empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
  }
  
  .texture-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    
    .texture-card {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 16px;
      border: 1px solid #e0e0e0;
      transition: all 0.3s ease;
      
      &:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
      }
      
      .texture-thumbnail {
        width: 100%;
        height: 120px;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 12px;
        background: #e0e0e0;
        
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      
      .texture-info {
        margin-bottom: 16px;
        
        .material-name {
          margin: 0 0 4px 0;
          font-size: 14px;
          font-weight: 600;
          color: #333;
        }
        
        .material-type {
          display: inline-block;
          font-size: 11px;
          color: #666;
          background: white;
          padding: 2px 8px;
          border-radius: 4px;
          margin-right: 6px;
        }
        
        .characteristic-badge {
          display: inline-block;
          font-size: 11px;
          font-weight: 600;
          padding: 2px 8px;
          border-radius: 4px;
        }
      }
      
      .radar-chart-container {
        display: flex;
        justify-content: center;
        margin-bottom: 16px;
        
        svg {
          filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
          
          .radar-label {
            fill: #666;
            font-size: 8px;
          }
        }
      }
      
      .property-bars {
        display: flex;
        flex-direction: column;
        gap: 10px;
        
        .property-item {
          .property-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
            
            .property-name {
              display: flex;
              align-items: center;
              gap: 4px;
              font-size: 11px;
              color: #666;
              
              svg {
                width: 12px;
                height: 12px;
                stroke: #999;
              }
            }
            
            .property-value {
              font-size: 11px;
              font-weight: 600;
              color: #333;
            }
          }
          
          .property-bar-container {
            width: 100%;
            height: 6px;
            background: #e0e0e0;
            border-radius: 3px;
            overflow: hidden;
            
            .property-bar-fill {
              height: 100%;
              transition: width 0.3s ease;
              border-radius: 3px;
            }
          }
        }
      }
    }
  }
  
  .comparison-summary {
    padding: 16px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    border-radius: 8px;
    border: 1px solid #d0e7ff;
    
    h6 {
      margin: 0 0 12px 0;
      font-size: 14px;
      font-weight: 600;
      color: #007AFF;
    }
    
    .summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      
      .summary-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        
        .label {
          font-size: 11px;
          color: #666;
        }
        
        .value {
          font-size: 13px;
          font-weight: 600;
          color: #333;
        }
      }
    }
  }
}

