/* Utility Classes */
.hidden { display: none !important; }

/* Design System - Tema Claro, Quente, Acolhedor e Dinâmico */
:root {
  --bg-main: #F8F9FA;
  --bg-header: rgba(255, 255, 255, 0.95);
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --border-color: #E5E7EB;
  --border-glow: #F3F4F6;

  --text-main: #1F2937;
  --text-muted: #4B5563;
  --text-sub: #6B7280;

  --accent-primary: #E11D48; /* Coral / Rosa Quente */
  --accent-amber: #D97706; /* Ambar Quente */
  --accent-emerald: #059669; /* Verde Esmeralda */
  --accent-purple: #7C3AED;
  --accent-blue: #2563EB;

  --gradient-btn: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%);
  --gradient-emerald: linear-gradient(135deg, #059669 0%, #10B981 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 35px -10px rgba(225, 29, 72, 0.15);

  --font-family: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent-emerald);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}
.toast.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* Navbar Compacta e Legável */
.navbar {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}
.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
  transition: transform 0.2s ease;
}
.logo-avatar-img:hover {
  transform: scale(1.05);
}
.logo-title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}
.logo-title span {
  color: var(--accent-primary);
}
.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.btn-admin-access {
  background: #F3F4F6;
  border: 1px solid #D1D5DB;
  color: #374151;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-admin-access:hover {
  background: #E5E7EB;
  color: #111827;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--accent-emerald);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.live-indicator:hover {
  background: #10B981;
  color: #FFFFFF;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transform: translateY(-1px);
}
.live-indicator:hover .live-pulse {
  background-color: #FFFFFF;
  box-shadow: 0 0 6px #FFFFFF;
}
.live-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* ====================================================== */
/* HERO CAROUSEL SECTION (Compacto & Visibilidade Cupons) */
/* ====================================================== */
.hero-carousel-section {
  padding: 10px 0 6px 0;
}
.carousel-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.4s ease;
}

/* Cores de Fundo dos Banners */
.slide-1 {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFFBEB 100%);
}
.slide-2 {
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
}
.slide-3 {
  background: linear-gradient(135deg, #F3E8FF 0%, #EFF6FF 100%);
}
.slide-4 {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
}

.slide-content {
  max-width: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-chip {
  background: #FFE4E6;
  color: var(--accent-primary);
  border: 1px solid #FECDD3;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.chip-filhos { background: #D1FAE5; color: var(--accent-emerald); border-color: #A7F3D0; }
.chip-marido { background: #F3E8FF; color: var(--accent-purple); border-color: #DDD6FE; }
.chip-cestas { background: #FEF3C7; color: var(--accent-amber); border-color: #FDE68A; }

.slide-content h2 {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.2;
}
.slide-content h2 span {
  color: var(--accent-primary);
}
.slide-2 h2 span { color: var(--accent-emerald); }
.slide-3 h2 span { color: var(--accent-purple); }
.slide-4 h2 span { color: var(--accent-amber); }

.slide-content p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
  max-width: 600px;
  line-height: 1.4;
}

/* Botões dos Banners */
.btn-slide-action {
  background: var(--gradient-btn);
  color: #FFFFFF;
  border: none;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  transition: all 0.3s ease;
}
.btn-slide-action:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}
.btn-slide-action:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
}
.btn-filhos { background: var(--gradient-emerald); box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3); }
.btn-marido { background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3); }
.btn-cestas { background: linear-gradient(135deg, #D97706 0%, #B45309 100%); box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3); }

/* Setas de Controle do Banner */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  color: #111827;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: #FFFFFF;
  color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

/* Bolinhas de Navegação (Dots) */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  width: 32px;
  border-radius: 20px;
  background: var(--accent-primary);
}

/* Quick Search Box Wrapper */
.search-box-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.search-box {
  width: 100%;
  max-width: 550px;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-sub);
}
.search-box input {
  width: 100%;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  padding: 9px 14px 9px 40px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.search-box input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.15);
}

/* Nav Tabs */
.tabs-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 16px 0;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.tab-btn:hover {
  color: var(--accent-primary);
  border-color: #FECDD3;
  background: #FFF1F2;
}
.tab-btn.active {
  color: #FFFFFF;
  background: var(--gradient-btn);
  border-color: var(--accent-primary);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.3);
}

/* Tab Content Areas */
.tab-content.hidden { display: none; }
.tab-content { animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Grid Layouts */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}

/* Cards Claras e Iluminadas */
.card {
  background: var(--bg-card);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  border-color: #FECDD3;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Elementos do Card */
.coupon-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.store-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
  background: #FFF1F2;
  padding: 4px 10px;
  border-radius: 6px;
}
.badge-tag {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}
.badge-amber { background: #FEF3C7; color: var(--accent-amber); }
.badge-emerald { background: #D1FAE5; color: var(--accent-emerald); }
.badge-purple { background: #F3E8FF; color: var(--accent-purple); }

.discount-title {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}
.coupon-rules {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.coupon-box {
  background: #F9FAFB;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.code-text {
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 1px;
}
.btn-copy {
  background: #E5E7EB;
  border: none;
  color: #374151;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy:hover {
  background: var(--accent-emerald);
  color: #FFFFFF;
}

.btn-redeem {
  width: 100%;
  background: var(--gradient-btn);
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  display: block;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.25);
  transition: all 0.3s ease;
}
.btn-redeem:hover {
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
  transform: scale(1.02);
}

/* Imagens das Cestas */
.bundle-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.bundle-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.bundle-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bundle-items {
  list-style: none;
  margin-bottom: 16px;
  background: #F9FAFB;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}
.bundle-items li {
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.old-price {
  text-decoration: line-through;
  color: var(--text-sub);
  font-size: 14px;
}
.new-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-emerald);
}
.savings-tag {
  background: #D1FAE5;
  color: var(--accent-emerald);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* Footer */
.footer {
  margin-top: auto;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Botão Toggle Filtros Celular */
.btn-mobile-filter-toggle {
  display: none;
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.1);
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.btn-mobile-filter-toggle:hover {
  background: #FFF1F2;
}



/* ======================================================
   CENTRAL DE CUPONS INTELIGENTE (TIPO 1)
   ====================================================== */

.counter-badge {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 50px;
}

.coupon-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.coupon-search-box {
  position: relative;
  width: 100%;
}

.coupon-search-box input {
  width: 100%;
  background: #F9FAFB;
  border: 2px solid #E5E7EB;
  padding: 14px 16px 14px 48px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: all 0.25s ease;
}

.coupon-search-box input:focus {
  border-color: var(--accent-primary);
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.15);
}

.store-filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-pill {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-pill:hover {
  background: #E5E7EB;
  color: var(--text-main);
}

.store-pill.active {
  background: #111827;
  color: #FFFFFF;
  border-color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.store-pill.pill-ml.active {
  background: #F59E0B;
  border-color: #D97706;
  color: #000000;
}

.store-pill.pill-amazon.active {
  background: #1E293B;
  border-color: #0F172A;
  color: #FFFFFF;
}

.store-pill.pill-shopee.active {
  background: #EE4D2D;
  border-color: #D73211;
  color: #FFFFFF;
}

/* Coupons Hub Layout (Sidebar + Grid) */
.coupons-hub-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.coupons-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.coupons-sidebar::-webkit-scrollbar {
  width: 4px;
}
.coupons-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.coupons-sidebar::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 10px;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-color);
}

.sidebar-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid #D1D5DB;
  font-size: 13px;
  color: var(--text-main);
  background: #FFFFFF;
  outline: none;
  cursor: pointer;
}

.sidebar-select:focus {
  border-color: var(--accent-primary);
}

.coupons-sidebar .store-filter-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coupons-sidebar .store-pill {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
}

.coupons-sidebar .coupon-search-box input {
  padding: 8px 12px 8px 36px;
  font-size: 12px;
  border-radius: var(--radius-md);
}

.coupons-sidebar .search-icon {
  left: 10px;
  font-size: 14px;
}

.category-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-filter-item:hover {
  background: #FFF1F2;
  color: var(--accent-primary);
}

.cat-filter-item.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.cat-count {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.cat-filter-item.active .cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.coupons-grid-wrapper {
  min-height: 400px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-color);
}

.empty-state .empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.empty-state h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.empty-state p {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-reset-filters {
  background: var(--gradient-btn);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 900px) {
  .coupons-hub-layout {
    grid-template-columns: 1fr;
  }
  .coupons-sidebar {
    position: static;
  }
}

/* ======================================================
   ESTILOS DA ÁREA DO GESTOR, SELO DE VALIDAÇÃO & MODAL
   ====================================================== */

/* Botão de Acesso do Gestor no Navbar */
.btn-admin-access {
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: var(--accent-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-admin-access:hover {
  background: var(--accent-primary);
  color: #FFFFFF;
}

/* Badge de Gestor Logado */
.admin-status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
}
.btn-logout-mini {
  background: #FEE2E2;
  border: none;
  color: #991B1B;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.btn-logout-mini:hover {
  background: #FCA5A5;
}

/* Modal de Autenticação */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 440px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.3s ease-out;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}
.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.5;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-group input, .admin-form-grid input, .admin-form-grid select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-md);
  font-size: 14px;
}
.form-group input:focus, .admin-form-grid input:focus, .admin-form-grid select:focus {
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}
.btn-modal-submit {
  width: 100%;
  background: var(--gradient-btn);
  color: #FFFFFF;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: var(--shadow-btn);
}
.error-banner {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 16px;
}

/* Selo de Validação Manual no Card */
.card-validated-border {
  border: 2px solid #10B981 !important;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.2) !important;
  position: relative;
}
.validated-seal-banner {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.validated-date-sub {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

/* Tag de Origem Telegram (Exclusiva para Gestor Pós-Login) */
.tg-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Controles Rápidos de Gestão no Card (Visível Pós-Login) */
.card-manager-controls {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E5E7EB;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.btn-card-seal-assign {
  background: #3B82F6;
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.btn-card-seal-assign:hover {
  background: #2563EB;
}
.btn-card-toggle-hide {
  background: #F3F4F6;
  border: 1px solid #D1D5DB;
  color: #374151;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

/* Wrapper do Filtro Telegram (Apenas para Gestor) */
.tg-channel-filter-wrapper {
  margin-top: 14px;
  padding: 12px 16px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
}
.tg-filter-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0369A1;
  margin-bottom: 8px;
}

/* Painel Dashboard do Gestor */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.stat-icon {
  font-size: 32px;
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
}
.stat-label {
  font-size: 13px;
  color: var(--text-sub);
}
.admin-panel-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  background: #F9FAFB;
  text-align: left;
  padding: 12px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid #E5E7EB;
}
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #E5E7EB;
  color: var(--text-main);
}

/* ======================================================
   RESPONSIVIDADE CELULAR / TELAS PEQUENAS (MOBILE)
   ====================================================== */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .coupons-hub-layout {
    grid-template-columns: 1fr !important;
  }
  .btn-mobile-filter-toggle {
    display: flex !important;
  }
  .coupons-sidebar {
    display: none !important;
    position: static !important;
    max-height: none !important;
    margin-bottom: 16px !important;
  }
  .coupons-sidebar.open-mobile {
    display: flex !important;
    animation: fadeIn 0.3s ease;
  }
  .slide-content h2 {
    font-size: 22px !important;
  }
  .carousel-slide {
    padding: 20px 14px !important;
  }
  .navbar-content {
    flex-direction: column !important;
    gap: 12px !important;
  }
}



