/* Pain-Gain Admin Panel Custom Styles */

:root {
  --tblr-primary: #3b82f6;
  --tblr-primary-rgb: 59, 130, 246;
}

.login-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #f97316 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.avatar-placeholder {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tblr-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.stat-card {
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.difficulty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.875rem;
}

.difficulty-1 { background-color: #d1fae5; color: #065f46; }
.difficulty-2 { background-color: #a7f3d0; color: #047857; }
.difficulty-3 { background-color: #fef08a; color: #854d0e; }
.difficulty-4 { background-color: #fed7aa; color: #c2410c; }
.difficulty-5 { background-color: #fecaca; color: #b91c1c; }

/* Fix dropdown overflow in tables */
.table-responsive {
  overflow: visible !important;
}

.card-body.p-0 .table-responsive {
  overflow: visible !important;
}

.table .dropdown-menu {
  position: absolute;
  z-index: 1050;
}

/* Ensure card doesn't clip dropdown */
.card {
  overflow: visible;
}

.card-body {
  overflow: visible;
}
