/* HEADER REBUILD — scoped, no layout break */

.hub-top-header {
  background: #fff;
  color: #111;
  border-bottom: 1px solid #ddd;
  box-shadow: none;
  backdrop-filter: none;
}

.hub-top-header__inner {
  background: transparent;
}

.hub-brand {
  color: #111;
  text-decoration: none;
}

.hub-brand:hover {
  color: #111;
  text-decoration: underline;
}

.hub-search-ph {
  color: #555;
  opacity: 1;
}

.hub-top-actions {
  opacity: 1;
}

.hub-top-actions .hub-link-pill,
.hub-top-actions .hub-lang-pill,
.hub-top-actions .btn-create {
  color: #111;
  background: transparent;
  border: 1px solid #bbb;
  box-shadow: none;
  text-decoration: none;
  opacity: 1;
}

.hub-top-actions .hub-link-pill::before,
.hub-top-actions .hub-link-pill::after,
.hub-top-actions .hub-lang-pill::before,
.hub-top-actions .hub-lang-pill::after,
.hub-top-actions .btn-create::before,
.hub-top-actions .btn-create::after {
  display: none;
  content: none;
}

.hub-top-actions .hub-link-pill:hover,
.hub-top-actions .hub-lang-pill:hover,
.hub-top-actions .btn-create:hover {
  color: #111;
  background: #f5f5f5;
  text-decoration: none;
  filter: none;
}

.profile-alert-dot {
  color: #111;
  background: transparent;
  border: 0;
}

/* MOBILE HEADER — keep only brand + language switcher */
@media (max-width: 899px) {
  .hub-top-header .hub-search-ph,
  .hub-top-header .hub-link-pill,
  .hub-top-header .btn-create {
    display: none !important;
  }

  .hub-top-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .hub-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hub-top-actions .hub-lang-pill {
    display: inline-flex !important;
  }
}

/* MOBILE HEADER FINAL: brand + language only */
@media (max-width: 899px) {
  body .hub-top-header .hub-search-ph,
  body .hub-top-header .hub-top-actions .hub-link-pill,
  body .hub-top-header .hub-top-actions .btn-create {
    display: none !important;
  }

  body .hub-top-header .hub-top-actions {
    display: flex !important;
    margin-left: auto !important;
  }

  body .hub-top-header .hub-top-actions .hub-lang-pill,
  body .hub-top-header .hub-top-actions .hub-lang-toggle {
    display: inline-flex !important;
  }

  body .hub-top-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}
