/* Status Filter Styling */

.status-filter-btn {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e9ecef;
  color: #495057;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.status-filter-btn:hover {
  color: #6c757d;
  border-color: #adb5bd;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-filter-btn.active {
  color: #ffffff !important;
  border-color: #007bff;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.status-filter-btn.active .status-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.status-filter-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.status-filter-btn:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.status-filter-btn[data-status="unchecked"] {
  border-color: #ffc107;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
}

.status-filter-btn[data-status="unchecked"]:hover {
  border-color: #e0a800;
  background: linear-gradient(135deg, #ffeaa7 0%, #fff3cd 100%);
  color: #664d03;
}

.status-filter-btn[data-status="unchecked"].active {
  color: #ffffff !important;
  border-color: #ffc107;
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.status-filter-btn[data-status="unprinted"] {
  border-color: #dc3545;
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
}

.status-filter-btn[data-status="unprinted"]:hover {
  border-color: #c82333;
  background: linear-gradient(135deg, #f5c6cb 0%, #f8d7da 100%);
  color: #5a1a1a;
}

.status-filter-btn[data-status="unprinted"].active {
  color: #ffffff !important;
  border-color: #dc3545;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

/* Clear status filters button */
#clearStatusFilters {
  transition: all 0.3s ease;
}

#clearStatusFilters:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #ffffff;
  transform: scale(1.05);
}

/* Mobile responsive styling */
@media (max-width: 768px) {
  .status-filter-btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  .status-filter-btn i {
    font-size: 0.9rem;
  }
  
  .status-count {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  #clearStatusFilters {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .status-filter-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .status-filter-btn i {
    font-size: 0.8rem;
    margin-right: 0.25rem !important;
  }
  
  .status-count {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
    margin-left: 0.25rem !important;
  }
  
  #clearStatusFilters {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .card-body.p-3 {
    padding: 0.75rem !important;
  }
  
  .status-buttons-mobile .status-filter-btn {
    min-width: 0;
    flex: 1;
  }
}