/* Estilos complementarios: bolsa lateral, distintivo de la bolsa y aviso flotante.
   Los colores salen de las variables definidas en styles.css */

.cz-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 28, 38, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cz-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  background: var(--background);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

body.cz-drawer-open .cz-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.cz-drawer-open .cz-drawer {
  transform: translateX(0);
}

.cz-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.cz-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 60;
  padding: 0.7rem 1.2rem;
  background: var(--abyss);
  color: var(--abyss-foreground);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cz-toast.cz-toast-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Descripción en varios párrafos */
.cz-desc {
  white-space: pre-line;
}
