/* List Pages Styles */

/* Search and Filter Forms */
.search-form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.search-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 15px;
  align-items: end;
}

.search-input,
.search-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-input:focus,
.search-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Results Summary */
.results-summary {
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

/* Table Styles */
.table-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.table thead {
  background: #f8f9fa;
}

.table th {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  color: #333;
}

.table td {
  padding: 15px;
  border-bottom: 1px solid #f1f1f1;
  vertical-align: top;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Action Buttons in Tables */
.table .btn {
  padding: 6px 12px;
  font-size: 12px;
  margin: 2px;
}

/* Source Type Badges */
.source-type-badge {
  padding: 4px 8px;
  background: #e9ecef;
  border-radius: 4px;
  font-size: 12px;
  color: #495057;
}

/* Commission Display */
.commission-display {
  font-weight: bold;
}

.commission-positive {
  color: #28a745;
}

.commission-none {
  color: #6c757d;
}

/* Contact Information */
.contact-info {
  font-size: 14px;
}

.contact-info strong {
  display: block;
  margin-bottom: 2px;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Website Links */
.website-link {
  color: #007bff;
  text-decoration: none;
  font-size: 12px;
}

.website-link:hover {
  text-decoration: underline;
}

/* Empty State */
.empty-state {
  padding: 40px;
  text-align: center;
  color: #666;
}

.empty-state h3 {
  margin-bottom: 10px;
  color: #333;
}

.empty-state p {
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .table {
    font-size: 12px;
  }
  
  .table th,
  .table td {
    padding: 8px;
  }
  
  .page-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .page-header .btn {
    width: 100%;
    max-width: 300px;
  }
}