/* Elmaura bar (top of every page). Classes start with "eb-". */
.elmaura-bar { position: sticky; top: 0; z-index: 99990; background: #0b3d2e; color: #fff; font-family: inherit; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.admin-bar .elmaura-bar { top: 32px; }
.eb-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 14px; min-height: 52px; position: relative; }
.eb-brand { color: #fff !important; font-weight: bold; font-size: 18px; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.eb-links { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.eb-links::-webkit-scrollbar { display: none; }
.eb-right { display: flex; align-items: center; gap: 4px; margin-left: auto; position: static; }
.eb-link { display: inline-flex; align-items: center; gap: 7px; color: #d8efe6 !important; text-decoration: none !important; padding: 8px 12px; border-radius: 8px; white-space: nowrap; position: relative; line-height: 1.2; }
.eb-link:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.eb-link.is-current { background: rgba(255,255,255,.2); color: #fff !important; font-weight: bold; }
.eb-cta { background: #fff; color: #0b3d2e !important; font-weight: bold; }
.eb-cta:hover { background: #e6f3ee; color: #0b3d2e !important; }
.eb-ico { flex: 0 0 auto; }
.eb-badge { background: #d32f2f; color: #fff; border-radius: 10px; font-size: 11px; font-weight: bold; padding: 1px 7px; line-height: 1.4; }
.eb-bell { position: relative; background: none; border: 0; color: #d8efe6; padding: 8px 10px; border-radius: 8px; cursor: pointer; display: inline-flex; }
.eb-bell:hover, .eb-bell[aria-expanded="true"] { background: rgba(255,255,255,.14); color: #fff; }
.eb-badge-bell { position: absolute; top: 1px; right: 0; }
.eb-badge[hidden] { display: none; }

.eb-panel { position: absolute; right: 16px; top: 100%; width: 360px; max-width: calc(100vw - 24px); background: #fff; color: #222; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.28); overflow: hidden; z-index: 99999; }
.eb-panel[hidden] { display: none; }
.eb-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #e8f1ec; }
.eb-readall { background: none; border: 0; color: #0b6b4f; font-size: 13px; text-decoration: underline; cursor: pointer; }
.eb-list { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.eb-list li { border-bottom: 1px solid #eef5f1; }
.eb-empty { padding: 18px 16px; color: #6a7a74; font-size: 14px; }
.eb-item { display: block; width: 100%; text-align: left; background: #fff; border: 0; padding: 10px 16px; cursor: pointer; font: inherit; color: inherit; }
.eb-item:hover { background: #f4faf7; }
.eb-item.is-unread { background: #f4faf7; border-left: 4px solid #0b6b4f; padding-left: 12px; }
.eb-item strong { display: block; font-size: 14px; color: #0b3d2e; }
.eb-item span { display: block; font-size: 13px; color: #555; margin-top: 2px; }
.eb-item small { display: block; font-size: 11px; color: #8a9a94; margin-top: 3px; }
.eb-seeall { display: block; text-align: center; padding: 11px; font-size: 14px; background: #f4faf7; color: #0b6b4f !important; text-decoration: none; font-weight: bold; }

@media (max-width: 720px) {
  .eb-brand { display: none; }
  .eb-inner { gap: 4px; padding: 0 8px; }
  .eb-link { padding: 8px; }
  .eb-link .eb-text { font-size: 12px; }
  .eb-link:not(.is-current):not(.eb-cta) .eb-text { display: none; }
  .eb-out .eb-text { display: none; }
  .eb-panel { right: 8px; }
}
@media (max-width: 782px) { .admin-bar .elmaura-bar { top: 46px; } }
