/* Reusable brand design. Colors come only from tokens.css. Used by the login page, the sidebar and the dashboard. */

/* ---- Logo (img/logo.png is a round logo; keep it round, never stretch) ---- */
.brand-logo { display: block; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-surface); object-fit: cover; }
.brand-logo--sm { width: 36px; height: 36px; }
.brand-logo--lg { width: 88px; height: 88px; box-shadow: var(--shadow-lg); }
.brand-lockup { display: inline-flex; align-items: center; gap: var(--sp-3); font-weight: 700; font-size: var(--fs-lg); letter-spacing: 0.01em; }

/* ---- Purple brand surface: gradient with soft rings, same look on the login panel ---- */
.brand-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-on-primary);
  background: var(--g-brand);
}
.brand-surface::before,
.brand-surface::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border-radius: 50%;
  border: 28px solid var(--c-wash-1);
}
.brand-surface::before { width: 460px; height: 460px; right: -170px; top: -150px; }
.brand-surface::after { width: 300px; height: 300px; right: 40px; bottom: -190px; border-width: 18px; }
.brand-surface--quiet::before, .brand-surface--quiet::after { display: none; }

/* ---- Aurora: bright purple light ribbons drifting inside a brand surface (decorative, paused for reduced motion) ---- */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute; border-radius: 50%;
  filter: blur(38px); opacity: 0.8; mix-blend-mode: screen;
  will-change: transform;
}
.aurora__blob--1 { width: 46%; height: 150%; left: -8%; top: -25%; background: var(--c-aurora-1); animation: aurora-a 2.6s ease-in-out infinite alternate; }
.aurora__blob--2 { width: 40%; height: 140%; left: 28%; top: -20%; background: var(--c-aurora-2); animation: aurora-b 3.4s ease-in-out infinite alternate; }
.aurora__blob--3 { width: 34%; height: 120%; left: 56%; top: -10%; background: var(--c-aurora-3); animation: aurora-c 2.9s ease-in-out infinite alternate; }
.aurora__blob--4 { width: 36%; height: 130%; right: -8%; top: -15%; background: var(--c-aurora-4); animation: aurora-d 3.9s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-aurora-scrim) 0%, var(--c-aurora-scrim) 25%, transparent 68%); }
@keyframes aurora-a { from { transform: translate(-10%, 0) rotate(-8deg) scaleX(0.9); } to { transform: translate(90%, 10%) rotate(14deg) scaleX(1.4); } }
@keyframes aurora-b { from { transform: translate(20%, 6%) rotate(10deg) scaleX(1.2); } to { transform: translate(-80%, -8%) rotate(-16deg) scaleX(0.8); } }
@keyframes aurora-c { from { transform: translate(-30%, -4%) rotate(-6deg) scaleX(1); } to { transform: translate(70%, 12%) rotate(16deg) scaleX(1.45); } }
@keyframes aurora-d { from { transform: translate(10%, 0) rotate(8deg) scaleX(1.1); } to { transform: translate(-100%, 8%) rotate(-14deg) scaleX(0.85); } }
@media (prefers-reduced-motion: reduce) { .aurora__blob { animation: none; } }

