/*
Theme Name: ConAnalytics
Theme URI: https://conanalytics.local/
Author: ConAnalytics Team
Author URI: https://conanalytics.local/
Description: Tema personalizado para a plataforma ConAnalytics.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 8.1
Text Domain: conanalytics
*/

/* ===================================
   ESTILOS DIFERENTES PARA CARDS - DEMONSTRAÇÃO
   =================================== */

/* Card 1: Consulta Híbrida - Clean Minimal */
.card-style-clean {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.card-style-clean:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.card-style-clean .member-action-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #64748b;
}

/* Card 2: Consulta IBS/CBS - Subtle Shadow */
.card-style-shadow {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-style-shadow:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: #e2e8f0;
}

.card-style-shadow .member-action-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #475569;
}

/* Card 3: Calculadora Inteligente - Accent Border */
.card-style-border {
  background: #ffffff;
  border-radius: 4px;
  padding: 12px;
  border-left: 3px solid #3b82f6;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.card-style-border:hover {
  border-left-color: #1d4ed8;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateX(2px);
}

.card-style-border .member-action-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* Card 4: Glass Morphism (para outros cards) */
.member-action-card:not(.card-style-clean):not(.card-style-shadow):not(.card-style-border):not(.card-style-modern):not(.card-style-neon):not(.card-style-gradient):not(.card-style-outline) {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  transition: all 0.3s ease;
}

.member-action-card:not(.card-style-clean):not(.card-style-shadow):not(.card-style-border):not(.card-style-modern):not(.card-style-neon):not(.card-style-gradient):not(.card-style-outline):hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transform: translateY(-2px);
}

.member-action-card:not(.card-style-clean):not(.card-style-shadow):not(.card-style-border):not(.card-style-modern):not(.card-style-neon):not(.card-style-gradient):not(.card-style-outline) .member-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

/* ===================================
   ESTILO COERENTE PARA ÁREA DE MEMBROS
   =================================== */

/* Estilo principal para todos os cards da área de membros */
.member-action-card.ca-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.member-action-card.ca-card:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.member-action-card.ca-card .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.member-action-card.ca-card:hover .member-action-icon {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #3b82f6;
  transform: scale(1.05);
}

.member-action-card.ca-card .member-action-title {
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.member-action-card.ca-card:hover .member-action-title {
  color: #3b82f6;
}

.member-action-card.ca-card .member-action-subtitle {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.member-action-card.ca-card:hover .member-action-subtitle {
  color: #475569;
}

.member-action-card.ca-card .member-action-link {
  color: #3b82f6;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.member-action-card.ca-card .member-action-link:hover {
  color: #2563eb;
  transform: translateX(2px);
}

/* ===================================
   NOVOS ESTILOS DE CARDS - OPÇÕES ADICIONAIS
   =================================== */

/* Card 5: Modern Dark */
.card-style-modern {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #475569;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-style-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.card-style-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  border-color: #64748b;
}

.card-style-modern .member-action-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-style-modern .member-action-title {
  color: #f1f5f9;
  font-weight: 600;
}

.card-style-modern .member-action-subtitle {
  color: #cbd5e1;
  opacity: 0.9;
}

/* Card 6: Neon Glow */
.card-style-neon {
  background: #0f172a;
  color: white;
  border-radius: 12px;
  padding: 12px;
  border: 2px solid #1e293b;
  transition: all 0.3s ease;
  position: relative;
}

.card-style-neon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(45deg, #3b82f6, #06b6d4, #10b981, #f59e0b);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-style-neon:hover::before {
  opacity: 1;
}

.card-style-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.card-style-neon .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Card 7: Gradient Vibrant */
.card-style-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-style-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.card-style-gradient:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(102, 126, 234, 0.4);
}

.card-style-gradient .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Card 8: Outline Minimal */
.card-style-outline {
  background: transparent;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.card-style-outline:hover {
  border-color: #3b82f6;
  background: #f8fafc;
  transform: translateY(-1px);
}

.card-style-outline .member-action-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.card-style-outline:hover .member-action-icon {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #eff6ff;
}

/* Card 9: Card Stack */
.card-style-stack {
  background: white;
  border-radius: 6px;
  padding: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.card-style-stack::before,
.card-style-stack::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.card-style-stack::before {
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  z-index: -2;
}

.card-style-stack::after {
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  z-index: -3;
}

.card-style-stack:hover {
  transform: translateY(-8px);
}

.card-style-stack:hover::before {
  top: 2px;
  left: 2px;
  right: -2px;
  bottom: -2px;
}

.card-style-stack:hover::after {
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
}

.card-style-stack .member-action-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* ===================================
   DIFERENTES ESTILOS DE CARDS PARA ÁREA DE MEMBROS
   =================================== */

/* Opção 1: Card Minimalista Limpo */
.card-style-minimal {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.2s ease;
}

.card-style-minimal:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.card-style-minimal .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-style-minimal:hover .member-action-icon {
  background: #eff6ff;
  color: #3b82f6;
}

/* Opção 2: Card com Borda Colorida */
.card-style-bordered {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.card-style-bordered::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 12px 12px 0 0;
}

.card-style-bordered:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

/* Opção 3: Card com Sombra Profunda */
.card-style-shadow {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.card-style-shadow:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card-style-shadow .member-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Opção 4: Card com Gradiente Suave */
.card-style-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 16px;
  color: white;
  transition: all 0.3s ease;
}

.card-style-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.card-style-gradient .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-style-gradient .member-action-title {
  color: white;
}

.card-style-gradient .member-action-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.card-style-gradient .member-action-link {
  color: white;
}

/* Opção 5: Card Moderno Flat */
.card-style-flat {
  background: #f8fafc;
  border: none;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease;
}

.card-style-flat:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}

.card-style-flat .member-action-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Opção 6: Card com Efeito Glass */
.card-style-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s ease;
}

.card-style-glass:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-style-glass .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Opção 7: Card com Hover Animado */
.card-style-animated {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card-style-animated::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.card-style-animated:hover::after {
  width: 300px;
  height: 300px;
}

.card-style-animated:hover {
  border-color: #3b82f6;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.2);
}

.card-style-animated .member-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.card-style-animated:hover .member-action-icon {
  background: #3b82f6;
  color: white;
  transform: rotate(5deg);
}

/* Opção 8: Card Compacto */
.card-style-compact {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  transition: all 0.2s ease;
}

.card-style-compact:hover {
  border-color: #3b82f6;
  background: #f8fafc;
}

.card-style-compact .member-action-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.card-style-compact .member-action-title {
  font-size: 13px;
}

.card-style-compact .member-action-subtitle {
  font-size: 11px;
}

/* ===================================
   CARD COM ÍCONE MAIOR
   =================================== */

.card-style-large-icon {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
}

.card-style-large-icon:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card-style-large-icon .member-action-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-style-large-icon:hover .member-action-icon {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  transform: scale(1.05);
}

.card-style-large-icon .member-action-icon svg {
  width: 28px;
  height: 28px;
}

.card-style-large-icon .member-action-title {
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 2px 0;
}

.card-style-large-icon .member-action-subtitle {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.card-style-large-icon .member-action-link {
  color: #3b82f6;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===================================
   CARD MODENO COM DESIGN DIFERENCIADO
   =================================== */

.card-style-modern {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-style-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.card-style-modern:hover::before {
  width: 100%;
  opacity: 0.05;
}

.card-style-modern:hover {
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.card-style-modern .member-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px solid #bae6fd;
  transition: all 0.3s ease;
}

.card-style-modern:hover .member-action-icon {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border-color: transparent;
  transform: rotate(5deg);
}

.card-style-modern .member-action-icon svg {
  width: 22px;
  height: 22px;
}

.card-style-modern .member-action-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.card-style-modern:hover .member-action-title {
  color: #3b82f6;
}

.card-style-modern .member-action-subtitle {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.card-style-modern .member-action-link {
  color: #3b82f6;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #eff6ff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card-style-modern .member-action-link:hover {
  background: #3b82f6;
  color: white;
}

/* ===================================
   CARD CLEAN E MINIMALISTA
   =================================== */

.card-style-clean {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  transition: all 0.2s ease;
  position: relative;
}

.card-style-clean:hover {
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.card-style-clean .member-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.card-style-clean:hover .member-action-icon {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.card-style-clean .member-action-icon svg {
  width: 20px;
  height: 20px;
}

.card-style-clean .member-action-title {
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 3px 0;
}

.card-style-clean .member-action-subtitle {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.card-style-clean .member-action-link {
  color: #3b82f6;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.card-style-clean .member-action-link:hover {
  color: #2563eb;
}
