/* CPU Tracking Styles - Matches main site design */

/* Main container styling */
main {
    padding: 3rem 2rem;
    background-color: #f5f5f5;
    min-height: calc(100vh - 130px);
  }
  
  /* Title Container */
  .title-container {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .table-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }
  
  .highlight {
    color: var(--primary-color);
    position: relative;
  }
  
  .highlight:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    opacity: 0.3;
  }
  
  .subtitle {
    font-size: 1.1rem;
    color: #555;
    font-weight: 400;
    line-height: 1.6;
  }
  
  /* Table Container */
  .table-container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-top: 3px solid var(--primary-color);
  }
  
  /* Table Styling */
  .styled-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
  }
  
  .styled-table thead {
    background-color: var(--dark-bg);
  }
  
  .styled-table thead th {
    color: var(--text-light);
    font-weight: 600;
    padding: 1.2rem 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
  }
  
  .styled-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
  }
  
  .styled-table tbody tr:last-child {
    border-bottom: none;
  }
  
  .styled-table tbody tr:hover {
    background-color: #f9f9f9;
  }
  
  .styled-table td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    color: var(--text-dark);
    font-size: 0.95rem;
  }
  
  /* CPU Image Styling */
  .cpu-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition);
    padding: 5px;
  }
  
  .styled-table tr:hover .cpu-image {
    transform: scale(1.1);
  }
  
  /* Special Column Styling */
  .styled-table td:nth-child(2) {
    font-weight: 600;
    color: var(--dark-bg);
    text-align: left;
  }
  
  .styled-table td:nth-child(6) {
    font-weight: 600;
  }
  
  .styled-table td:nth-child(7) {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  /* Empty State */
  .styled-table tbody tr td[colspan="8"] {
    padding: 2rem;
    text-align: center;
    color: #888;
    font-style: italic;
  }
  
  /* Add Button */
  .add-button-container {
    text-align: right;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }
  
  .add-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .add-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
  }
  
  .add-button i {
    font-size: 0.8rem;
  }
  
  /* Sorting indicators */
  .sort-indicator {
    display: inline-block;
    margin-left: 5px;
    opacity: 0.7;
    font-size: 0.7rem;
  }
  
  /* Performance indicators */
  .benchmark-low, .benchmark-medium, .benchmark-high {
    position: relative;
    padding-left: 1.5rem;
  }
  
  .benchmark-low:before, .benchmark-medium:before, .benchmark-high:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  .benchmark-low:before {
    background-color: #ff4d4d;
  }
  
  .benchmark-medium:before {
    background-color: #ffb84d;
  }
  
  .benchmark-high:before {
    background-color: #4dbd74;
  }
  
  /* Responsive adaptations */
  @media (max-width: 1024px) {
    .styled-table th, .styled-table td {
      padding: 0.8rem 0.6rem;
      font-size: 0.85rem;
    }
    
    .cpu-image {
      width: 50px;
      height: 50px;
    }
    
    .table-title {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 768px) {
    .table-container {
      border-radius: 0;
      box-shadow: none;
      border-top: none;
    }
    
    .styled-table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
    }
    
    .styled-table th, .styled-table td {
      padding: 0.7rem 0.5rem;
      font-size: 0.8rem;
    }
    
    .styled-table thead th:not(:nth-child(1)):not(:nth-child(2)) {
      min-width: 80px;
    }
    
    .cpu-image {
      width: 40px;
      height: 40px;
    }
    
    .title-container {
      margin-bottom: 2rem;
    }
    
    .table-title {
      font-size: 1.6rem;
    }
    
    .subtitle {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 480px) {
    main {
      padding: 2rem 1rem;
    }
    
    .table-title {
      font-size: 1.4rem;
    }
    
    .subtitle {
      font-size: 0.9rem;
    }
  }