:root {
  --ink: #0a0b10;
  --ink-2: #14161f;
  --paper: #f7f5f2;
  --muted: #9096a8;
  --red: #EB0028;
  --gold: #d1a657;
  --line: rgba(247, 245, 242, 0.14);
  --line-soft: rgba(247, 245, 242, 0.06);
  --focus: #7ad4ff;

  --bg: #0d0f16;
  --card: #ffffff;
  --surface: #fafafa;
  --text: #171a23;
  --muted: #5b6270;
  --line: rgba(15, 17, 23, 0.15);
  --line-soft: rgba(15, 17, 23, 0.08);
  --red: #e5283b;
  --gold-strong: #8a5c07;
  --gold-soft: #fbecc9;
  --gold-soft-2: #f6dd9e;
  --focus: #2f7bdb;
}
dotlottie-player {
  width: 500px;
  height: 500px;
}
html {
  color-scheme: dark;
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.navbar-brand img{
    width:220px;
}
.brand .ted {
  color: var(--red);
}
.brand .x {
  color: var(--red);
  font-size: 0.9em;
  margin-right: 5px;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  padding-inline: 0 !important;
  margin-inline: 0.85rem;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: var(--gold);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 0.35rem 0.6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23f7f5f2' stroke-width='2' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

.btn-ted1 {
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}
.btn-ted1:hover,
.btn-ted1:focus-visible {
  background: var(--ink);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(229, 40, 59, 0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 91vh;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 110px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
    background-image: url("https://www.tedxkmct.org/imgserver/uploads/attachments/pcm__e18d6dc9-96a7-4721-9ffb-b2073d324393_0.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  opacity: 0.02; /* very low opacity */
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.18);
}

.headline {
  /*font-family: "Fraunces", serif;*/
   font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 0.9;
  letter-spacing: -0.015em;
}
.headline .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

/* letter-by-letter reveal */
.split-line {
  display: block;
  /*overflow: hidden;*/
  padding-bottom: 0.06em;
}
.split2{
    color:var(--gold);
    font-style:italic;
}
.ltr {
  display: inline-block;
  transform: translateY(105%) rotate(6deg);
  opacity: 0;
  will-change: transform, opacity;
}
.ltr.in {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
  transition:
    transform 0.55s cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 0.4s ease;
}
.ltr.space {
  width: 0.32em;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.6;
  max-width: 46ch;
}

.ticket-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.ticket-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.ticket-link:hover,
.ticket-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}
.ticket-link:hover svg,
.ticket-link:focus-visible svg {
  transform: translateX(6px);
}

.meta-note {
  font-size: 0.85rem;
  color: var(--muted);
}
.meta-note strong {
  color: var(--paper);
  font-weight: 600;
}
.logo-name {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}


/* ---------- Ray burst ---------- */
.burst-stage {
  position: relative;
  height: clamp(230px, 40vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.burst {
  position: relative;
  width: 100%;
  height: 100%;
}
.ray {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1.5px;
  width: var(--len, 720px);
  background: linear-gradient(
    90deg,
    rgba(247, 245, 242, 0.55),
    rgba(247, 245, 242, 0)
  );
  transform-origin: 0 50%;
  transform: rotate(var(--rot, 0deg)) scaleX(1);
  border-radius: 2px;
}
.ray.grow-a {
  animation: pulseA var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
.ray.grow-b {
  animation: pulseB var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes pulseA {
  0%,
  100% {
    transform: rotate(var(--rot, 0deg)) scaleX(0.5);
    opacity: 0.4;
  }
  50% {
    transform: rotate(var(--rot, 0deg)) scaleX(1);
    opacity: 1;
  }
}
@keyframes pulseB {
  0%,
  100% {
    transform: rotate(var(--rot, 0deg)) scaleX(1);
    opacity: 1;
  }
  50% {
    transform: rotate(var(--rot, 0deg)) scaleX(0.5);
    opacity: 0.4;
  }
}
.burst-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #514143;
  box-shadow:
    0 0 0 8px rgba(229, 40, 59, 0.16),
    0 0 30px 6px rgba(229, 40, 59, 0.35);
}
.burst-stage:hover .ray {
  animation-duration: 1.6s;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
  }
  .navbar-nav .nav-link {
    margin-inline: 0;
    padding-block: 0.55rem !important;
  }
  .navbar-nav .nav-link::after {
    display: none;
  }
  .burst-stage {
    height: 210px;
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ray.grow-a,
  .ray.grow-b {
    animation: none;
  }
  .ltr {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* =================================
   AUDIO WAVE VISUALIZER
================================= */

.audio-wave {
  position: absolute;
  z-index: 4;
  top: 34%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 110px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Position on both sides */
.audio-wave-left {
  right: 80%;
  /* left: 22%; */
}

.audio-wave-right {
  right: 10%;
}

/* Individual sound bars */
.audio-wave span {
  display: block;
  width: 4px;
  height: 30px;
  border-radius: 10px;
  background: rgba(231, 228, 228, 0.45);
  box-shadow: 0 0 10px rgba(220, 0, 0, 0.12);
  transform-origin: center;
  animation: audioWave 1.2s ease-in-out infinite;
}

/* Different bar heights */
.audio-wave span:nth-child(1) {
  height: 25px;
  animation-delay: 0.1s;
}

.audio-wave span:nth-child(2) {
  height: 45px;
  animation-delay: 0.2s;
}

.audio-wave span:nth-child(3) {
  height: 70px;
  animation-delay: 0.3s;
}

.audio-wave span:nth-child(4) {
  height: 95px;
  animation-delay: 0.4s;
}

.audio-wave span:nth-child(5) {
  height: 70px;
  animation-delay: 0.5s;
}

.audio-wave span:nth-child(6) {
  height: 45px;
  animation-delay: 0.6s;
}

.audio-wave span:nth-child(7) {
  height: 25px;
  animation-delay: 0.7s;
}

/* Reverse the right-side wave rhythm slightly */
.audio-wave-right span:nth-child(1) {
  animation-delay: 0.7s;
}

.audio-wave-right span:nth-child(2) {
  animation-delay: 0.6s;
}

.audio-wave-right span:nth-child(3) {
  animation-delay: 0.5s;
}

.audio-wave-right span:nth-child(4) {
  animation-delay: 0.4s;
}

.audio-wave-right span:nth-child(5) {
  animation-delay: 0.3s;
}

.audio-wave-right span:nth-child(6) {
  animation-delay: 0.2s;
}

.audio-wave-right span:nth-child(7) {
  animation-delay: 0.1s;
}

/* Sound movement */
@keyframes audioWave {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.3;
  }

  50% {
    transform: scaleY(1);
    opacity: 0.85;
  }
}
@media (max-width: 991.98px) {
  .audio-wave-left {
    left: 0;
  }

  .audio-wave-right {
    right: 0;
  }

  .audio-wave {
    gap: 4px;
  }

  .audio-wave span {
    width: 3px;
  }
}
@media (max-width: 1500px) {
   .hero{
      
        padding-block:0px;
    }
   
    .headline {

  font-size: 40px;
}
}
@media (max-width: 775.98px) {
    .navbar-brand img{
    width:150px;
}

    .hero{
        height:100vh;
        padding-block:0px;
    }
    
  .audio-wave {
    gap: 3px;
    height: 80px;
  }

  .audio-wave span {
    width: 3px;
  }

  .audio-wave span:nth-child(1),
  .audio-wave span:nth-child(7) {
    height: 18px;
  }

  .audio-wave span:nth-child(2),
  .audio-wave span:nth-child(6) {
    height: 32px;
  }

  .audio-wave span:nth-child(3),
  .audio-wave span:nth-child(5) {
    height: 50px;
  }

  .audio-wave span:nth-child(4) {
    height: 65px;
  }
}

/* ================================
   TEDx MICROPHONE VISUAL
================================ */

.tedx-mic-visual {
  position: relative;
  width: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}

/* Microphone wrapper */
.microphone-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: microphoneMove 5s ease-in-out infinite;
  /* animation: microphoneFloat 5s ease-in-out infinite; */
}
@keyframes microphoneMove {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-4px);
  }
}
/* Microphone image */
.tedx-microphone {
  display: block;
  width: auto;
  height: 470px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}
  .category-price{
    display:inline-flex; align-items:baseline; gap:5px; margin-top:6px;
    background:#fde9eb; border:1px solid var(--gold-soft-2); border-radius:999px;
    padding:4px 12px; font-size:.78rem; color:var(--muted); font-weight:600;
  }
  .category-price strong{ font-size:1rem; color:var(--red); font-weight:800; }
  .category-card[aria-checked="true"] .category-price{ background:#fff; }

/* ================================
   EXPANDING SOUND CIRCLES
================================ */

.sound-rings {
  position: absolute;
  z-index: 1;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sound-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(220, 0, 0, 0.25);
  border-radius: 50%;
  animation: soundPulse 4s ease-out infinite;
}

.sound-rings span:nth-child(2) {
  animation-delay: 1.3s;
}

.sound-rings span:nth-child(3) {
  animation-delay: 2.6s;
}

/* ================================
   ROTATING ORBIT RINGS
================================ */

.orbit-ring {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(220, 0, 0, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring-one {
  width: 390px;
  height: 390px;
  transform: translate(-50%, -50%) rotate(25deg);
  border-top-color: rgba(220, 0, 0, 0.6);
  border-bottom-color: transparent;
  animation: orbitRotate 14s linear infinite;
}

.orbit-ring-two {
  width: 470px;
  height: 250px;
  transform: translate(-50%, -50%) rotate(-25deg);
  border-left-color: rgba(220, 0, 0, 0.45);
  border-right-color: transparent;
  animation: orbitRotateReverse 18s linear infinite;
}

/* ================================
   FLOATING PARTICLES
================================ */

.mic-particle {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(220, 0, 0, 0.45);
  box-shadow: 0 0 15px rgba(220, 0, 0, 0.3);
  animation: particleFloat 5s ease-in-out infinite;
}

.particle-one {
  top: 18%;
  left: 18%;
  animation-delay: 0s;
}

.particle-two {
  top: 28%;
  right: 15%;
  width: 5px;
  height: 5px;
  animation-delay: 1.5s;
}

.particle-three {
  bottom: 20%;
  left: 20%;
  width: 4px;
  height: 4px;
  animation-delay: 2.5s;
}

.particle-four {
  bottom: 25%;
  right: 18%;
  width: 8px;
  height: 8px;
  animation-delay: 3.5s;
}

/* ================================
   ANIMATIONS
================================ */

/* Gentle microphone floating */
@keyframes microphoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

/* Expanding sound waves */
@keyframes soundPulse {
  0% {
    transform: scale(0.25);
    opacity: 0;
  }

  15% {
    opacity: 0.7;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Rotating ring */
@keyframes orbitRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbitRotateReverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

/* Floating particles */
@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.35;
  }

  50% {
    transform: translate(10px, -20px);
    opacity: 0.9;
  }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 991.98px) {
  .tedx-mic-visual {
    min-height: 480px;
    margin-top: 30px;
  }

  .tedx-microphone {
    height: 430px;
  }

  .sound-rings {
    width: 260px;
    height: 260px;
  }

  .orbit-ring-one {
    width: 340px;
    height: 340px;
  }

  .orbit-ring-two {
    width: 400px;
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .tedx-mic-visual {
    min-height: 300px;
  }

  .tedx-microphone {
    height: 220px;
  }

  .sound-rings {
    width: 220px;
    height: 220px;
  }

  .orbit-ring-one {
    width: 290px;
    height: 290px;
  }

  .orbit-ring-two {
    width: 340px;
    height: 190px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .microphone-wrapper,
  .sound-rings span,
  .orbit-ring,
  .mic-particle {
    animation: none;
  }
}

.register-section {
      min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;       /* horizontal center */
    justify-content: center;   /* vertical center */
  padding-block: clamp(32px, 6vw, 72px);
}
 /* ---------- .register-section: faint red line pattern with gentle movement ---------- */
  .register-section{ position:relative; overflow:hidden; isolation:isolate; }
  .register-section::before,
  .register-section::after{ content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; }
  .register-section > .container{ position:relative; z-index:1; }

  /* two crossing diagonal line layers (low opacity) drifting slowly in opposite directions */
  /*.register-section::before{*/
  /*  background-image:*/
  /*    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0M-15 15L15 -15M45 75L75 45' stroke='%23e5283b' stroke-opacity='.16' stroke-width='1' fill='none'/%3E%3C/svg%3E"),*/
  /*    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 0L120 120M-30 90L30 150M90 -30L150 30' stroke='%23e5283b' stroke-opacity='.09' stroke-width='1' fill='none'/%3E%3C/svg%3E");*/
  /*  background-size:60px 60px, 120px 120px;*/
  /*  animation:lineDrift 45s linear infinite, lineBreathe 9s ease-in-out infinite;*/
  /*}*/
  /* soft red glow that slowly floats, so the pattern feels alive */
  .register-section::after{
    background:
      radial-gradient(520px 380px at 12% 18%, rgba(229,40,59,.12), transparent 70%),
      radial-gradient(460px 340px at 88% 82%, rgba(229,40,59,.09), transparent 70%);
    animation:glowFloat 16s ease-in-out infinite alternate;
  }

  @keyframes lineDrift{
    from{ background-position:0 0, 0 0; }
    to{   background-position:60px 60px, -120px 120px; }   /* one full tile each = seamless loop */
  }
  @keyframes lineBreathe{ 0%,100%{ opacity:.75; } 50%{ opacity:1; } }
  @keyframes glowFloat{
    from{ transform:translate(0,0) scale(1); }
    to{   transform:translate(2.5%,3%) scale(1.06); }
  }
  @media (prefers-reduced-motion:reduce){
    .register-section::before,.register-section::after{ animation:none; }
  }
.register-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55);
}

/* ---------- Info column ---------- */
.register-info {
  height: 100%;
}
@media (min-width: 992px) {
  .register-info {
    padding-right: 32px;
    border-right: 1px solid var(--line-soft);
  }
}
.register-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
}
.register-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.register-title {
      font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 10px 0 14px;
}
.register-title .accent {
  color: var(--gold);
  font-style: italic;
}
.register-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 18px;
}
.register-query {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.register-query a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.register-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--gold-soft);
  border: 1px solid rgba(169, 114, 12, 0.25);
  color: #7a570a;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 10px;
}
.register-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

/* ---------- Wizard shell ---------- */
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.wp-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.wp-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
  border: 1.5px solid var(--line);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
}
.wp-step.active {
  color: white;
  border-color: var(--red);
  background: var(--red);
}
.wp-step.active .wp-num {
  background: white;
  border-color: var(--red);
  color: var(--red);
}
.wp-step.done {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}
.wp-step.done .wp-num {
  background: white;
  border-color: var(--line);
  color: var(--muted);
}
.wp-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  max-width: 64px;
  border-radius: 2px;
}

.wizard-panel[hidden] {
  display: none;
}
.wizard-step-title {
     font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.wizard-step-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px 20px;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(15, 17, 23, 0.06);
  transition:
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
}
/* .category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
} */
.category-card:hover {
  border-color: var(--red);
}
/* .category-card[aria-checked="true"] {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
} */
/* .category-card:hover::before{ transform:scaleX(1); } */
.category-card:active {
  transform: translateY(-2px) scale(1);
}
.category-card[aria-checked="true"] {
  border-color: var(--red);
  background: white;
  box-shadow: 0 18px 30px -14px rgba(184, 121, 10, 0.4);
}
.category-card[aria-checked="true"]::before {
  transform: scaleX(1);
}

.category-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.category-arrow svg {
  width: 13px;
  height: 13px;
}
.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
}
.category-card[aria-checked="true"] .category-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--red);
  color: #fff;
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(229, 40, 59, 0.1);
  color: var(--red);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.25s ease,
    color 0.25s ease;
}
.category-card:hover .category-icon {
  transform: scale(1.1) rotate(-4deg);
}
.category-card[aria-checked="true"] .category-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.05);
}
.category-icon svg {
  width: 24px;
  height: 24px;
}
.category-name {
  font-weight: 700;
  font-size: 1.05rem;
}
.category-card[aria-checked="true"] .category-name {
  color: var(--red);
}
.category-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.change-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 22px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}
.change-category svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--red);
}
.change-category strong {
  color: var(--red);
  font-weight: 700;
}
/* .change-category:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateX(-2px);
} */

/* ---------- Form basics ---------- */
.field-group {
  margin-bottom: 20px;
}
.register-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  min-height: 44px;
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow:0 0 0 1px rgb(244 67 54 / 48%);
  background: #fff;
}
.phone-row {
  display: flex;
  gap: 8px;
}

  .btn-verify{
    flex:none; border:0; border-radius:10px; padding:0 1.1rem; min-height:44px;
    background:var(--red); color:#fff; font-weight:700; font-size:.88rem; cursor:pointer;
    transition:background .2s ease, transform .15s ease, opacity .2s ease;
  }
  .btn-verify:hover{ background:#c81f30; transform:translateY(-1px); }
  .btn-verify:disabled{ opacity:.55; cursor:not-allowed; transform:none; }
  .btn-verify.verified{ background:#0a8f4e; }
  .btn-verify.verified:hover{ background:#087a42; }
  .otp-status{ min-height:0; margin-top:6px; font-size:.8rem; font-weight:600; }
  .otp-status:empty{ display:none; }
  .otp-status.err,#otpMsg.err{ color:#c62828; }
  .otp-status.ok,#otpMsg.ok{ color:#0a8f4e; }

  .otp-box{
    display:none; margin-top:12px; padding:14px 16px; border-radius:14px;
    background:var(--gold-soft); border:1px dashed var(--gold);
  }
  .otp-box.show{ display:block; animation:otpIn .35s cubic-bezier(.2,.8,.2,1); }
  @keyframes otpIn{ from{ opacity:0; transform:translateY(-8px); } to{ opacity:1; transform:none; } }
  .otp-box label{ font-size:.84rem; margin-bottom:8px; display:block; }
  .otp-row{ display:flex; gap:8px; }
  .otp-input{ letter-spacing:.45em; font-weight:700; text-align:center; font-size:1.05rem; }
  .otp-meta{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:8px; font-size:.8rem; font-weight:600; min-height:20px; }
  .link-btn{ background:none; border:0; padding:0; color:var(--red); font-weight:700; font-size:.8rem; cursor:pointer; text-decoration:underline; }
  .link-btn:disabled{ color:var(--muted); text-decoration:none; cursor:default; }
  .phone-prefix{
    display:flex; align-items:center; padding:0 .7rem; border:1px solid var(--line);
    border-radius:10px; color:var(--muted); background:var(--surface); font-size:.95rem;
  }

  .only-for{ display:none; }
  .only-for.show{ display:block; }
  .row.only-for.show{ display:flex; }
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.95rem;
}

.only-for {
  display: none;
}
.only-for.show {
  display: block;
}
.row.only-for.show {
  display: flex;
}

/* ---------- Custom dropdown ---------- */
.ddl {
  position: relative;
}
.ddl-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  min-height: 44px;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.ddl-toggle:hover {
  border-color: var(--red);
}
.ddl.open .ddl-toggle {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgb(244 67 54 / 48%);
}
.ddl-toggle .chevron {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.ddl.open .ddl-toggle .chevron {
  transform: rotate(180deg);
  color: var(--gold);
}
.ddl-value {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ddl-value.filled {
  color: var(--text);
  font-weight: 500;
}
.ddl-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ddl-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 44px -18px rgba(15, 17, 23, 0.35);
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top center;
  transition:
    opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s;
}
.ddl.open .ddl-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ddl-up .ddl-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(8px) scale(0.97);
  transform-origin: bottom center;
}
.ddl-up.open .ddl-menu {
  transform: translateY(0) scale(1);
}

.ddl-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.7rem;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
}
.ddl-option:hover {
  background: var(--gold-soft);
}
.ddl-option[aria-selected="true"] {
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-weight: 600;
}
.ddl-option[hidden] {
  display: none;
}
.ddl-option .check {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ddl-option[aria-selected="true"] .check {
  background: var(--gold);
  border-color: var(--gold);
}
.ddl-option .check svg {
  width: 11px;
  height: 11px;
  opacity: 0;
}
.ddl-option[aria-selected="true"] .check svg {
  opacity: 1;
}
.seats-left {
  flex: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: #454545;
  background: #d2e5d2;
  padding: 2px 8px;
  border-radius: 999px;
}
.seats-left.seats-full {
  color: #8a1f2b;
  background: #fbdcdf;
}
.opt-name {
  flex: 1;
  min-width: 0;
}
 /* ---------- Speakers: the highlight of the form. Shown as a full inline
     list of cards (not a dropdown) so every speaker is visible at a glance. ---------- */
  .speaker-section-head{ margin-bottom:16px; }
  .speaker-eyebrow{
     font-weight:600; 
     /*font-size:1.15rem;*/
    color:var(--text); margin:0 0 4px;
  }
  .speaker-sub{ font-size:.85rem; color:var(--muted); margin:0; }

  .speaker-list{ display:grid; grid-template-columns:1fr; gap:16px; }
  /* Medium + large screens: two speakers per row */
  @media (min-width:768px){
    .speaker-list{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
  }

  /* Compact card: small rounded photo on the left, details on the right */
  .speaker-card{
    position:relative;
    display:block; flex-direction:row; align-items:center; gap:14px;
    width:100%; text-align:left; overflow:hidden;
    appearance:none; -webkit-appearance:none; font:inherit;
    background:#fff;
    border:1.5px solid var(--line);
    border-radius:18px;
    padding:12px 14px;
    cursor:pointer;
    box-shadow:0 3px 8px -5px rgba(15,17,23,.14);
    transition:border-color .2s ease, box-shadow .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), background .2s ease;
  }
  .speaker-card:hover{
    border-color:#c58985b3;
    transform:translateY(-3px);
    box-shadow:0 16px 26px -16px rgb(243 127 119 / 31%);
  }
  .speaker-card:focus-visible{ outline:3px solid var(--gold-soft-2); outline-offset:2px; border-color:var(--gold); }

  .speaker-card[aria-checked="true"]{
    /*border-color:var(--gold);*/
    background:linear-gradient(rgb(217 199 198), rgb(255 255 255)), #fff;
    /*box-shadow:0 0 0 3px var(--gold-soft-2), 0 16px 26px -16px rgba(184,121,10,.45);*/
  }

  .speaker-select-badge{
    position:absolute; top:10px; right:10px; z-index:2;
    display:flex; align-items:center; justify-content:center;
    width:22px; height:22px; border-radius:50%;
    border:1.5px solid var(--line); background:#fff; color:#fff;
    transition:background .2s ease, border-color .2s ease;
  }
  .speaker-select-badge svg{ width:12px; height:12px; opacity:0; transition:opacity .15s ease; }
  .speaker-card[aria-checked="true"] .speaker-select-badge{ background:var(--red); border-color:var(--gold); }
  .speaker-card[aria-checked="true"] .speaker-select-badge svg{ opacity:1; }

  .speaker-card-full{ opacity:.45; cursor:not-allowed; pointer-events:none; filter:grayscale(.6); }
  .speaker-card-full:hover{ transform:none; box-shadow:0 3px 8px -5px rgba(15,17,23,.14); border-color:var(--line); }

  /* Small rounded-square photo (replace src with a real headshot; cover-cropped) */
  .speaker-avatar{
      margin-bottom:10px;
    flex:none; display:block;
    width:88px; height:88px; aspect-ratio:1 / 1;
    border-radius:16px; object-fit:cover;
    /*border:2px solid var(--gold-soft-2);*/
    background:var(--surface);
  }

  .speaker-info{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; padding:0 26px 0 0; }
  .speaker-top-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .speaker-name{ font-weight:700; font-size:1rem; color:var(--text); line-height:1.25; }
  .speaker-designation{ font-size:.8rem; color:var(--muted); line-height:1.4; }
  .speaker-topic{ font-size:.84rem; color:var(--text); font-style:italic; line-height:1.4; }
  .speaker-time{
    display:inline-flex; align-items:center; gap:5px; align-self:flex-start;
    font-size:.74rem; font-weight:500; color:#454545;
    background:#eadfeb; padding:3px 9px; border-radius:999px;
    margin-top:3px;
  }
  .speaker-time svg{ width:12px; height:12px; flex:none; }

  @media (max-width:575.98px){
    .speaker-avatar{ width:72px; height:72px; border-radius:14px; }
    .speaker-card{ gap:12px; padding:10px 12px; }
  }

  /* ---------- Selected speaker chips ---------- */
  .chip-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
  .chip{
    display:inline-flex; align-items:center; gap:6px;
    background:#ffffff; border:1px solid #f443364a;
    color:#9b251c; font-size:.82rem; font-weight:600;
    padding:6px 8px 6px 12px; border-radius:999px;
  }
  .chip button{
    display:flex; align-items:center; justify-content:center;
    width:18px; height:18px; border-radius:50%; border:none;
    background:rgba(169,114,12,.15); color:var(--gold); cursor:pointer; padding:0;
  }
  .chip button svg{ width:10px; height:10px; }

/* ---------- Upload fields ---------- */
.upload-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.upload-field:hover {
  border-color: var(--gold);
}
.upload-field input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-field .upload-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  color: var(--red);
}
.upload-field .upload-icon svg {
  width: 18px;
  height: 18px;
}
.upload-field .upload-text {
  font-size: 0.85rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-field .upload-text strong {
  color: var(--text);
  font-weight: 600;
}
.upload-field.has-file {
  border-style: solid;
  border-color: var(--gold);
}

/* ---------- Consent ---------- */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.consent-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.consent-box {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.consent-check input:checked + .consent-box {
  background: var(--red);
  border-color: var(--red);
}
.consent-box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
}
.consent-check input:checked + .consent-box svg {
  opacity: 1;
}
.consent-text {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.55;
}
.consent-text a {
  color: var(--red);
  border-bottom: 1px solid rgba(169, 114, 12, 0.4);
}

/* ---------- Submit / success ---------- */
.btn-ted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  /* width: 100%; */
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-ted:hover {
  background: #c81f30;
}

.register-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #eaf6ef;
  border: 1px solid #b9e3c6;
  color: #1c7a43;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 18px;
}
.register-success.show {
  display: flex;
}
.register-success svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (max-width: 767.98px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    flex-direction: block;
    align-items: center;
  }
  .change-category{
      display:inline;
  }
 
}
.register-btn {
    display: inline-block;
    font-size: 14px;
    /*padding: 8px 16px;*/
    text-align: left;
    transition: all 0.3s ease;
}

.register-btn:hover {
    color: #e62b1e;
}

 :root {
        --bg1: #181818;
        --line1: rgba(255, 255, 255, 0.16);
        --text1: #f2f2f2;
        --muted1: #a9a9a9;
        --accent1: #f2443a;
        --logo-opacity: 0.28; /* change logo transparency here */
      }

    
      /* ---------- Footer ---------- */
      .site-footer {
          height:40vh;
    position: relative;
    overflow: hidden;
    background: #060606;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:url("../img/footerbg.jpeg") center / cover no-repeat;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

.footer-bar {
        border-top: 1px solid var(--line1);
        padding-block: 1.5rem;
        font-size: 0.95rem;
      }
      .footer-bar .copy {
        color: var(--muted1);
        margin: 0;
      }
      .footer-bar .copy strong {
        color: #fff;
        font-weight: 700;
      }

      .footer-links {
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0.9rem;
      }
      .footer-links li + li::before {
        content: "•";
        margin-right: 0.9rem;
        color: #fff;
      }
      .footer-links a {
        color: var(--text1);
        text-decoration: none;
        transition: color 0.2s ease;
      }
      .footer-links a:hover,
      .footer-links a:focus-visible {
        color: var(--accent1);
      }

      /* Logo + caption */
      .footer-brand {
        padding-block: clamp(1rem, 6vw, 5rem) clamp(0.5rem, 7vw, 2rem);
        text-align: center;
      }
      .footer-brand img {
        /*opacity: 0.3;*/
      }
      .footer-logo {
        width: 100%;
        max-width: 300px;
        height: auto;
        /*max-height: 320px;*/
        object-fit: contain;
        /* opacity: var(--logo-opacity); */
        /* filter: grayscale(1) brightness(1.6); */
        user-select: none;
      }
      .footer-caption {
        max-width: 40rem;
        margin: clamp(1.25rem, 3vw, 2rem) auto 0;
        font-size: clamp(0.9rem, 1.4vw, 1.05rem);
        font-weight: 300;
        line-height: 1.6;
        color: #d8d8d8;
      }

      /* Back to top */
      .back-to-top {
        position: fixed;
        right: 1.25rem;
        bottom: 1.25rem;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: var(--accent1);
        color: #fff;
        display: grid;
        place-items: center;
        box-shadow: 0 6px 20px rgba(242, 68, 58, 0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition:
          opacity 0.25s,
          transform 0.25s,
          visibility 0.25s,
          background 0.2s;
        z-index: 1030;
      }
      .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      .back-to-top:hover {
        background: #d93329;
      }
      .back-to-top:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
      }

      @media (max-width: 767.98px) {
          .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:url("../img/footerbg.jpeg") center / contain no-repeat;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}
                .site-footer {
          height:35vh;
  
}
  .footer-logo {
       
        max-width: 200px;
        
      }
        .footer-bar {
          text-align: center;
        }
        .footer-links {
          justify-content: center;
        }
        .footer-links li + li::before {
          margin-right: 0.9rem;
        }
        .site-footer::before {
          bottom: 10%;
        }
        .register-section{
            margin-bottom:60px;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        * {
          transition: none !important;
        }
      }
     
@media (min-width: 1400px) and (max-width: 1700px) {
   .tedx-microphone{
        height:440px;
    }
}
  @media (min-width: 767px) and (max-width: 1400px) {
    
   .site-footer{
    height:50vh;
}
 .tedx-microphone{
        height:350px;
    }
  }

 /* ---------- Password fields ---------- */
  .pw-wrap{ position:relative; }
  .pw-wrap .form-control{ padding-right:46px; }
  .pw-toggle{
    position:absolute; top:50%; right:8px; transform:translateY(-50%);
    width:34px; height:34px; border:0; background:transparent; border-radius:8px;
    color:var(--muted); display:flex; align-items:center; justify-content:center; cursor:pointer;
    transition:color .15s ease, background .15s ease;
  }
  .pw-toggle:hover{ color:var(--gold-strong); background:var(--gold-soft); }
  .pw-toggle svg{ width:18px; height:18px; }
  .pw-toggle .eye-off{ display:none; }
  .pw-toggle.shown .eye-on{ display:none; }
  .pw-toggle.shown .eye-off{ display:block; }
  .pw-note{
    display:flex; gap:10px; align-items:flex-start;
    background:#adadad2b; border:1px solid #f443363b; border-radius:12px;
    padding:10px 14px; margin:-4px 0 20px;
    font-size:.84rem; line-height:1.5; color:#171a23d6;
  }
  .pw-note svg{ width:18px; height:18px; flex:none; margin-top:1px; color:var(--red); }
  .pw-error{ display:none; margin-top:6px; font-size:.8rem; font-weight:600; color:#c62828; }
  .pw-error.show{ display:block; }
   .form-control.is-bad{ border-color:#c62828; box-shadow:0 0 0 3px rgba(198,40,40,.12); }
    .btn-ghost{
    display:inline-flex; align-items:center; gap:8px;
    background:transparent;
    border:1px solid #f7f5f224;
    color:var(--paper);
    font-weight:600;
    font-size:.92rem;
    padding:.58rem 1.2rem;
    border-radius:4px;
    transition:background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
  }
  .btn-ghost:hover, .btn-ghost:focus-visible{
    background:var(--paper);
    color:var(--ink);
    border-color:var(--paper);
    transform:translateY(-2px);
    box-shadow:0 10px 24px -8px rgba(247,245,242,.22);
  }
  .btn-ghost svg{ width:15px; height:15px; flex:none; transition:transform .25s ease; }
  .btn-ghost:hover svg, .btn-ghost:focus-visible svg{ transform:scale(1.1); }
