// =============================================================================
// MULTISEEK TABLE REPORT
// Table report styling
// =============================================================================

.multiseek-table-report {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;

  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
  }

  th {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    color: #2c3e50;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
  }

  td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f4;
    color: #495057;
    vertical-align: top;
  }

  tr {
    transition: background-color 0.2s ease;

    &:hover {
      background-color: #f8f9fa;
    }

    &:last-child td {
      border-bottom: none;
    }
  }

  tfoot {
    background: #f8f9fa;
    font-weight: 600;

    td {
      border-top: 2px solid #dee2e6;
      border-bottom: none;
      color: #2c3e50;
      padding: 15px;
    }
  }

  .multiseek-element {
    a {
      color: inherit;
      text-decoration: none;

      &:hover {
        color: $primary-color;
      }
    }
  }

  .multiseek-remove-from-results {
    display: inline-block;
    margin-left: 10px;
    opacity: 0.5;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 1;
    }

    a {
      color: #dc3545;
      text-decoration: none;
    }
  }
}

// Responsive table wrapper
@media (max-width: 768px) {
  .multiseek-table-report {
    overflow-x: auto;

    table {
      min-width: 600px;
    }
  }
}
