.filters-wrapper {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.search-box {
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
}

.search-input:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
    outline: none;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.clear-button {
    padding: 0.5rem 1rem;
    font-size: 14px;
    white-space: nowrap;
    min-width: auto;
    height: auto;
    line-height: 1.2;
}

.filter-results {
    margin-top: 0.5rem;
    font-size: 14px;
    color: #666;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
  .filters-wrapper {
    margin-bottom: 1rem;
    padding: 0.75rem;
  }
  
  .filter-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .filter-controls .filter-select {
    width: 100%;
    padding: 0.5rem;
    font-size: 14px;
  }
  
  .clear-button {
    width: 100%;
    padding: 0.5rem;
    font-size: 12px;
  }
  
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .responsive-actions-table {
    min-width: 100%;
    border-collapse: collapse;
  }
  
  .responsive-actions-table thead {
    display: none;
  }
  
  .responsive-actions-table tbody tr {
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .responsive-actions-table tbody td {
    display: block;
    text-align: left;
    padding: 0.5rem 0;
    border: none;
    position: relative;
    padding-left: 30%;
  }
  
  .responsive-actions-table tbody td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 25%;
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
  }
  
  .responsive-actions-table tbody td.actions-cell {
    padding-left: 0;
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
  }
  
  .responsive-actions-table tbody td.actions-cell:before {
    display: none;
  }
  
  .responsive-actions-table tbody td.actions-cell button {
    margin: 0.25rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .responsive-actions-table tbody td {
    padding-left: 35%;
    font-size: 0.9rem;
  }
  
  .responsive-actions-table tbody td:before {
    width: 30%;
    font-size: 0.8rem;
  }
  
  .responsive-actions-table tbody td.actions-cell button {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}