/* -----------------------------------------------
App Header
----------------------------------------------- */

// Container
.b-app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  display: flex;
  width: 100%;
  height: 60px;
  justify-content: space-between;
  align-items: center;
  background: #0e589a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  z-index: 300;
}

.b-app-header-primary {
  display: flex;
  align-items: center;
}

// Nav Toggle
.b-app-header-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  &:focus {
    outline: none;
  }
  @media screen and (max-width: 1140px) {
    display: inline-flex;
  }
}

// Logo, Icon, Title
.b-app-header-logo {
  display: flex;
  align-items: center;
  position: relative;
  height: 60px;
  text-decoration: none;
}

.b-app-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 59px;
  background: #004d8e;
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  @media screen and (max-width: 1140px) {
    display: none;
  }
}

.b-app-header-company {
  display: inline-block;
  flex: 0 0 auto;
  width: 8rem;
  height: auto;
  vertical-align: middle;
  margin-left: 1rem;
  padding-right: 0.5rem;
  border-right: 1px solid #aaa;
  color: #fff;
  fill: currentColor;
  stroke: none;
  @media screen and (max-width: 1024px) {
    display: none;
  }
}

.b-app-header-title {
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-left: 1rem;
  font-size: 1rem;
  font-weight: bold;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 1px;
}

// App Header: Secondary
.b-app-header-secondary {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

// App Header: Upsell
.b-app-header-upsell {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.b-app-header-upsell-text {
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}

.b-app-header-upsell-btn-coaching {
  background-color: rgb(242, 176, 36) !important;
  border-color: rgb(242, 176, 36) !important;
  color: #fff !important;
}

// Universal Menu Toggle
.b-universal-menu-toggle {
  margin-right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
}

// Theme: Light
.b-app-header-light {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  .b-app-header-icon {
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
  }
  .b-icon {
    color: #174071 !important;
    fill: #174071 !important;
    stroke: #174071 !important;
  }
  .b-app-header-company {
    color: #174071;
    fill: currentColor;
    border-right-color: rgba(0, 0, 0, 0.15);
  }
  .b-app-header-title {
    color: #174071;
  }
  .b-user-menu-name {
    color: #174071;
  }
  .b-app-header-upsell-text {
    color: #174071;
  }
}
