/* Dashboard Styles */

#dashboard-module .stat-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
  transition: transform 0.3s ease;
}

#dashboard-module .stat-card:hover {
  transform: translateY(-5px);
}

#dashboard-module .stat-card i {
  font-size: 2rem;
  margin-bottom: 15px;
}

#dashboard-module .stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

#dashboard-module .stat-card p {
  font-size: 1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Background colors for stat cards */
#dashboard-module .bg-primary-light {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
}

#dashboard-module .bg-success-light {
  background: linear-gradient(135deg, #4cc9f0, #4895ef);
}

#dashboard-module .bg-warning-light {
  background: linear-gradient(135deg, #f72585, #b5179e);
}

#dashboard-module .bg-info-light {
  background: linear-gradient(135deg, #7209b7, #560bad);
}

/* Recent orders table */
#dashboard-module .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
}

#dashboard-module .card-header {
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  border-radius: 10px 10px 0 0 !important;
  font-weight: 600;
  color: #495057;
}

#dashboard-module .table {
  margin-bottom: 0;
}

#dashboard-module .table thead th {
  font-weight: 600;
  color: #495057;
  border-top: none;
  border-bottom: 2px solid #dee2e6;
}

#dashboard-module .table tbody td {
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
  padding: 12px 8px;
}

#dashboard-module .table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

#dashboard-module .action-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

#dashboard-module .action-buttons i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

#dashboard-module .action-buttons i.bi-eye {
  background-color: #6c757d;
  color: white;
}

#dashboard-module .action-buttons i.bi-eye:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
}

#dashboard-module .action-buttons i.bi-pencil {
  background-color: #17a2b8;
  color: white;
}

#dashboard-module .action-buttons i.bi-pencil:hover {
  background-color: #138496;
  transform: translateY(-2px);
}

#dashboard-module .action-buttons i.bi-trash {
  background-color: #dc3545;
  color: white;
}

#dashboard-module .action-buttons i.bi-trash:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

#dashboard-module .action-buttons i.bi-printer {
  background-color: #28a745;
  color: white;
}

#dashboard-module .action-buttons i.bi-printer:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #dashboard-module .table-responsive {
    border: none;
  }
  
  #dashboard-module .table thead th,
  #dashboard-module .table tbody td {
    padding: 8px 4px;
    font-size: 0.875rem;
  }
  
  #dashboard-module .action-buttons i {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  #dashboard-module .stat-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  #dashboard-module .action-buttons {
    gap: 4px;
  }
  
  #dashboard-module .action-buttons i {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  #dashboard-module .stat-card {
    padding: 15px;
  }
  
  #dashboard-module .stat-card h3 {
    font-size: 1.25rem;
  }
  
  #dashboard-module .stat-card i {
    font-size: 1.5rem;
  }
}