/* iFeedeBook - V7 notifications toast + read on close */

/*
  Corrige:
  - Toast flotante chico, no full width.
  - Max width 150px.
  - Compacto estilo MSN.
  - No toca redondeos globales.
*/

#ifbMsnToastStack {
  position: fixed !important;
  left: auto !important;
  right: 10px !important;
  bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  z-index: 2147483600 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: flex-end !important;
  width: auto !important;
  max-width: 150px !important;
}

.ifb-msn-toast {
  pointer-events: auto !important;
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  min-height: 48px !important;
  padding: 6px !important;
  border: 1px solid #244985 !important;
  border-radius: 4px !important;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.98), rgba(226,233,247,.98)) !important;
  box-shadow:
    0 5px 16px rgba(0,0,0,.28),
    inset 0 1px rgba(255,255,255,.9) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 5px !important;
  color: #1c2a47 !important;
  font-family: Tahoma, Arial, sans-serif !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  overflow: hidden !important;
  animation: ifbMsnToastInV7 .18s ease-out both, ifbMsnToastOutV7 .36s ease-in 4.8s forwards !important;
}

.ifb-msn-toast img {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  border: 1px solid #9aa8bc !important;
  object-fit: cover !important;
  background: #fff !important;
  margin: 0 !important;
}

.ifb-msn-toast-copy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.ifb-msn-toast-title {
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: bold !important;
  color: #244985 !important;
  margin: 0 0 1px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ifb-msn-toast-desc {
  font-size: 10px !important;
  line-height: 12px !important;
  color: #1c2a47 !important;
  max-height: 24px !important;
  overflow: hidden !important;
}

@keyframes ifbMsnToastInV7 {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ifbMsnToastOutV7 {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(12px) scale(.98); }
}
