/**
 * Alerta tipo toast — pesquisa de reserva não concluída
 */
.ci-bba-toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 99990;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: min(92vw, 400px);
  min-height: 112px;
  background: #0d1117;
  color: #f6f8fa;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  animation: ci-bba-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ci-bba-in {
  from {
    opacity: 0;
    transform: translate3d(12px, 8px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.ci-bba-toast__media {
  width: 112px;
  min-width: 112px;
  flex-shrink: 0;
  background: #1c2128;
}

.ci-bba-toast__media img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  display: block;
}

.ci-bba-toast__body {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 2.25rem 0.75rem 0.85rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.ci-bba-toast__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ci-bba-toast__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ci-bba-toast__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding-right: 0.25rem;
}

.ci-bba-toast__sub {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ci-bba-toast__meta {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.ci-bba-toast__name {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ci-bba-toast__cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0d1117;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.ci-bba-toast__cta:hover {
  background: #e6e6e6;
  color: #000;
}

@media (max-width: 420px) {
  .ci-bba-toast {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
  .ci-bba-toast__media {
    width: 96px;
    min-width: 96px;
  }
}
