/* Auth marketing panel — aligned with BlazorWebsite brand palette */

.auth-marketing-panel {
  --auth-bg: #000000;
  --auth-panel: #100e14;
  --auth-purple: #6a4b91;
  --auth-purple-deep: #4b2e6f;
  --auth-purple-glow: rgba(106, 75, 145, 0.45);
  --auth-text: #f7f5fb;
  --auth-muted: #b7aec8;
  --auth-accent: #fad02c;
  --auth-accent-soft: rgba(250, 208, 44, 0.14);

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 3.5rem 1.5rem;
  color: var(--auth-text);
  order: 2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, var(--auth-purple-glow), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(75, 46, 111, 0.35), transparent 50%),
    linear-gradient(160deg, #140f1c 0%, var(--auth-bg) 42%, #0a0610 100%);
}

.auth-marketing-panel__glow {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(106, 75, 145, 0.28), transparent 70%);
  pointer-events: none;
}

.auth-marketing-panel__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 40% 35%, black, transparent);
  pointer-events: none;
}

.auth-marketing-panel__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding-inline: clamp(0.5rem, 3vw, 2rem);
}

.auth-marketing-panel__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auth-accent);
}

.auth-marketing-panel__title {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--auth-text);
}

.auth-marketing-panel__copy {
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--auth-muted);
}

.auth-marketing-panel__features {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--auth-text);
}

.auth-marketing-panel__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.auth-marketing-panel__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  color: var(--auth-accent);
  background: var(--auth-accent-soft);
  border: 1px solid rgba(250, 208, 44, 0.35);
  box-shadow: 0 0 16px rgba(250, 208, 44, 0.15);
}

@media (min-width: 1024px) {
  .auth-marketing-panel {
    width: 58.333333%;
    order: 1;
    padding: 3.5rem 2rem;
  }
}

.auth-marketing-panel--carousel {
  align-items: stretch;
}

.auth-marketing-panel__inner--carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(32rem, 70vh);
  max-width: 38rem;
}

.auth-carousel-slide {
  animation: auth-carousel-in 420ms ease;
}

@keyframes auth-carousel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-testimonial {
  margin: 2rem 0 0;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(16, 14, 20, 0.72);
  border: 1px solid rgba(192, 182, 211, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.auth-testimonial__quote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--auth-text);
}

.auth-testimonial__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.auth-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(250, 208, 44, 0.28);
  background: #1a1522;
}

.auth-testimonial__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--auth-text);
}

.auth-testimonial__role {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--auth-muted);
}

.auth-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2rem;
}

.auth-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(247, 245, 251, 0.28);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.auth-carousel-dot:hover {
  background: rgba(247, 245, 251, 0.5);
}

.auth-carousel-dot.is-active {
  background: var(--auth-accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(250, 208, 44, 0.45);
}
