/* iFeedeBook live social enhancements
   No reemplaza header/buscador/notificaciones. Solo suma comportamiento.
*/
.post-content {
  padding: 15px 18px 0px 18px !important;
  line-height: 1.45 !important;
  white-space: pre-wrap !important;
}

.post-content:has(.ifb-youtube-retro-embed-card) {
  line-height: .36 !important;
}
.ifb-mention-link {
  color: #3b5998 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}
.ifb-mention-link:hover { text-decoration: underline !important; }
.ifb-composer-icon-row { margin: 5px 0 6px; }
.ifb-composer-icon-button {
  background: #edeff4 !important;
  border: 1px solid #b3bdd2 !important;
  color: #3b5998 !important;
  font-weight: bold !important;
  padding: 4px 8px !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 12px !important;
}
#ifbComposerIconPicker {
  position: absolute;
  z-index: 99999;
  width: 245px;
  padding: 7px;
  background: #f7f7f7;
  border: 2px solid #1d2a5b;
  box-shadow: 3px 3px 0 rgba(0,0,0,.22);
  color: #1c2a47;
}
#ifbComposerIconPicker.hidden { display: none !important; }
.ifb-composer-picker-title {
  background: #d8dfea;
  border: 1px solid #b3bdd2;
  color: #3b5998;
  font-weight: bold;
  padding: 5px 7px;
  margin-bottom: 7px;
}
.ifb-composer-icon-choice {
  float: left;
  width: 29px !important;
  height: 29px !important;
  margin: 2px !important;
  padding: 0 !important;
  text-align: center !important;
  line-height: 27px !important;
  background: #fff !important;
  border: 1px solid #aebbd4 !important;
  color: #2d4373 !important;
  font-size: 15px !important;
  font-weight: bold !important;
}
.ifb-post-social-trigger {
  cursor: help;
  border-bottom: 1px dotted #999;
}

#ifbSocialTooltip {
  position: absolute;
  z-index: 99998;
  width: 285px;
  background: #fff;
  border: 1px solid #1d2a5b;
  box-shadow: 2px 2px 0 rgba(0,0,0,.22);
  color: #1c2a47;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11px;
}
#ifbSocialTooltip.hidden { display: none !important; }
.ifb-social-tooltip-title {
  background: #d8dfea;
  border-bottom: 1px solid #b3bdd2;
  color: #3b5998;
  font-weight: bold;
  padding: 6px 8px;
}
.ifb-social-tooltip-body { padding: 7px 8px; }
.ifb-social-tooltip-section { margin-bottom: 8px; }
.ifb-social-tooltip-section b { color: #3b5998; }
.ifb-social-mini-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 5px;
  align-items: start;
  padding: 4px 0;
  border-top: 1px solid #edf0f5;
}
.ifb-social-mini-item img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border: 1px solid #999;
  background: #d8dfea;
}
.ifb-social-more-button {
  background: transparent !important;
  border: 0 !important;
  color: #3b5998 !important;
  padding: 2px 0 !important;
  font-weight: bold !important;
}
.ifb-create-page-separator {
  border-top: 1px solid #d8dfea;
  margin: 8px 0 7px;
  padding-top: 7px;
}
.ifb-create-page-button {
  width: 100%;
  text-align: left;
  background: #edeff4 !important;
  border: 1px solid #b3bdd2 !important;
  color: #3b5998 !important;
  font-weight: bold !important;
}
#ifbCreatePagePanel {
  margin-top: 7px;
  border: 1px solid #b3bdd2;
  background: #f7f7f7;
}
#ifbCreatePagePanel.hidden { display: none !important; }
.ifb-create-page-head {
  background: #d8dfea;
  border-bottom: 1px solid #b3bdd2;
  color: #3b5998;
  font-weight: bold;
  padding: 5px 7px;
}
.ifb-create-page-body { padding: 7px; }
.ifb-create-page-body label {
  display: block;
  margin: 5px 0 2px;
  color: #333;
  font-weight: bold;
}
.ifb-create-page-body input,
.ifb-create-page-body textarea {
  width: 100%;
  font-size: 11px;
}
.ifb-create-page-actions { margin-top: 7px; }
.ifb-live-notif-flash { animation: ifbNotifFlash 1.2s ease-in-out 1; }
@keyframes ifbNotifFlash {
  0% { box-shadow: 0 0 0 rgba(255,255,255,0); }
  25% { box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
  100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
}
@media (max-width: 640px) {
  #ifbSocialTooltip {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
  }
  #ifbComposerIconPicker {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
  }
}
