/* Admin dashboard styles to match the landing page design */

.admin-gradient-text {
  background: linear-gradient(to right, #fff 20%, #7dd3fc 50%, #818cf8 80%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.admin-card {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.admin-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.admin-card:hover::after {
  transform: scaleX(1);
}

.admin-card.admin-card-blue::after {
  background: linear-gradient(90deg, #7dd3fc, #818cf8);
}

.admin-card.admin-card-green::after {
  background: linear-gradient(90deg, #6ee7b7, #3b82f6);
}

.admin-card.admin-card-purple::after {
  background: linear-gradient(90deg, #c4b5fd, #8b5cf6);
}

.admin-card.admin-card-yellow::after {
  background: linear-gradient(90deg, #fde68a, #f59e0b);
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table th {
  font-weight: 600;
  letter-spacing: 0.025em;
}

.admin-table tbody tr {
  transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.05);
}

.admin-button {
  transition: all 0.3s ease;
}

.admin-button-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2), 0 2px 4px -1px rgba(99, 102, 241, 0.1);
}

.admin-button-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
}

.sidebar-item {
  transition: all 0.2s ease;
  position: relative;
}

.sidebar-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 0 4px 4px 0;
  transition: width 0.2s ease;
}

.sidebar-item:hover::before {
  width: 4px;
}

.sidebar-item.active::before {
  width: 4px;
}

.admin-icon-gradient {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-checkbox {
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #d1d5db;
  border-radius: 0.25rem;
  background-color: transparent;
  display: inline-block;
  position: relative;
  margin-right: 0.5rem;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-checkbox:checked {
  background-color: #6366f1;
  border-color: #6366f1;
}

.admin-checkbox:checked::after {
  content: "✓";
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
}

.admin-search-input {
  transition: all 0.3s ease;
}

.admin-search-input:focus {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Stats card subtle gradient backgrounds */
.admin-stats-blue {
  background: linear-gradient(145deg, #f8fafc, #eff6ff);
}

.admin-stats-green {
  background: linear-gradient(145deg, #f8fafc, #ecfdf5);
}

.admin-stats-purple {
  background: linear-gradient(145deg, #f8fafc, #f5f3ff);
}

.admin-stats-yellow {
  background: linear-gradient(145deg, #f8fafc, #fef3c7);
}

/* Activity feed dot pulse animation */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.admin-activity-dot {
  animation: pulse 2s infinite;
}

/* Glassmorphism effects */
.admin-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation active state indicator */
.admin-nav-active {
  position: relative;
}

.admin-nav-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}