/**
 * Thunder EV Charging Hub — unified logo + wordmark (all pages)
 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'BatmanForeverAlternate', 'Batman Forever', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.brand-thunder {
  color: #1d4ed8;
  letter-spacing: -1px;
}

.brand-ev {
  color: #ff6600 !important;
  font-weight: 900;
  padding: 0 2px;
}

.brand-charging {
  color: #1d4ed8;
  font-size: 0.85rem;
  letter-spacing: 1px;
  align-self: flex-end;
  margin-bottom: 3px;
}

.brand .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.35));
}

.brand:hover .logo-icon {
  transform: scale(1.06);
  transition: transform 0.2s ease;
}

.brand--compact {
  font-size: 1.05rem;
  gap: 0.35rem;
}

.brand--compact .brand-charging {
  font-size: 0.72rem;
}

.brand--compact .logo-icon {
  transform: scale(0.72);
}

.brand--sidebar {
  font-size: 0.95rem;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.brand--sidebar .brand-charging {
  font-size: 0.62rem;
}

.brand--sidebar-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.brand--sidebar-wrap .tev-sidebar-brand-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-left: 2.4rem;
}

.tev-assoc-sidebar__brand .brand--sidebar-wrap .tev-sidebar-brand-tag {
  color: #94a3b8;
}

.tev-nav-logo-slot .brand--compact {
  font-size: 0.9rem;
}

.tev-assoc-topbar .tev-nav-logo-slot .brand--compact {
  font-size: 0.82rem;
}

.tev-assoc-topbar .brand--compact .logo-icon {
  transform: scale(0.65);
}

/* Top-right home: house icon only */
a.tev-nav-home.tev-nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.55rem;
  border-radius: 99px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

a.tev-nav-home.tev-nav-logo:hover {
  background: #dbeafe;
  transform: scale(1.03);
}

a.tev-nav-home.tev-nav-logo .tev-home-icon {
  display: block;
  pointer-events: none;
  flex-shrink: 0;
}

.tev-mp-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* —— Site header: logo + wordmark always top-left —— */
.tev-mp-nav,
.tev-subnav,
.hero .nav,
.tev-admin-topbar,
.tev-assoc-topbar {
  justify-content: space-between !important;
  align-items: center;
}

.tev-mp-nav > a.brand,
.tev-mp-nav__brand,
.tev-mp-nav .tev-cpo-nav-left,
.tev-subnav__left,
.hero .nav > a.brand,
.tev-admin-topbar-brand,
.tev-brand-sidebar,
.tev-assoc-sidebar__brand {
  flex-shrink: 0;
  margin-right: auto;
  justify-content: flex-start;
  text-align: left;
}

.tev-mp-nav__brand,
.tev-mp-nav .tev-cpo-nav-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.tev-mp-nav__actions,
.tev-subnav__right,
.tev-admin-topbar-actions,
.tev-assoc-topbar__actions {
  margin-left: auto;
  flex-shrink: 0;
}

.tev-subnav__center {
  flex: 1 1 auto;
  min-width: 0;
  pointer-events: none;
}

.tev-subnav__center .tev-subnav-pill {
  pointer-events: auto;
}

@media (max-width: 520px) {
  body.tev-marketplace-page .tev-mp-nav,
  body.tev-customer-portal .tev-mp-nav {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  body.tev-marketplace-page .tev-mp-nav__actions,
  body.tev-customer-portal .tev-mp-nav__actions {
    width: auto !important;
    justify-content: flex-end !important;
  }
}

.tev-assoc-topbar__actions .tev-nav-home.tev-nav-logo {
  margin-left: 0.25rem;
}

/* Sidebar quick home (replaces duplicate compact brand) */
.sidebar-menu a.tab.v-tab.tev-nav-home,
#sidebar-nav a.tev-nav-home.tev-nav-logo {
  width: fit-content;
  margin-bottom: 0.15rem;
}
