﻿/* ============================================================
   MM BOT PRO — Módulos Page Styles
   ============================================================ */

/* ─── Page Layout ─────────────────────────────────────────── */
.modules-page {
  display: flex;
  min-height: calc(100vh - 64px);
  position: relative;
}

/* ─── Sidebar ─────────────────────────────────────────────── */
.modules-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
  transition: transform 0.35s ease;
}

.modules-sidebar::-webkit-scrollbar { width: 4px; }
.modules-sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.sidebar-header {
  padding: var(--gap-lg) var(--gap-md) var(--gap-md);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
}

.sidebar-header h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.sidebar-search {
  margin-top: var(--gap-sm);
  position: relative;
}
.sidebar-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.sidebar-search input:focus {
  border-color: var(--accent);
  background: var(--white);
}
.sidebar-search input::placeholder { color: var(--text-light); }
.sidebar-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  width: 14px;
  height: 14px;
}

.modules-nav {
  padding: var(--gap-sm) var(--gap-sm) var(--gap-xl);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: 9px var(--gap-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  position: relative;
}

.nav-item:hover {
  background: var(--gray-100);
  color: var(--text);
}

.nav-item.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.nav-item .nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item .nav-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: white;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ─── Mobile sidebar toggle ──────────────────────────────── */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 76px;
  left: var(--gap-md);
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  gap: var(--gap-sm);
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 150;
  backdrop-filter: blur(2px);
}

/* ─── Content Area ───────────────────────────────────────── */
.modules-content {
  flex: 1;
  min-width: 0;
  padding: var(--gap-2xl) var(--gap-xl);
  max-width: 800px;
}

/* ─── Module Cards ───────────────────────────────────────── */
.module-card {
  display: none;
  animation: fadeInUp 0.3s ease;
}
.module-card.active { display: block; }

.module-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--gap-lg);
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}
.module-title-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-title-icon img { width: 22px; height: 22px; }

.module-section {
  margin-bottom: var(--gap-xl);
}

.module-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--gap-sm);
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}
.module-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.module-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
}
.module-text + .module-text { margin-top: var(--gap-md); }
.module-text strong { color: var(--text); font-weight: 600; }

/* ─── Info Box ───────────────────────────────────────────── */
.module-info-box {
  background: var(--accent-light);
  border: 1px solid rgba(124,58,237,0.2);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--gap-md) var(--gap-lg);
  margin: var(--gap-lg) 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.module-info-box strong { color: var(--accent-dark); }
.module-info-box a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Video Embed ────────────────────────────────────────── */
.module-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  margin: var(--gap-lg) 0;
  box-shadow: var(--shadow-md);
  position: relative;
}
.module-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.module-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  color: var(--text-muted);
  font-size: 0.9rem;
}
.module-video-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

.module-video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
  margin: var(--gap-lg) 0;
}
.module-video-row .module-video { margin: 0; }

/* ─── Shortcut Links ─────────────────────────────────────── */
.module-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin: var(--gap-md) 0;
}

.module-shortcut-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.module-shortcut-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
}
.module-shortcut-btn img { width: 14px; height: 14px; }

/* ─── Feature Card (Instame-style) ──────────────────────── */
.module-feature-card {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--gap-md) var(--gap-lg);
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-lg);
  margin: var(--gap-lg) 0;
  transition: all var(--transition);
}
.module-feature-card:hover {
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-2px);
}
.module-feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  font-size: 1.5rem;
}
.module-feature-card-body { flex: 1; }
.module-feature-card-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.module-feature-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.module-feature-card .btn { flex-shrink: 0; }

/* ─── AI Features ────────────────────────────────────────── */
.ai-features-grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  margin: var(--gap-lg) 0;
}

.ai-feature-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--gap-md) var(--gap-lg);
  transition: all var(--transition);
}
.ai-feature-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.ai-feature-item p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--gap-sm);
}
.ai-feature-item p strong { color: var(--text); }

.ai-credit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs);
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}
.credit-pill-purple {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.credit-pill-yellow {
  background: #fef3c7;
  color: #92400e;
}

/* ─── Steps List ─────────────────────────────────────────── */
.steps-list {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--gap-lg);
  margin: var(--gap-lg) 0;
  counter-reset: steps;
}

.step-item {
  display: flex;
  gap: var(--gap-md);
  padding: var(--gap-sm) 0;
  position: relative;
}
.step-item + .step-item {
  border-top: 1px solid var(--border);
  margin-top: var(--gap-sm);
  padding-top: var(--gap-md);
}

.step-number {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.step-content strong { color: var(--text); font-weight: 600; }

/* ─── PRO Steps ──────────────────────────────────────────── */
.pro-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin: var(--gap-lg) 0;
}

.pro-step-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--gap-md);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.pro-step-item:hover { border-color: var(--accent); box-shadow: 0 4px 12px var(--accent-glow); }

.pro-step-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--purple-600));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0 auto var(--gap-sm);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.pro-step-item p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ─── Android Download ───────────────────────────────────── */
.android-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  margin: var(--gap-lg) 0;
}

.android-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
}

.android-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--gap-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-md);
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
}

.google-play-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--gray-900);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.google-play-btn:hover { background: var(--gray-700); transform: translateY(-1px); }
.google-play-btn small { display: block; font-size: 0.65rem; opacity: 0.7; line-height: 1; }
.google-play-btn strong { font-size: 1rem; line-height: 1.2; display: block; }

.android-card .module-video { margin: 0; }
.android-card .module-video.compact { height: 160px; }

/* ─── License activation ─────────────────────────────────── */
.license-box {
  background: linear-gradient(135deg, var(--accent-light), #ede9fe);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
  margin: var(--gap-lg) 0;
}
.license-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: var(--gap-sm);
}
.license-box p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.license-box p + p { margin-top: var(--gap-sm); }

/* ─── Responsive: mobile sidebar ────────────────────────── */
@media (max-width: 1024px) {
  .modules-sidebar {
    width: 240px;
  }
  .modules-content {
    padding: var(--gap-xl) var(--gap-lg);
  }
}

@media (max-width: 768px) {
  .modules-page { display: block; }

  .modules-sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    height: calc(100vh - 64px);
    z-index: 160;
    transform: translateX(-100%);
    width: 280px;
    box-shadow: var(--shadow-xl);
  }
  .modules-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-toggle { display: flex; }
  .sidebar-backdrop.visible { display: block; }

  .modules-content {
    padding: var(--gap-lg) var(--gap-md);
    padding-top: 56px;
  }

  .module-video-row { grid-template-columns: 1fr; }
  .pro-steps { grid-template-columns: 1fr; }
  .android-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   MM BOT PRO — DESIGN SYSTEM ROXO & WIDGETS DOS 17 MÓDULOS
   ============================================================ */

/* Badges & Meta Tags */
.module-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.category-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #7c3aed;
  color: #ffffff;
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
}

.status-online {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

/* Live Operational Card */
.live-widget-card {
  background: #ffffff;
  border: 1px solid #e9d5ff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}

.live-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f3e8ff;
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.widget-db-badge {
  font-family: monospace;
  font-size: 0.75rem;
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  padding: 3px 8px;
  border-radius: 6px;
}

.subheading {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 12px;
}

/* Grids & Forms */
.widget-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 860px) {
  .widget-grid-2 {
    grid-template-columns: 1fr;
  }
}

.widget-form-box {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  border-radius: 10px;
  padding: 16px;
}

.compact-form .form-group {
  margin-bottom: 12px;
}

.compact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 4px;
}

.compact-form input[type="text"],
.compact-form input[type="datetime-local"],
.compact-form input[type="date"],
.compact-form input[type="time"],
.compact-form select,
.compact-form textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.88rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2937;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.compact-form input:focus,
.compact-form select:focus,
.compact-form textarea:focus {
  border-color: #7c3aed;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.color-picker-input {
  height: 38px;
  padding: 2px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.btn-block {
  width: 100%;
}

/* Chat Preview Bubble */
.chat-preview-bubble {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
}

.bubble-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bubble-body {
  background: #ffffff;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #1f2937;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bubble-signature {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #ddd6fe;
  font-size: 0.82rem;
  font-style: italic;
  color: #7c3aed;
  font-weight: 600;
}

/* Operators Chips */
.operators-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.op-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.op-chip:hover, .op-chip.active {
  border-color: #7c3aed;
  background: #faf5ff;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.1);
}

.op-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.op-details {
  flex: 1;
}

.op-details strong {
  display: block;
  font-size: 0.88rem;
  color: #1f2937;
}

.op-details small {
  color: #6b7280;
  font-size: 0.78rem;
}

.op-shortcut {
  font-family: monospace;
  font-size: 0.75rem;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  color: #4b5563;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.data-table th {
  background: #f5f3ff;
  color: #6d28d9;
  text-align: left;
  padding: 8px 12px;
  font-weight: 600;
  border-bottom: 2px solid #e9d5ff;
}

.data-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.status-open { background: #fef3c7; color: #d97706; }
.status-in_progress { background: #dcfce7; color: #15803d; }
.status-closed { background: #f3f4f6; color: #6b7280; }

/* Quick Replies Cards */
.quick-replies-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qr-item-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}

.qr-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.qr-badge {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f3e8ff;
  color: #7c3aed;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-pill-sm {
  font-size: 0.7rem;
  background: #f3f4f6;
  color: #4b5563;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: auto;
}

.qr-preview-text {
  font-size: 0.84rem;
  color: #4b5563;
  margin-bottom: 8px;
  white-space: pre-wrap;
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 12px;
}

.tag-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tag-badge-info {
  flex: 1;
}

.tag-badge-info strong {
  display: block;
  font-size: 0.88rem;
}

.tag-badge-info small {
  color: #6b7280;
  font-size: 0.75rem;
}

.tag-count-badge {
  font-size: 0.75rem;
  background: #f3e8ff;
  color: #7c3aed;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Reminders List */
.reminders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reminder-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}

.reminder-item.reminder-done {
  opacity: 0.6;
  background: #f9fafb;
}

.reminder-item.reminder-done .reminder-info p {
  text-decoration: line-through;
}

.reminder-info {
  flex: 1;
}

.reminder-info strong {
  font-size: 0.86rem;
  color: #1f2937;
}

.reminder-info p {
  font-size: 0.82rem;
  color: #4b5563;
  margin: 2px 0 4px 0;
}

.reminder-time {
  font-size: 0.75rem;
  color: #7c3aed;
  font-weight: 600;
}

/* AutoResponder Chat Simulator */
.bot-simulator-card {
  background: #ffffff;
  border: 1px solid #e9d5ff;
  border-radius: 10px;
  padding: 14px;
}

.chat-window {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  height: 220px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-bubble.incoming {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #7c3aed;
}

.chat-bubble.outgoing {
  align-self: flex-end;
  background: #f3e8ff;
  border: 1px solid #ddd6fe;
}

.bubble-sender {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 2px;
}

.badge-matched {
  font-size: 0.68rem;
  background: #dcfce7;
  color: #15803d;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.88rem;
}

.rules-chips-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rule-chip-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.rule-keyword {
  font-weight: 700;
  color: #7c3aed;
}

.rule-counter {
  margin-left: auto;
  font-size: 0.74rem;
  color: #6b7280;
}

/* Transfers */
.transfers-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transfer-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}

.transfer-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.badge-operator {
  font-size: 0.78rem;
  font-weight: 700;
  background: #f3e8ff;
  color: #7c3aed;
  padding: 2px 8px;
  border-radius: 4px;
}

.transfer-arrow {
  color: #9ca3af;
}

.transfer-reason {
  font-size: 0.82rem;
  color: #4b5563;
  margin: 2px 0;
}

.transfer-date {
  color: #9ca3af;
  font-size: 0.72rem;
}

/* Themes Grid */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.theme-option-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

.theme-option-card.theme-active {
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px #7c3aed;
}

.theme-preview-box {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.theme-bubble-sample {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 16px;
}

.theme-card-body {
  padding: 12px;
  text-align: center;
}

.theme-colors-info {
  font-size: 0.72rem;
  color: #6b7280;
  margin: 4px 0 10px 0;
}

/* Privacy Mode Toggle & Blur */
.toggle-control-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: #374151;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 22px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider { background-color: #7c3aed; }
input:checked + .slider:before { transform: translateX(18px); }

.privacy-mock-chat {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
}

.mock-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.mock-blurred {
  filter: blur(5px);
  transition: filter 0.2s;
  user-select: none;
}

.mock-contact-item:hover .mock-blurred {
  filter: blur(0);
}

/* Direct Chats, AI, Calendar, Favorites, Desktop, Mobile, Licenses */
.direct-chats-list, .ai-history-list, .calendar-events-list, .favorites-grid, .desktop-stations-list, .mobile-devices-list, .licenses-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dc-item, .ai-log-item, .calendar-event-card, .fav-contact-card, .station-card, .mobile-card, .license-card-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}

.event-date-badge {
  float: left;
  background: #f3e8ff;
  border: 1px solid #ddd6fe;
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
  margin-right: 12px;
}

.event-day { display: block; font-weight: 800; font-size: 1.1rem; color: #7c3aed; line-height: 1; }
.event-month { font-size: 0.7rem; text-transform: uppercase; color: #6d28d9; }

.fav-contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fav-avatar { font-size: 1.3rem; }
.fav-info { flex: 1; }
.fav-info strong { display: block; font-size: 0.88rem; }
.fav-info small { color: #6b7280; font-size: 0.75rem; }
.fav-info p { font-size: 0.78rem; color: #4b5563; margin: 2px 0 0 0; }

.station-card, .mobile-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.station-icon, .mobile-icon { font-size: 1.4rem; }
.station-info, .mobile-info { flex: 1; }
.station-info strong, .mobile-info strong { display: block; font-size: 0.88rem; }
.station-info small, .mobile-info small { color: #6b7280; font-size: 0.75rem; }

.lic-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.lic-key {
  font-family: monospace;
  font-size: 0.9rem;
  color: #7c3aed;
}

.alert-box {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-top: 10px;
}
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Floating Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 2px solid #7c3aed;
  color: #1f2937;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  background: #7c3aed;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
