/* Lärry central frontend header */

.laerry-topbar {
  z-index: 1030;
}

.navbar a {
  text-decoration: none;
  color: var(--primary, #5a4ff3) !important;
}

.laerry-topbar .navbar-brand {
  font-family: var(--font-display, "Plus Jakarta Sans", "Inter", system-ui, sans-serif);
  letter-spacing: -.04em;
  font-weight: 800;
}

.laerry-topbar-light {
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(23,32,51,.07);
  backdrop-filter: blur(18px);
}

.laerry-topbar-light .navbar-brand {
  color: var(--primary, #5a4ff3) !important;
}

.laerry-topbar-glass {
  background: rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
}

.laerry-topbar-glass .navbar-brand {
  color: #fff !important;
}

.navbar a {
  color: #fff !important;
}

.laerry-topbar .btn {
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -.025em;
}

.laerry-topbar .btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}

.laerry-topbar .btn-ghost:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
}

.laerry-user-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 38px;
  padding: .25rem .65rem .25rem .25rem;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--ink, #172033);
  font-weight: 850;
  letter-spacing: -.02em;
  box-shadow: 0 .5rem 1.5rem rgba(23,32,51,.08);
}

.laerry-topbar-glass .laerry-user-button {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: none;
}

.laerry-avatar {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.75), transparent 1.1rem),
    linear-gradient(135deg, #5a4ff3, #00cec9);
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
}

.laerry-user-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.laerry-user-menu .dropdown-menu {
  min-width: 240px;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 1.1rem;
  padding: .55rem;
  box-shadow: 0 1rem 3rem rgba(23,32,51,.14);
}

.laerry-user-menu .dropdown-header {
  display: grid;
  gap: .12rem;
  padding: .65rem .75rem;
  color: var(--ink, #172033);
}

.laerry-user-menu .dropdown-header strong {
  font-weight: 900;
}

.laerry-user-menu .dropdown-header span,
.laerry-user-menu .dropdown-header small {
  color: var(--muted, #6c7482);
  font-size: .82rem;
}

.laerry-user-menu .dropdown-item {
  border-radius: .75rem;
  font-weight: 750;
  padding: .55rem .75rem;
}


/* Premium CTA */
.header-premium {
  background: linear-gradient(135deg, #6a5cff, #8b7bff);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.header-premium:hover { opacity: 0.9; }

.btn-premium-main {
  background: linear-gradient(135deg, #6a5cff, #8b7bff);
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
}
.cta-sub {
  margin-top: 0.4rem;
  color: #777;
  font-size: 0.9rem;
  font-weight: 600;
}

.register-skip {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}
.register-skip a {
  color: #666;
  text-decoration: underline;
}
.register-warning {
  margin-top: 0.3rem;
  color: #999;
  font-size: 0.8rem;
}
