/* Enhanced Table Styling - Reusable across templates */

/* Base enhanced table styling */
.enhanced-table {
  font-family: "Segoe UI", Arial, sans-serif;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: none;
}

.enhanced-table .table-header th {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 0.75rem;
  text-align: center;
  vertical-align: middle;
}

/* Filter row styling */
.enhanced-table .filter-row {
  background-color: #f8f9fa;
  border: none;
}

.enhanced-table .filter-row td {
  border: none;
  padding: 0.75rem;
}

/* Gradient button styling */
.btn-gradient-primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.btn-gradient-primary:hover {
  background: linear-gradient(45deg, #5a6fd8, #6a4190);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Status row styling */
.enhanced-table tbody tr {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.enhanced-table td {
  text-align: center;
  vertical-align: middle;
  padding: 0.75rem;
}

.enhanced-table tbody tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Interactive link styling */
.enhanced-link {
  text-decoration: none;
  font-weight: 600;
  color: #667eea;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.enhanced-link:hover {
  color: #764ba2;
  transform: scale(1.05);
  display: inline-block;
}

/* Badge styling */
.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 50rem;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
}

/* Icon styling */
.icon-enhanced {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-enhanced:hover {
  transform: scale(1.1);
}

/* Action button styling */
.btn-action {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-action:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .enhanced-table {
    font-size: 0.875rem;
  }

  .enhanced-table .table-header th {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
  }

  .status-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* Animation classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-enhanced {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-fit-content {
  width: fit-content !important;
}

.shadow-enhanced-hover:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Icon size utility classes */
.icon-sm {
  font-size: 1rem !important;
}

.icon-md {
  font-size: 1.2rem !important;
}

.icon-lg {
  font-size: 2rem !important;
}

.icon-xl {
  font-size: 3rem !important;
}

.dropdown-item {
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease-in-out;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  transform: translateX(2px);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  padding: 0.1rem 0.2rem 0.1rem 0.2rem;
}
