/* ============================================
   Number Card Component
   Display cards for key numbers and statistics
   ============================================ */

/* Base number card */
.number-card {
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 12px;
}

.number-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.number-card.active {
  background: rgba(112, 44, 249, 0.15);
  border-color: rgba(112, 44, 249, 0.5);
  box-shadow: 0 0 20px rgba(112, 44, 249, 0.3);
  transform: translateY(-2px);
}

/* Number value display */
.number-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Number label - text-white-50 equivalent */
.number-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-weight: 400;
}

/* Dark mode adjustments */
.number-label {
  color: rgba(255, 255, 255, 0.5);
}

/* Number card with background */
.number-card-filled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
}

.number-card-filled {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Number grid layout */
.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Number with icon */
.number-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
}

/* Colored number variants */
.number-card.number-success .number-value {
  color: #22c55e;
}

.number-card.number-warning .number-value {
  color: #f59e0b;
}

.number-card.number-info .number-value {
  color: #3b82f6;
}

.number-card.number-danger .number-value {
  color: #ef4444;
}

/* Large number display */
.number-large .number-value {
  font-size: 4rem;
}

.number-large .number-label {
  font-size: 1rem;
}

/* Small number display */
.number-small .number-value {
  font-size: 2rem;
}

.number-small .number-label {
  font-size: 0.75rem;
}

/* Number with trend indicator */
.number-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.number-trend.trend-up {
  color: #22c55e;
}

.number-trend.trend-down {
  color: #ef4444;
}

.number-trend-icon {
  font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .number-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .number-value {
    font-size: 2rem;
  }
  
  .number-large .number-value {
    font-size: 3rem;
  }
}
