/* Estilos para o sininho de notificações no frontend */
#awf-bell-wrapper {
  /* Posiciona o sininho no canto superior direito da tela.  */
  position: fixed;
  top: 22px;
  right: 28px;
  bottom: auto;
  left: auto;
  z-index: 9999;
  font-family: inherit;
  display: none; /* escondido por padrão até que JS o exiba */
}
#awf-bell {
  background: transparent;
  color: #ffffff;
  border: none;
  border-radius: 0;
  width: 22px;
  height: 22px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
  padding: 0;
  outline: none;
}
#awf-count {
  position: absolute;
  top: -7px;
  right: -10px;
  background: #e74c3c;
  color: #ffffff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  display: none;
  line-height: 1;
}
#awf-dropdown {
  position: absolute;
  top: 34px;
  right: -8px;
  width: 300px;
  max-height: 360px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  font-size: 14px;
  display: none;
}
#awf-dropdown .awf-title {
  padding: 10px 14px;
  border-bottom: 1px solid #eeeeee;
  font-weight: bold;
  background: #f9f9f9;
}
#awf-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#awf-dropdown li {
  padding: 10px 14px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#awf-dropdown li.awf-unseen {
  font-weight: bold;
}
#awf-dropdown li.awf-seen {
  color: #666666;
}
#awf-dropdown li:last-child {
  border-bottom: none;
}
.awf-item-date {
  font-size: 11px;
  color: #999999;
  margin-left: 8px;
}
#awf-dropdown .awf-link {
  display: block;
  text-align: center;
  padding: 10px;
  background: #f7f7f7;
  color: #009ac7;
  text-decoration: none;
  border-top: 1px solid #eeeeee;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Estilos para a página de notificações via shortcode */
.awf-notifications-page ul.awf-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.awf-notifications-page li {
  margin-bottom: 10px;
  line-height: 1.4;
}
.awf-page-unseen {
  font-weight: bold;
}
.awf-page-date {
  font-size: 12px;
  color: #999999;
  margin-left: 6px;
}

/* Aparência do sino quando não há notificações não lidas */
#awf-bell-wrapper.awf-read #awf-bell {
  opacity: 0.72;
}
#awf-bell-wrapper.awf-read #awf-count {
  display: none;
}
#awf-bell-wrapper.awf-unread #awf-bell {
  opacity: 1;
  background: transparent;
  color: #ffffff;
}
#awf-bell-wrapper.awf-unread #awf-count {
  display: inline-block;
}
#awf-bell:hover{ transform: translateY(-1px); }
@media (max-width: 640px){
  #awf-bell-wrapper{ top: 20px; right: 18px; }
}
