/* Estilos customizados para VG SaaS - Design Suave e Moderno */

/* ===== DASHBOARD - TAXA DE ENTREGA ===== */
.delivery-good { color: #16a34a; font-weight: 600; }
.delivery-warning { color: #d97706; font-weight: 600; }
.delivery-bad { color: #dc2626; font-weight: 600; }

.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}
.progress-fill { height: 100%; }

/* ===== TEMPLATES - SECTION CARD ===== */
.section-card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

/* ===== MODAL ANALYTICS - CLiques por botão ===== */
.button-analytics {
  padding: 12px 16px;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.button-analytics:last-child { margin-bottom: 0; }
.button-name { font-weight: 500; }
.button-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #475569;
}

/* ===== MODAL ANALYTICS - Filtro de período ===== */
.analytics-period-btn {
  background: #fff;
  border-color: #e2e8f0;
  color: #475569;
}
.analytics-period-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}
.analytics-period-btn.active {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

/* ===== TEMPLATES - STATUS BADGES ===== */
.badge-approved { background: #dcfce7; color: #166534; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.badge-pending { background: #fef3c7; color: #92400e; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.badge-rejected { background: #fee2e2; color: #991b1b; padding: 4px 8px; border-radius: 6px; font-size: 12px; }

/* ===== CAMPANHAS - STATUS BADGES ===== */
.status-success { background: #dcfce7; color: #166534; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.status-running { background: #dbeafe; color: #1e40af; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.status-paused { background: #fef3c7; color: #92400e; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.status-error { background: #fee2e2; color: #991b1b; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.status-pending { background: #fef3c7; color: #92400e; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.campaign-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; transition: all 0.2s; }
.campaign-card:hover { border-color: #10b981; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }

/* ===== CAMPANHAS - BADGE CATEGORIA TEMPLATE ===== */
.template-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.template-category-marketing { background: #fef3c7; color: #92400e; }
.template-category-utility { background: #dbeafe; color: #1e40af; }
.template-category-auth { background: #dcfce7; color: #166534; }
.template-category-default { background: #f3f4f6; color: #6b7280; }

/* ===== CAMPANHAS - HERO CTA ===== */
.campaigns-hero .campaigns-cta-btn { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }
.campaigns-hero .campaigns-cta-btn:hover { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45); }

/* ===== TEMPLATES - LOADING ROW ===== */
tr.loading-row td {
  padding: 2rem 1rem;
  color: #64748b;
  animation: loading-pulse 1.5s ease-in-out infinite;
}
@keyframes loading-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ===== TEMPLATES - AÇÕES ===== */
.template-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
/* Barra de ações em linha separada (tabela + cards) */
.template-actions-bar {
  justify-content: flex-start;
  gap: 10px;
}
.template-actions-row td {
  padding-top: 10px !important;
  padding-bottom: 12px !important;
  border-top: 1px solid #f3f4f6;
  background: #fafafa !important;
}
/* Célula de ações na tabela - alinhamento vertical */
.td-actions,
td:has(.template-actions) {
  vertical-align: middle !important;
}
.td-actions .template-actions {
  display: inline-flex;
}
@media (max-width: 1024px) {
  .template-actions {
    flex-wrap: wrap;
    gap: 6px;
  }
}

.template-actions .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  height: 32px;
  min-height: 32px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  box-sizing: border-box;
}
.template-actions a.btn-action { text-decoration: none; }
.template-actions .btn-action i {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.template-actions .btn-use {
  background: #2563eb;
  color: white;
  padding: 0 12px;
}
.template-actions .btn-use:hover {
  background: #1d4ed8;
}

.template-actions .btn-view {
  background: #f3f4f6;
  color: #374151;
}
.template-actions .btn-view:hover {
  background: #e5e7eb;
}

.template-actions .btn-stats {
  background: #7c3aed;
  color: white;
}
.template-actions .btn-stats:hover {
  background: #6d28d9;
}

.template-actions .btn-reanalyze {
  background: #f59e0b;
  color: white;
}
.template-actions .btn-reanalyze:hover {
  background: #d97706;
}

.template-actions .btn-delete {
  background: #ef4444;
  color: white;
}
.template-actions .btn-delete:hover {
  background: #dc2626;
}

@media (max-width: 640px) {
  .template-actions {
    flex-wrap: wrap;
  }
  .template-actions .btn-use {
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
  }
  .template-actions .btn-view,
  .template-actions .btn-stats,
  .template-actions .btn-reanalyze,
  .template-actions .btn-delete {
    flex: 1;
    min-width: 70px;
  }
}

/* Erro % por faixa (tabela) */
.err-rate-good { color: #16a34a; font-weight: 500; }
.err-rate-warning { color: #d97706; font-weight: 500; }
.err-rate-bad { color: #dc2626; font-weight: 600; }

/* Erro % badges (cards) */
.err-badge-good { background: #dcfce7; color: #166534; }
.err-badge-warning { background: #fef3c7; color: #92400e; }
.err-badge-bad { background: #fee2e2; color: #991b1b; }
.err-badge-none { background: #f3f4f6; color: #6b7280; }

/* ===== DASHBOARD - METRIC CARDS ===== */
.metric-card {
  padding: 20px;
  border-radius: 12px;
  transition: all 0.2s;
}
.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ===== VARIÁVEIS DE COR ===== */
:root {
  --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --secondary-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 12px;
  --border-radius-large: 16px;
}

/* ===== RESET E BASE ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #374151;
  background: #f8fafc;
  min-height: 100vh;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== CARDS E COMPONENTES ===== */
.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: block; /* Garantir que seja visível */
}

.card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.card-interactive {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.card-interactive:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-4px) scale(1.02);
}

/* ===== BOTÕES ===== */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--border-radius);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius);
  color: #374151;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #10b981;
  color: #10b981;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* ===== HEADER VG SAAS ===== */
.vg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 16px;
}

.vg-header__logo {
  flex-shrink: 0;
}

.vg-header__logo img {
  height: 24px;
  width: auto;
  display: block;
}

.vg-header__nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.vg-header__nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.vg-header__nav-link:hover {
  color: #10b981;
  background: #f0fdf4;
}

.vg-header__nav-link.active {
  color: #10b981;
  background: #f0fdf4;
}

.vg-header__nav-link svg,
.vg-header__nav-link i {
  width: 28px;
  height: 28px;
}

.vg-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vg-header__user {
  position: relative;
}

.vg-header__user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.vg-header__user-btn:hover {
  background: #f1f5f9;
}

.vg-header__user-btn span {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vg-header__user-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  padding: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.vg-header__user:hover .vg-header__user-dropdown,
.vg-header__user.vg-header__user--open .vg-header__user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vg-header__user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.vg-header__user-item:hover {
  background: #f0fdf4;
  color: #10b981;
}

.vg-header__user-item svg,
.vg-header__user-item i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.vg-header__more {
  position: relative;
}

.vg-header__more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.vg-header__more-btn:hover {
  background: #1d4ed8;
}

.vg-header__more-btn svg,
.vg-header__more-btn i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.vg-header__user-btn svg,
.vg-header__user-btn i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.vg-header__more-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  padding: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.vg-header__more:hover .vg-header__more-dropdown,
.vg-header__more:focus-within .vg-header__more-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vg-header__more-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.vg-header__more-dropdown a:hover {
  background: #f0fdf4;
  color: #10b981;
}

.vg-header__more-dropdown a svg,
.vg-header__more-dropdown a i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.vg-header__back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.vg-header__back:hover {
  color: #10b981;
  background: #f0fdf4;
}

.vg-header__back svg,
.vg-header__back i {
  width: 26px;
  height: 26px;
}

.vg-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.vg-header__menu-btn:hover {
  color: #334155;
  background: #f1f5f9;
}

.vg-header__menu-btn svg,
.vg-header__menu-btn i {
  width: 32px;
  height: 32px;
}

/* Mobile overlay */
.vg-header__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.vg-header__mobile-overlay.vg-header__mobile-overlay--open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vg-header__mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 100%);
  max-width: 100%;
  background: #fff;
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.vg-header__mobile-panel.vg-header__mobile-panel--open {
  transform: translateX(0);
}

.vg-header__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid #e5e7eb;
}

.vg-header__mobile-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.vg-header__mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.vg-header__mobile-close:hover {
  color: #334155;
  background: #f1f5f9;
}

.vg-header__mobile-close svg,
.vg-header__mobile-close i {
  width: 28px;
  height: 28px;
}

.vg-header__mobile-nav {
  padding: 12px 0;
}

.vg-header__mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #475569;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.vg-header__mobile-link:hover,
.vg-header__mobile-link.active {
  background: #f0fdf4;
  color: #10b981;
}

.vg-header__mobile-link svg,
.vg-header__mobile-link i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.vg-header__mobile-footer {
  margin-top: 12px;
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
}

.vg-header__mobile-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.vg-header__mobile-logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.vg-header__mobile-logout svg,
.vg-header__mobile-logout i {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.vg-header__mobile-logout svg,
.vg-header__mobile-logout i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Desktop: 768px+ */
@media (min-width: 768px) {
  .vg-header__nav {
    display: flex;
  }

  .vg-header__menu-btn,
  .vg-header__mobile-overlay,
  .vg-header__mobile-panel {
    display: none !important;
  }
}

/* Mobile: <768px */
@media (max-width: 767px) {
  .vg-header__inner {
    padding: 0 12px;
  }

  .vg-header__user-btn span {
    max-width: 100px;
  }

  .vg-header__back span {
    display: none;
  }
}

/* ===== HEADER SUPERADMIN ===== */
.vg-header-superadmin {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
}

.vg-menu-superadmin {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.vg-menu-superadmin:hover {
  color: #10b981;
  background: #f0fdf4;
}

.vg-menu-superadmin.active {
  color: #10b981;
  background: #f0fdf4;
  font-weight: 600;
}

.vg-btn-danger {
  background: #dc2626;
  border: 1px solid #dc2626;
  border-radius: var(--border-radius);
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.vg-btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.vg-menu-mobile {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #6b7280;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.vg-menu-mobile:hover {
  color: #10b981;
  background: #f0fdf4;
}

.vg-menu-mobile.active {
  color: #10b981;
  background: #f0fdf4;
  font-weight: 600;
}

/* ===== FORMULÁRIOS ===== */
.form-input {
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.form-input:focus {
  outline: none;
  border-color: #10b981;
  background: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  transform: translateY(-1px);
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: block;
}

/* ===== ÍCONES E ELEMENTOS DECORATIVOS ===== */
.icon-container {
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  padding: 16px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.icon-container:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-large);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.pulse-soft {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 640px) {
  .card, .card-interactive {
    border-radius: 8px;
  }

  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .form-input {
    padding: 10px 14px;
  }
}

/* ===== UTILITÁRIOS ===== */
.glass-effect {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LINE CLAMP PARA DESCRIÇÕES ===== */
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}



/* ===== INDICADORES DE STATUS ===== */
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-empty {
  background-color: #9ca3af;
}

.status-has-contacts {
  background-color: #3b82f6;
}

.status-has-campaigns {
  background-color: #10b981;
}

/* ===== COMPONENTES CLIENT ===== */

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  color: #374151;
  font-size: 2rem;
  font-weight: 700;
}

header nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

header nav a {
  color: #6b7280;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

header nav a:hover,
header nav a.active {
  background: var(--primary-gradient);
  color: white;
}

header nav button {
  background: #ef4444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

header nav button:hover {
  background: #dc2626;
}

/* Main content */
main {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

/* Actions */
.actions {
  margin-bottom: 30px;
  text-align: right;
}

/* Cards */
.list-card, .campaign-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.list-card:hover, .campaign-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.list-card h3, .campaign-card h3 {
  margin: 0 0 10px 0;
  color: #374151;
  font-size: 1.25rem;
}

.list-card p {
  color: #6b7280;
  margin: 5px 0;
}

.list-meta, .campaign-meta {
  margin: 15px 0;
}

.list-meta span, .campaign-meta p {
  display: block;
  color: #6b7280;
  font-size: 0.875rem;
  margin: 2px 0;
}

.list-actions, .campaign-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Status badges */
.status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background: #fef3c7;
  color: #d97706;
}

/* ===== CAMPANHAS SUPERADMIN - Loading spinner ===== */
.campaigns-loading-spinner {
  border-color: #d1fae5;
  border-top-color: #059669;
}

/* ===== CAMPANHAS SUPERADMIN Fase 2 - Animação executando ===== */
.campaign-pulse {
  animation: campaign-pulse 1.5s ease-in-out infinite;
}
@keyframes campaign-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.campaign-progress-animate {
  transition: width 0.5s ease-out;
}

/* ===== CAMPANHAS - STATUS BADGES ===== */
.status-success { background: #dcfce7; color: #166534; }
.status-running { background: #dbeafe; color: #1e40af; }
.status-paused { background: #fef3c7; color: #92400e; }
.status-error { background: #fee2e2; color: #991b1b; }

/* ===== CAMPANHAS - CARD ===== */
.campaign-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s ease;
}
.campaign-card:hover {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.status-scheduled {
  background: #dbeafe;
  color: #2563eb;
}

.status-running {
  background: #d1fae5;
  color: #065f46;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-paused {
  background: #fed7aa;
  color: #ea580c;
}

.status-cancelled {
  background: #fecaca;
  color: #dc2626;
}

.status-default {
  background: #f3f4f6;
  color: #374151;
}

/* Campaign specific */
.campaign-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.campaign-message {
  margin: 15px 0;
}

.message-preview {
  background: #f9fafb;
  padding: 10px;
  border-radius: 6px;
  border-left: 3px solid #10b981;
  font-style: italic;
  color: #374151;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-danger {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #10b981;
  color: #10b981;
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.75rem;
}

/* Loading */
.loading {
  text-align: center;
  color: #6b7280;
  padding: 40px;
  font-style: italic;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 30px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-large);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.campaign-modal {
  max-width: 1000px;
  max-height: 95vh;
}

/* Campaign modal stepper */
.campaign-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.campaign-stepper-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  background: #f3f4f6;
  transition: all 0.2s;
}
.campaign-stepper-item.campaign-stepper-active {
  background: #10b981;
  color: white;
}
.campaign-stepper-item.campaign-stepper-done {
  background: #d1fae5;
  color: #059669;
}
.campaign-stepper-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0,0,0,0.1);
}
.campaign-stepper-active .campaign-stepper-num,
.campaign-stepper-done .campaign-stepper-num {
  background: rgba(255,255,255,0.3);
}
.campaign-stepper-line {
  width: 24px;
  height: 2px;
  background: #e5e7eb;
  flex-shrink: 0;
}
.campaign-step {
  display: block;
}
.campaign-step.campaign-step-hidden {
  display: none !important;
}
.campaign-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.campaign-step-actions .btn-primary {
  margin-left: auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #374151;
}

/* Modal header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #10b981;
  background: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.75rem;
}

/* Template preview */
.template-preview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.template-preview h4 {
  margin: 0 0 10px 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
}

.template-preview pre {
  background: white;
  padding: 12px;
  border-radius: 6px;
  border-left: 3px solid #10b981;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #374151;
  margin: 0;
}

/* Variables mapping */
.variables-mapping {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.variables-mapping h4 {
  margin: 0 0 15px 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
}

.variable-mapping {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.variable-mapping label {
  min-width: 120px;
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.variable-mapping select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 0.875rem;
}

.variable-mapping select:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

/* Form sections */
.form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 20px;
}

.form-section h3 {
  margin: 0 0 20px 0;
  color: #374151;
  font-size: 1.25rem;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 2px solid #10b981;
}

/* Form rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Variables grid */
.variables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.variable-mapping {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.variable-mapping label {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.variable-mapping select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.variable-mapping select:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

/* Preview content */
.preview-content {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #10b981;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #374151;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form actions */
.form-actions {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* Contacts table */
.contacts-table {
  margin-top: 20px;
  overflow-x: auto;
}

.contacts-table table {
  width: 100%;
  border-collapse: collapse;
}

.contacts-table th,
.contacts-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.contacts-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.contacts-table tr:hover {
  background: #f9fafb;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  main {
    padding: 20px;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .campaign-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .list-actions, .campaign-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== MODAL DE DETALHES DA CAMPANHA ===== */
.campaign-detail-modal {
  max-width: 900px;
  max-height: 95vh;
  overflow-y: auto;
}

.campaign-detail h2 {
  margin: 0 0 5px 0;
  color: #374151;
  font-size: 1.5rem;
}

.campaign-detail .status {
  display: inline-block;
  margin-bottom: 15px;
}

/* ===== METRICS CARDS ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.metric-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.metric-card.success {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.metric-card.error {
  background: #fef2f2;
  border-color: #fecaca;
}

.metric-card.warning {
  background: #fffbeb;
  border-color: #fde68a;
}

.metric-card.info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #374151;
}

.metric-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 5px;
}

/* ===== FAILED REASONS ===== */
.failed-reasons {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
}

.failed-reasons h3 {
  color: #dc2626;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.failed-reasons ul {
  margin: 0;
  padding-left: 20px;
}

.failed-reasons li {
  color: #991b1b;
  margin: 5px 0;
  font-size: 0.9rem;
}

/* ===== CONTACTS TABLE ===== */
.contacts-table-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contacts-table-header {
  padding: 15px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contacts-table-header h3 {
  margin: 0;
  color: #374151;
}

.contacts-search {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  min-width: 250px;
}

.contacts-search:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.table-responsive {
  overflow-x: auto;
}

.contacts-table {
  width: 100%;
  border-collapse: collapse;
}

.contacts-table th {
  background: #f9fafb;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.contacts-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.contacts-table tr:hover {
  background: #f9fafb;
}

.contacts-table .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.contacts-table .badge-sent {
  background: #d1fae5;
  color: #065f46;
}

.contacts-table .badge-failed {
  background: #fecaca;
  color: #dc2626;
}

.contacts-table .badge-processing {
  background: #fef3c7;
  color: #d97706;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
  padding: 15px 20px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #f3f4f6;
  border-color: #10b981;
}

.filter-btn.active {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.filter-btn.all {
  color: #6b7280;
}

.filter-btn.sent {
  color: #065f46;
}

.filter-btn.failed {
  color: #dc2626;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .campaign-detail-modal {
    margin: 5% auto;
    width: 95%;
    max-height: 90vh;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-search {
    min-width: 100%;
  }

  .contacts-table-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}



/* ===== BOTÃO DE RESET ===== */
.btn-warning {
  background: #f59e0b;
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* ===== ESTADO VAZIO ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.empty-icon {
  margin-bottom: 20px;
  opacity: 0.7;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.empty-state p {
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CARDS ULTRA-COMPACTOS ===== */
.list-card-compact {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.list-card-compact:hover {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.list-info-compact {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.list-name-compact {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-stats-compact {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.4;
}

.stat-number {
  font-weight: 700;
  color: #111827;
  font-size: 0.95em;
}

.stat-separator {
  color: #9ca3af;
  margin: 0 4px;
  font-weight: 400;
}

.list-actions-compact {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  white-space: nowrap;
}

.list-btn:hover {
  transform: translateY(-1px);
}

.list-btn-primary {
  background: #10b981;
  color: white;
}

.list-btn-primary:hover {
  background: #059669;
}

.list-btn-outline {
  background: #f9fafb;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.list-btn-outline:hover {
  background: #f3f4f6;
  color: #10b981;
  border-color: #10b981;
}

.list-btn-warning {
  background: #fef3c7;
  color: #b45309;
}

.list-btn-warning:hover {
  background: #fde68a;
  color: #92400e;
}

.list-btn-danger {
  background: #fee2e2;
  color: #dc2626;
}

.list-btn-danger:hover {
  background: #fecaca;
  color: #b91c1c;
}

/* ===== SaaS PAGE LAYOUT (padrão profissional) ===== */
.page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
}

.page-header p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.page-header .actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Densidade de tabelas */
.saas-table th,
.saas-table td {
  padding: 12px 16px;
}

/* ===== WABA STATUS BADGES ===== */
.waba-status-cell .space-y-1 > div:first-child {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.waba-status-cell .space-y-1 > div:first-child:has(.text-green-500) {
  background: #ecfdf5;
  color: #059669;
}

.waba-status-cell .space-y-1 > div:first-child:has(.text-red-500) {
  background: #fef2f2;
  color: #dc2626;
}

.waba-status-cell .space-y-1 > div:first-child:has(.text-yellow-500) {
  background: #fffbeb;
  color: #d97706;
}

.waba-status-cell .space-y-1 > div:first-child:has(.text-gray-500) {
  background: #f3f4f6;
  color: #6b7280;
}

/* ===== WABA ACTIONS DROPDOWN ===== */
.waba-actions-menu summary::-webkit-details-marker,
.waba-actions-menu summary::marker {
  display: none;
}

.waba-actions-menu summary {
  list-style: none;
}

/* Listas - grid de cards */
.listas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .listas-grid {
    grid-template-columns: 1fr;
  }
}

.listas-grid .list-card-compact {
  margin-bottom: 0;
}

.listas-grid > .loading,
.listas-grid > .empty-state {
  grid-column: 1 / -1;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .list-card-compact {
    padding: 12px;
    min-height: 50px;
  }

  .list-name-compact {
    font-size: 0.9rem;
  }

  .list-stats-compact {
    font-size: 0.7rem;
  }

  .list-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .list-card-compact {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .list-info-compact {
    text-align: left;
  }

  .list-actions-compact {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .list-actions-compact .list-btn {
    padding: 10px 14px;
    font-size: 0.8125rem;
    flex: 1;
    min-width: calc(50% - 4px);
  }

  .list-actions-compact .list-btn-primary {
    min-width: 100%;
  }
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.list-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
}

.list-stats {
  display: flex;
  gap: 12px;
  align-items: center;
}

.list-stats .stat {
  font-size: 0.875rem;
  color: #6b7280;
}

.list-stats .stat.available {
  color: #059669;
  font-weight: 500;
}

.list-stats .stat.sent {
  color: #2563eb;
  font-weight: 500;
}

.list-meta {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.list-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ===== CONTATOS MODAL ===== */
.contacts-modal {
  max-width: 1200px !important;
  width: 95% !important;
}

/* Controles superiores da tabela */
.contacts-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.contacts-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contacts-count {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Tabela de contatos */
.contacts-table {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.contacts-table table {
  width: 100%;
  border-collapse: collapse;
}

.contacts-table thead th {
  background: #f9fafb;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e5e7eb;
}

.contacts-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.contacts-table tbody tr:hover {
  background: #f9fafb;
}

.contacts-table .contact-name {
  font-weight: 500;
  color: #111827;
}

.contacts-table .contact-info {
  color: #6b7280;
}

/* Responsividade para tabela de contatos */
@media (max-width: 768px) {
  .contacts-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .contacts-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .contacts-table {
    font-size: 0.875rem;
  }

  .contacts-table thead th,
  .contacts-table tbody td {
    padding: 8px 12px;
  }

  .contacts-table thead th {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .contacts-table {
    border: none;
    border-radius: 0;
  }

  .contacts-table thead {
    display: none;
  }

  .contacts-table tbody tr {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .contacts-table tbody td {
    display: block;
    border: none;
    padding: 4px 0;
    text-align: left;
  }

  .contacts-table tbody td:before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: #6b7280;
    display: inline-block;
    min-width: 80px;
  }

  .contacts-table tbody td:first-child:before {
    content: "Nome: ";
  }

  .contacts-table tbody td:nth-child(2):before {
    content: "Telefone: ";
  }

  .contacts-table tbody td:nth-child(3):before {
    content: "Email: ";
  }

  .contacts-table tbody td:nth-child(4):before {
    content: "Empresa: ";
  }

  .contacts-table tbody td:nth-child(5):before {
    content: "Status: ";
  }

  .contacts-table tbody td:last-child {
    text-align: center;
    margin-top: 8px;
  }

  .contacts-table tbody td:last-child:before {
    display: none;
  }
}

/* ===== MODAIS DE WABA ===== */
.spinner {
  border: 4px solid #f3f4f6;
  border-top: 4px solid #10b981;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Status indicators */
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bg-green-500 {
  background-color: #10b981;
}

.bg-yellow-500 {
  background-color: #f59e0b;
}

.bg-red-500 {
  background-color: #ef4444;
}

/* ===== MODAL DE IMPORTAÇÃO ===== */
.error-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: #dc2626;
}

.error-item i {
  flex-shrink: 0;
  margin-top: 1px;
}

.error-item span {
  line-height: 1.4;
}

/* ===== RESPONSIVIDADE PARA LISTAS ===== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 15px;
    gap: 10px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .list-header {
    flex-direction: column;
    gap: 8px;
  }

  .list-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Modal de importação responsivo */
  .error-item {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  #importErrorsList {
    max-height: 24vh !important;
  }
}

/* ===== CRM KANBAN CARDS ===== */
.kanban-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-height: 100px;
  display: block;
}

.kanban-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: #d1d5db;
}

.kanban-card:active {
  transform: scale(0.98);
}

.kanban-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kanban-card-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
  line-height: 1.4;
}

.kanban-card-value {
  font-size: 16px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 8px;
}

.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}

/* ===== STAGE HEADERS ===== */
.stage-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafafa;
  border-radius: 8px 8px 0 0;
}

.stage-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-header .stage-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stage-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #e5e7eb;
  color: #374151;
  font-size: 11px;
  font-weight: 600;
}

/* ===== SIDEBAR PIPELINES ===== */
.pipeline-item {
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  margin-bottom: 4px;
}

.pipeline-item:hover {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.pipeline-item.active {
  background: #eff6ff;
  border-color: #3b82f6;
}

.pipeline-name {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 2px;
}

.pipeline-item.active .pipeline-name {
  font-weight: 600;
  color: #1d4ed8;
}

.pipeline-description {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
}

/* ===== DRAG & DROP SORTABLE ===== */
.sortable-ghost {
  opacity: 0.4;
  background: #f3f4f6;
  border: 2px dashed #10b981;
  border-radius: 8px;
}

.sortable-chosen {
  transform: rotate(1deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sortable-drag {
  transform: rotate(2deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
}

.sortable-cards {
  min-height: 100px;
  padding: 8px;
}

.sortable-cards:empty::after {
  content: "Nenhum negócio nesta etapa";
  display: block;
  padding: 40px 20px;
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.sortable-cards:empty::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2' ry='2'/%3E%3Cline x1='16' x2='16' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='2' y2='6'/%3E%3Cline x1='3' x2='21' y1='10' y2='10'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0.6;
}

/* ===== COBRANÇAS - PAINEL FINANCEIRO ===== */
/* Resumo cards (A vencer, Vencidas, Pagas) */
.cobranca-resumo-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.cobranca-resumo-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.cobranca-resumo-a-vencer { border-left: 4px solid #eab308; }
.cobranca-resumo-vencidas { border-left: 4px solid #dc2626; }
.cobranca-resumo-pagas { border-left: 4px solid #16a34a; }

.cobranca-resumo-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.cobranca-resumo-valor {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.cobranca-resumo-count {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Badges de status cobrança */
.badge-cobranca-pago {
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-cobranca-a-vencer {
  background: #fef9c3;
  color: #854d0e;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-cobranca-vencido {
  background: #fee2e2;
  color: #991b1b;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Card de cobrança individual */
.cobranca-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.cobranca-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cobranca-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cobranca-card-actions .btn-cobranca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-cobranca-primary {
  background: #10b981;
  color: white;
}

.btn-cobranca-primary:hover {
  background: #059669;
}

.btn-cobranca-outline {
  background: #f9fafb;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.btn-cobranca-outline:hover {
  background: #f3f4f6;
  border-color: #10b981;
  color: #059669;
}

/* Plano atual box */
.cobranca-plano-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

/* Aviso vencimento */
.cobranca-aviso-vencimento {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #92400e;
}

/* Histórico pagamentos */
.cobranca-historico-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid #f3f4f6;
}

.cobranca-historico-data { font-weight: 500; color: #374151; }
.cobranca-historico-desc { flex: 1; color: #6b7280; }
.cobranca-historico-valor { font-weight: 600; color: #111827; }

/* Badges (cobranca-badge-*) */
.cobranca-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cobranca-badge-pago { background: #dcfce7; color: #166534; }
.cobranca-badge-a-vencer { background: #fef9c3; color: #854d0e; }
.cobranca-badge-vencido { background: #fee2e2; color: #991b1b; }

/* Botões cobrança */
.cobranca-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cobranca-btn-primary { background: #10b981; color: white; }
.cobranca-btn-primary:hover { background: #059669; }
.cobranca-btn-outline { background: #f9fafb; color: #374151; border: 1px solid #e5e7eb; }
.cobranca-btn-outline:hover { background: #f3f4f6; border-color: #10b981; color: #059669; }
.cobranca-btn-copied { background: #dcfce7 !important; color: #166534 !important; border-color: #86efac !important; }

/* Card header/body */
.cobranca-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cobranca-card-titulo { margin: 0; font-size: 1rem; font-weight: 600; color: #111827; }
.cobranca-card-body { margin-bottom: 12px; }
.cobranca-card-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.875rem; color: #374151; margin-bottom: 8px; }
.cobranca-card-dias { font-size: 0.875rem; margin-bottom: 8px; }
.cobranca-dias-ok { color: #059669; font-weight: 500; }
.cobranca-dias-urgente { color: #d97706; font-weight: 600; }
.cobranca-dias-vencido { color: #dc2626; font-weight: 600; }
.cobranca-aviso-vencimento { font-size: 0.8125rem; color: #92400e; margin-top: 8px; padding: 8px 12px; background: #fffbeb; border-radius: 8px; border-left: 3px solid #f59e0b; }

/* Plano info */
.cobranca-plano-item { display: flex; flex-direction: column; gap: 2px; }
.cobranca-plano-label { font-size: 0.75rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.cobranca-plano-valor { font-size: 1rem; font-weight: 600; color: #111827; }

/* ===== GUIA DE TEMPLATES - MODAL EDUCATIVO ===== */
.templates-guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.guide-modal-content {
  line-height: 1.6;
}

.guide-section {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.guide-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-section-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  border-bottom: none;
}

.guide-section-cta {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
  border-bottom: none;
}

@media (min-width: 640px) {
  .guide-section-alert,
  .guide-section-cta {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

/* Empty states */
.cobranca-empty-state { text-align: center; padding: 24px 16px; color: #6b7280; font-size: 0.875rem; }
.cobranca-empty-success { color: #059669; font-weight: 500; }
.cobranca-empty-success small { display: block; margin-top: 4px; font-weight: 400; color: #6b7280; }

/* ===== MODAL GUIA DE AQUECIMENTO DE NÚMERO ===== */
.warmup-guide-btn {
  background: #fff;
  border: 1px solid #f97316;
  color: #ea580c;
}
.warmup-guide-btn:hover {
  background: #fff7ed;
  border-color: #ea580c;
  color: #c2410c;
}

.warmup-modal-content {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 32px;
}

.warmup-modal-body {
  padding-right: 8px;
}

.warmup-modal-body .warmup-close {
  position: absolute;
  right: 20px;
  top: 15px;
}

.warmup-modal-badge {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.warmup-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.warmup-modal-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 12px 0;
}

.warmup-modal-desc {
  font-size: 0.9375rem;
  color: #4b5563;
  margin-bottom: 24px;
  line-height: 1.5;
}

.warmup-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.warmup-section:last-of-type {
  border-bottom: none;
}

.warmup-section-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px 0;
}

.warmup-text {
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.warmup-highlight-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 12px;
}

.warmup-highlight-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.warmup-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .warmup-cards-grid {
    grid-template-columns: 1fr;
  }
}

.warmup-card {
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid transparent;
}

.warmup-card-danger {
  background: #fef2f2;
  border-color: #fecaca;
}

.warmup-card-safe {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.warmup-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.warmup-card-danger .warmup-card-title { color: #b91c1c; }
.warmup-card-safe .warmup-card-title { color: #166534; }

.warmup-card-text {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.warmup-card-badge {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 8px;
  display: block;
}

.warmup-card-danger .warmup-card-badge { color: #991b1b; }
.warmup-card-safe .warmup-card-badge { color: #15803d; }

.warmup-timeline {
  margin-top: 16px;
  padding-left: 4px;
}

.warmup-timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.warmup-timeline-item:last-child {
  margin-bottom: 0;
}

.warmup-timeline-marker {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: #10b981;
  margin-top: 6px;
}

.warmup-timeline-content {
  flex: 1;
}

.warmup-timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
}

.warmup-timeline-volume {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #059669;
  margin: 0 0 6px 0;
}

.warmup-timeline-desc {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 4px 0;
  line-height: 1.45;
}

.warmup-timeline-note {
  font-size: 0.8125rem;
  color: #059669;
  font-style: italic;
  margin: 0;
}

.warmup-practices-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.warmup-practices-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: #4b5563;
  margin-bottom: 10px;
  line-height: 1.45;
}

.warmup-practices-list li:last-child {
  margin-bottom: 0;
}

.warmup-practices-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.warmup-alert-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 24px;
}

.warmup-alert-list {
  margin: 8px 0 0 0;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: #92400e;
  line-height: 1.5;
}

.warmup-modal-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
