/* ==========================================================================
   1. Variáveis Globais (Tokens)
   ========================================================================== */
:root {
  /* Paleta Principal (unificada) */
  --primary-blue: #3b82f6;
  --primary-blue-light: #eff6ff;
  --primary-blue-dark: #2563eb;
  --primary-red-light: #fef2f2;
  --primary-red-dark: #ef4444;
  --primary-red-dark-hover: #dc2626;
  --primary-purple: #3b82f6; /* Vibrant blue */
  --price-green: #16a34a;
  --price-green-light: #dcfce7;
  --primary-gold: #facc15;
  --neutral-gray: #f3f4f6;
  /* Paleta T2S (integrada, preferindo definições posteriores) */
  --t2s-bg: #f8fafc;
  --t2s-cyan: #06b6d4;
  --t2s-blue: #3b82f6;
  --t2s-dark: #1e293b;
  /* Paleta de Apoio */
  --support-red: #ef4444;
  --support-orange: #f97316;
  --support-green: #22c55e;
  --support-purple: #8b5cf6;
  /* Cores de Texto */
  --text-dark: #1e293b;
  --text-medium: #64748b;
  --text-muted: #94a3b8;
  --text-primary: var(--t2s-dark);
  /* Cores de Status */
  --status-new: #16a34a;
  --status-new-bg: #dcfce7;
  --status-qualified: #2563eb;
  --status-qualified-bg: #eff6ff;
  --status-other: #6b7280;
  --status-other-bg: #f3f4f6;
  /* UI Geral (preferindo definições posteriores) */
  --app-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --btn-bg: #2563eb;
  --btn-text: #ffffff;
  /* Espaçamento */
  --gap: 16px;
  --pad: 20px;
  /* Mercado Livre */
  --meli-yellow: #facc15;
  --meli-indigo: #1e293b;
  --meli-blue-strong: #3b82f6;
  --meli-soft-blue: #eff6ff;
  --page-bg: #f8fafc;
  --surface-soft: #f1f5f9;
  --surface-muted: #f8fafc;
  --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --card-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --card-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --white: #ffffff;
  --purple-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gold-gradient: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  --dark-text: #1e293b;
  --light-text: #64748b;
  --background-light: #f8fafc;
  --background-dark: #ffffff;
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  --card-border-radius: 16px;
  --transition-speed: 0.3s;

  /* Bootstrap Overrides */
  --bs-body-bg: #f8fafc;
  --bs-body-color: #1e293b;
  --bs-card-bg: #ffffff;
  --bs-card-color: #1e293b;
}

/* ==========================================================================
   2. Estilos Base e Globais
   ========================================================================== */
body,
html {
  min-height: 100vh;
}

html {
  border: 0;
}

body {
  font-family: 'Poppins', sans-serif !important;
  color: var(--text-dark) !important;
  background: #f8fafc !important;
  background-attachment: fixed !important;
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Utilitários */
.text-muted {
  color: var(--text-medium) !important;
}

.small {
  font-size: 0.875rem;
}

/* Body Scrollbar */
body::-webkit-scrollbar-button {
  display: none;
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(68, 68, 68, 0.781);
  border-radius: 4px;
}

/* ==========================================================================
   3. Layout Principal (Cabeçalho e Banner)
   ========================================================================== */

.cabecalho {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.cabecalho-desktop {
  flex-direction: column;
}

.cabecalho-mobile {
  flex-direction: column;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  width: 100%;
  justify-content: space-between;
}

.header-center-group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 16px;
  margin: 0;
}

.header-search-desktop {
  display: none;
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.header-search-desktop input {
  width: 100%;
  border-radius: 4px;
  padding: 8px 12px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.header-search-desktop input:focus {
  background-color: #ffffff;
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.header-search-mobile {
  display: none;
  width: 100%;
  padding: 0 12px 8px 12px;
}

.header-search-mobile input {
  width: 100%;
  border-radius: 4px;
  padding: 8px 12px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.header-search-mobile input:focus {
  background-color: #ffffff;
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.header-search-desktop input::placeholder,
.header-search-mobile input::placeholder {
  color: #94a3b8;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  text-decoration: none !important;
  white-space: nowrap;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.header-org-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* Hamburger button */
.hamburger-btn {
  color: var(--text-dark) !important;
  border: none;
  padding: 4px;
  background: none;
  cursor: pointer;
  font-size: 1.25rem;
  display: none;
  flex-shrink: 0;
}

.hamburger-btn:hover,
.hamburger-btn:focus {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  outline: none;
  box-shadow: none;
}

/* Categories Row */
#categoriesRow {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  border-top: 1px solid var(--border-light);
  flex-wrap: nowrap;
  justify-content: center;
}

#categoriesRow a {
  text-decoration: none;
  flex-shrink: 0;
}

.category-pill {
  appearance: none;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text-medium);
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.category-pill:hover {
  background: var(--primary-purple);
  color: var(--white);
  border-color: var(--primary-purple);
}

.category-pill.active {
  background: var(--primary-purple);
  color: var(--white);
  border-color: var(--primary-purple);
}

/* Categories Sidebar */
.categories-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  background: var(--white);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding-top: 12px;
}

.categories-sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 12px 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-sidebar:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.sidebar-content {
  padding: 0 12px;
}

.sidebar-content #categoriesRowMobile {
  display: flex;
  flex-direction: column;
}

.sidebar-content .category-pill {
  width: 100%;
  text-align: left;
  border-radius: 4px;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-categories a {
  text-decoration: none;
}

.sidebar-categories .category-pill {
  width: 100%;
  text-align: left;
  border-radius: 4px;
  padding: 12px 12px;
  border: none;
  margin-bottom: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-medium);
}

.sidebar-categories .category-pill:last-child {
  border-bottom: none;
}

.sidebar-categories .category-pill:hover {
  background: var(--primary-purple);
  color: var(--white);
  border-color: var(--primary-purple);
}

.sidebar-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* User actions container */
.d-flex.align-items-center.gap-2.ms-2 {
  flex-shrink: 0;
}

/* Desktop Header Styles */
@media (min-width: 769px) {
  .header-center-group {
    margin: 0 24px;
  }

  .cabecalho-desktop {
    display: flex !important;
  }

  .cabecalho-mobile {
    display: none !important;
  }

  .categories-sidebar,
  .sidebar-overlay {
    display: none !important;
  }

  .header-top {
    padding: 12px;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-brand {
    flex: 0 0 auto;
  }

  .header-search-desktop {
    display: flex !important;
  }

  .header-search-mobile {
    display: none !important;
  }

  .d-flex.align-items-center.gap-2.ms-2 {
    flex: 0 0 auto;
  }

  .hamburger-btn {
    display: none !important;
  }

  .header-org-name {
    max-width: 200px;
  }

  #categoriesRow {
    display: flex !important;
    gap: 8px;
    padding: 6px 12px;
    overflow-x: auto;
    justify-content: center;
    border-top: 1px solid var(--border-light);
    flex-wrap: nowrap;
  }

  .category-pill {
    border-radius: 20px;
    border: 1px solid var(--border-light);
  }
}

/* Mobile Header Styles */
@media (max-width: 768px) {
  .cabecalho-desktop {
    display: none !important;
  }

  .cabecalho-mobile {
    display: flex !important;
  }

  .categories-sidebar {
    display: block;
  }

  .sidebar-overlay {
    display: block;
  }

  .header-top {
    padding: 8px 12px;
    justify-content: space-between;
    gap: 8px;
  }

  .header-brand {
    flex: 1;
    min-width: 0;
  }

  .header-org-name {
    max-width: 100px;
  }

  .header-search-desktop {
    display: none !important;
  }

  .header-search-mobile {
    display: block !important;
  }

  .hamburger-btn {
    display: flex !important;
    order: -1;
    flex-shrink: 0;
  }

  .header-logo {
    width: 36px;
    height: 36px;
  }

  #categoriesRow {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .header-logo {
    width: 32px;
    height: 32px;
  }

  .header-org-name {
    font-size: 0.9rem;
    max-width: 80px;
  }

  .header-top {
    gap: 6px;
    padding: 6px 8px;
  }
}

/* ==========================================================================
   4. Componentes de UI (Botões, Badges, Categorias)
   ========================================================================== */
/* Botões */
.btn-ghost {
  padding: 6px 10px;
  border-radius: 0;
  color: var(--text-medium);
  font-weight: 500;
}

.btn.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-purple);
  color: var(--primary-purple);
  cursor: pointer;
}

.btn.btn-icon:hover {
  background: var(--primary-purple);
  color: var(--primary-purple);
}

.btn.btn-icon.btn-icon-sm {
  width: 28px;
  height: 28px;
  font-size: 0.875rem;
}

.btn-buy {
  width: 100%;
  background: var(--primary-purple);
  color: var(--primary-purple);
  border: none;
  padding: 8px;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Botão "Comprar Lead" */
.btn-buy-lead {
  background: var(--primary-purple);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(30, 144, 255, 0.2); /* Changed to blue rgba */
}

.btn-buy-lead:hover:not(:disabled) {
  background: #5a3a7d;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.5);
  transform: none;
}

.btn-buy-lead:active:not(:disabled) {
  transform: translateY(0);
}

.btn-buy-lead:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Botão "Comprar Lead" - Premium Redesign */
.btn-buy-lead-premium {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #0f172a; /* Dark Navy */
  color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-weight: 700;
  border-radius: 16px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}

.btn-buy-content {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-buy-content i {
  font-size: 1rem;
  color: #fbbf24; /* Gold icon */
}

.btn-buy-price {
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.btn-buy-text {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 4px;
}

.btn-buy-lead-premium:hover:not(:disabled) {
  background: #2563eb; /* Vibrant Blue */
  border-color: #2563eb;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
}

.btn-buy-lead-premium:hover:not(:disabled) .btn-buy-content {
  background: rgba(255, 255, 255, 0.2);
}

.btn-buy-lead-premium:hover:not(:disabled)::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine 1.5s infinite;
}

@keyframes shine {
  100% {
    left: 100%;
  }
}

.btn-buy-lead-premium:active:not(:disabled) {
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
  transform: scale(0.98); /* Subtle press effect */
}

.btn-buy-lead-premium:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #94a3b8;
  border-color: transparent;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   5. Estilos dos Cards
   ========================================================================== */
/* Grid Layout */
.lead-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card-pill-field {
  border-radius: 8px;
  display: flex;
  gap: 4px;
  padding: 4px 4px;
  width: max-content;
  margin-top: 8px;
  font-size: 0.875em !important;
}

@keyframes idleGlow {
  0%, 100% {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border-color: rgba(0,0,0,0.05);
  }
  50% {
    box-shadow: 0 25px 50px -12px rgba(250, 204, 21, 0.25);
    border-color: rgba(250, 204, 21, 0.4);
  }
}

/* Card de Destaque - "Premium Membership" Layout */
.lead-card.featured {
  display: flex;
  flex-direction: column;
  padding: 0 !important; /* Remove padding padrão para layout full-bleed */
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05); /* Borda sutil */
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15); /* Sombra elegante */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: idleGlow 4s ease-in-out infinite;
}

.col:nth-child(2) .lead-card.featured {
  animation-delay: 1.5s;
}

.col:nth-child(3) .lead-card.featured {
  animation-delay: 3s;
}

/* Header Escuro "Two-Tone" */
.lead-card.featured .lead-grid-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 24px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Alinhamento de altura da header nos cards do grid */
  min-height: 140px; 
  max-height: 140px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ajustes de Texto no Header Escuro */
.lead-card.featured .lead-grid-header .fw-bold {
  color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead-card.featured .lead-grid-header .text-muted {
  color: #94a3b8 !important;
}

/* Ícone no Header Escuro */
.lead-card.featured .lead-item-icon {
  background: rgba(255, 255, 255, 0.1) !important; /* Fundo translúcido */
  color: #fbbf24 !important; /* Ícone dourado */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

/* Corpo do Card (Branco) */
.lead-card.featured .lead-grid-body {
  background: #ffffff;
  padding: 24px;
  flex-grow: 1;
}

/* Ajustes de Texto no Corpo */
.lead-card.featured .lead-grid-body .text-muted {
  color: #64748b !important;
}

/* Seção de Demanda no Featured */
.lead-card.featured .lead-demand-section {
  background: #fffbeb; /* Fundo amarelo muito suave */
  border: 1px dashed #eab308;
  margin-top: 16px;
}

.lead-card.featured .lead-demand-section::before {
  background: #fffbeb; /* Match background */
}

/* Footer do Card */
.lead-card.featured .lead-grid-footer {
  background: #ffffff;
  padding: 0 24px 24px 24px;
  margin-top: 0 !important; /* Remove margem padrão */
}

/* Hover Effect - Intense Static Glow (No Movement) */
.lead-card.featured:hover {
  transform: none !important;
  z-index: 10; /* Traz para frente */
  box-shadow: 
    /* Sombra profunda para destacar do fundo */
    0 30px 60px -10px rgba(0, 0, 0, 0.6),
    /* Borda Dourada Intensa */
    0 0 0 4px #fbbf24,
    /* Glow Externo Forte */
    0 0 40px rgba(251, 191, 36, 0.7),
    /* Glow Interno Sutil */
    inset 0 0 30px rgba(251, 191, 36, 0.15);
}

/* Brilho no Header ao passar o mouse */
.lead-card.featured:hover .lead-grid-header {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%); /* Clareia levemente */
  filter: brightness(1.2); /* Aumenta o brilho geral do header */
}

/* Compatibilidade com classes antigas (se houver) */
.lead-card.featured .lead-header-info,
.lead-card.featured .lead-body-info,
.lead-card.featured .lead-footer-action {
  padding-left: 24px;
  padding-right: 24px;
}

.lead-card.featured .lead-price {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lead-card.featured .lead-price::before {
  content: 'R$';
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 6px;
}

.lead-card.featured .lead-field-item {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  color: #334155;
}

.lead-card.featured .lead-field-label span {
  color: #94a3b8;
}

.lead-card.featured .lead-field-value {
  color: #1e293b;
}

/* Card Geral - Clean & Modern */
.lead-card.general-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.lead-card.general-grid:hover {
  transform: none;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
  border-color: transparent;
}

/* Gradient border effect on hover */
.lead-card.general-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lead-card.general-grid:hover::after {
  opacity: 1;
}

.lead-card.general-grid .lead-name-sm {
  color: #1e293b;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.lead-card.general-grid .lead-role-sm {
  color: #64748b;
  font-weight: 500;
}

.lead-card.general-grid .lead-grid-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  min-height: 100px;
}

.lead-card.general-grid .lead-avatar.small {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 16px;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-weight: 700;
  border: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.lead-card.general-grid .lead-grid-info {
  flex: 1;
  min-width: 0;
}

.lead-card.general-grid .lead-name-sm {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.lead-card.general-grid .lead-role-sm {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 2px;
}

.lead-card.general-grid .lead-notes-sm {
  color: var(--text-medium);
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.lead-card.general-grid .lead-grid-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
}

.lead-card.general-grid,
.lead-card.featured .lead-price-sm {
  font-size: 1.15rem;
}

.lead-card.general-grid .lead-grid-footer .btn-buy {
  width: auto;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.lead-list .col {
  display: flex;
}

.lead-card--list {
  display: flex;
  gap: var(--gap);
  width: 100%;
  min-height: 84px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: var(--pad);
}

.lead-card__left {
  flex: 0 0 auto;
}

.lead-card__center {
  flex: 1 1 auto;
  min-width: 0;
}

.lead-card__right {
  flex: 0 0 auto;
  text-align: right;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.lead-avatar-sm {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t2s-cyan), var(--t2s-blue));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.lead-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-subtitle {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-meta {
  color: var(--text-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead-price {
  font-weight: 600;
  color: var(--t2s-blue);
  font-size: 14px;
}

.lead-price-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-purple);
}

.lead-price-sm i {
  font-size: 1rem;
}

/* Animação de Gradiente Pulsante */
@keyframes gradientPulse {
  0%, 100% {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(30, 144, 255, 0.12) 50%, rgba(30, 144, 255, 0.1) 100%); /* Changed to blue rgba */
    opacity: 0.9;
  }
  25% {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.12) 0%, rgba(30, 144, 255, 0.1) 50%, rgba(30, 144, 255, 0.08) 100%); /* Changed to blue rgba */
    opacity: 1;
  }
  50% {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(30, 144, 255, 0.12) 50%, rgba(30, 144, 255, 0.1) 100%); /* Changed to blue rgba */
    opacity: 0.95;
  }
  75% {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(30, 144, 255, 0.06) 50%, rgba(30, 144, 255, 0.12) 100%); /* Changed to blue rgba */
    opacity: 1;
  }
}

/* ==========================================================================
   7. Componentes da Tabela (Ações, Paginação, Estados)
   ========================================================================== */
/* Menu de Ações */
.actions-cell {
  margin: 0 auto;
  text-align: center;
}

.actions-menu {
  position: relative;
}

.action-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #616161;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
}

.action-btn:hover,
.action-btn.active {
  background: #f3f2f1;
  color: #323130;
}

.actions-dropdown,
.actions-dropdown-down {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 9998;
  overflow-y: auto;
  min-width: 200px;
  animation: dropdownFadeIn 0.2s ease-out forwards;
  position: fixed !important;
  top: 0;
  right: 0;
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  padding: 10px 12px;
  background: var(--card-bg);
  color: var(--text-dark);
  cursor: pointer;
}

.dropdown-item:hover:not(:disabled) {
  background: var(--surface-muted);
}

.dropdown-item:disabled {
  color: #a19f9d;
  cursor: not-allowed;
}

.dropdown-item.danger {
  color: #d13438;
}

.dropdown-item i {
  font-size: 12px;
  width: 14px;
}

/* Paginação */
.pagination-controls {
  padding: 10px 24px;
  border-top: 1px solid #e1e5e9;
}

.pagination-controls.top {
  border-top: none;
  border-bottom: 1px solid #e1e5e9;
}

.pagination-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-info {
  font-size: 14px;
  color: #6c757d;
}

.items-per-page {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #495057;
}

.items-select {
  padding: 4px 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #ffffff !important;
  border: 1px solid #e1e5e9 !important;
  border-radius: 6px;
  color: #0a192f !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
  background: #0a192f !important;
  color: #ffd700 !important;
  border-color: #0a192f !important;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fa !important;
  color: #6c757d !important;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid #e1e5e9 !important;
  border-radius: 6px;
  color: #0a192f !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.pagination-number:hover {
  background: #ffd700 !important;
  border-color: #ffd700 !important;
  color: #0a192f !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.pagination-number.active {
  background: #0a192f !important;
  border-color: #0a192f !important;
  color: #ffd700 !important;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.3);
}

.pagination-ellipsis {
  padding: 8px 4px;
  color: #6c757d;
  font-size: 14px;
}

.quick-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #495057;
}

.page-input {
  width: 60px;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.page-input:focus {
  border-color: #0a192f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 25, 47, 0.1);
}

.jump-btn {
  padding: 6px 12px;
  background: #0a192f !important;
  border: 1px solid #0a192f !important;
  border-radius: 4px;
  color: #ffd700 !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jump-btn:hover:not(:disabled) {
  background: #ffd700 !important;
  color: #0a192f !important;
  border-color: #ffd700 !important;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.jump-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
}

/* Estados de Loading e Vazio */
.loading-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  color: #616161;
  text-align: center;
}

.loading-state i {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary-purple);
}

/* ==========================================================================
   8. Estilos de Modal e Formulários
   ========================================================================== */
html.modal-open,
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 0.5rem 0;
  font-size: 0.95em;
}

.modal-content {
  background-color: var(--card-bg);
  color: var(--text-dark);
  padding: 25px;
  border: 1px solid var(--border-light);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  animation-name: animatetop;
  animation-duration: 0.4s;
  position: relative;
  flex-shrink: 0;
}

.close {
  color: var(--text-muted);
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

.close:hover,
.close:focus {
  color: var(--text-dark);
}

.login-form-fieldset {
  border: none;
  padding: 0;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  border-radius: var(--radius);
  border: 1px solid #ced4da;
  padding: 12px;
}

.link-opacity-100 {
  text-decoration: none;
  cursor: pointer;
}

.link-opacity-100:hover {
  text-decoration: underline;
}

#logoutButton:hover {
  cursor: pointer;
}

.google-signup-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px;
  color: #3c4043;
  transition: background-color 0.3s ease;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
}

.google-signup-button:hover {
  background-color: #f8f9fa;
}

.google-logo {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.signup-go-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #6c757d;
  margin-bottom: 1rem;
}

.signup-go-back p {
  margin: 0;
  font-weight: 600;
}

.signup-go-back:hover {
  color: #000;
  transition: color 0.3s ease;
}

/* ==========================================================================
   11. Animações
   ========================================================================== */

/* Animação de Flutuação */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Animação de Pulsação - Mais agressiva */
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); /* Gold */
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0.3); /* Gold */
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); /* Gold */
  }
}

/* Animação de Brilho Envolvente (Glow) - Mais pronunciado */
.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.2); /* Gold */
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), inset 0 0 20px rgba(255, 215, 0, 0.4); /* Gold */
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.2); /* Gold */
  }
}

/* Animação de Brilho Deslizante (Shimmer) - Mais suave e lenta */
.animate-shimmer {
  position: relative;
  overflow: hidden;
}

.animate-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.01) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   APRIMORAMENTOS DE CARDS COM ANIMAÇÕES
   ========================================================================== */

/* Cards com animações aplicadas dinamicamente via classes */
.lead-card {
  /* ...existing styles... */
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lead-card.featured {
  /* ...existing styles... */
}

.lead-card.featured:hover {
  box-shadow: var(--card-shadow-lg);
}

.lead-card.general-grid {
  /* ...existing styles... */
  transition: all 0.3s ease;
}

.lead-card.general-grid:hover {
  box-shadow: var(--card-shadow-md);
  border-color: rgba(30, 144, 255, 0.2);
}

/* Aplicar animações aos cards específicos */
.lead-card.featured.animate-shimmer::after {
  opacity: 0.5;
}

.card-gradient-wrapper {
  background: transparent;
  padding: 2px;
  border-radius: 8px;
  height: 100%;
}

.card-gradient-wrapper:hover {
  /* Removed hover effect to simplify */
}

.card-gradient-wrapper.with-glow {
  animation: gradientPulseWithGlow 6s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(17, 34, 64, 0.95) 100%);
    border-color: rgba(255, 215, 0, 0.3);
  }
  50% {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(17, 34, 64, 0.9) 100%);
    border-color: rgba(255, 215, 0, 0.6);
  }
}

@keyframes gradientPulseWithGlow {
  0%, 100% {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
  }
  50% {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.6);
  }
}

/* ==========================================================================
   12. Media Queries (Responsividade)
   ========================================================================== */
@media (max-width: 768px) {
  .lead-card.featured,
  .lead-card.general-grid {
    padding: 12px;
  }

  .lead-header-info,
  .lead-grid-header {}

  .lead-avatar-lg {
    margin-bottom: 8px;
    margin-right: 0;
  }

  .lead-primary-details,
  .lead-grid-info {
    text-align: center;
  }

  .lead-footer-action,
  .lead-grid-footer {
    align-items: center;
  }

  .lead-grid-footer {
    flex-direction: column;
    gap: 6px;
  }

  .lead-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .leads-table th,
  .acquired-list .leads-table th,
  .leads-table td {
    width: auto;
  }

  .pagination-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .pagination-nav,
  .quick-jump {
    justify-content: center;
  }

  .pagination-info {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .lead-mapped-fields-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lead-field-item {
    padding: 6px;
  }

  .lead-field-label {
    font-size: 0.75rem;
  }

  .lead-field-value {
    font-size: 0.8rem;
  }
}

/* ========== Tabela com efeito listrado e conteúdo centralizado ========== */
.leads-table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.leads-table.table-striped tbody tr:hover {
  background-color: #f1f1f1;
}

/*TELA DE MEUS LEADS*/
.leads-table .view-lead-details {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  background: none;
  color: #495057;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .15s ease;
}

.leads-table .view-lead-details i {
  font-size: 16px;
  line-height: 1;
}

.leads-table .view-lead-details:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--highlight-color, var(--primary-blue));
}

.leads-table .actions-cell {
  text-align: center;
}

#leadDetailsModal.modal {
  display: none;
}

#leadDetailsModal.modal.show {
  display: block;
}

#leadDetailsModal .modal-dialog {
  margin: 1.75rem auto;
  max-width: 900px;
}

#leadDetailsModal .modal-dialog.modal-dialog-centered {
  min-height: calc(100vh - 3.5rem);
  display: flex;
  align-items: center;
}

#leadDetailsModal .modal-leadDetail {
  margin: 0 auto;
}

#leadDetailsModal .modal-header {
  color: var(--text-dark);
}

#leadDetailsModal .btn-close {
  opacity: .85;
}

#leadDetailsModal .btn-close:hover {
  opacity: 1;
}

.modal-leadDetail {
  background-color: var(--card-bg);
  color: var(--text-dark);
  padding: 25px;
  border: 1px solid var(--border-light);
  max-width: 600px;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  flex-shrink: 0;
}

.verified {
  color: var(--t2s-blue);
  position: relative;
  top: -2px;
}

.titulo-table {
  font-weight: 700 !important;
}

.leads-table td.wrap-content-table {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 240px;
}

.badge {
  font-size: 0.875em;
  padding: 0.5em 0.75em;
}


/* Estilos para dropdown de notificações */
#notificationsList {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}

#notificationsList .dropdown-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f8f9fa;
  white-space: normal;
}

#notificationsList .dropdown-item:last-child {
  border-bottom: none;
}

#notificationsList .notification-title {
  font-weight: 600;
  color: #0d6efd;
  font-size: 0.9em;
}

#notificationsList .notification-message {
  color: #6c757d;
  font-size: 0.8em;
  margin-bottom: 0.5rem;
}

#notificationsList .notification-time {
  font-size: 0.75em;
  color: #adb5bd;
  text-align: right;
}

#notificationsList .notification-link {
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.5em;
}

#notificationsList .notification-link:hover {
  text-decoration: underline;
}

#noNotifications {
  color: #6c757d;
  font-style: italic;
}

.badge-notif {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.75em;
  line-height: 1;
}

.btn-cart {
  padding: 0.45rem 0.45rem;
  font-size: 0.8em;
  background: white;
  border: 1px solid var(--primary-purple);
  border-radius: 5px;
  color: var(--primary-purple);
}

.cart-button i {
  font-size: 1.1rem;
  color: #0f172a;
  display: flex;
}

.btn-large-purple {
  padding: 0.45rem 0.45rem;
  font-size: 1em;
  border: 1px solid var(--primary-purple);
  border-radius: 5px;
  background: var(--primary-purple);
  color: white;
}

.btn-cart:hover {
  background: #ffef5b;
  color: white;
}

.user-profile-pic {
  border: 1px solid transparent !important;
}

.pagination .page-link {
  color: #0a192f !important;
  border: 1px solid #dee2e6 !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
  background-color: #0a192f !important;
  border-color: #0a192f !important;
  color: #ffd700 !important;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.3);
  z-index: 3;
}

.pagination .page-item:hover .page-link {
  background-color: #ffd700 !important;
  border-color: #ffd700 !important;
  color: #0a192f !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
  z-index: 2;
}

.page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(10, 25, 47, 0.25) !important;
}

.page-link:hover {
  background-color: #ffd700 !important;
  border-color: #ffd700 !important;
  color: #0a192f !important;
}

.lead-card-search {
  box-shadow: rgba(233, 233, 233, 0.1) 0px 1px 2px 0px;
  padding: 10px 25px;
  border: 1px solid rgb(241, 241, 241);
  border-radius: 5px;
}

/* ==========================================================================
   13. Novos Estilos para a Identidade Mercado Livre - Banner Flat
   ========================================================================== */

.banner-wrapper {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  border: none;
}

/* Removemos overlays e efeitos */
.banner-wrapper::after {
  display: none;
}

.banner-img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  /* Sem máscaras ou gradientes */
  mask-image: none;
  -webkit-mask-image: none;
  display: block;
}

.highlight-section {
  position: relative;
  z-index: 10;
  margin-top: 0; /* Removemos o overlap */
  padding-top: 0;
}

/* Mobile Adjustments for Banner */
@media (max-width: 768px) {
  .highlight-section {
    margin-top: 0;
    padding-top: 0;
  }
  
  .banner-wrapper {
  }

  .banner-img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Login Button High Contrast */
#loginButton {
  background-color: var(--primary-blue);
  color: #ffffff;
  border: 1px solid var(--primary-blue);
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#loginButton:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  transform: none;
}

.hero-section {
  margin-top: -110px;
  position: relative;
  padding-bottom: 2rem;
}

/* Modern Hero Section */
.hero-modern {
  position: relative;
  background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
  padding: 6rem 2rem 4rem;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
}

.hero-modern-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.2)), url('https://dev-leadnifier.dynapp.com.br/api/org-assets/56805c2d-b0aa-4378-bfc2-81a7555c7493?type=banner');
  background-size: cover;
  background-position: center;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: #ffd700;
  top: -50px;
  right: -50px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: #3b82f6;
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #ef4444;
  top: 20%;
  left: 40%;
  animation-delay: 4s;
  opacity: 0.2;
}

.hero-modern-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

.hero-text-content {
  flex: 1;
  max-width: 800px;
  color: #ffffff;
  margin: 0 auto;
}

.hero-modern-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s ease-out;
}

.hero-modern-subtitle {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero-modern-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.btn-hero-primary {
  padding: 1rem 2rem;
  background: #ffd700;
  color: #0a192f;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
  background: #ffed4a;
}

.btn-hero-secondary {
  padding: 1rem 2rem;
  background: transparent;
  color: #ffd700;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid #ffd700;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.hero-modern-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-modern-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero-modern-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text-content {
    margin: 0 auto;
  }
  
  .hero-modern-actions {
    justify-content: center;
  }
  
  .hero-modern-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-modern {
    padding: 4rem 1rem 3rem;
    border-radius: 0 0 20px 20px;
  }
  
  .hero-modern-title {
    font-size: 2rem;
  }
  
  .hero-modern-actions {
    flex-direction: column;
  }
  
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
  }
}

.hero-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: var(--card-shadow-lg);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.hero-info {
  flex: 1 1 320px;
  max-width: 540px;
}

.hero-eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
}

.hero-description {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-medium);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta:hover {
  background: var(--primary-blue-dark);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hero-secondary {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-explore-all {
  background: var(--meli-yellow);
  color: var(--meli-indigo);
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-explore-all:hover {
  background: #ffea3a;
}

.lead-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight:  600;
  font-size: 0.95rem;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.status-badge.status-new {
  display: inline-block;
  padding: 5px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

/* ==========================================================================
   15. Header Actions and Lead Bottom Wrapper
   ========================================================================== */

.header-actions {
  display: flex;
  align-items: center;
}

.lead-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.lead-grid-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status-badge {
  display: inline-block;
  padding: 5px 6px;
  border-radius: 6px;
}

/* Credits Button in Header - Cyberpunk Gold Edition */
.credits-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #0f172a; /* Dark Navy Background */
  color: #fbbf24; /* Gold Text */
  border-radius: 50px; /* Pill Shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(251, 191, 36, 0.3); /* Gold Border */
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
  animation: creditsPulse 3s infinite ease-in-out; /* Idle Animation */
}

@keyframes creditsPulse {
  0% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
  50% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); border-color: rgba(251, 191, 36, 0.8); }
  100% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
}

.credits-button:hover {
  background: #1e293b;
  color: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.6); /* Intense Glow on Hover */
  border-color: #fbbf24;
}

.credits-button:active {
  transform: translateY(0);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.credits-button i {
  font-size: 1.1rem;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credits-label {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #94a3b8; /* Muted Label */
  margin: 0;
}

.credits-value {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff; /* White Value */
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  min-width: auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .credits-button {
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }

  .credits-button i {
    font-size: 1rem;
  }

  .credits-value {
    font-size: 0.95rem;
    min-width: 40px;
    padding: 0.15rem 0.5rem;
  }

  .credits-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .credits-button {
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  .credits-button i {
    font-size: 0.9rem;
  }

  .credits-value {
    min-width: 35px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   16. Footer Styles
   ========================================================================== */

footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  font-size: 0.95rem;
  color: #94a3b8;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.footer-links a i {
  font-size: 1.1rem;
}

.footer-links a span {
  display: none;
}

/* Responsividade para footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .footer-links a span {
    display: none;
    /* Oculta texto em mobile para economizar espaço */
  }

  .footer-links a i {
    font-size: 1.4rem;
    /* Aumenta ícones para melhor usabilidade */
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2rem 0;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-links {
    gap: 1rem;
  }
}

.lead-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.card-pill-field {
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  width: max-content;
  font-size: 0.85em;
  flex-shrink: 0;
  font-weight: 500;
  transition: all 0.2s ease;
}

.card-pill-field:hover {
  transform: none;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
}

.card-pill-field i {
  font-size: 0.95em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-pill-demand {
  max-width: 100% !important;
  width: auto !important;
  white-space: normal !important;
  word-break: break-word;
  padding: 8px 10px !important;
  font-size: 0.85em !important;
  line-height: 1.4;
}

.lead-mapped-fields-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.lead-custom-fields-container {

}

.lead-custom-field {
  font-size: 0.975em;
}

.lead-custom-label {
  color: var(--text-dark);
  min-width: max-content;
  flex-shrink: 0;
}

.lead-custom-value {
  color: var(--text-medium);
  word-break: break-word;
  flex: 1;
}

/* ==========================================================================
   Grid de Campos Mapeados - 2 Colunas com Chave-Valor
   ========================================================================== */

.lead-mapped-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* Mantém 2 colunas por padrão */
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
  width: 100%;
}

.lead-mapped-fields-grid .full-width-item {
  grid-column: 1 / -1;  /* Ocupa 100% da largura, chutando o próximo item para baixo */
  /* Opcional: Ajuste padding ou margin se precisar de mais espaço vertical */
}

.lead-field-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
}

.lead-field-label {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-medium);
  white-space: nowrap;
}

.lead-field-label i {
  flex-shrink: 0;
}

.lead-field-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-field-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  word-break: break-word;
  line-height: 1.3;
}

/* Responsividade - 1 coluna em mobile */
@media (max-width:  576px) {
  .lead-mapped-fields-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lead-field-item {
    padding: 6px;
  }

  .lead-field-label {
    font-size: 0.75rem;
  }

  .lead-field-value {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Seção de Demanda - Acima do Grid
   ========================================================================== */

.lead-demand-section {
  width: 100%;
  margin-bottom: 12px;
}

.lead-demand-content {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  color: #334155;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lead-card.exclusive .lead-demand-content {
  color: #334155;
  font-weight: 500;
}

.lead-demand-content i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}

.lead-demand-content span {
  word-break: break-word;
  flex: 1;
}

/* Estilização especial para leads EXCLUSIVOS */

.lead-card.exclusive {
  animation: exclusiveGlow 3s ease-in-out infinite alternate;
}


.lead-card.exclusive::before {
  content: 'EXCLUSIVO'; /* Badge claro e rotacionado */
  position: absolute;
  top: 18px;
  right: -35px;
  background: linear-gradient(45deg, #E59F24, #FFD700); /* Kept gold as is */
  color: #3F3F3F; /* Texto escuro para contraste */
  padding: 8px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 12px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(229, 159, 36, 0.6);
}

.lead-card.has-demand {
  border: 2px solid #d4d4d4a6; /* Kept red as is for urgency */
  position: relative;
}

@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(223, 62, 86, 0.4); } /* Kept red as is */
  50% { box-shadow: 0 6px 25px rgba(223, 62, 86, 0.8), scale(1.02); } /* Kept red as is */
}

@keyframes urgentShake {
  0%, 100% { transform: translateX(0) rotate(-15deg); }
  25% { transform: translateX(-2px) rotate(-15deg); }
  75% { transform: translateX(2px) rotate(-15deg); }
}

@keyframes demandEntry {
  0% { transform: translateX(-20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes clockTick {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

@keyframes urgentPulseIcon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes timerShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-1px); }
  75% { transform: translateX(1px); }
}

@keyframes borderPulse {
  0%, 100% { border-color: #DF3E56; }
  50% { border-color: #E59F24; }
}

@keyframes badgeFlash {
  from { opacity: 1; }
  to { opacity: 0.8; }
}

/* ==========================================================================
   6. Novos Estilos Globais (Overrides)
   ========================================================================== */

/* Section Title */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0a192f;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ffd700;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-heading:hover .section-title::after {
  width: 100%;
}

.animate-title-entry {
  animation: fadeUp 0.8s ease-out backwards;
}

/* Floating Badge for Cards */
.floating-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ffd700;
  color: #0a192f;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.2s;
}

.status-badge:hover {
  transform: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.status-badge.status-new {
  /* Fallback colors if inline styles are missing */
  background-color: #dcfce7;
  color: #16a34a;
}

.status-badge.area {
  background-color: #eff6ff !important;
  color: #3b82f6 !important;
  border: 1px solid #dbeafe;
}

/* Lead Item Icon (Avatar) */
.lead-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 2px solid #ffffff;
}

/* Demand Section */
.lead-demand-section {
  background: transparent;
  border-radius: 8px;
  padding: 16px 12px 10px 12px;
  margin-top: 18px;
  border: 1px dashed rgba(234, 179, 8, 0.6); /* Gold suave */
  position: relative;
}

.lead-demand-section::before {
  content: '⚡ DEMANDA';
  position: absolute;
  top: -10px;
  left: 12px;
  background: #ffffff;
  padding: 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ca8a04; /* Gold mais escuro para leitura */
  letter-spacing: 0.5px;
}

.lead-demand-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.4;
}

.lead-demand-content i {
  color: #ca8a04; /* Icone também gold */
  font-size: 1rem;
  flex-shrink: 0;
}

.lead-field-item {
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lead-field-label {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
}

.lead-field-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-left: 4px;
  color: white;
  background: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

/* ==========================================================================
   17. Toast Notifications - Cyberpunk Gold Edition
   ========================================================================== */

/* Toastify Container */
.toastify {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9999 !important;
  max-width: 400px !important;
  width: auto !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.4) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(450px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(450px);
    opacity: 0;
  }
}

/* Toast Success - Verde */
.toastify.success {
  background: linear-gradient(135deg, #0f172a 0%, #112240 100%) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.2), 0 20px 50px rgba(10, 25, 47, 0.4) !important;
}

.toastify.success::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
}

/* Toast Error - Vermelho */
.toastify.error {
  background: linear-gradient(135deg, #0f172a 0%, #112240 100%) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.2), 0 20px 50px rgba(10, 25, 47, 0.4) !important;
}

.toastify.error::before {
  content: '✕';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  color: #ef4444;
  font-weight: 700;
  flex-shrink: 0;
}

/* Toast Info - Azul */
.toastify.info {
  background: linear-gradient(135deg, #0f172a 0%, #112240 100%) !important;
  color: #3b82f6 !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 20px 50px rgba(10, 25, 47, 0.4) !important;
}

.toastify.info::before {
  content: 'ℹ';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  color: #3b82f6;
  font-weight: 700;
  flex-shrink: 0;
}

/* Toast Warning - Laranja */
.toastify.warning {
  background: linear-gradient(135deg, #0f172a 0%, #112240 100%) !important;
  color: #f97316 !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.2), 0 20px 50px rgba(10, 25, 47, 0.4) !important;
}

.toastify.warning::before {
  content: '⚠';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  color: #f97316;
  font-weight: 700;
  flex-shrink: 0;
}

/* Botão de fechar do Toast */
.toastify .toast-close {
  color: inherit !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease !important;
  cursor: pointer !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.toastify .toast-close:hover {
  opacity: 1 !important;
}

/* Hover Effect */
.toastify:hover {
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 20px 50px rgba(10, 25, 47, 0.5) !important;
  transform: translateY(-4px) !important;
  transition: all 0.3s ease !important;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
  .toastify {
    bottom: 16px !important;
    right: 16px !important;
    left: 16px !important;
    max-width: 100% !important;
    width: auto !important;
  }

  @keyframes toastSlideIn {
    from {
      transform: translateY(150px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes toastSlideOut {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(150px);
      opacity: 0;
    }
  }
}

@media (max-width: 480px) {
  .toastify {
    bottom: 12px !important;
    right: 12px !important;
    left: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }
}

#sectionFeaturedNew {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#sectionFeaturedNew .section-title {
  color: #ffffff;
}

.fire-animation-badge {
  white-space: nowrap;  /* NOVA: Impede quebra de linha */
  display: inline-flex !important;  /* NOVA: Flex inline para ícone + texto */
  align-items: center;  /* Centraliza verticalmente */
  gap: 0.25rem;  /* Espaçamento entre ícone e texto (substitui me-1) */
  background: linear-gradient(45deg, #ff4500, #ff6347) !important;
  color: white !important;
  animation: fire-flicker 1.5s infinite alternate ease-in-out;
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
  border: none !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 20px !important;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
  max-width: 100%;  /* Opcional: Encolhe se necessário, sem wrap */
  overflow: hidden;  /* Opcional: Esconda overflow em telas pequenas */
  text-overflow: ellipsis;  /* Opcional: ... se texto longo */
  font-size: 14px;
}

.fire-animation-badge i {
  animation: flame-pulse 0.8s infinite alternate;
  filter: drop-shadow(0 0 2px #fff);
  flex-shrink: 0;  /* NOVA: Ícone não encolhe */
}

.fire-animation-badge span {  /* Se adicionar <span> ao texto */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Suas animações existentes */
@keyframes fire-flicker {
  0% { opacity: 0.8; transform: scale(1); box-shadow: 0 0 10px rgba(255, 69, 0, 0.6); }
  100% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 69, 0, 0.8); }
}

@keyframes flame-pulse {
  0% { transform: scale(1) rotate(-2deg); }
  100% { transform: scale(1.1) rotate(2deg); }
}

/* Responsivo: Em mobile, reduza padding se necessário */
@media (max-width: 576px) {
  .fire-animation-badge {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem;
    gap: 0.125rem;  /* Menor gap em mobile */
  }
  .fire-animation-badge i {
    font-size: 0.875rem;
  }
}

.exclusive-badge {
  display: inline-flex;  /* Mantido: Flex para ícone + texto */
  align-items: center;  /* Centraliza verticalmente */
  padding: 6px 14px;  /* Mantido: Compacto */
  border-radius: 6px;  /* Mantido: Arredondado */
  font-size: 0.75rem;  /* Mantido: Pequeno */
  font-weight: 700;  /* Mantido: Negrito */
  text-transform: uppercase;  /* Mantido: Uppercase para destaque */
  letter-spacing: 0.5px;  /* Mantido: Espaçamento */
  border: 1px solid rgba(255,255,255,0.2);  /* Mantido: Borda sutil */
  max-height: 30px;  /* Mantido: Altura fixa */
  transition: transform 0.2s ease, box-shadow 0.3s ease;  /* Mantido + box-shadow para glow suave */
  
  /* NOVO: Estilo Premium - Gradiente dourado e glow */
  background: linear-gradient(135deg, #FFD700, #FFA500);  /* Dourado a laranja (premium) */
  color: #3F3F3F;  /* Texto escuro para contraste (como sua faixa original) */
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);  /* Glow dourado sutil */
  
  /* NOVO: Animação de brilho (shine) - Cíclica leve */
  position: relative;
  overflow: hidden;
}

.exclusive-badge::before {
  content: '';  /* NOVO: Efeito shine (linha branca que "passa" no badge) */
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.exclusive-badge:hover::before {
  left: 100%;  /* No hover, o shine "passa" */
}

.exclusive-badge:hover {
  transform: scale(1.05);  /* NOVO: Leve zoom no hover */
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);  /* Glow mais intenso */
}

/* NOVO: Ícone (emoji ou bi-gem) não encolhe */
.exclusive-badge i,
.exclusive-badge::first-letter {  /* Para emoji 💎 como first-letter */
  flex-shrink: 0;
  margin-right: 0.25rem;  /* Espaço após ícone */
  font-size: 0.8rem;  /* Ligeiramente maior para destaque */
}

/* Mantido: Transição suave */
.exclusive-badge {
  transition: transform 0.2s;
}

/* Responsivo: Menor em mobile */
@media (max-width: 576px) {
  .exclusive-badge {
    padding: 4px 10px;
    font-size: 0.7rem;
    max-height: 26px;
  }
  .exclusive-badge i,
  .exclusive-badge::first-letter {
    font-size: 0.75rem;
  }
}

.lead-field-value.long-text-wrap {
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
