.toolbar-menu-wrapper {
  position: static;
  z-index: 10001;
}

.topbar-link-step-btn {
  margin-left: 16px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid #1f8f6a;
  background: rgba(19, 122, 85, 0.18);
  color: #d7f6e8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.topbar-link-step-btn:hover {
  background: rgba(19, 122, 85, 0.28);
  border-color: #28b07f;
}

.topbar-link-step-btn.is-hidden {
  display: none;
}

.topbar-link-step-btn.disabled,
.topbar-link-step-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #4c5660;
  background: rgba(51, 57, 66, 0.45);
  color: #aeb8c2;
  box-shadow: none;
}

.topbar-link-step-btn.disabled:hover,
.topbar-link-step-btn:disabled:hover {
  background: rgba(51, 57, 66, 0.45);
  border-color: #4c5660;
}

.topbar-link-cancel-btn {
  margin-left: 8px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #5a6470;
  background: rgba(21, 27, 35, 0.78);
  color: #d8e1ea;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.topbar-link-cancel-btn:hover {
  background: rgba(45, 52, 62, 0.92);
  border-color: #8793a0;
}

.topbar-link-cancel-btn.is-hidden {
  display: none;
}

.topbar-link-flow-note {
  margin-left: 12px;
  color: #f0a43a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.topbar-link-flow-note.is-hidden {
  display: none;
}

/*
.toolbar-menu-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 20px;
  cursor: pointer;
}*/
/*
.toolbar-menu-btn:hover {
  color: #fff;
}
*/
/* Modal */
.toolbar-menu-modal {
  position: fixed;
  right: 10px;
  top: 62px;
  width: 180px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);

  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all .15s ease;
  z-index: 10002;
}

.toolbar-menu-modal.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toolbar-menu-modal ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.toolbar-menu-modal li {
  padding: 8px 12px;
  font-size: 14px;
  color: #e5e7eb;
  cursor: pointer;
}

.toolbar-menu-modal li:hover {
  background: #374151;
}

/*  noty  */

/* Solo afecta a elementos que empiecen con et- */
.et-notif-wrapper { position: relative; display: inline-block; }

.et-bell-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 5px;
    position: relative;
}

/* style.css */
.is-hidden { 
    display: none !important; 
}

/* Estilo de la burbuja (badge) */
.et-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
    /* No le pongas display: none aquí, lo manejaremos por JS */
}

.et-modal {
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    background: #242b31;
    border: 1px solid #3d444b;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;
}

.et-modal-header {
    padding: 10px;
    border-bottom: 1px solid #3d444b;
    color: #95a5a6;
    font-size: 12px;
}

.et-modal-body {
    padding: 15px;
    color: #ecf0f1;
    max-height: 300px;
    overflow-y: auto;
}

/* Regla de 2026 para bloqueo [cite: 2026-01-05] */
.is-disabled .et-bell-btn {
    opacity: 0.3;
    pointer-events: none;
}

/* style.css */
.notif-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #3d444b;
    font-size: 13px;
}

.notif-row:hover {
    background: #2c343a;
}

.notif-time {
    display: block;
    font-size: 10px;
    color: #7f8c8d;
}

.btn-del {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
}

/* style.css */
.notif-row {
    transition: background 0.3s ease;
}

/* Estado para mensajes no leídos */
.notif-row.is-unread {
    background: rgba(30, 144, 255, 0.05); /* Un fondo azul muy tenue */
    border-left: 3px solid #1e90ff;       /* Barra lateral azul brillante */
}

/* Hover para que se sienta interactivo */
.notif-row:hover {
    background: rgba(255, 255, 255, 0.05);
}
