// company-filter.scss
.company-filter-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  
  .filter-controls {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    .filter-group {
      flex: 1;
      
      label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
      }
      
      .glass-select {
        width: 100%;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: rgb(11, 180, 242);
        font-family: 'Inter', sans-serif;
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
        
        &:focus {
          outline: none;
          border-color: #7C3AED;
          box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.3);
        }
      }
      
      .range-slider {
        width: 100%;
        height: 8px;
        -webkit-appearance: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        outline: none;
        
        &::-webkit-slider-thumb {
          -webkit-appearance: none;
          width: 18px;
          height: 18px;
          border-radius: 50%;
          background: #7C3AED;
          cursor: pointer;
          transition: all 0.2s ease;
          
          &:hover {
            transform: scale(1.1);
            box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
          }
        }
      }
    }
  }
  
  .content-area {
    flex: 1;
    overflow: hidden;
    
    .company-list {
      height: 100%;
      overflow-y: auto;
      padding-right: 0.5rem;
      
      &::-webkit-scrollbar {
        width: 6px;
      }
      
      &::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 3px;
      }
      
      &::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
      }
      
      .company-card {
        background: rgba(30, 41, 59, 0.6);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
        display: flex;
        gap: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        
        &:hover {
          background: rgba(30, 41, 59, 0.8);
          transform: translateY(-2px);
        }
        
        &.highlighted {
          border: 1px solid #7C3AED;
          box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
          background: rgba(30, 41, 59, 0.8);
        }
        
        .company-logo {
          width: 60px;
          height: 60px;
          border-radius: 12px;
          background: rgba(255, 255, 255, 0.1);
          display: flex;
          align-items: center;
          justify-content: center;
          overflow: hidden;
          border: 1px solid rgba(255, 255, 255, 0.1);
          
          img {
            max-width: 80%;
            max-height: 80%;
            object-fit: contain;
          }
        }
        
        .company-info {
          flex: 1;
          
          h3 {
            margin: 0 0 0.5rem 0;
            font-size: 1.1rem;
          }
          
          .meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
            
            .industry {
              background: rgba(124, 58, 237, 0.2);
              color: #7C3AED;
              padding: 0.25rem 0.75rem;
              border-radius: 20px;
            }
            
            .rating {
              color: #F59E0B;
              display: flex;
              align-items: center;
              gap: 0.25rem;
            }
          }
          
          .location, .distance {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0.25rem 0;
          }
        }
      }
    }
  }
}