/* ============================================================
   FarmaConsulta — Tema Escuro/Claro com Alternância
   ============================================================ */

/* ---------- TEMA ESCURO (padrão) ---------- */
:root,
[data-theme="dark"] {
  /* Cores primárias */
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --primary-bg: rgba(16, 185, 129, 0.12);

  /* Status */
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --danger-border: rgba(248, 113, 113, 0.3);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.12);
  --warning-border: rgba(251, 191, 36, 0.3);
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, 0.12);
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --success-border: rgba(52, 211, 153, 0.3);

  /* Superfícies */
  --bg-body: #0a0f1a;
  --bg-surface: #111827;
  --bg-elevated: #1a2332;
  --bg-hover: #1f2937;
  --bg-input: #0f172a;

  /* Texto */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  /* Bordas */
  --border: #1e293b;
  --border-light: #334155;
  --border-focus: var(--primary);

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 4px var(--primary-glow);

  /* Gradientes */
  --gradient-header: linear-gradient(135deg, #0f2027 0%, #064e3b 50%, #065f46 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary));

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 0.15s ease;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- TEMA CLARO ---------- */
[data-theme="light"] {
  --primary: #059669;
  --primary-light: #10b981;
  --primary-dark: #047857;
  --primary-glow: rgba(5, 150, 105, 0.15);
  --primary-bg: rgba(5, 150, 105, 0.08);

  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --info: #2563eb;
  --info-bg: #eff6ff;
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;

  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-hover: #f1f5f9;
  --bg-input: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: var(--primary);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 0 4px var(--primary-glow);

  --gradient-header: linear-gradient(135deg, #064e3b, #059669);
  --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- HEADER ---------- */
.header {
  background: var(--gradient-header);
  color: white;
  padding: 16px 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

[data-theme="light"] .header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo h1 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 400;
}

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

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* ---------- BOTÃO DE TEMA ---------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.theme-toggle:active {
  transform: rotate(0) scale(0.95);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all var(--transition);
  font-size: 1.15rem;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* ---------- MAIN ---------- */
.main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 16px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SEARCH ---------- */
.search-section {
  margin-bottom: 28px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.search-icon {
  padding: 0 8px 0 18px;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.search-box:focus-within .search-icon {
  color: var(--primary);
}

#searchInput {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: transparent;
  transition: color var(--transition);
}

#searchInput::placeholder {
  color: var(--text-faint);
}

.clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
  border-radius: var(--radius-full);
}

.clear-btn:hover {
  color: var(--danger);
  transform: scale(1.15);
}

/* ---------- RESULTS HEADER ---------- */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.results-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.show-all-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.show-all-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.show-all-btn:hover::before {
  transform: translateX(100%);
}

.show-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.show-all-btn:active {
  transform: translateY(0);
}

/* ---------- GRID ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Badges adaptados para tema escuro */
.badge-analgesico { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.badge-aine { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.badge-ibp { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.badge-bra { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.badge-antibiotico { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.badge-antidiabetico { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
.badge-estatina { background: rgba(250, 204, 21, 0.15); color: #facc15; }

[data-theme="light"] .badge-analgesico { background: #e8f5e9; color: #2e7d32; }
[data-theme="light"] .badge-aine { background: #fff3e0; color: #e65100; }
[data-theme="light"] .badge-ibp { background: #e3f2fd; color: #1565c0; }
[data-theme="light"] .badge-bra { background: #f3e5f5; color: #6a1b9a; }
[data-theme="light"] .badge-antibiotico { background: #e0f2f1; color: #00695c; }
[data-theme="light"] .badge-antidiabetico { background: #fce4ec; color: #ad1457; }
[data-theme="light"] .badge-estatina { background: #fff8e1; color: #f57f17; }

.card-commercial {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-commercial strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.card-posologia {
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  line-height: 1.5;
}

.card-posologia strong {
  color: var(--primary-light);
}

.card-interactions-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.interaction-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
  border: 1px solid;
}

.tag-grave {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: var(--danger-border);
}

.tag-moderada {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: var(--warning-border);
}

.tag-leve {
  background: var(--success-bg);
  color: var(--success);
  border-color: var(--success-border);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.card-detail-hint {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  transition: all var(--transition);
}

.card:hover .card-detail-hint {
  transform: translateX(4px);
}

/* ---------- NO RESULTS ---------- */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  animation: fadeInUp 0.4s ease;
}

.no-results-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
}

.no-results h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.no-results p {
  font-size: 0.9rem;
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.modal::-webkit-scrollbar {
  width: 8px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-full);
}

.modal::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

@keyframes slideUp {
  from { transform: translateY(30px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.modal-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: var(--danger-border);
  transform: rotate(90deg) scale(1.05);
}

.modal-content {
  padding: 0 28px 28px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-section {
  margin-bottom: 22px;
}

.modal-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-section p,
.modal-section li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.modal-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.modal-list li:last-child {
  border-bottom: none;
}

/* Interaction cards inside modal */
.interaction-card {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  border-left: 4px solid;
  transition: transform var(--transition);
}

.interaction-card:hover {
  transform: translateX(4px);
}

.interaction-card.grave {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.interaction-card.moderada {
  background: var(--warning-bg);
  border-color: var(--warning);
}

.interaction-card.leve {
  background: var(--success-bg);
  border-color: var(--success);
}

.interaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.interaction-with {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.interaction-severity {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.severity-grave {
  background: var(--danger);
  color: white;
}

.severity-moderada {
  background: var(--warning);
  color: #1a1a1a;
}

.severity-leve {
  background: var(--success);
  color: #1a1a1a;
}

.interaction-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.interaction-mecanismo {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Tags in modal */
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.modal-tag:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-surface);
  color: var(--text-muted);
  text-align: center;
  padding: 22px 16px;
  font-size: 0.78rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  transition: background var(--transition);
}

.footer strong {
  color: var(--text-secondary);
}

/* ---------- RESPONSIVE ---------- */
/* ============================================================
   HEADER EM TELAS PEQUENAS — GRID (sem quebra de linha)
   ============================================================ */
@media (max-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    grid-template-areas: "back logo theme";
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .back-btn      { grid-area: back; }
  .logo          { grid-area: logo; min-width: 0; }
  .header-actions{ grid-area: theme; }

  /* Logo compacto */
  .logo {
    gap: 8px;
  }

  .logo h1 {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .logo-sub {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  /* Esconde o texto de status no mobile (some, mas o JS continua atualizando) */
  .header-status { display: none; }

  /* Ações empilhadas verticalmente no canto direito, sem quebrar linha */
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    flex-wrap: nowrap;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

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

  .results-actions {
    width: 100%;
    justify-content: space-between;
  }

  .modal { max-height: 95vh; }
  .modal-content { padding: 0 18px 22px; }
  #searchInput { font-size: 0.9rem; padding: 14px 6px; }
  .show-all-btn { padding: 8px 14px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .header-inner {
    grid-template-columns: 36px 1fr 36px;
    gap: 6px;
  }

  .back-btn {
    width: 36px;
    height: 36px;
  }

  .back-btn svg {
    width: 16px;
    height: 16px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .logo h1 { font-size: 0.95rem; }
  .logo-icon { font-size: 22px; }
  .logo-sub { font-size: 0.64rem; }

  .card { padding: 16px; }
  .modal-title { font-size: 1.1rem; }
}

/* ---------- ACESSIBILIDADE ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visível para navegação por teclado */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Seleção de texto */
::selection {
  background: var(--primary);
  color: white;
}
/* ---------- BOTÃO VOLTAR ---------- */
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-3px);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.back-btn:active {
  transform: translateX(-1px) scale(0.95);
}

.back-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   BADGES — CORES ADICIONAIS PARA CLASSES SEM COR
   ============================================================ */

/* ---------- ANALGÉSICOS / OPIOIDES ---------- */
.badge-opioide { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
[data-theme="light"] .badge-opioide { background: #fce4ec; color: #c62828; }

.badge-controlado { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
[data-theme="light"] .badge-controlado { background: #fce4ec; color: #c62828; }

.badge-analgesico-antitermico { background: rgba(52, 211, 153, 0.15); color: #34d399; }
[data-theme="light"] .badge-analgesico-antitermico { background: #e8f5e9; color: #2e7d32; }

.badge-anti-inflamatorio { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
[data-theme="light"] .badge-anti-inflamatorio { background: #fff3e0; color: #e65100; }

/* ---------- ANTICOAGULANTES / ANTIAGREGANTES ---------- */
.badge-anticoagulante { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-anticoagulante { background: #ffebee; color: #c62828; }
.badge-psicotropico { background: rgba(239, 68, 68, 0.15); color: #f3f0f0; }
[data-theme="light"] .badge-psicotropico { background: #ffebee; color: #160101; }

.badge-antiagregante { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
[data-theme="light"] .badge-antiagregante { background: #050505; color: #bf360c; }

.badge-trombolitico { background: rgba(220, 38, 38, 0.15); color: #fca5a5; }
[data-theme="light"] .badge-trombolitico { background: #ffcdd2; color: #b71c1c; }

.badge-hemostatico { background: rgba(190, 24, 93, 0.15); color: #f472b6; }
[data-theme="light"] .badge-hemostatico { background: #fce4ec; color: #880e4f; }

/* ---------- SNC — ANTICONVULSIVANTES / ANTIDEPRESSIVOS / ANTIPSICÓTICOS ---------- */
.badge-anticonvulsivante { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-anticonvulsivante { background: #ede7f6; color: #4527a0; }

.badge-antidepressivo { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-antidepressivo { background: #e1f5fe; color: #01579b; }

.badge-antipsicotico { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
[data-theme="light"] .badge-antipsicotico { background: #f3e5f5; color: #6a1b9a; }

.badge-benzodiazepinico { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
[data-theme="light"] .badge-benzodiazepinico { background: #e8eaf6; color: #283593; }

.badge-barbiturico { background: rgba(129, 140, 248, 0.15); color: #a5b4fc; }
[data-theme="light"] .badge-barbiturico { background: #e8eaf6; color: #1a237e; }

.badge-estimulante { background: rgba(250, 204, 21, 0.15); color: #fde047; }
[data-theme="light"] .badge-estimulante { background: #fffde7; color: #f57f17; }

.badge-antidemencial { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-antidemencial { background: #e0f2f1; color: #00695c; }

.badge-colirio { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-colirio { background: #e0f2f1; color: #00695c; }

.badge-antiparkinsoniano { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-antiparkinsoniano { background: #e1f5fe; color: #0277bd; }

.badge-antienxaqueca { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-antienxaqueca { background: #f3e5f5; color: #7b1fa2; }

.badge-anticoncepcional { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-anticoncepcional { background: #f3e5f5; color: #7b1fa2; }

.badge-relaxante-muscular { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-relaxante-muscular { background: #f1f8e9; color: #33691e; }

.badge-antivertiginoso { background: rgba(45, 212, 191, 0.15); color: #5eead4; }
[data-theme="light"] .badge-antivertiginoso { background: #e0f2f1; color: #004d40; }

.badge-lubrificante { background: rgba(45, 212, 191, 0.15); color: #5eead4; }
[data-theme="light"] .badge-lubrificante { background: #e0f2f1; color: #004d40; }


/* ---------- ANESTÉSICOS ---------- */
.badge-anestesico { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
[data-theme="light"] .badge-anestesico { background: #eceff1; color: #37474f; }

/* ---------- CARDIOVASCULAR ---------- */
.badge-ieca { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-theme="light"] .badge-ieca { background: #e8f5e9; color: #1b5e20; }

.badge-bra { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-bra { background: #f3e5f5; color: #6a1b9a; }

.badge-betabloqueador { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
[data-theme="light"] .badge-betabloqueador { background: #e3f2fd; color: #0d47a1; }

.badge-bcc { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-bcc { background: #e1f5fe; color: #01579b; }

.badge-diuretico { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
[data-theme="light"] .badge-diuretico { background: #e0f7fa; color: #006064; }

.badge-diuretico-poupador { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-diuretico-poupador { background: #e0f2f1; color: #004d40; }

.badge-vasodilatador { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-theme="light"] .badge-vasodilatador { background: #e8f5e9; color: #1b5e20; }

.badge-anti-hipertensivo-central { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-anti-hipertensivo-central { background: #ede7f6; color: #4527a0; }

.badge-alfa-bloqueador { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-alfa-bloqueador { background: #f3e5f5; color: #6a1b9a; }

.badge-inibidor-renina { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-theme="light"] .badge-inibidor-renina { background: #e8f5e9; color: #1b5e20; }

.badge-antagonista-aldosterona { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
[data-theme="light"] .badge-antagonista-aldosterona { background: #e0f7fa; color: #006064; }

.badge-glicosideo-cardiaco { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
[data-theme="light"] .badge-glicosideo-cardiaco { background: #ffebee; color: #b71c1c; }

/* ---------- RESPIRATÓRIO ---------- */
.badge-broncodilatador { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-broncodilatador { background: #e1f5fe; color: #0277bd; }

.badge-corticoide-inalatorio { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-theme="light"] .badge-corticoide-inalatorio { background: #e8f5e9; color: #2e7d32; }

.badge-antileucotrieno { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-antileucotrieno { background: #f1f8e9; color: #33691e; }

.badge-colesterol { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-antileucotrieno { background: #f1f8e9; color: #33691e; }

.badge-mucolitico { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-mucolitico { background: #e0f2f1; color: #00695c; }

.badge-expectorante { background: rgba(45, 212, 191, 0.15); color: #5eead4; }
[data-theme="light"] .badge-expectorante { background: #e0f2f1; color: #004d40; }

.badge-antitussigeno { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
[data-theme="light"] .badge-antitussigeno { background: #eceff1; color: #37474f; }

/* ---------- ANTIHISTAMÍNICOS ---------- */
.badge-antihistaminico { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="light"] .badge-antihistaminico { background: #fff3e0; color: #bf360c; }

.badge-antihistaminico-1g { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
[data-theme="light"] .badge-antihistaminico-1g { background: #fff3e0; color: #e65100; }

.badge-antihistaminico-2g { background: rgba(250, 204, 21, 0.15); color: #fde047; }
[data-theme="light"] .badge-antihistaminico-2g { background: #fff8e1; color: #f57f17; }

.badge-antihistaminico-topico { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-antihistaminico-topico { background: #e1f5fe; color: #0277bd; }

/* ---------- GASTROINTESTINAL ---------- */
.badge-antiacido { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-antiacido { background: #e0f2f1; color: #00695c; }

.badge-antagonista-h2 { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
[data-theme="light"] .badge-antagonista-h2 { background: #e3f2fd; color: #1565c0; }

.badge-antiemetico { background: rgba(52, 211, 153, 0.15); color: #34d399; }
[data-theme="light"] .badge-antiemetico { background: #e8f5e9; color: #2e7d32; }

.badge-procinetico { background: rgba(45, 212, 191, 0.15); color: #5eead4; }
[data-theme="light"] .badge-procinetico { background: #e0f2f1; color: #004d40; }

.badge-antiespasmodico { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-antiespasmodico { background: #f1f8e9; color: #33691e; }

.badge-antiflatulento { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
[data-theme="light"] .badge-antiflatulento { background: #eceff1; color: #37474f; }

.badge-antidiarreico { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-antidiarreico { background: #ffebee; color: #c62828; }

.badge-laxante { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-theme="light"] .badge-laxante { background: #e8f5e9; color: #1b5e20; }

.badge-anti-inflamatorio-intestinal { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
[data-theme="light"] .badge-anti-inflamatorio-intestinal { background: #fff3e0; color: #e65100; }

.badge-enzima-pancreatica { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-enzima-pancreatica { background: #f3e5f5; color: #7b1fa2; }

/* ---------- ANTI-INFECCIOSOS ---------- */
.badge-antiviral { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-antiviral { background: #e1f5fe; color: #01579b; }

.badge-antirretroviral { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-antirretroviral { background: #ede7f6; color: #4527a0; }

.badge-antifungico { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-antifungico { background: #f3e5f5; color: #6a1b9a; }

.badge-antituberculose { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-antituberculose { background: #ffebee; color: #b71c1c; }

.badge-antiparasitario { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-antiparasitario { background: #f1f8e9; color: #33691e; }

.badge-antibiotico-topico { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-antibiotico-topico { background: #e0f2f1; color: #00695c; }

.badge-relaxante { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-antibiotico-topico { background: #e0f2f1; color: #00695c; }

/* ---------- DIABETES ---------- */
.badge-sulfonilureia { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="light"] .badge-sulfonilureia { background: #fff3e0; color: #e65100; }

.badge-glinida { background: rgba(250, 204, 21, 0.15); color: #fde047; }
[data-theme="light"] .badge-glinida { background: #fff8e1; color: #f57f17; }

.badge-biguanida { background: rgba(52, 211, 153, 0.15); color: #34d399; }
[data-theme="light"] .badge-biguanida { background: #e8f5e9; color: #2e7d32; }

.badge-glitazona { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
[data-theme="light"] .badge-glitazona { background: #fce4ec; color: #ad1457; }

.badge-inibidor-alfa-glicosidase { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-inibidor-alfa-glicosidase { background: #f1f8e9; color: #33691e; }

.badge-gliflozina { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
[data-theme="light"] .badge-gliflozina { background: #fce4ec; color: #ad1457; }

.badge-inibidor-dpp4 { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-inibidor-dpp4 { background: #f3e5f5; color: #6a1b9a; }

.badge-agonista-glp1 { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-theme="light"] .badge-agonista-glp1 { background: #e8f5e9; color: #1b5e20; }

.badge-insulina { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-insulina { background: #e1f5fe; color: #0277bd; }

/* ---------- LIPÍDIOS ---------- */
.badge-estatina { background: rgba(250, 204, 21, 0.15); color: #facc15; }
[data-theme="light"] .badge-estatina { background: #fff8e1; color: #f57f17; }

.badge-fibrato { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="light"] .badge-fibrato { background: #fff3e0; color: #e65100; }

.badge-sequestrador-biliar { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-sequestrador-biliar { background: #e0f2f1; color: #00695c; }

.badge-inibidor-pcsk9 { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-inibidor-pcsk9 { background: #ede7f6; color: #4527a0; }

.badge-inibidor-absorcao-colesterol { background: rgba(52, 211, 153, 0.15); color: #34d399; }
[data-theme="light"] .badge-inibidor-absorcao-colesterol { background: #e8f5e9; color: #2e7d32; }

/* ---------- CORTICOIDES ---------- */
.badge-corticoide { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-theme="light"] .badge-corticoide { background: #e8f5e9; color: #2e7d32; }

.badge-corticoide-topico { background: rgba(45, 212, 191, 0.15); color: #5eead4; }
[data-theme="light"] .badge-corticoide-topico { background: #e0f2f1; color: #004d40; }

.badge-corticoide-oftalmico { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-corticoide-oftalmico { background: #e1f5fe; color: #0277bd; }

/* ---------- IMUNOLOGIA / REUMATOLOGIA ---------- */
.badge-imunossupressor { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
[data-theme="light"] .badge-imunossupressor { background: #f3e5f5; color: #6a1b9a; }

.badge-imunomodulador { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-imunomodulador { background: #ede7f6; color: #4527a0; }

.badge-biologico { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-biologico { background: #f3e5f5; color: #7b1fa2; }

.badge-antineoplasico { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-antineoplasico { background: #ffebee; color: #b71c1c; }

/* ---------- HORMÔNIOS ---------- */
.badge-hormonio-tireoidiano { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-hormonio-tireoidiano { background: #e1f5fe; color: #01579b; }

.badge-corticoide-sistemico { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-theme="light"] .badge-corticoide-sistemico { background: #e8f5e9; color: #2e7d32; }

.badge-anabolizante { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-anabolizante { background: #ffebee; color: #b71c1c; }
.badge-gastrico { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-anabolizante { background: #ffebee; color: #b71c1c; }

.badge-contraceptivo { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
[data-theme="light"] .badge-contraceptivo { background: #fce4ec; color: #ad1457; }

.badge-análogo-vasopressina { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
[data-theme="light"] .badge-análogo-vasopressina { background: #e0f7fa; color: #006064; }

/* ---------- OFTALMOLOGIA ---------- */
.badge-antiglaucomatoso { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-antiglaucomatoso { background: #e1f5fe; color: #0277bd; }

.badge-lubrificante-ocular { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-lubrificante-ocular { background: #e1f5fe; color: #01579b; }

.badge-Disfunção { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-Disfunção { background: #ffebee; color: #c62828; }

/* ---------- OSTEOPOROSE ---------- */
.badge-bisfosfonato { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-bisfosfonato { background: #e0f2f1; color: #00695c; }

.badge-broncodilatador { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
[data-theme="light"] .badge-bisfosfonato { background: #e0f2f1; color: #00695c; }

/* ---------- DERMATOLOGIA ---------- */
.badge-retinoide { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="light"] .badge-retinoide { background: #fff3e0; color: #bf360c; }

.badge-anti-hipertensivo { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="light"] .badge-retinoide { background: #fff3e0; color: #bf360c; }

.badge-antifungico-topico { background: rgba(217, 70, 239, 0.15); color: #e879f9; }
[data-theme="light"] .badge-antifungico-topico { background: #f3e5f5; color: #6a1b9a; }

/* ---------- ANTICOLINÉRGICOS ---------- */
.badge-anticolinergico { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
[data-theme="light"] .badge-anticolinergico { background: #eceff1; color: #37474f; }

/* ---------- ANOREXÍGENOS ---------- */
.badge-anorexigeno { background: rgba(250, 204, 21, 0.15); color: #fde047; }
[data-theme="light"] .badge-anorexigeno { background: #fffde7; color: #f57f17; }

/* ---------- FITOTERÁPICOS / SUPLEMENTOS ---------- */
.badge-fitoterapico { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-fitoterapico { background: #f1f8e9; color: #33691e; }

.badge-vitamina { background: rgba(250, 204, 21, 0.15); color: #fde047; }
[data-theme="light"] .badge-vitamina { background: #fff8e1; color: #f57f17; }

.badge-suplemento { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
[data-theme="light"] .badge-suplemento { background: #eceff1; color: #37474f; }

/* ---------- OUTROS ---------- */
.badge-antidoto { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-antidoto { background: #ffebee; color: #b71c1c; }

.badge-antifibrinolítico { background: rgba(190, 24, 93, 0.15); color: #f472b6; }
[data-theme="light"] .badge-antifibrinolítico { background: #fce4ec; color: #880e4f; }

.badge-anti-histaminico { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="light"] .badge-anti-histaminico { background: #fff3e0; color: #bf360c; }

.badge-inibidor-integrase { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="light"] .badge-inibidor-integrase { background: #ede7f6; color: #4527a0; }

.badge-itrn { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-itrn { background: #e1f5fe; color: #01579b; }

.badge-análogo-nucleosídeo { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
[data-theme="light"] .badge-análogo-nucleosídeo { background: #e0f7fa; color: #006064; }

.badge-antagonista-receptor { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
[data-theme="light"] .badge-antagonista-receptor { background: #f3e5f5; color: #6a1b9a; }

.badge-agonista-receptor { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-theme="light"] .badge-agonista-receptor { background: #e8f5e9; color: #1b5e20; }

.badge-inibidor-enzima { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
[data-theme="light"] .badge-inibidor-enzima { background: #fff8e1; color: #f57f17; }

.badge-antagonista-calcio { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
[data-theme="light"] .badge-antagonista-calcio { background: #e1f5fe; color: #0277bd; }

.badge-antiarritmico { background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="light"] .badge-antiarritmico { background: #ffebee; color: #c62828; }

.badge-inotropico { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
[data-theme="light"] .badge-inotropico { background: #fce4ec; color: #880e4f; }

.badge-miorrelaxante { background: rgba(132, 204, 22, 0.15); color: #a3e635; }
[data-theme="light"] .badge-miorrelaxante { background: #f1f8e9; color: #33691e; }




