/* ============================================
   DASHBOARD CARDS - Design Variado e Organizado
   ============================================ */

/* Cards base - Remover estilos padrão */
.dashboard-card {
  border-radius: 1.25rem !important;
  border: none !important;
  overflow: hidden !important;
  position: relative !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  background: var(--bg-card-dark) !important;
}

.dashboard-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(74, 144, 226, 0.2) !important;
}

.dashboard-card .card-body {
  padding: 1.75rem !important;
  position: relative;
  z-index: 2;
}

/* Card Type 1 - Gradient com ícone flutuante */
.card-type-1 {
  background: linear-gradient(135deg, var(--dark-blue-accent) 0%, var(--blue-dark) 100%) !important;
  border: 1px solid var(--border-blue) !important;
}

.card-type-1::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, transparent 70%);
  opacity: 0.5;
  transition: all 0.6s ease;
}

.card-type-1:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.card-type-1 .round {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-medium) 100%) !important;
  width: 60px !important;
  height: 60px !important;
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
  position: relative;
  z-index: 3;
}

.card-type-1 .round i {
  font-size: 1.5rem !important;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-type-1 h6 {
  color: var(--text-light) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

.card-type-1 h3 {
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 2rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Card Type 2 - Glassmorphism */
.card-type-2 {
  background: rgba(26, 35, 50, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(74, 144, 226, 0.2) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.card-type-2:hover {
  background: rgba(26, 35, 50, 0.9) !important;
  border-color: rgba(74, 144, 226, 0.5) !important;
}

.card-type-2 .round {
  background: linear-gradient(135deg, rgba(19, 222, 185, 0.2) 0%, rgba(19, 222, 185, 0.1) 100%) !important;
  border: 2px solid #13DEB9 !important;
  width: 60px !important;
  height: 60px !important;
  box-shadow: 0 0 20px rgba(19, 222, 185, 0.3) !important;
}

.card-type-2 .round i {
  color: #13DEB9 !important;
  font-size: 1.5rem !important;
}

.card-type-2 h6 {
  color: var(--text-primary) !important;
}

.card-type-2 h3 {
  color: #13DEB9 !important;
  font-weight: 700 !important;
}

/* Card Type 3 - Neon Border */
.card-type-3 {
  background: var(--bg-card-dark) !important;
  border: 2px solid transparent !important;
  position: relative;
}

.card-type-3::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 2px;
  background: linear-gradient(135deg, #FFAE1F, #cc8b18, #FFAE1F);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.card-type-3:hover::before {
  opacity: 1;
  animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.card-type-3 .round {
  background: linear-gradient(135deg, #FFAE1F 0%, #cc8b18 100%) !important;
  width: 60px !important;
  height: 60px !important;
  box-shadow: 0 0 25px rgba(255, 174, 31, 0.5) !important;
}

.card-type-3 .round i {
  color: var(--text-light) !important;
  font-size: 1.5rem !important;
}

.card-type-3 h6 {
  color: var(--text-primary) !important;
}

.card-type-3 h3 {
  color: #FFAE1F !important;
  font-weight: 700 !important;
}

/* Card Type 4 - Minimalista com sombra colorida */
.card-type-4 {
  background: var(--bg-card-dark) !important;
  border: 1px solid var(--border-dark) !important;
}

.card-type-4:hover {
  border-color: var(--border-blue) !important;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3) !important;
}

.card-type-4 .round {
  background: var(--dark-blue-accent) !important;
  border: 2px solid var(--blue-bright) !important;
  width: 60px !important;
  height: 60px !important;
  transition: all 0.3s ease;
}

.card-type-4:hover .round {
  background: var(--blue-bright) !important;
  transform: rotate(360deg) scale(1.1);
}

.card-type-4 .round i {
  color: var(--blue-bright) !important;
  font-size: 1.5rem !important;
  transition: all 0.3s ease;
}

.card-type-4:hover .round i {
  color: var(--text-light) !important;
}

.card-type-4 h6 {
  color: var(--text-secondary) !important;
}

.card-type-4 h3 {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

/* Card Type 5 - Card com padrão de fundo */
.card-type-5 {
  background: linear-gradient(135deg, var(--dark-blue-primary) 0%, var(--dark-blue-accent) 100%) !important;
  border: 1px solid var(--border-dark) !important;
  position: relative;
  overflow: hidden;
}

.card-type-5::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(19, 222, 185, 0.1) 0%, transparent 50%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.card-type-5:hover::after {
  opacity: 1;
}

.card-type-5 .round {
  background: linear-gradient(135deg, rgba(250, 137, 107, 0.2) 0%, rgba(250, 137, 107, 0.1) 100%) !important;
  border: 2px solid #FA896B !important;
  width: 60px !important;
  height: 60px !important;
  box-shadow: 0 0 20px rgba(250, 137, 107, 0.3) !important;
}

.card-type-5 .round i {
  color: #FA896B !important;
  font-size: 1.5rem !important;
}

.card-type-5 h6 {
  color: var(--text-primary) !important;
}

.card-type-5 h3 {
  color: #FA896B !important;
  font-weight: 700 !important;
}

/* Organização das cards em grupos */
.dashboard-section {
  margin-bottom: 2rem;
}

.dashboard-section-title {
  color: var(--text-light) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-blue);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-section-title i {
  color: var(--blue-bright);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.5));
}

/* Texto muted melhorado */
.dashboard-card .text-muted {
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
}

.dashboard-card small.text-muted {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
  display: block;
  margin-top: 0.25rem;
}

/* Responsivo */
@media (max-width: 1200px) {
  .dashboard-card .round {
    width: 50px !important;
    height: 50px !important;
  }
  
  .dashboard-card .round i {
    font-size: 1.25rem !important;
  }
  
  .dashboard-card h3 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 768px) {
  .dashboard-card {
    margin-bottom: 1rem;
  }
  
  .dashboard-card .card-body {
    padding: 1.25rem !important;
  }
}

