/* Header fijo — 1090×60 (frames Figma: Header) */
.header {
  position: fixed; top: 0; left: var(--sidebar-w); right: 0; z-index: 30;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: center; padding: 0 31px;
  background: var(--c-header);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-header);
}

.searchbar {
  position: relative; display: flex; align-items: center; gap: 10px;
  width: 588.8px; height: 39px; padding: 0 16px; flex: none;
  background: var(--c-canvas); border: 1px solid var(--c-border-search); border-radius: 22px;
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.04);
  filter: drop-shadow(0 2px 3.5px rgba(0, 0, 0, 0.03));
  transition: border-color .15s ease, box-shadow .15s ease;
}
.searchbar img { flex: none; margin-right: -1px; }
.searchbar:hover { border-color: #d5d9de; }
.searchbar:focus-within { border-color: var(--c-badge); box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.04), 0 0 0 3px rgba(9, 151, 99, 0.2); }
.searchbar__input {
  flex: 1; min-width: 0; height: 18px; padding: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 12px; font-weight: var(--fw-regular); color: var(--c-ink-strong);
}
.searchbar__input::placeholder { color: var(--c-placeholder); opacity: 1; }
.searchbar__input::-webkit-search-cancel-button { display: none; }

/* Acciones a la derecha: x=953 (alineadas al borde interior derecho) */
.header__actions { position: absolute; right: 31px; top: 12px; display: flex; align-items: center; gap: 13px; }
.header__bell {
  position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  transition: background-color .15s ease;
}
.header__bell:hover { background: rgba(0, 0, 0, 0.05); }
.header__bell-dot {
  position: absolute; left: 16px; top: 1px; width: 11px; height: 11px; border-radius: 5.5px;
  background: var(--c-orange-notif); border: 2px solid #fff;
}
.header__account { display: block; border-radius: 50%; }
.header__avatar {
  display: grid; place-items: center; width: 35px; height: 35px; border-radius: 17.5px;
  background: var(--c-peach); filter: drop-shadow(0 2px 2.5px rgba(0, 0, 0, 0.12));
  font-size: 12px; line-height: 18px; font-weight: var(--fw-semibold); color: #252725;
  transition: filter .15s ease;
}
.header__account:hover .header__avatar { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); }
.header__chevron { flex: none; }
