:root,
.theme-light {
  --color-bg: #ffffff;
  --color-bg-alt: #fafafa;
  --color-bg-muted: rgba(250, 250, 250, 0.5);
  --color-bg-hero: #18181b;
  --color-surface: #ffffff;
  --color-surface-card: rgba(255, 255, 255, 0.8);
  --color-text: #18181b;
  --color-text-muted: black;
  --color-text-subtle: #71717a;
  --color-text-inverse: black;
  --color-border: #e4e4e7;
  --color-border-muted: rgba(228, 228, 231, 0.5);
  --color-primary: var(--theme-color);
  --color-primary-hover: #1d4ed8;
  --color-primary-muted: rgba(37, 99, 235, 0.1);
  --color-primary-border: rgba(37, 99, 235, 0.2);
  --color-accent-cyan: #0891b2;
  --color-accent-violet: #8b5cf6;
  --color-accent-amber: #d97706;
  --color-accent-sky: #0ea5e9;
  --color-accent-yellow: #eab308;
  --color-error: #ef4444;
  --color-error-muted: rgba(239, 68, 68, 0.1);
  --color-error-border: rgba(239, 68, 68, 0.2);
  --color-selection: rgba(37, 99, 235, 0.3);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --color-zinc-500: #71717b;
  --color-zinc-100: #f5f4f4;
  --color-zinc-800: #e7e3e4;
  --banner-badge: color-mix(in oklab, #ffffff 50%, transparent);
  --header-faded: transparent;
  --border-color: #ddd;
  --hero-badge-label: #64646e;
  --color-zinc-200: oklch(92% .004 286.32);
}

.theme-dark {
  --color-bg: #09090b;
  --color-bg-alt: #18181b;
  --color-bg-muted: rgba(9, 9, 11, 0.5);
  --color-bg-hero: #18181b;
  --color-surface: #09090b;
  --color-surface-card: color-mix(in oklab,oklch(21% .006 285.885)30%,transparent);
  --color-text: #fafafa;
  --color-text-muted: #d8d3d4;
  --color-text-subtle: #9f9fa9;
  --color-text-inverse: #18181b;
  --color-border: rgba(39, 39, 42, 0.5);
  --color-border-muted: rgba(39, 39, 42, 0.5);
  --color-primary: #3b82f6;
  --color-primary-hover: var(--theme-color);
  --color-primary-muted: rgba(59, 130, 246, 0.1);
  --color-primary-border: rgba(59, 130, 246, 0.3);
  --color-accent-cyan: #22d3ee;
  --color-accent-violet: #a78bfa;
  --color-accent-amber: #f59e0b;
  --color-accent-sky: #38bdf8;
  --color-accent-yellow: #facc15;
  --color-error: #f87171;
  --color-error-muted: rgba(248, 113, 113, 0.1);
  --color-error-border: rgba(248, 113, 113, 0.2);
  --color-selection: rgba(59, 130, 246, 0.3);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --color-zinc-500: #71717b;
  --color-zinc-100: #2a2627;
  --color-zinc-800: #2a2627;
  --banner-badge: color-mix(in oklab, #1b1718 50%, transparent);
  --header-faded: linear-gradient(to top, var(--color-bg-hero), transparent);
  --border-color: transparent;
  --hero-badge-label: #9f9fa9;
}
.mt-40{
  margin-top:40px;
}
.header-color-dark{
  --color-primary-text: #fafafa;
  --banner-primary-badge:  color-mix(in oklab, #1b1718 50%, transparent);
  --color-primary-zinc-800: #2a2627;
  --color-primary-border: rgba(39, 39, 42, 0.5);
  --color-primary-text-muted: #d8d3d4;
  --color-header-primary: #3b82f6;
  --color-primary-text-subtle: #9f9fa9;
  --color-bg-hero: #18181b;
  --header-faded: linear-gradient(to top, var(--color-bg-hero), transparent);
  --hero-primary-badge-label: #9f9fa9;
}

.header-color-light{
  --color-primary-text: #18181b;
  --banner-primary-badge: color-mix(in oklab, #ffffff 50%, transparent);
  --color-primary-zinc-800: #e7e3e4;
  --color-primary-text-muted: black;
  --color-header-primary: #3b82f6;
  --color-primary-text-subtle: #9f9fa9;
  --color-bg-hero: #18181b;
  --header-faded: transparent;
  --hero-primary-badge-label: #64646e;
}

.header-color-dark .logo-black{
  display: none;
}

.header-color-dark .nav.nav--scrolled{
  background: rgba(0, 0, 0, .7) !important;
}

.header-color-light .logo-white{
  display: none;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 300ms ease, color 300ms ease;
}
::selection { background: var(--color-selection); }
.font-display { font-family: inherit; }
.text-accent { color: var(--color-primary);   }
 .hero .text-accent { color: var(--color-primary);    display: inline-block;
    width: 100%; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
main .section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  main .section { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (min-width: 1024px) {
  main .section { padding-top: 6rem; padding-bottom: 6rem; }
}
.section--alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-muted);
  border-bottom: 1px solid var(--color-border-muted);
}
.section--muted { background-color: var(--color-bg-muted); }
.section__header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 1024px) { .section__header { margin-bottom: 4rem; } }
.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.25;
}
.section__title .text-accent { color: var(--color-primary); }
@media (min-width: 768px) { .section__title { font-size: 2.5rem; } }
.section__subtitle {
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.625;
}
.grid { display: grid; gap: 1.5rem; }
.grid--1 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--2-lg { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .grid--2-lg { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}
.grid--prizes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .grid--prizes { flex-direction: row; justify-content: center; gap: 0; }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background 200ms ease, border-color 200ms ease;
  backdrop-filter: blur(100px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__left { display: flex; align-items: center; gap: 1rem; }
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-primary-text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  transition: color 200ms ease;
}
.nav__brand:hover { color: var(--color-primary-text); }
.nav__logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: var(--color-primary-muted);
  border: 1px solid var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: border-color 200ms ease;
}
.nav__brand:hover .nav__logo-icon { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.nav__links {  align-items: center; gap: 2rem; }

@media (max-width: 1200px) {
  .nav__link-list {
    display: none !important;
  }
  img.floating-logo-view.logo-black, .floating-logo-view logo-white {
    min-width: auto;
    width: auto;
    padding-left: 20px;
}
.site-header__login .loggedin-user .arrow-icon-down {
  top: 12px !important;
  right: -3px !important;
}
} 
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__link-list { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; font-weight: 500; }
.nav__link { color: var(--color-primary-text-muted); text-decoration: none; transition: color 200ms ease; }
.nav__link:hover { color: var(--color-primary); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--color-primary-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease, color 200ms ease;
}
.nav__btn-icon:hover { background: var(--color-bg-alt); color: var(--color-text); }
.nav__btn-icon:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-primary); }
.nav__btn-register { display: none; }
@media (min-width: 768px) {
  .nav__btn-register {
    display: inline-flex;
    height: 2.5rem;
    padding: 0 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    background: var(--color-text);
    color:var(--color-surface);
    border: none;
    cursor: pointer;
    transition: background-color 200ms ease;         line-height: 38px;
  }
  .nav__btn-register:hover { background: var(--color-text-muted); }
}
[data-theme="dark"] .nav__btn-register { background: var(--color-text-inverse); color: var(--color-text); }
[data-theme="dark"] .nav__btn-register:hover { background: var(--color-text-muted); }
.nav__mobile-actions { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .nav__mobile-actions { display: none; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 3rem;
  background: var(--color-bg-hero);
  perspective: 1000px;
  background-size: cover;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: hero-pulse 4s ease-in-out infinite;
}
.hero__glow--1 { top: 25%; left: 25%; width: 24rem; height: 24rem; background: rgba(37, 99, 235, 0.3); filter: blur(120px); }
.hero__glow--2 { bottom: 25%; right: 25%; width: 31.25rem; height: 31.25rem; background: rgba(8, 145, 178, 0.2); filter: blur(150px); animation-delay: 2s; }
.hero__grid {
  position: absolute;
  inset: -50%;
  background-image: linear-gradient(to right, rgba(128, 128, 128, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(128, 128, 128, 0.1) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
  transform: rotateX(60deg) translateY(-100px) scale(2);
}
.hero__deco { position: absolute; z-index: 0; pointer-events: none; opacity: 0.3; }
.hero__deco--cpu { top: 25%; left: 15%; color: var(--color-primary); transform: rotate(2deg); }
.hero__deco--car { bottom: 33%; right: 15%; color: var(--color-accent-cyan); transform: rotate(-10deg); }
.hero__deco--zap { top: 33%; right: 25%; color: var(--color-primary); opacity: 0.2; }
.hero__content { position: relative; z-index: 10; width: 100%; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 25px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--banner-primary-badge) ;
  border: 1px solid #2a2627;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px #3b82f61a;
  border: 1px solid var(--color-primary-zinc-800);
}
.hero__badge-label { font-size: 0.775rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--hero-primary-badge-label); }
.hero__badge-divider { width: 1px; height: 1.5rem; background: var(--color-border); }
.hero__badge-sponsor {     background: white;
  color: var(--color-text);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.025em;
  display: flex;}
  .hero__badge-sponsor img {
    width: 60px;
}
.hero__title-wrap { position: relative; }
.hero__title {
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-primary-text);
  margin: 0;
  position: relative;
  z-index: 10;
  text-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}
@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 5rem; } }
.hero__title-gradient {
  color: transparent;
  background: linear-gradient(to right, #60a5fa, #22d3ee, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}
.hero__title-ghost {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  color: rgba(59, 130, 246, 0.2);
  filter: blur(4px);
  z-index: -1;
  pointer-events: none;
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}
@media (min-width: 768px) { .hero__title-ghost { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero__title-ghost { font-size: 6rem; } }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; font-size: 0.875rem; color: var(--color-primary-text-muted); }
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--banner-primary-badge);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  font-weight: 500;
  transition: border-color 200ms ease;
  border: 1px solid var(--border-primary-color);
}
.hero__meta-item:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.hero__meta-icon { color: var(--color-primary); flex-shrink: 0; }
.hero__countdown-label { font-size: 0.875rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0px; }
.hero__countdown { display: flex; gap: 1rem; }
@media (min-width: 768px) { .hero__countdown { gap: 1.5rem; } }
.hero__countdown-block { display: flex; flex-direction: column; align-items: center; }
.hero__countdown-value {
  position: relative;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-bg-hero) 80%, transparent);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 200ms ease;
}
.hero__countdown-value::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent); pointer-events: none; }
@media (min-width: 768px) { .hero__countdown-value { width: 6rem; height: 6rem; } }
.hero__countdown-num { font-weight: 900; font-size: 1.875rem; color: white; text-shadow: 0 4px 6px rgb(0 0 0 / 0.3); }
@media (min-width: 768px) { .hero__countdown-num { font-size: 3rem; } }
.hero__countdown-unit { font-size: 0.75rem; font-weight: 700; color: var(--color-text-subtle); text-transform: uppercase; letter-spacing: 0.05em; transition: color 200ms ease; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 2.5rem; }
@media (min-width: 640px) { .hero__cta { flex-direction: row; } }
.hero__fade { position: absolute; bottom: 0; left: 0; right: 0; height: 10rem; background: var(--header-faded) ; z-index: 10; pointer-events: none; }
@keyframes hero-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-primary); }
.btn:disabled { cursor: not-allowed; opacity: 0.7; }
.btn--primary {
  height: 3.5rem;
  padding: 0 2.5rem;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent-cyan));
  color: var(--color-surface);
  box-shadow: 0 0 40px -10px rgba(59, 130, 246, 0.8);
}
.btn--primary:hover:not(:disabled) { transform: scale(1.05); filter: brightness(1.1); box-shadow: 0 0 60px -10px rgba(59, 130, 246, 1); }
.btn--primary .btn__icon { transition: transform 200ms ease; }
.btn--primary:hover:not(:disabled) .btn__icon { transform: translateX(4px); }
.btn--secondary {
  height: 3.5rem;
  padding: 0 2.5rem;
  border: 2px solid var(--color-primary-border);
  background: color-mix(in srgb, var(--color-bg-hero) 50%, transparent);
  color: white;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 20px -10px rgba(59, 130, 246, 0.3);
}
.btn--secondary:hover:not(:disabled) { background: var(--color-primary); color: var(--color-text-inverse); border-color: var(--color-primary); box-shadow: 0 0 40px -5px rgba(59, 130, 246, 0.8); }
.btn--solid {    height: 3rem;
  padding: 0 1.5rem;
  background: var(--color-primary);
  color: white;
  border-radius: 8px;
  width: 100%;
  font-weight: 500; }
.btn--solid:hover:not(:disabled) { background: var(--color-primary-hover); transform: scale(1.02); }
.btn--outline { height: 3rem; padding: 0 1.5rem; border: 2px solid var(--color-border); background: transparent; color: var(--color-text); }
.btn--outline:hover:not(:disabled) { border-color: var(--color-primary-border); color: var(--color-primary); }
.btn--dark { width: 100%; height: 3rem; background: var(--color-text); color: var(--color-bg); }
.btn--dark:hover:not(:disabled) { background: var(--color-text-muted); }
.btn--disabled { background: oklch(27.4% .006 286.033);
    color: var(--color-text-subtle);
    cursor: not-allowed;
    padding: 12px 16px;
    border-radius: 8px; }
.btn__icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; }

/* Cards */
.card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-zinc-800);
  border-radius: 1.875rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.card--round { display: flex; flex-direction: column; height: 100%; }
.card--round:hover { background: var(--color-bg-alt); }
.card--round.card--active { border-color: var(--color-zinc-200); box-shadow: 0 0 30px -10px rgba(59, 130, 246, 0.2); }
[data-theme="dark"] .card--round.card--active { box-shadow: 0 0 30px -10px rgba(59, 130, 246, 0.3); }
.card__round-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.card__round-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card--active .card__round-icon { background: var(--color-primary-muted); color: var(--color-primary); }
.card:not(.card--active) .card__round-icon { background: var(--color-zinc-100); color: var(--color-zinc-500); }
.card__round-num { font-weight: 700; font-size: 1.875rem; }
.card--active .card__round-num { color: var(--color-zinc-200);}
.card:not(.card--active) .card__round-num { color: var(--color-border); }
.card__round-title { font-weight: 700; font-size: 1.25rem; color: var(--color-text); margin: 0 0 0.25rem; }
.card__round-date { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem;     margin-top: 0px; }
.card--active .card__round-date { color: var(--color-primary); }
.card:not(.card--active) .card__round-date { color: var(--color-text-subtle); }
.card__round-desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.625; margin-bottom: 2rem; flex-grow: 1;    margin-top: 0px; }
.card__round-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--color-border-muted); }
.hackathon-manage-team-link { display:block; margin-top:8px; text-align:center; font-size:0.8rem; color:var(--color-text-subtle); text-decoration:none; }
.hackathon-manage-team-link:hover { color:var(--color-primary); text-decoration:underline; }
#phases article.card.card--round:hover a.hackathon-manage-team-link {color: white;}
.card--theme { position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; height: 100%; }
.card--theme::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 500ms ease; }
.card--theme:hover { border-color: var(--theme-card-border, var(--color-primary-border)); }
.card--theme:hover::before { opacity: 1; }
.card--theme-blue { --theme-card-gradient: rgba(59, 130, 246, 0.2); --theme-card-border: color-mix(in srgb, var(--color-primary) 50%, transparent); --theme-accent: var(--color-primary); }
.card--theme-blue::before { background: linear-gradient(to bottom, var(--theme-card-gradient), transparent); }
.card--theme-violet { --theme-card-gradient: rgba(139, 92, 246, 0.2); --theme-card-border: color-mix(in srgb, var(--color-accent-violet) 50%, transparent); --theme-accent: var(--color-accent-violet); }
.card--theme-violet::before { background: linear-gradient(to bottom, var(--theme-card-gradient), transparent); }
.card--theme-amber { --theme-card-gradient: rgba(245, 158, 11, 0.2); --theme-card-border: color-mix(in srgb, var(--color-accent-amber) 50%, transparent); --theme-accent: var(--color-accent-amber); }
.card--theme-amber::before { background: linear-gradient(to bottom, var(--theme-card-gradient), transparent); }
.card__theme-inner { position: relative; z-index: 10; display: flex; flex-direction: column; height: 100%; }
.card__theme-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.card__theme-icon-wrap { width: 3.5rem; height: 3.5rem; border-radius: 0.8rem; background: var(--color-bg-alt); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--theme-accent, var(--color-primary)); }

.card__theme-icon-wrap img {
  max-width: 24px;
  max-height: 24px;
  object-fit: cover;
}
.card__theme-num { font-weight: 700; font-size: 2.5rem; color: var(--color-border); transition: color 200ms ease;    line-height: normal; }
.card--theme:hover .card__theme-num { color: var(--color-text-muted); }
.card__theme-title { font-weight: 700; font-size: 1.5rem; color: var(--color-text); margin: 0 0 0.5rem; }
.card__theme-subtitle { font-size: 0.875rem; font-weight: 500; color: var(--theme-accent, var(--color-primary)); margin: 0px;}
.card__theme-desc {     font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.625;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.8;}
.card__theme-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--theme-accent, var(--color-primary)); text-decoration: none; transition: text-decoration 200ms ease; }
.card__theme-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.themes-tabs { width: 100%; }
.tab-nav-wrapper { margin-bottom: 2rem; }
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface-card) 80%, transparent);
  width: fit-content;
  max-width: 100%;
}
.tab-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: 999px;
  padding: 0.8rem 2.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  font-size: 17px;
}
.tab-btn:hover {
  color: var(--color-text);
  border-color: var(--color-border);
}
.tab-btn.active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.tab-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-primary) 65%, white);
  outline-offset: 2px;
}
.tab-content-container { width: 100%; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.pane-header { margin-bottom: 1.25rem; }
.pane-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 991px) {
  .items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .tab-nav {
    width: 100%;
    border-radius: 1.25rem;
    padding: 0.75rem;
  }
  .tab-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .items-grid { grid-template-columns: 1fr; }
}
.card--feature { border-radius: 1.5rem; padding: 1.5rem; transition: border-color 200ms ease; }
.card--feature:hover { border-color: var(--color-primary-border); }
.card__feature-icon { width: 3rem; height: 3rem; border-radius: 1.25rem; background: var(--color-primary-muted); display: flex; align-items: center; justify-content: center; color: var(--color-primary); margin-bottom: 1rem; }
.card__feature-title { font-weight: 600; font-size: 1.25rem; color: var(--color-text); margin: 0 0 0.5rem; }
.card__feature-desc { font-size: 0.875rem; color: var(--color-text-subtle); line-height: 1.625; margin: 0; }
.card--participant { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-radius: 1.5rem; border: 1px solid var(--color-border); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.card__participant-icon { width: 2.5rem; height: 2.5rem; border-radius: 1rem; background: var(--color-primary-muted); display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; }
.card__participant-label { font-weight: 500; color: var(--color-text); }
.card--steps { position: relative; border-radius: 1.875rem; padding: 2rem; border: 1px solid var(--color-border); background: var(--color-surface); box-shadow: var(--shadow-lg); }
.card--steps::before { content: "";
  position: absolute;
  inset: 0;
  filter: blur(48px);
  border-radius: 50%;
  z-index: -1; }
.card__step { display: flex; align-items: flex-start; gap: 1rem; }
.card__step-num { width: 2.9rem; height: 2.9rem; border-radius: 9999px; background: var(--color-primary-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; color: var(--color-primary); flex-shrink: 0; margin-top: 0.25rem; }
.card__step-divider { width: 1px; height: 2rem; background: var(--color-border); margin-left: 1.5rem; }
.card__step-title { font-weight: 700; font-size: 1.15rem; color: var(--color-text); margin: 0 0 0.5rem; }
.card__step-desc {    font-size: 0.90rem;
  color: var(--color-text-muted);
  margin: 0;
  opacity: 0.8; }
.card--team { padding: 2rem; border-radius: 1.875rem; border: 1px solid var(--color-border); background: var(--color-bg-alt); transition: border-color 200ms ease; }
.card--team:hover { border-color: var(--color-primary-border); }
.card__team-icon { width: 3.5rem; height: 3.5rem; border-radius: 1.5rem; background: var(--color-primary-muted); display: flex; align-items: center; justify-content: center; color: var(--color-primary); margin-bottom: 1.5rem; }
.card__team-title { font-weight: 700; font-size: 1.5rem; color: var(--color-text); margin: 0 0 0.75rem; }
.card__team-desc { font-size: 1rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.card--prize { padding: 2rem; border-radius: 1.875rem; text-align: center; background: var(--color-surface-card); border: 1px solid var(--prize-border, var(--color-border)); backdrop-filter: blur(4px); transition: transform 200ms ease, z-index 200ms ease;    width: 100%; box-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a; }
.card--prize:hover { transform: translateY(-2px); z-index: 20; }
.card--prize-winner { --prize-border: rgba(234, 179, 8, 0.2); --prize-icon: var(--color-accent-yellow); --prize-amount: var(--color-accent-yellow); }
@media (min-width: 1024px) { .card--prize-winner { transform: scale(1.1); z-index: 10; } .card--prize-winner:hover { z-index: 20; } }
.card--prize-first { --prize-border: rgba(14, 165, 233, 0.2); --prize-icon: var(--color-accent-sky); --prize-amount: var(--color-accent-sky); }
.card--prize-second { --prize-border: rgba(217, 119, 6, 0.2); --prize-icon: var(--color-accent-amber); --prize-amount: var(--color-accent-amber); }
.card__prize-icon { width: 5rem; height: 5rem; border-radius: 9999px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--prize-icon, var(--color-primary)) 10%, transparent); color: var(--prize-icon, var(--color-primary)); }
.card__prize-title { font-weight: 700; font-size: 1.25rem; color: var(--color-text-muted); margin: 0 0 0.5rem; }
.card__prize-amount { font-weight: 900; font-size: 2.25rem; color: var(--prize-amount, var(--color-primary)); margin-bottom: 1rem;    margin-top: 0px;     line-height: 1;}
@media (min-width: 768px) { .card__prize-amount { font-size: 3rem; } }
.card__prize-perk { font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted); margin: 0; }
.card--do { background: color-mix(in srgb, var(--color-primary) 5%, transparent); border-color: var(--color-primary-border); border-radius: 1.875rem; padding: 2rem; }
.card--dont { background: var(--color-error-muted); border-color: var(--color-error-border); border-radius: 1.875rem; padding: 2rem; }
.card__rule-title { font-weight: 700; font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; margin-top:0px; }
.card--do .card__rule-title { color: var(--color-primary); }
.card--dont .card__rule-title { color: var(--color-error); }
.card__rule-list { list-style: none; margin: 0; padding: 0; }
.card__rule-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 1rem; color: var(--color-text-muted); }
.card__rule-item:last-child { margin-bottom: 0; }
.card__rule-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.card--do .card__rule-dot { background: var(--color-primary); }
.card--dont .card__rule-dot { background: var(--color-error); }

/* Marquee */
.marquee-section { padding: 3rem 0; border-top: 1px solid var(--color-border-muted); border-bottom: 1px solid var(--color-border-muted); background: var(--color-bg-muted); backdrop-filter: blur(4px); position: relative; z-index: 20; }
.marquee-section__label { text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--color-text-subtle); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 2rem; }
.marquee-wrap { position: relative; overflow: hidden; }
.marquee { display: inline-block; overflow: hidden; user-select: none; }
@media (min-width: 768px) { .marquee { gap: 6rem; } }
/* Track holds 2 copies of logos; we animate -50% for seamless infinite loop (no right-side gap) */
.marquee__track { flex-shrink: 0; display: flex; align-items: center; gap: calc(.25rem*24); animation: marquee 50s linear infinite; white-space: nowrap; width: max-content; }
@media (min-width: 768px) { .marquee__track { gap: 6rem; } }
.marquee__track--alt { position: absolute; top: 0; animation: marquee-alt 50s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; filter: grayscale(100%); opacity: 0.5; transition: filter 300ms ease, opacity 300ms ease; }
.marquee__item:hover { filter: grayscale(0%); opacity: 1; }
.marquee__logo { width: auto; height: 50px; min-width: 80px; border-radius: 1rem; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; color: var(--color-text-muted); }
.marquee__logo img { max-height: 50px; width: auto; object-fit: contain; }
.marquee__name { font-size: 1.25rem; font-weight: 600; color: var(--color-text-muted); }
.marquee-fade { pointer-events: none; position: absolute; top: 0; bottom: 0; width: 8%; min-width: 3rem; max-width: 6rem; z-index: 2; }
.marquee-fade--left { left: 0; background: linear-gradient(to right, var(--color-bg-muted), transparent); }
.marquee-fade--right { right: 0; background: linear-gradient(to left, var(--color-bg-muted), transparent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-alt { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* FAQ section */
.faq { position: relative; z-index: 20; transition: background-color 300ms ease; }
.faq__container { max-width: 48rem; }
.faq__header { margin-bottom: 4rem; }
@media (min-width: 1024px) { .faq__header { margin-bottom: 4rem; } }
.faq__title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .faq__title { font-size: 3rem; } }
.faq__subtitle { color: var(--color-text-muted); max-width: 42rem; margin: 0 auto; font-size: 1rem; line-height: 1.625; }

/* Accordion – card-style list (no Tailwind) */
.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion__item {
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
[data-theme="dark"] .accordion__item { box-shadow: none; }
.accordion__item:hover { border-color: var(--color-border-muted); }
.accordion__item.is-open { border-color: var(--color-primary-border); box-shadow: 0 0 0 1px var(--color-primary-border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.accordion__trigger:hover { background: var(--color-bg-alt); }
.accordion__trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--color-primary); }
.accordion__trigger-text { flex: 1; padding-right: 2rem; line-height: 1.4; }
.accordion__icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--color-text-subtle); transition: transform 300ms ease; }
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms ease; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.625;
  overflow: hidden;
  min-height: 0;
  display: none;
}
.accordion__item.is-open .accordion__panel .accordion__content {
    display: inline-block;
}
.accordion__panel > * { min-height: 0; overflow: hidden; }

/* Hackathon theme modal – scoped under #hackthon-theme-modal so other modals/UI are unaffected */
#hackthon-theme-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
#hackthon-theme-modal.show,
#hackthon-theme-modal.in {
  display: flex !important;
}
#hackthon-theme-modal .modal-dialog {
  position: relative;
  width: 100%;
  max-width: 766px;
  margin: auto;
  pointer-events: auto;
}
#hackthon-theme-modal .modal-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem 0px 0px 1.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 820px);
}
#hackthon-theme-modal .modal-header {
  display: flex;
  align-items: end;
  padding: 1.25rem 1.5rem;
  justify-content: end;
  padding-bottom: 0px;
}
#hackthon-theme-modal .modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}
#hackthon-theme-modal .close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: none;
  background: #f7eeee;
  color: var(--color-text-subtle);
  cursor: pointer;
  border-radius: 0.75rem;
  transition: background-color 200ms ease, color 200ms ease;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
}
#hackthon-theme-modal .close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
#hackthon-theme-modal .close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary);
}
#hackthon-theme-modal .close span {
  display: block;
  font-weight: 200 !important;
  font-size: 28px;
}
#hackthon-theme-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 20px;
  display: block;
}
#hackthon-theme-modal .modal-footer.hackthon-theme-modal__footer {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px 24px;
  margin: 0;
  border-top: 1px solid var(--color-border-muted);
  background: var(--color-surface);
}
#hackthon-theme-modal .hackthon-theme-modal__footer-cta {
  width: 100%;
  display: flex;
  justify-content: center;
}
#hackthon-theme-modal .hackthon-theme-modal__participate-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
#hackthon-theme-modal #edtech-card {
  padding: 0 !important;
}
#hackthon-theme-modal #edtech-header {
  align-items: flex-start;
  padding-top: 4px;
}
@media (min-width: 640px) {
  #hackthon-theme-modal .modal-body {
    padding: 0 40px 24px;
  }
  #hackthon-theme-modal .modal-footer.hackthon-theme-modal__footer {
    padding: 16px 40px 32px;
  }
  #hackthon-theme-modal #edtech-card {
    padding: 0 !important;
  }
}
#hackthon-theme-modal .hackthon-theme-modal__logo {
  flex-shrink: 0;
  width: 6rem;
  max-width: 6rem;
  height: 4.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
#hackthon-theme-modal .hackthon-theme-modal__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#hackthon-theme-modal .hackthon-theme-modal__text {
  flex: 1;
  min-width: 0;
}
#hackthon-theme-modal .hackthon-theme-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}
#hackthon-theme-modal .modal-description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-text-muted);
  margin: 0;
}
#hackthon-theme-modal .modal-description a {
  color: var(--color-primary);
  text-decoration: none;
}
#hackthon-theme-modal .modal-description a:hover {
  text-decoration: underline;
}
@media (max-width: 575.98px) {
  #hackthon-theme-modal .modal-content {
    max-height: 92vh;
  }
  #hackthon-theme-modal .modal-body {
    padding: 0 16px 16px;
  }
  #hackthon-theme-modal .modal-footer.hackthon-theme-modal__footer {
    padding: 12px 16px 20px;
  }
  #hackthon-theme-modal #edtech-title {
    font-size: 20px;
  }
}

/* Misc: Judge, Footer, Finale, Chat FAB, Rules */
.judge-card { display: inline-block; border-radius: 1.875rem; border: 1px solid var(--color-border); background: var(--color-bg-alt); padding: 1.5rem; text-align: center; width: 16rem; margin: 0 auto; transition: border-color 200ms ease; }
.judge-card:hover .judge-card__img { filter: grayscale(0%); }
.judge-card__img-wrap { width: 8rem; height: 8rem; margin: 0 auto 1.5rem; border-radius: 9999px; overflow: hidden; border: 4px solid var(--color-border); position: relative; }
.judge-card__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 500ms ease; }
.judge-card__name { font-weight: 700; font-size: 1.25rem; color: var(--color-text); margin: 0 0 0.25rem; }
.judge-card__role { font-size: 0.875rem; font-weight: 500; color: var(--color-primary); margin: 0; }
.judge-card__org { font-size: 0.75rem; color: var(--color-text-subtle); margin-top: 0.25rem; }
.footer { padding: 3rem 0; border-top: 1px solid var(--color-border-muted); background: var(--color-bg); position: relative; z-index: 20; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer__inner { flex-direction: row; justify-content: space-between; } }
.footer__brand { display: flex; align-items: center; gap: 0.5rem; color: var(--color-text); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; text-decoration: none; }
.footer__logo-icon { color: var(--color-primary); width: 1.5rem; height: 1.5rem; }
.footer__links { display: flex; gap: 1.5rem; font-size: 0.875rem; }
.footer__link { color: var(--color-text-muted); text-decoration: none; transition: color 200ms ease; }
.footer__link:hover { color: var(--color-primary); }
.footer__copy { text-align: center; font-size: 0.875rem; color: var(--color-text-subtle); margin: 0; }
.finale-banner { margin-top: 1.5rem; background: linear-gradient(to right, color-mix(in srgb, var(--color-primary) 5%, transparent), color-mix(in srgb, var(--color-primary) 10%, transparent), color-mix(in srgb, var(--color-primary) 5%, transparent)); border: 1px solid var(--color-border); border-radius: 1.5rem; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .finale-banner { flex-direction: row; justify-content: space-between; } }
.finale-banner__content { display: flex; align-items: center; gap: 1rem; }
.finale-banner__icon { width: 3rem; height: 3rem; border-radius: 9999px; background: var(--color-surface); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-accent-yellow); }
.finale-banner__title { font-weight: 700; font-size: 1.125rem; color: var(--color-text); margin: 0 0 0.25rem; }
.finale-banner__desc { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }
.finale-banner__badge { font-size: 0.875rem; font-weight: 500; color: var(--color-text-subtle); background: var(--color-surface-card); padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid var(--color-border); }
.chat-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--color-primary); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: background-color 200ms ease; display: none;}
.chat-fab:hover { background: var(--color-primary-hover); }
.chat-fab:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-primary); }
.chat-fab__badge { position: absolute; top: -4px; right: -4px; width: 1rem; height: 1rem; }
.chat-fab__badge-ping { position: absolute; inset: 0; border-radius: 50%; background: var(--color-primary); opacity: 0.75; animation: chat-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
.chat-fab__badge-dot { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--color-primary); border: 2px solid white; }
[data-theme="dark"] .chat-fab__badge-dot { border-color: var(--color-bg); }
@keyframes chat-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.rules-list { list-style: none; margin: 0 0 3rem; padding: 0; }
.rules-list__item { display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 1rem; color: var(--color-text-muted); }
.rules-list__item:last-child { margin-bottom: 0; }
.rules-list__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); margin-top: 0.5rem; flex-shrink: 0; }
.content-block__title { font-weight: 700; font-size: 1.25rem; color: var(--color-text); margin: 0 0 0.5rem; }
.content-block__text { font-size: 1rem; color: var(--color-text-muted); margin: 0; }
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }



/* ---------------------- Footer design start here ---------------------- */

.quiz_fotter {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 24px 24px 0 !important;
}
.quiz_fotter .footer_logo {
  padding: 32px 0;
}

.quiz_fotter .footer_logo img {
  padding: 0;
  max-width: 250px;
  opacity: .5;
}

.quiz_fotter .footer_logo+ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 0;
  padding-bottom: 20px;
list-style: none;
}

.quiz_fotter ul li a {
text-align: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  color: var(--text-color);
  font-family: var(--font-montserret);
  font-family: "Montserrat", sans-serif;
}

.footer_bottom {
  padding-top: 20px;
  display: inline-block;
  position: relative;
  width: 100%;
}

.footer_bottom ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
list-style: none;
}

.quiz_fotter .footer_bottom a, .quiz_fotter .footer_bottom li {
  color: var(--text-color-4);
  font-variant-numeric: lining-nums proportional-nums;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}


/* Header section code start from here */
site-header__hamburger, .mobile-header__search--btn {
  background: none;
  border: none;
  outline: none; }

.site-header__hamburger, .mobile-header__search--btn {
  background: none;
  border: none;
  outline: none; }

.input-box {
  background: #FFF;
  border: 1px solid #DEDEDE;
  padding: 16px 24px;
  width: 100%;
  border-radius: 36px; }
  @media screen and (min-width: 1000px) {
    .input-box {
      border-radius: 36px; } }
  @media screen and (min-width: 1000px) {
    .input-box {
      padding: 12px 20px; } }



@media screen and (min-width: 1000px) {
  .mobile-view {
    display: none !important; } }

.hide {
  display: none !important; }



.btn-invert {
  padding: 10px 16px;
  background: #ED1C24;
  color: #fff;
  border: 1px solid #ED1C24;
  border-radius: 40px;
  width: auto;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  transition: all ease 0.5s;
  background: #fff;
  color: #ED1C24;
  will-change: transform;
  transform: translateZ(0);
  outline: none;
  position: relative; }
  .btn-invert:hover, .btn-invert:focus {
    background: #fff;
    color: #ED1C24; }
  .btn-invert:hover, .btn-invert:focus {
    background: #ED1C24;
    color: #fff; }
    .btn-invert:hover::after, .btn-invert:focus::after {
      background-position: -623px -218px; }
  .btn-invert:after {
    content: "";
    background-image: url(/Themes/Release/theme4/images/sprite-icons.svg?mod=21);
    background-repeat: no-repeat;
    height: 12px;
    width: 8px;
    display: inline-block;
    margin-left: 8px;
    color: #ED1C24;
    background-position: -254px -218px; }

.btn-invert-gray {
  padding: 10px 16px;
  background: #736E6E;
  color: #fff;
  border: 1px solid #736E6E;
  border-radius: 40px;
  width: auto;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  transition: all ease 0.5s;
  background: #fff;
  color: #736E6E; }
  .btn-invert-gray:hover, .btn-invert-gray:focus {
    background: #fff;
    color: #736E6E; }
  .btn-invert-gray:hover, .btn-invert-gray:focus {
    background: #736E6E;
    color: #fff; }
    .btn-invert-gray:hover::after, .btn-invert-gray:focus::after {
      background-position: -623px -218px; }
  .btn-invert-gray:hover, .btn-invert-gray:focus {
    background: #ED1C24;
    color: #FFF;
    border-color: #ED1C24; }
  .btn-invert-gray:focus {
    outline: none; }

header .container {
margin-left: auto;
margin-right: auto;
max-width: 1232px;
padding-left: 0px;
padding-right: 0px; }

.slick-slider {
  position: relative; }
  .slick-slider .slick-track {
    padding-top: 0px;
    padding-bottom: 10px; }
  .slick-slider .slick-arrow {
    width: 31px;
    height: 31px;
    background: #FFF;
    color: red;
    border-radius: 30px;
    border: 1px solid #595959;
    right: 0;
    top: -24px;
    left: auto; }
    .slick-slider .slick-arrow:before {
      display: inline-block;
      content: '';
      width: 16px;
      height: 12px;
      opacity: 1 !important;
      background-image: url(/Themes/Release/theme4/images/sprite-icons.svg?mod=21);
      background-repeat: no-repeat;
      background-position: -292px -145px; }
  .slick-slider .slick-prev {
    right: 39px; }
    .slick-slider .slick-prev:before {
      transform: rotate(-180deg); }
  .slick-slider .slick-disabled {
    opacity: 0.5; }
  .slick-slider:after {
    content: "";
    position: absolute;
    background: #fff;
    width: 15px;
    height: 180px;
    display: none;
    right: 0;
    top: 5px;
    box-shadow: 15px 15px 20px 0px #fff; }

.btn-listen__duration {
  font-size: 12px;
  line-height: 15px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #727272;
  margin-left: 16px;
  color: #1a1a1a; }

.clearfix:after {
  content: "";
  clear: both;
  display: table; }

.exclusive-item {
  position: relative;
  color: #ED1C24 !important;
  padding-left: 20px !important; }
  .exclusive-item:after {
    content: '';
    display: inline-block;
    background-image: url(/Themes/Release/theme4/images/sprite-icons.svg?mod=21);
    background-repeat: no-repeat;
    background-position: -177px -175px;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    position: absolute;
    left: 0;
    top: -2px; }
  .exclusive-item:not(:first-child) {
    padding-left: 28px !important; }
    .exclusive-item:not(:first-child):after {
      left: 8px; }

.audio-item {
  position: relative;
  padding-left: 0 !important;
  width: 30px;
  height: 15px;
  display: inline-block; }
  .audio-item:after {
    content: '';
    display: inline-block;
    background: url(/Themes/Release/theme4/images/icons/icon-audio-red.svg) no-repeat center;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 13;
    top: -2px; }
  .audio-item:first-of-type {
    width: 13px; }
    .audio-item:first-of-type:after {
      left: 0; }

.video-item {
  position: relative;
  padding-left: 0 !important;
  width: 30px;
  height: 12px;
  display: inline-block; }
  .video-item:after {
    content: '';
    display: inline-block;
    background: url(/Themes/Release/theme4/images/icons/icon-video-red.svg) no-repeat center;
    width: 12px;
    height: 12px;
    position: absolute;
    left: 13;
    top: 0px; }
  .video-item:first-of-type {
    width: 13px; }
    .video-item:first-of-type:after {
      left: 0; }

.slide-shows {
  position: relative;
  padding-left: 0 !important;
  width: 30px;
  height: 15px;
  display: inline-block; }
  .slide-shows:after {
    content: '';
    display: inline-block;
    background: url(/Themes/Release/theme4/images/icons/icon-slideshow-red.svg) no-repeat center;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 13;
    top: -2px; }
  .slide-shows:first-of-type {
    width: 13px; }
    .slide-shows:first-of-type:after {
      left: 0; }

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important; }

.vh {
  visibility: hidden;
  position: relative;
  z-index: -1; }
  .vh * {
    transition: none; }

.narratives-panel:after, .special-init-panel:after, .leaders-speak-panel:after,
.portal-events-panel:after {
  margin: 25px auto 15px auto;
  content: "";
  display: block;
  border-bottom: 1px solid #cccccc;
  max-width: 992px; }
  @media screen and (max-width: 1000px) {
    .narratives-panel:after, .special-init-panel:after, .leaders-speak-panel:after,
    .portal-events-panel:after {
      margin: 20px auto 30px auto; } }

input.val-error {
  border-color: #ED1C24; }

#maincontent > div:last-child:after, #maincontent > section:last-child:after {
  display: none; }

.page-homepage .mobile-header__nav--home {
  color: #ED1C24; }
  .page-homepage .mobile-header__nav--home:before {
    background-position: -136px -170px; }

.page-latestNews .mobile-header__nav--news {
  color: #ED1C24; }
  .page-latestNews .mobile-header__nav--news:before {
    background-position: -60px -61px; }

.page-exclusiveNews .mobile-header__nav--exclusives {
  color: #ED1C24; }
  .page-exclusiveNews .mobile-header__nav--exclusives:before {
    background-position: -15px -92px; }

.page-awards .mobile-header__nav--awards {
  color: #ED1C24; }
  .page-awards .mobile-header__nav--awards:before {
    background-position: -152px -61px; }

.page-eventListing .mobile-header__nav--events {
  color: #ED1C24; }
  .page-eventListing .mobile-header__nav--events:before {
    background-position: -107px -62px; }

.site-header {
  position: absolute;
  z-index: 12;
  background: rgba(255, 255, 255, 0.02);
  /* backdrop-filter: blur(5px); */
  transition: all ease 0.5s;
  height: 60px;
  width: 100%;
  top: 0px; }
  @media screen and (min-width: 1000px) {

      .site-header.site-header-pip {
        height: 160px; } }
  .site-header.site-header-nosticky {
    height: 207px; }
    @media screen and (max-width: 1000px) {
      .site-header.site-header-nosticky {
        height: 66px; } }
  .site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.1); }
    @media screen and (min-width: 1000px) {
      .site-header.sticky {
        height: unset; }
        .site-header.sticky .top-logo-view {
          display: none; }
        .site-header.sticky .floating-logo-view {
          display: block !important; } }
    .site-header.sticky .international-section {
      display: none; }
  .site-header__outer {
    background: #FFF;
    position: absolute;
    left: 0;
    z-index: 999999;
    width: 100%; }
  @media screen and (max-width: 1000px) {
    .site-header__inner {
      padding: 14px 0;
      width: calc(100% - 48px);
      -ms-display: flex;
      -webkit-display: flex;
      display: flex;
      -ms-justify-content: space-between;
      -webkit-justify-content: space-between;
      justify-content: space-between;
      -ms-align-items: center;
      -webkit-align-items: center;
      align-items: center;
      -ms-flex-direction: row;
      -webkit-flex-direction: row;
      flex-direction: row; }
      .site-header__inner:after {
        display: none; } }
  @media screen and (min-width: 1000px) {
    .site-header__inner {
      padding-top: 10px; }
      .site-header__inner.hrme, .site-header__inner.hrsea, .site-header__inner.hr, .site-header__inner.cio, .site-header__inner.ciosea, .site-header__inner.energy, .site-header__inner.energymea {
        padding-top: 10px; }
        .site-header__inner.hrme .site-header__logo, .site-header__inner.hrsea .site-header__logo, .site-header__inner.hr .site-header__logo, .site-header__inner.cio .site-header__logo, .site-header__inner.ciosea .site-header__logo, .site-header__inner.energy .site-header__logo, .site-header__inner.energymea .site-header__logo {
          height: 30px; }
        .sticky .site-header__inner.hrme .site-header__logo, .sticky .site-header__inner.hrsea .site-header__logo, .sticky .site-header__inner.hr .site-header__logo, .sticky .site-header__inner.cio .site-header__logo, .sticky .site-header__inner.ciosea .site-header__logo, .sticky .site-header__inner.energy .site-header__logo, .sticky .site-header__inner.energymea .site-header__logo {
          height: 40px; }
      .sticky .site-header__inner {
        max-width: 1232px;
        position: relative;
        margin-top: 0;
        padding: 16px 0 0;
        height: 54px;
        overflow: hidden; } }
  .site-header__hamburger {
    display: inline-block;
    position: absolute;
    left: -50%;
    top: 21px;
    width: 35px;
    cursor: pointer;
    z-index: 10; }
    .sticky .site-header__hamburger {
      left: 0; }
  @media screen and (min-width: 1000px) {
    .site-header__logo {
      position: relative;
      height: 40px; } }
  .site-header__logo a {
    display: inline-block;
    z-index: 99; }
    @media screen and (min-width: 1000px) {
      .site-header__logo a {
        position: absolute;
        left: 60px;
        transform: translateX(-50%); } }
  .sticky .site-header__logo a {
    left: 60px;
    margin-left: 0;
    top: 10px;
    transform: none;
    z-index: 99; }
  .site-header__login {
    float: right;
    position: relative;
    top: -40px; }
    .site-header__login .btn-invert-gray {
      height: 37px; }
    @media screen and (min-width: 1000px) {
      .sticky .site-header__login {
        top: 0px;
        z-index: 3; }
        .sticky .site-header__login .loggedin-user {
          top: 2px;
          position: relative; } }
    .site-header__login .loggedin-user {
      cursor: pointer;
      height: 45px;
      position: relative; min-width: 60px; }
      .site-header__login .loggedin-user .hvr_bx {
        display: none;
        position: absolute;
        top: -10000px;
        background-color: #FFF;
        width: 195px;
        border-radius: 20px;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        padding-right: 0px;
        right: 0;
        z-index: 999;
        cursor: auto; }
        @media screen and (min-width: 1000px) {
          .site-header__login .loggedin-user .hvr_bx {
            border-radius: 20px; } }
        .site-header__login .loggedin-user .hvr_bx ul li i.fa {
          width: 20px;
          height: 18px;
          display: inline-block;
          vertical-align: middle;
          margin-right: 8px; }
        .site-header__login .loggedin-user .hvr_bx ul li .fa-pencil {
          background: url(/Themes/Release/theme4/images/icons/edit-icon.svg) 0 0 no-repeat; }
        .site-header__login .loggedin-user .hvr_bx ul li .fa-key {
          background: url(/Themes/Release/theme4/images/icons/create-pwd-icon.svg) 0 0 no-repeat; }
        .site-header__login .loggedin-user .hvr_bx ul li .fa-power-off {
          background: url(/Themes/Release/theme4/images/icons/logout-icon.svg) 0 0 no-repeat;
          height: 16px; }
        .site-header__login .loggedin-user .hvr_bx ul li.saved-stories i.fa {
          background: url(/Themes/Release/theme4/images/icons/bookmark-icon.svg?mod=4) no-repeat 0 0; }
        .site-header__login .loggedin-user .hvr_bx ul li.my-subscriptions i.fa {
          background: url(/Themes/Release/theme4/images/icons/subscriptions-icon.svg?mod=4) no-repeat 0 0;
          height: 20px; }
        .site-header__login .loggedin-user .hvr_bx ul li.manage-preferences i.fa {
          background: url(/Themes/Release/theme4/images/icons/manage.PNG?mod=4) no-repeat 0 0;
          background-size: 100%; }
      .site-header__login .loggedin-user:hover .hvr_bx {
        display: block;
        top: 40px; }
        .site-header__login .loggedin-user:hover .hvr_bx ul li {
          padding-top: 0px; }
          .site-header__login .loggedin-user:hover .hvr_bx ul li a {
            font-size: 12px;
            line-height: 15px;
            font-family: "Montserrat", sans-serif;
            font-weight: 500;
            color: #1a1a1a;
            display: block;
            padding: 10px; }
            .site-header__login .loggedin-user:hover .hvr_bx ul li a:hover {
              color: #ED1C24; }
          .site-header__login .loggedin-user:hover .hvr_bx ul li:first-child {
            padding-top: 0; }
          .site-header__login .loggedin-user:hover .hvr_bx ul li:last-of-type a {
            padding-bottom: 0; }
      .site-header__login .loggedin-user .fa-user-circle-o {
        background: url(/Themes/Release/theme4/images/icons/default-user.svg) 0 0 no-repeat;
        height: 32px;
        width: 32px;
        display: inline-block;
        margin-right: 12px; }
      .site-header__login .loggedin-user .b2boauth-user-name {
        width: 32px;
        height: 32px;
        border-radius: 20px;
        float: none;
        margin-right: 12px;
        background-color: #F3CB9E; }
        .site-header__login .loggedin-user .b2boauth-user-name span {
          color: #000;
          font-weight: bold; }
      .site-header__login .loggedin-user .arrow-icon-down {
        display: inline-block; }
        .site-header__login .loggedin-user .arrow-icon-down::after {
          content: "";
          background: url(/Themes/Release/theme4/images/icons/down-arrow.svg) 0 0 no-repeat;
          height: 20px;
          width: 20px;
          display: inline-block;    position: relative;
          top: 11px; }
      .site-header__login .loggedin-user:before {
        content: '';
        position: absolute;
        width: 100%; }
      .site-header__login .loggedin-user img {
        margin-right: 10px;
        border-radius: 50%;}
      .site-header__login .loggedin-user .crown-img {
        top: -5px;
        left: -10px; }
  @media screen and (max-width: 1000px) {
    .site-header {
      box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.1); }
      .site-header__getapp {
        width: 90px; }
        .site-header__getapp a {
          display: inline-block;
          min-width: 52px;
          font-size: 12px; }
          .site-header__getapp a::after {
            display: none; } }

@media screen and (min-width: 1000px) {
  .international-section {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);     display: none; } }

@media screen and (max-width: 1000px) {
  .international-section {
    margin: 30px 0 30px 0; }
    .international-section .country-version {
      text-align: center; } }

.international-section .countryhvr ul {
  display: flex; }
  @media screen and (max-width: 1000px) {
    .international-section .countryhvr ul {
      flex-direction: column;
      margin-top: 20px; } }
  .international-section .countryhvr ul li {
    display: inline-block;
    margin-right: 12px;
    padding: 4px 8px;
    border-radius: 40px;
    line-height: 0; }
    @media screen and (max-width: 1000px) {
      .international-section .countryhvr ul li {
        display: block;
        padding-left: 0;
        margin-bottom: 20px; } }
    @media screen and (min-width: 1000px) {
      .international-section .countryhvr ul li:hover {
        background: #f5f5f5; } }
    .international-section .countryhvr ul li a {
      font-size: 9px;
      line-height: 11px;
      font-family: "Montserrat", sans-serif;
      font-weight: 500;
      color: #727272; }
      @media screen and (max-width: 1000px) {
        .international-section .countryhvr ul li a {
          font-size: 16px;
          line-height: 20px;
          color: #000000;
          font-weight: 500 !important; } }
    .international-section .countryhvr ul li.active a {
      color: #1A1A1A;
      font-weight: 700; }
  .international-section .countryhvr ul.hr li:first-child a {
    color: #1A1A1A;
    font-weight: 700; }
  .international-section .countryhvr ul.hrme li:first-child {
    order: 3; }
  .international-section .countryhvr ul.hrme li:nth-child(2) {
    order: 2; }
  .international-section .countryhvr ul.hrme li:nth-child(3) {
    order: 1; }
    .international-section .countryhvr ul.hrme li:nth-child(3) a {
      color: #1A1A1A;
      font-weight: 700; }
  .international-section .countryhvr ul.hrsea li:first-child {
    order: 3; }
  .international-section .countryhvr ul.hrsea li:nth-child(2) {
    order: 1; }
    .international-section .countryhvr ul.hrsea li:nth-child(2) a {
      color: #1A1A1A;
      font-weight: 700; }
  .international-section .countryhvr ul.hrsea li:nth-child(3) {
    order: 2; }
  .international-section .countryhvr ul.cio li:first-child a, .international-section .countryhvr ul.energy li:first-child a {
    color: #1A1A1A;
    font-weight: 700; }
  .international-section .countryhvr ul.ciosea li:first-child, .international-section .countryhvr ul.energymea li:first-child {
    order: 2; }
  .international-section .countryhvr ul.ciosea li:nth-child(2), .international-section .countryhvr ul.energymea li:nth-child(2) {
    order: 1; }
    .international-section .countryhvr ul.ciosea li:nth-child(2) a, .international-section .countryhvr ul.energymea li:nth-child(2) a {
      color: #1A1A1A;
      font-weight: 700; }

.site-header.sticky .site-header__login .loggedin-user .header-user-nav {
  position: fixed; }
  .site-header.sticky .site-header__login .loggedin-user .header-user-nav .hvr_bx {
    position: absolute;
    right: -50px;
    top: 25px; }
    .site-header.sticky .site-header__login .loggedin-user .header-user-nav .hvr_bx:before {
      content: '';
      position: absolute;
      width: 100%;
      padding: 28px 0;
      top: -25px; }

.site-header.sticky .top-panel__navigation > li > span.navigation__more--trigger:after {
  right: -4px; }

.mobile-header {
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  width: calc(100% - 48px);
  padding: 20px 24px 13px;
  transition: all ease 0.2s;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); }
  @supports (-webkit-overflow-scrolling: touch) {
    .mob-view-fullscreen .mobile-header {
      z-index: 1; } }
  .mobile-header.bottom-nav {
    bottom: -90px; }
  .mobile-header__nav {
    -ms-display: flex;
    -webkit-display: flex;
    display: flex;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-align-items: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row; }
    .mobile-header__nav a {
      font-size: 10px;
      line-height: 12px;
      font-family: "Montserrat", sans-serif;
      font-weight: 700;
      color: #1a1a1a;
      -ms-display: flex;
      -webkit-display: flex;
      display: flex;
      -ms-justify-content: center;
      -webkit-justify-content: center;
      justify-content: center;
      -ms-align-items: center;
      -webkit-align-items: center;
      align-items: center;
      -ms-flex-direction: column;
      -webkit-flex-direction: column;
      flex-direction: column;
      transition: none; }
      .mobile-header__nav a:before {
        content: '';
        display: block;
        width: 25px;
        height: 25px;
        display: inline-flex;
        align-items: center;
        background-image: url(/Themes/Release/theme4/images/sprite-icons.svg?mod=21);
        background-repeat: no-repeat; }
    .mobile-header__nav--home .active {
      color: #ED1C24; }
    .mobile-header__nav--home:hover, .mobile-header__nav--home:focus {
      color: #ED1C24; }
    .mobile-header__nav--home:before {
      background-position: -373px -99px; }
    .mobile-header__nav--news .active {
      color: #ED1C24; }
    .mobile-header__nav--news:hover, .mobile-header__nav--news:focus {
      color: #ED1C24; }
    .mobile-header__nav--news:before {
      background-position: -128px -138px; }
    .mobile-header__nav--exclusives .active {
      color: #ED1C24; }
    .mobile-header__nav--exclusives:hover, .mobile-header__nav--exclusives:focus {
      color: #ED1C24; }
    .mobile-header__nav--exclusives:before {
      background-position: -165px -137px; }
    .mobile-header__nav--events .active {
      color: #ED1C24; }
    .mobile-header__nav--events:hover, .mobile-header__nav--events:focus {
      color: #ED1C24; }
    .mobile-header__nav--events:before {
      background-position: -208px -138px; }
    .mobile-header__nav--awards .active {
      color: #ED1C24; }
    .mobile-header__nav--awards:hover, .mobile-header__nav--awards:focus {
      color: #ED1C24; }
    .mobile-header__nav--awards:before {
      background-position: -249px -140px; }
    .mobile-header__nav--more .active {
      color: #ED1C24; }
    .mobile-header__nav--more:hover, .mobile-header__nav--more:focus {
      color: #ED1C24; }
    .mobile-header__nav--more:before {
      background-position: -97px -169px; }
    .mobile-header__nav--more:hover:before, .mobile-header__nav--more:focus:before {
      background-position: -93px -172px; }
    .mobile-header__nav--more.js-btn-mob-close:before {
      background-position: -15px -59px; }
  .mobile-header__callout {
    position: fixed;
    z-index: 8;
    left: 0;
    top: 9999px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: all ease 0.2s; }
    .mobile-header__callout.active {
      top: 0; }
    .mobile-header__callout--close {
      display: inline-block;
      height: 36px;
      width: 36px;
      position: absolute;
      right: 16px;
      top: 50px;
      background: #fff;
      border-radius: 50%;
      border: none; }
      .mobile-header__callout--close > span {
        height: 20px;
        width: 20px; }
        .mobile-header__callout--close > span.close-icon {
          background-position: -612px -174px; }
    .mobile-header__callout--section {
      position: absolute;
      left: 0;
      top: 100px;
      z-index: 9;
      width: 100%;
      height: calc(100% - 150px);
      padding-bottom: 80px;
      border-radius: 20px 20px 0px 0px;
      background: #FFF;
      overflow-y: auto; }
    .mobile-header__callout--slot {
      border-bottom: 1px solid #E6E6E6;
      padding-bottom: 32px; }
    .mobile-header__callout--inner {
      padding: 0 24px; }
    .mobile-header__callout nav {
      margin-top: 32px;
      display: block; }
      .mobile-header__callout nav a, .mobile-header__callout nav span {
        display: block; }
        .mobile-header__callout nav a.mobile-header__user--logout, .mobile-header__callout nav span.mobile-header__user--logout {
          text-transform: capitalize; }
          .mobile-header__callout nav a.mobile-header__user--logout:before, .mobile-header__callout nav span.mobile-header__user--logout:before {
            top: 4px; }
      .mobile-header__callout nav .navigation__more--trigger {
        font-size: 16px;
        line-height: 20px;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        color: #1A1A1A;
        margin-top: 32px;
        position: relative;
        cursor: pointer; }
        .mobile-header__callout nav .navigation__more--trigger i {
          background-image: url(/Themes/Release/theme4/images/sprite-icons.svg?mod=21);
          background-repeat: no-repeat;
          background-position: -58px -26px;
          position: absolute;
          right: 10px;
          height: 10px;
          width: 10px;
          top: 4px; }
        .mobile-header__callout nav .navigation__more--trigger .navigation__more--nav {
          margin-top: 4px; }
          .mobile-header__callout nav .navigation__more--trigger .navigation__more--nav a {
            font-weight: 500;
            line-height: 18px;
            padding: 0;
            width: 47%;
            display: inline-block;
            margin-top: 24px;
            vertical-align: text-top; }
            .mobile-header__callout nav .navigation__more--trigger .navigation__more--nav a:nth-child(odd) {
              margin-right: 10px; }
  .mobile-header__links a {
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 32px; }
    .mobile-header__links a:hover, .mobile-header__links a:focus {
      color: #ED1C24; }
  .mobile-header__user {
    margin-top: 10px;
    padding: 24px;
    width: calc(100% - 48px); }
    .mobile-header__user--head {
      -ms-display: flex;
      -webkit-display: flex;
      display: flex;
      -ms-justify-content: flex-start;
      -webkit-justify-content: flex-start;
      justify-content: flex-start;
      -ms-align-items: center;
      -webkit-align-items: center;
      align-items: center;
      -ms-flex-direction: row;
      -webkit-flex-direction: row;
      flex-direction: row;
      position: relative; }
      .mobile-header__user--head:after {
        content: '';
        width: 20px;
        height: 20px;
        position: absolute;
        right: 0;
        display: inline-block;
        top: 10px;
        background: url(/Themes/Release/theme4/images/icons/icon-mob-chevron-down.svg) no-repeat center;
        transform: rotate(-180deg);
        transition: all ease 0.3s; }
      .mobile-header__user--head.active:after {
        transform: rotate(0deg); }
      .mobile-header__user--head .crown-img {
        top: -2px;
        left: -4px; }
    .mobile-header__user--image {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: 15px;
      -ms-display: flex;
      -webkit-display: flex;
      display: flex;
      -ms-justify-content: center;
      -webkit-justify-content: center;
      justify-content: center;
      -ms-align-items: center;
      -webkit-align-items: center;
      align-items: center;
      -ms-flex-direction: row;
      -webkit-flex-direction: row;
      flex-direction: row; }
      .mobile-header__user--image img {
        display: block;
        max-width: 100%;
        border-radius: 50%; }
        @media screen and (min-width: 1000px) {
          .mobile-header__user--image img {
            object-fit: cover; } }
      .mobile-header__user--image .fa-user-circle-o {
        background: url(/Themes/Release/theme4/images/icons/default-user.svg) 0 0 no-repeat;
        height: 32px;
        width: 32px;
        display: inline-block; }
      .mobile-header__user--image .b2boauth-user-name {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        float: none;
        margin: 0;
        background-color: #F3CB9E; }
        .mobile-header__user--image .b2boauth-user-name span {
          color: #000;
          font-weight: bold; }
    .mobile-header__user--name {
      font-size: 14px;
      line-height: 17px;
      font-family: "Montserrat", sans-serif;
      font-weight: 500;
      color: #595959;
      color: #1F1D1D;
      font-weight: 600; }
    .mobile-header__user--desc a {
      margin-top: 28px;
      font-size: 14px;
      line-height: 17px;
      font-family: "Montserrat", sans-serif;
      font-weight: 500;
      color: #595959;
      color: #1a1a1a; }
      .mobile-header__user--desc a:first-child {
        margin-top: 0; }
      .mobile-header__user--desc a:before {
        content: '';
        width: 16px;
        height: 16px;
        display: inline-block;
        margin-right: 16px;
        display: inline-flex;
        position: relative;
        top: 3px; }
      .mobile-header__user--desc a:hover, .mobile-header__user--desc a:focus {
        color: #ED1C24; }
    .mobile-header__user--edit:before {
      background: url(/Themes/Release/theme4/images/icons/icon-edit-profile.svg) no-repeat; }
    .mobile-header__user--edit:hover:before, .mobile-header__user--edit:focus:before {
      background: url(/Themes/Release/theme4/images/icons/icon-edit-profile-hover.svg) no-repeat; }
    .mobile-header__user--create-pwd:before {
      background: url(/Themes/Release/theme4/images/icons/icon-create-password.svg) no-repeat; }
    .mobile-header__user--create-pwd:hover:before, .mobile-header__user--create-pwd:focus:before {
      background: url(/Themes/Release/theme4/images/icons/icon-create-password-hover.svg) no-repeat; }
    .mobile-header__user--logout:before {
      background: url(/Themes/Release/theme4/images/icons/icon-logout.svg) no-repeat; }
    .mobile-header__user--logout:hover:before, .mobile-header__user--logout:focus:before {
      background: url(/Themes/Release/theme4/images/icons/icon-logout-hover.svg) no-repeat; }
    .mobile-header__user--saved-stories {
      background: url(/Themes/Release/theme4/images/icons/bookmark-icon.svg) no-repeat 0 2px; }
    .mobile-header__user--my-subscription {
      background: url(/Themes/Release/theme4/images/icons/subscriptions-icon.svg) no-repeat 0 2px; }
      .mobile-header__user--my-subscription::before {
        height: 18px !important; }
    .mobile-header__user--manage-preferences::before {
      background: url(/Themes/Release/theme4/images/icons/manage.PNG) no-repeat 0 0;
      background-size: contain;
      width: 17px !important; }
  .mobile-header__search {
    -ms-display: flex;
    -webkit-display: flex;
    display: flex;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-align-items: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row; }
    .mobile-header__search--input {
      width: calc(100% - 85px);
      padding: 12px 16px;
      border: 1px solid #E6E6E6;
      border-radius: 12px; }
      .mobile-header__search--input:hover, .mobile-header__search--input:focus {
        border-color: #ED1C24;
        outline: #ED1C24; }
    .mobile-header__search--btn {
      padding: 12px;
      background: #1a1a1a;
      font-size: 14px;
      line-height: 17px;
      font-family: "Montserrat", sans-serif;
      font-weight: 500;
      color: #595959;
      color: #FFF;
      border-radius: 8px;
      height: 40px; }
      .mobile-header__search--btn:hover, .mobile-header__search--btn:focus {
        background: #ED1C24; }
    .mobile-header__search--top-links a:before {
      content: '';
      display: inline-block;
      vertical-align: middle;
      margin-right: 10px;
      position: relative;
      top: 3px;
      width: 25px;
      height: 25px;
      background-image: url(/Themes/Release/theme4/images/sprite-icons.svg?mod=21);
      background-repeat: no-repeat;
      background-position: -128px -138px; }
    .mobile-header__search--top-links a:hover:before, .mobile-header__search--top-links a:focus:before {
      background: url(/Themes/Release/theme4/images/icons/icon-mob-news-hover.png) no-repeat; }



      .bottom-footer ul li {
        font-family: Montserrat,sans-serif;
        display: inline-block;
        color: #595959;
    }


    .bottom-footer__inner .portalnames ul li {
      font-size: 12px;
      font-weight: 500;
      line-height: 16px;
      margin-top: 15px;
      width: 16%;
  }

  .bottom-footer__inner {
    border-bottom: 1px solid #ccc;
}

.bottom-footer__inner__last .section-copyright {
margin-top: 20px;
text-align: center;
}
.bottom-footer__inner__last ul li {
font-size: 10px;
line-height: 12px;
font-family: Montserrat,sans-serif;
font-weight: 500;
color: #595959;
}
.bottom-footer__inner .portalnames {
padding: 20px 0 40px 0;
}
.bottom-footer__inner__last .section-copyright li {
margin-right: 20px;
}

.bottom-footer__inner h3 {
font-size: 18px;
line-height: 26px;
font-family: SangBleuVersailles-Bold-WebS,sans-serif;
font-weight: 400;
color: #1a1a1a;
display: flex;
}


body footer.footer {
  margin: 0px;
  background: #eaeaea;
  padding-top: 20px !important;
}

body footer.footer img {
  margin-right: 10px;
}

img.desktop-view.top-logo-view {
height: 30px !important;
margin-top: 4px;
}

img.desktop-view.top-logo-view {
height: auto;
}

.loggedin-user .author-name-container, .mobile-header__user--image .author-name-container{
vertical-align: middle;
}
@media(max-width:1100px){
.international-section.desktop-view {
  display: none !important;
}
.site-header__logo img.desktop-view.top-logo-view {
display: none !important;
}

.site-header__login {
top: 0px;
}
.international-section.desktop-view {
display: none !important;
}

.site-header__logo img.desktop-view.top-logo-view {
display: none !important;
}

.site-header__logo {
display: inline-block;
width: 100%;
}

.site-header__logo img.mobile-view.floating-logo-view {
height: 32px;
}

.site-header__login {
top: 0px;
}

.site-header__login .loggedin-user .arrow-icon-down::after {
right: 0px;
top: 2px !important;
display: flex;
justify-content: center;
align-items: center;
}

.site-header__login .loggedin-user .arrow-icon-down {
position: absolute;
right: -15px;
top: 0px;
}

.box_widget_section {
/* padding: 0px 20px; */
}

section.header_section.common_spacing.text-center-content {
padding-left: 15px;
padding-right: 15px;
}

ul.content_listing {
padding: 0px !important;
margin: 0px !important;
}

#guidelines li {
text-align: center;
justify-content: center !important;
}

ul.content_listing {
padding: 0px 20px;
}

section.attend_section.common_spacing {
padding-left: 15px;
padding-right: 15px;
}

.footer_bottom {
display: inline-block;
}

section.quiz_fotter.common_spacing {
padding-top: 0px !important;
}

section.quiz_fotter.common_spacing {
padding: 0px !important;
}

.quiz_fotter .footer_bottom li {
width: 100%;
text-align: center;
font-size: 12px;
margin-bottom: 3px;
}

.footer_bottom ul {
display: inline-block !important;
}

}

.header-user-nav ul {
  list-style: none;
  padding: 0px;
}

.site-header__login .loggedin-user .hvr_bx ul li i.fa:before {
  opacity: 0;
}
/* Header section code end here */

/* auth form realted css start from here */

#detail-submit-form.oauth{margin-top: -25px; width: 350px;}
#detail-submit-form .description-list{
    position: relative;
    padding: 12px;
    padding-bottom: 0px;
    border: 1.5px solid #dcd6d6;
    margin-top: 12px;
    border-radius: 5px;
    background: #eeeeee96;
}


a.quiz_form_edit {position: absolute;right: 6px;background: #fff;padding: 1px 10px;border-radius: 50px;}
a.quiz_form_edit:hover{color: #016db2!important;text-decoration: none;}

.description-list-row{width: 100%;margin-bottom: 10px;}
.half-width{width: 50%;display: block;float: left;}
.half-width + div:not(.half-width) {clear:both; float:none}
.description-list-row label{color:#9e9e9e;font-size: 13px;font-weight: 400;margin-bottom: 0!important;}
.input_sec.quiz-checkbox {margin-bottom: 0px!important;margin-top: -10px;}
#detail-submit-form h2{margin-top: 22px; margin-bottom: 18px; color: #333; text-align: center; font-family: Arial, Helvetica, sans-serif; font-weight: bold;}
#detail-submit-form .multifield{padding-top: 5px;}

.model-box:has([class^="contest-register"]) div#model_content_1 {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 15px;
	max-height: 81vh;
}

.model-box:has([class^="contest-register"]) .model-container.modal-confirm {
	padding: 24px;
    padding-left: 30px;
}
.model-container.modal-confirm a.close {
    top: -7px;
    right: -6px;
    background: #fff;
    display: flex
;
    align-items: center;
    justify-content: center;
    padding: 2px;
    font-size: 15px;
    border-radius: 50px;
    opacity: 0;
    color: #333;
	width: 24px;
    height: 24px;
}
#detail-submit-form h2 {
    margin-top: 0px;
    margin-bottom: 25px;
	margin-top: 0px !important;
    font-size: 18px;
}
#detail-submit-form .submit-outer.clearfix {
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 16px rgb(0 0 0 / 20%);
    display: flex;
    padding: 13px 15px 13px 15px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin-bottom: 0;
    z-index: 100;
}

.input-section-main {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.input-section-main .input_sec:first-child {
    padding-right: 8px;
}
.input-section-main .input_sec:last-child {
    padding-left: 8px;
}
.input-section-main .input_sec {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 50%;
    max-width: 50%;
}
.model-container .create-section p.error {
    font-weight: 400;
}

#detail-submit-form {
    padding-bottom: 70px !important;
}

.scroll-nav nav li.active a {
    border-top: 3px solid #ed1c24;
    border-radius: 5px;
}

.submit-outer input#quiz_register_btn {
    margin: 0px !important;
}

div#detail-submit-form input#quiz_register_btn {
    margin: 0px !important;
}

div#detail-submit-form {
    color: black;
}

div#detail-submit-form .model-container label {
    font-size: 12px;
    color: #888;
}

div#detail-submit-form .predefined_content {
    margin-bottom: 25px !important;
}

div#detail-submit-form .create-section.webinar-checkbox.layered label.checkbox {
    color: black;
}

h2#form-title {
    font-family: "Montserrat", sans-serif;
}

.model-container div#detail-submit-form label {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: #888;
}

.model-container #detail-submit-form .description-list-row span {
    font-size: 14px !important;
}

@media screen and (max-width: 992px) {
    .model-container.modal-confirm .model-wrapper .immediate-information h3 {
        display:block!important;
        width: 100%
    }

    .model-container.modal-confirm {
        padding: 10px !important;
        max-width: 100% !important;
    }

    .model-container.modal-confirm .model-wrapper {
        padding: 0
    }

    .model-container.modal-confirm .model-wrapper .immediate-information .contact-info .contact-info-box {
        width: 100%
    }

    #detail-submit-form .create-section.input_sec:has(> #ms_register_btn),.model-container.modal-confirm {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0
    }

    .model-container.modal-confirm a.close {
        top: -32px;
        right: 11px
    }

    .model-container.modal-confirm .model-wrapper .immediate-information {
        margin-top: 10px
    }

    .model-container.modal-confirm .model-wrapper .immediate-information .contact-info {
        max-height: 230px;
        overflow-y: auto;
        padding-right: 10px
    }
}

.submit-confirm-tc a {
    font-size: 12px;
    color: #337ab7;
}
.submit-confirm-tc {
    text-align: center;
}

div#detail-submit-form .create-section.webinar-checkbox.layered label.checkbox {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 8px;
}

/* Header section code end here */


    /* ─── Card Wrapper ─── */
    #edtech-card {
      padding:0px !important;
    }

    @media (min-width: 640px) {
      #edtech-card {
        padding: 0 40px 48px 40px;
      }
    }

    /* ─── Header Row ─── */
    #edtech-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    /* ─── Icon Box ─── */
    #edtech-icon-box {
      width: 64px;
      height: 64px;
      border-radius: 16px;
      background-color: var(--color-bg-alt);
      border: 1px solid var(--color-border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-accent-violet);
      flex-shrink: 0;
    }

    #edtech-icon-box svg {
      width: 32px;
      height: 32px;
    }

    /* ─── Title Block ─── */
    #edtech-title-block {
      flex: 1;
    }

    #edtech-title {
      font-size: 23px;
      font-weight: 700;
      color: var(--color-text);
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin: 0px;
    }

    #edtech-subtitle {
      font-size: 16px;
      font-weight: 500;
      color: var(--color-accent-violet);
      margin-top: 4px;
      margin-bottom: 0px;
    }

    /* ─── Register Button (Desktop) ─── */
    #edtech-btn-desktop {
      display: none;
      height: 48px;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      background-color: var(--color-primary);
      padding: 0 32px;
      font-weight: 700;
      color: var(--color-surface);
      border: none;
      cursor: pointer;
      font-size: 15px;
      box-shadow: 0 8px 20px color-mix(in srgb, var(--color-primary) 25%, transparent);
      transition: background-color 0.2s ease;
      white-space: nowrap;
    }

    #edtech-btn-desktop:hover {
      background-color: var(--color-primary-hover);
    }

    @media (min-width: 640px) {
      #edtech-btn-desktop {
        display: inline-flex;
      }
    }

    /* ─── Register Button (Mobile) ─── */
    #edtech-btn-mobile {
      display: flex;
      width: 100%;
      height: 48px;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      background-color: var(--color-primary);
      padding: 0 24px;
      font-weight: 700;
      color: var(--color-surface);
      border: none;
      cursor: pointer;
      font-size: 15px;
      box-shadow: 0 8px 20px color-mix(in srgb, var(--color-primary) 25%, transparent);
      transition: background-color 0.2s ease;
      margin-bottom: 32px;
    }

    #edtech-btn-mobile:hover {
      background-color: var(--color-primary-hover);
    }

    @media (min-width: 640px) {
      #edtech-btn-mobile {
        display: none;
      }
    }

    /* ─── Content Sections ─── */
    #edtech-sections {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    /* ─── Problem Box ─── */
    #edtech-problem {
      background-color: color-mix(in srgb, var(--color-accent-violet) 5%, transparent);
      border-radius: 16px;
      padding: 24px;
      border: 1px solid var(--color-border-muted);
    }

    #edtech-problem:hover {
      border-color: color-mix(in srgb, var(--color-accent-violet) 50%, transparent);
    }

    #edtech-problem-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--color-accent-violet);
      margin-bottom: 8px;
      margin-top: 0px;
    }

    #edtech-problem-text {
      color: var(--color-text-muted);
      line-height: 1.7;
      font-size: 15px;
      margin-bottom: 0px !important;
      padding-bottom: 0px !important;
    }

    #edtech-problem-text p {
      padding: 0px;
      margin: 0px;
    }

    /* ─── Challenge Block ─── */
    #edtech-challenge-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--color-text);
      margin-bottom: 12px;
    }

    #edtech-challenge-body {
      display: flex;
      flex-direction: column;
      gap: 16px;
      color: var(--color-text-muted);
      line-height: 1.7;
      font-size: 15px;
    }
    #edtech-challenge-body li {
      font-size: 16px;
      margin-bottom: 10px;
    }

    #edtech-challenge-body ul {
      padding-left: 16px;
      margin: 0px;
    }

    /* ─── Solution Box ─── */
    #edtech-solution {
      background-color: var(--color-bg-alt);
      border-radius: 16px;
      padding: 24px;
      border: 1px solid var(--color-border);
    }

    #edtech-solution-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--color-text);
      margin-bottom: 8px;
      margin-top: 0px !important;
    }

    #edtech-solution-text {
      color: var(--color-text-muted);
      line-height: 1.7;
      font-size: 15px;
      padding: 0px;
      margin: 0px;
    }

    /* ─── Unique Feature Box ─── */
    #edtech-feature {
      background-color: color-mix(in srgb, var(--color-accent-violet) 10%, transparent);
      border-radius: 16px;
      padding: 24px;
      border: 1px solid color-mix(in srgb, var(--color-accent-violet) 20%, transparent);
    }

    #edtech-feature:hover {
      border-color: color-mix(in srgb, var(--color-accent-violet) 50%, transparent);
    }

    #edtech-feature-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--color-accent-violet);
      margin-bottom: 8px;
      margin-top: 0px;
    }

    #edtech-feature-text {
      color: var(--color-text-muted);
      line-height: 1.7;
      font-size: 15px;
      padding: 0px;
      margin: 0px;
    }

    div#edtech-solution:has(#edtech-solution-text:empty), div#edtech-feature:has(#edtech-feature-text:empty), div#edtech-challenge:has(ul:empty) {
      display: none;
    }
  


    #take-test-modal {
      position: fixed;
      inset: 0;
      z-index: 1050;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
    }
    #take-test-modal.show,
    #take-test-modal.in,
    #take-test-modal.in {
      display: flex !important;
    }
    #take-test-modal.modal-dialog {
      position: relative;
      width: 100%;
      max-width: 766px;
      margin: auto;
      pointer-events: auto;
    }
    #take-test-modal .modal-content {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 1.5rem 0px 0px 1.5rem;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }
    #take-test-modal .modal-header {
      display: flex;
      align-items: end;
      padding: 1.25rem 1.5rem;
      justify-content: end;
      padding-bottom: 0px;
    }
    #take-test-modal .modal-title {
      margin: 0;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--color-text);
    }
    #take-test-modal .close {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      padding: 0;
      margin: 0;
      border: none;
      background: #f7eeee;
      color: var(--color-text-subtle);
      cursor: pointer;
      border-radius: 0.75rem;
      transition: background-color 200ms ease, color 200ms ease;
      font-size: 1.5rem;
      line-height: 1;
      border-radius: 50%;
    }
    #take-test-modal .close:hover {
      background: var(--color-bg-alt);
      color: var(--color-text);
    }
    #take-test-modal .close:focus-visible {
      outline: none;
      box-shadow: 0 0 0 2px var(--color-primary);
    }
    #take-test-modal .close span {
      display: block;
      font-weight: 200 !important;
      font-size: 28px;
    }
    #take-test-modal .modal-body {
      padding: 20px 40px;
      display: flex;
      align-items: flex-start;
      gap: 1.25rem;
    }
 
    @media (max-width: 575.98px) {
      #take-test-modal .modal-body {
        flex-direction: column;
      }
    
    }

    .message-box.warning-msg {
      color: #f00;
      font-size: 13px;
      line-height: normal;
      text-align: center;
      margin-top: 8px;
  }
      .thnks-pmsg p{
        color: #333;
      }

      /**modal popup css */
      div#take-test-modal.take-hackathon-modal{
        padding: 1rem !important;
      }
      div#take-test-modal.take-hackathon-modal .modal-dialog.modal-lg {
        border-radius: 16px;
        background: transparent !important;
        max-width: 784px;
        flex-shrink: 0;
        width: 96%;margin-left: auto;
        margin-right: auto;
    }div#take-test-modal.take-hackathon-modal .modal-dialog.modal-lg .modal-content {
      border: 0;
      border-radius: 20px;
      background-size: cover !important;
      background: rgb(255, 255, 255);
      position: relative;
  }div#take-test-modal.take-hackathon-modal .modal-dialog.modal-lg .modal-content:before {
    content: '';
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 38%, var(--theme-banner-gradient-color-34-100-rgba));
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}div#take-test-modal.take-hackathon-modal .modal-header {
  border-bottom: 0;
  padding: 30px 30px 0;
  display: block;
  position: relative;
  text-align: left;
}div#take-test-modal.take-hackathon-modal .modal-dialog.modal-lg .modal-content h4 {
  color: #1a1a1a;
  text-align: center;
  font-family: SangBleuVersailles-Bold-WebS !important;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 29px;
  margin-top: 0 !important;
  margin-bottom: 19px;
}#take-test-modal.take-hackathon-modal .modal-body-outer ul,#take-test-modal.take-hackathon-modal .modal-body-outer ol,#take-test-modal.take-hackathon-modal body .modal-content p {
  color: #1a1a1a !important;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
}#take-test-modal.take-hackathon-modal .modal-body {
  position: relative;
  display: block;
}#take-test-modal.take-hackathon-modal hr {
  background: linear-gradient(90deg, #1ab2ff .04%, rgba(26, 178, 255, 0) 100.04%);
  border: 0;
  margin: 0 0 24px;
  height: 1px;
  width: 100%;
}#take-test-modal.take-hackathon-modal .modal-body .modal-body-outer .row {
  display: flex;
}#take-test-modal.take-hackathon-modal .modal-body .modal-body-outer .row ol.list3 {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}#take-test-modal.take-hackathon-modal .modal-body .modal-body-outer .row ol.list3 li {
  text-align: left;
}#take-test-modal.take-hackathon-modal .modal-footer {
  border: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
  padding: 15px;
}#take-test-modal.take-hackathon-modal .modal-footer button.btn.button.start_candidate_confirm {
  border-radius: 32px;
  background: #1a1a1a;
  padding: 11px 22px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  font-family: "Montserrat", sans-serif;
}#take-test-modal.take-hackathon-modal .modal-body-outer ul,#take-test-modal.take-hackathon-modal .modal-body-outer ol,#take-test-modal.take-hackathon-modal body .modal-content p {
  color: #1a1a1a !important;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
}
div#take-test-modal.take-hackathon-modal .modal-header p,
#take-test-modal.take-hackathon-modal .modal-footer p {
  color: #1a1a1a;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}

@media screen and (max-width:800px){
  #take-test-modal.take-hackathon-modal .modal-body .modal-body-outer .row{
    flex-direction: column;
  }
}

/* ─── Ready to Build Section ─── */
.mb-0{
  margin-bottom: 0px!important;
}
#readyToBuild a.btn.btn--primary.banner-register-now-btn {
  background: #ffffff;
  color: #172435;
}

#edtech-icon-box span img {
  max-width: 80%;
  max-height: 80%;
}
#edtech-icon-box span {
  display: inline-block;
  width: 100%;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Leaderboard UI (scoped to avoid impacting other modules) */
#leaderboard {
  margin-top: 16px;
}

#leaderboard .table2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(100deg, color-mix(in srgb, var(--color-bg-alt) 82%, transparent), color-mix(in srgb, var(--color-surface-card) 92%, transparent));
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 6%, transparent);
  overflow: hidden;
}

#leaderboard .table2 thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: color-mix(in srgb, var(--color-bg-alt) 65%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  padding: 16px 20px;
  vertical-align: middle;
}

#leaderboard .table2 tbody td {
  padding: 18px 20px;
  color: var(--color-text);
  border-top: 1px solid color-mix(in srgb, var(--color-border-muted) 80%, transparent);
  vertical-align: middle;
  background: color-mix(in srgb, var(--color-bg-alt) 25%, transparent);
}

#leaderboard .table2 tbody tr:first-child td {
  border-top: 0;
}

#leaderboard .table2 tbody tr:hover td {
  background: color-mix(in srgb, var(--color-bg-alt) 45%, transparent);
}

#leaderboard .table2 .rank {
  width: 100px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

#leaderboard .table2 .lb-medal {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  margin-right: 8px;
  vertical-align: middle;
}

#leaderboard .table2 .lb-rank-value {
  display: inline-block;
  min-width: 13px;
  color: black;
  font-size: 18px;
  font-weight: 700;
  vertical-align: middle;
}

#leaderboard .table2 .name,
#leaderboard .table2 .name a,
#leaderboard .table2 .team-name,
#leaderboard .table2 .text-left,
#leaderboard .table2 .text-right,
#leaderboard .table2 .time-stamp span,
#leaderboard .table2 small {
  color: var(--color-text) !important;
}

#leaderboard .table2 .name a {
  text-decoration: none;
  font-weight: 600;
}

#leaderboard .table2 .name h5,
#leaderboard .table2 .name .team-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #363535;
}

#leaderboard .tab-content {
  position: relative;
}


#leaderboard .table2 .mappingimage {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  border: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
  background: color-mix(in srgb, var(--color-primary) 20%, transparent);
  color: var(--color-text);
  font-weight: 700;
  text-transform: uppercase;
}

#leaderboard .table2 .mappingimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#leaderboard .table2 td.text-right {
  font-weight: 700;
}

#leaderboard .table2 .name a:hover {
  color: var(--color-primary) !important;
}

#leaderboard .table2 .time-stamp span,
#leaderboard .table2 small {
  color: var(--color-text-subtle) !important;
}

/* Hide internal score breakdown popovers unless intentionally shown */
#leaderboard .table2 .popover {
  display: none;
}

/* Keep active user block aligned with table card styling */
#leaderboard .active-user-status .table2 {
  margin-top: 14px;
  border-radius: 14px;
}

#leaderboard .section-footer {
  margin-top: 16px;
}

#leaderboard .section-footer p {
  color: var(--color-text-subtle);
}

#leaderboard .pagination li a,
#leaderboard .pagination li span {
  color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-border);
}

@media (max-width: 991px) {
  #leaderboard .table2 .name h5,
  #leaderboard .table2 .name .team-name { font-size: 1.05rem; }
  #leaderboard .table2 .name .company_designation { font-size: 0.85rem; }
  #leaderboard .table2 tbody td,
  #leaderboard .table2 thead th { padding: 14px 12px; }
}

/* Leaderboard top tabs (overall/round tabs) */
section#leaderboard .mobile_scroll {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 14px;
}

section#leaderboard .test-preview-info-tab {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

section#leaderboard .test-preview-info-tab > li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

section#leaderboard .test-preview-info-tab > li > a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-card);
  color: black !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

section#leaderboard .test-preview-info-tab > li > a span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-subtle);
}

section#leaderboard .test-preview-info-tab > li.active > a {
  color: var(--color-text) !important;
  border-color: var(--color-primary-border);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-surface-card));
}

section#leaderboard .test-preview-info-tab > li.active > a span {
  color: var(--color-primary);
}

/* Leaderboard block spacing + empty-state alignment */
section#leaderboard .headng4 {
  margin-top: 8px;
  margin-bottom: 18px;
}

section#leaderboard #view_all_leaderboard > #leaderboard {
  margin-top: 12px;
  margin-bottom: 0px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .table1-wrap,
section#leaderboard #view_all_leaderboard > #leaderboard {
  width: 100%;
}

section#leaderboard #view_all_leaderboard > #leaderboard .no-content-found {
  margin-top: 14px;
  margin-bottom: 24px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .no-content-found .wrapper {
  display: flex;
  justify-content: center;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified {
  text-align: center;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 16px 10px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified svg {
  display: block;
  margin: 0 auto 18px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified h4 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified h6 {
  margin: 0 0 16px;
  color: var(--color-text-subtle);
  font-size: 14px;
  font-weight: 500;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn {
  min-width: 132px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button2,
section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button1 {
  background: var(--color-primary);
  color: #fff !important;
  border: 1px solid var(--color-primary);
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button2:hover,
section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button1:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

/* Wrapper */
.create-section.input.layered.field-resume {
    position: relative;
    margin-bottom: 34px;
}

/* File input base */
.create-section.input.layered.field-resume input[type="file"] {
    width: 100%;
    height: 44px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 0px;
    font-size: 13px;
    color: #9ca3af;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover + focus (match other inputs) */
.create-section.input.layered.field-resume input[type="file"]:hover {
    border-color: #cbd5e1;
}

.create-section.input.layered.field-resume input[type="file"]:focus {
    border-color: #ef4444;
    outline: none;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

/* Remove ugly default button (Chrome, Edge) */
.create-section.input.layered.field-resume input[type="file"]::file-selector-button {
    background: #f3f4f6;
    border: none;
    border-right: 1px solid #e5e7eb;
    padding: 8px 14px;
    margin-right: 10px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

/* Button hover */
.create-section.input.layered.field-resume input[type="file"]::file-selector-button:hover {
    background: #e5e7eb;
}

/* Safari / older browsers */
.create-section.input.layered.field-resume input[type="file"]::-webkit-file-upload-button {
    background: #f3f4f6;
    border: none;
    border-right: 1px solid #e5e7eb;
    padding: 8px 14px;
    margin-right: 10px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
}

/* Label styling (floating style like your form) */
.create-section.input.layered.field-resume label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    display: block;
}

/* Error spacing */
.create-section.input.layered.field-resume .error-txt {
    font-size: 12px;
    margin-top: 4px;
    color: #ef4444;
}

.create-section.input.layered.field-resume label {
    position: absolute;
    top: -24px;
}


/* Leaderboard UI (scoped to avoid impacting other modules) */
#leaderboard {
  margin-top: 16px;
}

#leaderboard .table2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

#leaderboard .table2 thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: color-mix(in srgb, var(--color-bg-alt) 70%, transparent);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 16px;
  vertical-align: middle;
}

#leaderboard .table2 tbody td {
  padding: 16px;
  color: var(--color-text);
  border-top: 1px solid var(--color-border-muted);
  vertical-align: middle;
  background: transparent;
}

#leaderboard .table2 tbody tr:first-child td {
  border-top: 0;
}

#leaderboard .table2 .rank {
  width: 90px;
  font-weight: 700;
  text-align: center;
}

#leaderboard .table2 .name,
#leaderboard .table2 .name a,
#leaderboard .table2 .team-name,
#leaderboard .table2 .text-left,
#leaderboard .table2 .text-right,
#leaderboard .table2 .time-stamp span,
#leaderboard .table2 small {
  color: #3d3c3c !important;
}

#leaderboard .table2 .name a {
  text-decoration: none;
  font-weight: 600;
}

#leaderboard .table2 .name a:hover {
  color: var(--color-primary) !important;
}

#leaderboard .table2 .time-stamp span,
#leaderboard .table2 small {
  color: var(--color-text-subtle) !important;
}

/* Hide internal score breakdown popovers unless intentionally shown */
#leaderboard .table2 .popover {
  display: none;
}

/* Keep active user block aligned with table card styling */
#leaderboard .active-user-status .table2 {
  margin-top: 14px;
  border-radius: 14px;
}

#leaderboard .section-footer {
  margin-top: 16px;
}

#leaderboard .section-footer p {
  color: var(--color-text-subtle);
}

#leaderboard .pagination li a,
#leaderboard .pagination li span {
  color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-border);
}

/* Leaderboard top tabs (overall/round tabs) */
section#leaderboard .mobile_scroll {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 14px;
}

section#leaderboard .test-preview-info-tab {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

section#leaderboard .test-preview-info-tab > li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

section#leaderboard .test-preview-info-tab > li > a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-card);
  color: #000000bd !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0.9;
}

section#leaderboard .test-preview-info-tab > li > a span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-subtle);
}

section#leaderboard .test-preview-info-tab > li.active > a {
  border-color: var(--color-primary-border);
  background: white;
  color: black !important;
  border-bottom: 3px solid #000000d9 !important;
  opacity: 1;
}

section#leaderboard .test-preview-info-tab > li.active > a span {
  color: var(--color-primary);
}

/* Leaderboard block spacing + empty-state alignment */
section#leaderboard .headng4 {
  margin-top: 8px;
  margin-bottom: 18px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .table1-wrap,
section#leaderboard #view_all_leaderboard > #leaderboard {
  width: 100%;
}

section#leaderboard #view_all_leaderboard > #leaderboard .no-content-found {
  margin-top: 14px;
  margin-bottom: 24px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .no-content-found .wrapper {
  display: flex;
  justify-content: center;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified {
  text-align: center;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 16px 10px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified svg {
  display: block;
  margin: 0 auto 18px;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified h4 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified h6 {
  margin: 0 0 16px;
  color: var(--color-text-subtle);
  font-size: 14px;
  font-weight: 500;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn {
  min-width: 132px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button2,
section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button1 {
  background: var(--color-primary);
  color: #fff !important;
  border: 1px solid var(--color-primary);
}

section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button2:hover,
section#leaderboard #view_all_leaderboard > #leaderboard .leaderNotNotified .btn.button1:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
/* Wrapper */
.create-section.input.layered.field-resume {
    position: relative;
    margin-bottom: 34px;
}

/* File input base */
.create-section.input.layered.field-resume input[type="file"] {
    width: 100%;
    height: 44px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 0px;
    font-size: 13px;
    color: #9ca3af;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover + focus (match other inputs) */
.create-section.input.layered.field-resume input[type="file"]:hover {
    border-color: #cbd5e1;
}

.colum_2.column.align-center {
  display: flex;
}

.create-section.input.layered.field-resume input[type="file"]:focus {
    border-color: #ef4444;
    outline: none;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

/* Remove ugly default button (Chrome, Edge) */
.create-section.input.layered.field-resume input[type="file"]::file-selector-button {
    background: #f3f4f6;
    border: none;
    border-right: 1px solid #e5e7eb;
    padding: 8px 14px;
    margin-right: 10px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

/* Button hover */
.create-section.input.layered.field-resume input[type="file"]::file-selector-button:hover {
    background: #e5e7eb;
}

/* Safari / older browsers */
.create-section.input.layered.field-resume input[type="file"]::-webkit-file-upload-button {
    background: #f3f4f6;
    border: none;
    border-right: 1px solid #e5e7eb;
    padding: 8px 14px;
    margin-right: 10px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
}

/* Label styling (floating style like your form) */
.create-section.input.layered.field-resume label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    display: block;
}

/* Error spacing */
.create-section.input.layered.field-resume .error-txt {
    font-size: 12px;
    margin-top: 4px;
    color: #ef4444;
}

.create-section.input.layered.field-resume label {
    position: absolute;
    top: -24px;
}

.pane-description p {
  margin-bottom: 40px;
  margin-top: 7px !important;
  opacity: 0.8;
}

a.view-all-leaderboard {
  color: black;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  padding: 20px 20px 20px 20px;
  border-radius: 0px 0px 10px 10px;
  position: relative;
  top: -9px;
  font-size: 15px;
  border-top: 1px solid #e9e2e2;
  font-weight: 500;
}

#leaderboard table tbody td .column_2.colum img {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  max-width: 40px;
}

/* Final leaderboard overrides (keep this at end) */
#leaderboard .table2 {
  background: #f2f3f5 !important;
  border: 1px solid #e2e5ea !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#leaderboard .table2 thead th {
  background: #f2f3f5 !important;
  border-bottom: 1px solid #e0e3e8 !important;
  color: #2d2f35 !important;
  font-size: 12px !important;
  padding: 14px 16px !important;
}

#leaderboard .table2 tbody td {
  background: #f7f8fa !important;
  border-top: 1px solid #dfe2e7 !important;
  color: #111827 !important;
  padding: 14px 16px !important;
}

#leaderboard .table2 tbody tr:first-child td {
  border-top: 0 !important;
}


#leaderboard .table2 .lb-medal {
  font-size: 14px !important;
  margin-right: 6px !important;
  display: none;
}




#leaderboard .table2 .name .company_designation {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  color: #6b7280 !important;
}

#leaderboard .table2 .mappingimage {
  background: #18181bcf;
  color: white;
}

#leaderboard .table2 td.text-right {
  color: #111827 !important;
  font-weight: 700 !important;
}

#leaderboard .table2 .text-left,
#leaderboard .table2 .text-left a,
#leaderboard .table2 .time-stamp span,
#leaderboard .table2 small {
  color: #4b5563 !important;
}

/* Responsive leaderboard tuning (scoped, non-breaking) */
@media (max-width: 767px) {
  #view_all_leaderboard #leaderboard.table1-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px 10px 0 0;
  }

  #view_all_leaderboard #leaderboard .table2 {
    min-width: 640px;
    table-layout: fixed;
  }

  #view_all_leaderboard #leaderboard .table2 thead th,
  #view_all_leaderboard #leaderboard .table2 tbody td {
    padding: 10px 10px !important;
    font-size: 12px !important;
    vertical-align: middle;
  }

  #view_all_leaderboard #leaderboard .table2 .rank {
    width: 52px;
    min-width: 52px;
    text-align: center;
    white-space: nowrap;
  }

  #view_all_leaderboard #leaderboard .table2 .name {
    width: auto;
  }

  #view_all_leaderboard #leaderboard .table2 td.text-right,
  #view_all_leaderboard #leaderboard .table2 th.text-right {
    width: 96px;
    min-width: 96px;
    text-align: right;
    white-space: nowrap;
  }

  #view_all_leaderboard #leaderboard .table2 thead th.text-right small {
    display: none;
  }

  #view_all_leaderboard #leaderboard .table2 .user_name .column,
  #view_all_leaderboard #leaderboard .table2 .user_name .colum_2 {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  #view_all_leaderboard #leaderboard .table2 .mappingimage {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    border-radius: 999px;
  }

  #view_all_leaderboard #leaderboard .table2 .mappingimage img {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    object-fit: cover;
  }

  #view_all_leaderboard #leaderboard .table2 .name h5 {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal;
    word-break: break-word;
  }

  #view_all_leaderboard #leaderboard .table2 .name .company_designation {
    margin: 2px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #view_all_leaderboard #leaderboard .table2 .lb-rank-value {
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  a.view-all-leaderboard {
    font-size: 13px;
    padding: 14px 12px 16px;
  }
}

@media (max-width: 480px) {
  #view_all_leaderboard #leaderboard .table2 {
    min-width: 600px;
  }

  #view_all_leaderboard #leaderboard .table2 td.text-right,
  #view_all_leaderboard #leaderboard .table2 th.text-right {
    width: 86px;
    min-width: 86px;
  }
}

/* ── Team participation modal ─────────────────────────────────────────────── */
#hackathon-round-team-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}
#hackathon-round-team-modal.show,
#hackathon-round-team-modal.in {
  display: flex !important;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
#hackathon-round-team-modal.fade-out {
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
}
#hackathon-round-team-modal .modal-dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: auto;
  pointer-events: auto;
  transform: translateY(-24px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#hackathon-round-team-modal .modal-dialog.modal-dialog--team-wide {
  max-width: 960px;
}
#hackathon-round-team-modal.in .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}
/* Modal is appended to body — use scoped tokens so light themes are not overridden by global --color-text */
#hackathon-round-team-modal {
  --hackathon-team-modal-text: #18181b;
  --hackathon-team-modal-text-muted: #52525b;
  --hackathon-team-modal-card-bg: #fafafa;
  --hackathon-team-modal-card-border: #e4e4e7;
  --hackathon-team-modal-surface: #ffffff;
}
body.theme-dark #hackathon-round-team-modal,
#hackathon-round-team-modal.theme-dark {
  --hackathon-team-modal-text: #fafafa;
  --hackathon-team-modal-text-muted: #a1a1aa;
  --hackathon-team-modal-card-bg: #18181b;
  --hackathon-team-modal-card-border: rgba(39, 39, 42, 0.55);
  --hackathon-team-modal-surface: #09090b;
}
#hackathon-round-team-modal .modal-content {
  background: var(--hackathon-team-modal-surface);
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  color: var(--hackathon-team-modal-text);
}
#hackathon-round-team-modal .modal-header {
  padding: 1.5rem 1.5rem 0;
  border-bottom: 0;
  position: relative;
}
#hackathon-round-team-modal .modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hackathon-team-modal-text);
  margin: 0 0 4px;
}
#hackathon-round-team-modal .modal-header > p {
  margin: 0;
  color: var(--hackathon-team-modal-text-muted);
  font-size: 13px;
}
#hackathon-round-team-modal .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: #e8e8e8;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}
#hackathon-round-team-modal .close:hover { background: #d0d0d0; transform: scale(1.1); }
#hackathon-round-team-modal .modal-body { padding: 1.5rem; }

/* Join individually only when team_creation=2 */
#hackathon-round-team-modal:not([data-team-creation-mode="2"]) .card--team-join-individual {
  display: none !important;
}

.hackathon-team-modal-options {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
}
.hackathon-team-modal-options .card--team {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--hackathon-team-modal-card-bg);
  border-color: var(--hackathon-team-modal-card-border);
  color: var(--hackathon-team-modal-text);
}
#hackathon-round-team-modal .card__team-title {
  color: var(--hackathon-team-modal-text);
}
#hackathon-round-team-modal .card__team-desc {
  color: var(--hackathon-team-modal-text-muted);
}
.hackathon-team-modal-options .card--team .card__team-desc {
  flex: 1 1 auto;
}
.hackathon-team-modal-options .card--team .btn {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 767.98px) {
  #hackathon-round-team-modal .modal-dialog,
  #hackathon-round-team-modal .modal-dialog.modal-dialog--team-wide {
    width: 96%;
    max-width: 96%;
  }
  .hackathon-team-modal-options {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .hackathon-team-modal-options .card--team {
    flex: 1 1 auto;
    min-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCUSSION PANEL — full overhaul
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Panel wrapper ── */
#discussion-forum.form1 {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  padding: 0;
  overflow: hidden;
}
#discussion-forum .content { padding: 0; }

/* ── Header bar ── */
#discussion-forum .disc-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f0f1f3;
}
#discussion-forum .disc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
#discussion-forum .disc-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -.01em;
}
#discussion-forum .disc-count-badge {
  font-size: 11.5px;
  font-weight: 600;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 20px;
  padding: 2px 8px;
  line-height: 1.6;
}
#discussion-forum .disc-sort-tabs {
  display: flex;
  gap: 4px;
}
#discussion-forum .disc-sort-tab {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid transparent;
  color: #6b7280;
  background: transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1;
}
#discussion-forum .disc-sort-tab:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #e2e8f0;
}
#discussion-forum .disc-sort-tab.active {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #e2e8f0;
  font-weight: 600;
}

/* ── Compose card ── */
#discussion-forum .disc-compose-card {
  display: flex;
  gap: 12px;
  padding: 14px 20px 14px;
  border-bottom: 1px solid #f0f1f3;
  background: #fafbfc;
  align-items: flex-start;
}
#discussion-forum .disc-compose-avatar-wrap {
  flex-shrink: 0;
  width: 36px;
  padding-top: 2px;
}
#discussion-forum .disc-compose-avatar-wrap img.avtar_pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  display: block;
}
#discussion-forum .disc-compose-body {
  flex: 1;
  min-width: 0;
  margin-left: 0 !important;
  border: none !important;
}
#discussion-forum #comment_statement {
  width: 100%;
  min-height: 42px;
  max-height: 160px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #374151;
  resize: none;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  line-height: 1.5;
  display: block;
}
#discussion-forum #comment_statement:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
#discussion-forum .disc-compose-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
#discussion-forum .disc-compose-row #comment_statement,
#discussion-forum .disc-compose-row .disc-compose-input {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
#discussion-forum .disc-compose-editor > .post-comment-error {
  display: none !important;
}
#discussion-forum .post-comment-error.hide,
#discussion-forum .post-comment-error:empty {
  display: none !important;
}
#discussion-forum .post-comment-error .error_msg {
  display: block;
  margin: 0;
  color: #dc2626;
  font-size: 12px;
  line-height: 1.4;
}
#discussion-forum .disc-compose-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}
#discussion-forum .disc-compose-row > .post-comment-error {
  width: 100%;
  margin: 4px 0 0;
  padding: 0 2px;
  text-align: left;
}
#discussion-forum .disc-compose-row > .post-comment-error .disc-compose-error-text,
#discussion-forum .disc-compose-row > .post-comment-error .error_msg {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #b91c1c;
}
#discussion-forum #comment_statement.disc-compose-input--error,
#discussion-forum .disc-reply-textarea.disc-compose-input--error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2) !important;
}
#discussion-forum .disc-send-btn,
#discussion-forum .btn.button1.post-comment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  width: auto;
  min-width: 76px;
  min-height: 36px;
  white-space: nowrap;
  background: #d7263d;
  color: #fff;
  border: 1px solid #d7263d;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  text-transform: none;
  transition: background .15s, box-shadow .15s;
}
#discussion-forum .disc-send-btn .disc-send-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border-width: 2px;
  border-top-color: #fff;
  flex-shrink: 0;
}
#discussion-forum .disc-send-btn.is-posting {
  opacity: 0.88;
  cursor: not-allowed;
  pointer-events: none;
}
#discussion-forum .disc-send-btn.is-posting .disc-send-spinner {
  display: inline-block;
}
#discussion-forum .disc-send-btn.is-posting .disc-send-icon {
  display: none;
}
#discussion-forum .disc-send-btn.is-posting .send-cta-label {
  font-size: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
#discussion-forum button.disc-send-btn.is-posting,
#discussion-forum .disc-compose-actions .add-reply.is-posting {
  opacity: 0.88;
  cursor: not-allowed;
  pointer-events: none;
}
#discussion-forum .disc-compose-input:disabled,
#discussion-forum .disc-reply-textarea:disabled {
  background: #f1f5f9;
  cursor: not-allowed;
  opacity: 0.85;
}
#discussion-forum .disc-send-btn:hover,
#discussion-forum .btn.button1.post-comment:hover {
  background: #b81f34;
  border-color: #b81f34;
  box-shadow: 0 2px 8px rgba(215, 38, 61, 0.25);
  color: #fff;
  text-decoration: none;
}
#discussion-forum .disc-compose-ctas .disc-send-icon { display: none; }
#discussion-forum .send-comment-cta .send-cta-label {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-transform: none;
  vertical-align: middle;
}
#discussion-forum .post-comment-error { font-size: 12px; }
#discussion-forum .disc-cancel-lnk {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
#discussion-forum .disc-cancel-lnk:hover { background: #f1f5f9; color: #374151; }

/* ── Chat-window layout ── */
#discussion-forum .chat-win {
  display: flex;
  flex-direction: column;
  height: 580px;
  min-height: 280px;
  overflow: hidden;
}
#discussion-forum .chat-win-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
#discussion-forum .chat-win-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#discussion-forum .chat-win-icon {
  color: #6b7280;
  flex-shrink: 0;
}
#discussion-forum .chat-win-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
#discussion-forum .chat-win-count {
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 20px;
  padding: 2px 8px;
  line-height: 1.6;
  min-width: 6px;
  display: none;
}
#discussion-forum .chat-win-count.is-loaded { display: inline-block; }

#discussion-forum .chat-win-feed {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
#discussion-forum .chat-win-feed::-webkit-scrollbar { width: 5px; }
#discussion-forum .chat-win-feed::-webkit-scrollbar-track { background: transparent; }
#discussion-forum .chat-win-feed::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 3px;
}
#discussion-forum .chat-win-feed::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }

#discussion-forum .chat-win-compose {
  flex-shrink: 0;
  border-bottom: 1px solid #e4e6ea;
  background: #f8fafc;
}
#discussion-forum .chat-win-compose .disc-compose-card {
  border-bottom: none;
  background: transparent;
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
}
#discussion-forum .chat-win-compose .disc-compose-avatar-wrap {
  padding-top: 0;
}
#discussion-forum .chat-win-compose #comment_statement,
#discussion-forum .chat-win-compose .disc-compose-input {
  min-height: 38px;
  max-height: 110px;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13.5px;
  border-color: #e2e8f0;
  resize: none;
}
#discussion-forum .chat-win-compose #comment_statement:focus,
#discussion-forum .chat-win-compose .disc-compose-input:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148,163,184,.15);
}
#discussion-forum .chat-win-compose .disc-compose-row {
  align-items: center;
}
#discussion-forum .chat-win-compose .disc-compose-ctas {
  gap: 8px;
  width: auto;
}
/* Send button in compose: pill with icon + label */
#discussion-forum .chat-win-compose .disc-send-btn,
#discussion-forum .chat-win-compose .btn.button1.post-comment {
  border-radius: 20px;
  padding: 8px 14px;
  min-width: auto;
  gap: 6px;
}
#discussion-forum .chat-send-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
/* Override the global "hide disc-send-icon inside compose ctas" rule */
#discussion-forum .chat-win-compose .disc-compose-ctas .chat-send-icon { display: inline-block !important; }

/* ── Comment list ── */
#discussion-forum ul.comment-section {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Comment thread item ── */
#discussion-forum li.disc-thread,
#discussion-forum li.add-comment-on-change {
  border-bottom: 1px solid #f0f1f3;
}
#discussion-forum li.disc-thread:last-child,
#discussion-forum li.add-comment-on-change:last-child {
  border-bottom: none;
}

/* Card: avatar + body */
#discussion-forum .disc-card {
  display: flex;
  gap: 12px;
  padding: 16px 20px 12px;
  transition: background .12s;
}
#discussion-forum .disc-card > .disc-avatar-wrap,
#discussion-forum .disc-card > .image-holder {
  float: none !important;
}
#discussion-forum .disc-card .disc-body,
#discussion-forum .disc-card .user-comment {
  margin-left: 0 !important;
  padding-bottom: 0 !important;
}
#discussion-forum ul.comment-section > li:before {
  display: none !important;
}
#discussion-forum li.disc-thread:hover > .disc-card,
#discussion-forum li.add-comment-on-change:hover > .disc-card {
  background: #fafbfc;
}

/* ── Avatar ── */
#discussion-forum .image-holder,
#discussion-forum .disc-avatar-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  position: relative;
  float: none !important;
}
#discussion-forum .user-comment,
#discussion-forum .disc-body {
  margin-left: 0 !important;
  float: none !important;
}
#discussion-forum ul.comment-section > li:before,
#discussion-forum ul.comment-section ul > li:before {
  display: none !important;
}
#discussion-forum .disc-toprow h5 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
#discussion-forum .disc-avatar-wrap .disc-avatar-initials {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #d7263d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 2px solid #e5e7eb;
  box-sizing: border-box;
}
#discussion-forum .disc-avatar-wrap .disc-avatar-initials.is-visible {
  display: flex;
}
#discussion-forum .image-holder img.avtar_pic,
#discussion-forum .disc-avatar-wrap img.disc-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  display: block;
  box-sizing: border-box;
}
#discussion-forum .disc-avatar-img.disc-avatar-broken {
  display: none !important;
}

/* ── Comment body ── */
#discussion-forum .user-comment,
#discussion-forum .disc-body {
  flex: 1;
  min-width: 0;
  margin-left: 0 !important;
}
#discussion-forum .user-comment.disabled,
#discussion-forum .disc-body.disabled { opacity: .55; }

/* ── Top row: name + time + dots ── */
#discussion-forum .disc-toprow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}
#discussion-forum h5 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
#discussion-forum .disc-name,
#discussion-forum h5 a {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}
#discussion-forum h5 a:hover,
#discussion-forum .disc-name:hover { color: #2563eb; text-decoration: underline; }
#discussion-forum .disc-time,
#discussion-forum h5 .time {
  font-size: 11.5px;
  font-weight: 400;
  color: #94a3b8;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
#discussion-forum li.disc-thread > .disc-card .disc-reply-to,
#discussion-forum li.disc-thread > .disc-card h5 .reply-to {
  display: none;
}

/* ── Comment text ── */
#discussion-forum p.user-comment-txt,
#discussion-forum p.user-comment-txt-reply {
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 10px;
  word-break: break-word;
}
#discussion-forum .disc-deleted-msg,
#discussion-forum p:only-child {
  color: #94a3b8;
  font-style: italic;
  font-size: 13px;
  margin: 0;
}

/* ── Actions row ── */
#discussion-forum .user-area-comment,
#discussion-forum .disc-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
/* Undo legacy float pollution */
#discussion-forum .user-area-comment > a,
#discussion-forum .user-area-comment .discussion-counter a.like-comments-btn,
#discussion-forum .user-area-comment .discussion-counter a.unlike-comments-btn {
  float: none !important;
}
#discussion-forum .user-area-comment .discussion-counter {
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  flex-shrink: 0;
}

/* ── Vote counter wrapper ── */
#discussion-forum .discussion-counter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ── Vote buttons (like / unlike) ── */
#discussion-forum .like-comments-btn,
#discussion-forum .unlike-comments-btn,
.discussion-counter .like-comments-btn,
.discussion-counter .unlike-comments-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 7px;
  border-radius: 20px;
  border: 1px solid transparent;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition:
    background-color .2s ease, color .2s ease,
    border-color .2s ease, box-shadow .2s ease, transform .15s ease;
  line-height: 1;
}
#discussion-forum .like-comments-btn:active,
#discussion-forum .unlike-comments-btn:active,
.discussion-counter .like-comments-btn:active,
.discussion-counter .unlike-comments-btn:active { transform: scale(.96); }
#discussion-forum .like-comments-btn:hover,
.discussion-counter .like-comments-btn:hover {
  color: #2563eb; background: #eff6ff; border-color: #bfdbfe;
}
#discussion-forum .unlike-comments-btn:hover,
.discussion-counter .unlike-comments-btn:hover {
  color: #dc2626; background: #fff1f2; border-color: #fecaca;
}
#discussion-forum .like-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-outline,
#discussion-forum .unlike-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-outline,
.discussion-counter .like-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-outline,
.discussion-counter .unlike-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-outline {
  fill: #94a3b8;
}
/* Active vote: filled red hand — no background pill */
#discussion-forum .like-comments-btn.active,
#discussion-forum .like-comments-btn.disc-vote-filled,
.discussion-counter .like-comments-btn.active,
.discussion-counter .like-comments-btn.disc-vote-filled {
  color: #e30009;
  background: transparent;
  border-color: #f5b4bf;
  box-shadow: none;
}
#discussion-forum .unlike-comments-btn.active,
#discussion-forum .unlike-comments-btn.disc-vote-filled,
.discussion-counter .unlike-comments-btn.active,
.discussion-counter .unlike-comments-btn.disc-vote-filled {
  color: #e30009;
  background: transparent;
  border-color: #fca5a5;
  box-shadow: none;
}
#discussion-forum .like-comments-btn.active .vote-icon-wrap,
#discussion-forum .like-comments-btn.disc-vote-filled .vote-icon-wrap,
#discussion-forum .unlike-comments-btn.active .vote-icon-wrap,
#discussion-forum .unlike-comments-btn.disc-vote-filled .vote-icon-wrap,
.discussion-counter .like-comments-btn.active .vote-icon-wrap,
.discussion-counter .like-comments-btn.disc-vote-filled .vote-icon-wrap,
.discussion-counter .unlike-comments-btn.active .vote-icon-wrap,
.discussion-counter .unlike-comments-btn.disc-vote-filled .vote-icon-wrap {
  background: transparent;
}
#discussion-forum .like-comments-btn.active .vote-icon-fill,
#discussion-forum .like-comments-btn.disc-vote-filled .vote-icon-fill,
.discussion-counter .like-comments-btn.active .vote-icon-fill,
.discussion-counter .like-comments-btn.disc-vote-filled .vote-icon-fill {
  fill: #e30009;
}
#discussion-forum .unlike-comments-btn.active .vote-icon-fill,
#discussion-forum .unlike-comments-btn.disc-vote-filled .vote-icon-fill,
.discussion-counter .unlike-comments-btn.active .vote-icon-fill,
.discussion-counter .unlike-comments-btn.disc-vote-filled .vote-icon-fill {
  fill: #e30009;
}
#discussion-forum .like-total,
#discussion-forum .unlike-total,
.discussion-counter .like-total,
.discussion-counter .unlike-total {
  display: inline-block;
  min-width: 6px;
  font-variant-numeric: tabular-nums;
  transition: color .2s ease, transform .2s cubic-bezier(0.34,1.56,0.64,1);
}

/* Thumb SVG crossfade (outline ↔ fill via opacity) */
#discussion-forum .vote-icon-wrap,
.discussion-counter .vote-icon-wrap {
  position: relative;
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s cubic-bezier(0.34,1.56,0.64,1);
}
#discussion-forum .vote-icon-wrap .vote-icon,
.discussion-counter .vote-icon-wrap .vote-icon {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto;
  width: 16px; height: 16px; fill: currentColor; display: block;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s cubic-bezier(0.34,1.56,0.64,1);
}
#discussion-forum .like-comments-btn .vote-icon-outline,
#discussion-forum .unlike-comments-btn .vote-icon-outline,
.discussion-counter .like-comments-btn .vote-icon-outline,
.discussion-counter .unlike-comments-btn .vote-icon-outline { opacity: 1; z-index: 1; }
#discussion-forum .like-comments-btn .vote-icon-fill,
#discussion-forum .unlike-comments-btn .vote-icon-fill,
.discussion-counter .like-comments-btn .vote-icon-fill,
.discussion-counter .unlike-comments-btn .vote-icon-fill { opacity: 0; transform: scale(.86); z-index: 2; }
#discussion-forum .like-comments-btn.active .vote-icon-outline,
#discussion-forum .unlike-comments-btn.active .vote-icon-outline,
.discussion-counter .like-comments-btn.active .vote-icon-outline,
.discussion-counter .unlike-comments-btn.active .vote-icon-outline { opacity: 0; transform: scale(.86); }
#discussion-forum .like-comments-btn.active .vote-icon-fill,
#discussion-forum .unlike-comments-btn.active .vote-icon-fill,
#discussion-forum .like-comments-btn.disc-vote-filled .vote-icon-fill,
#discussion-forum .unlike-comments-btn.disc-vote-filled .vote-icon-fill,
.discussion-counter .like-comments-btn.active .vote-icon-fill,
.discussion-counter .unlike-comments-btn.active .vote-icon-fill,
.discussion-counter .like-comments-btn.disc-vote-filled .vote-icon-fill,
.discussion-counter .unlike-comments-btn.disc-vote-filled .vote-icon-fill {
  opacity: 1 !important;
  transform: scale(1) !important;
}
#discussion-forum .like-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-fill,
#discussion-forum .unlike-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-fill,
.discussion-counter .like-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-fill,
.discussion-counter .unlike-comments-btn:not(.active):not(.disc-vote-filled) .vote-icon-fill {
  opacity: 0 !important;
  transform: scale(0.86) !important;
}
#discussion-forum .like-comments-btn.active .vote-icon-outline,
#discussion-forum .unlike-comments-btn.active .vote-icon-outline,
#discussion-forum .like-comments-btn.disc-vote-filled .vote-icon-outline,
#discussion-forum .unlike-comments-btn.disc-vote-filled .vote-icon-outline,
.discussion-counter .like-comments-btn.active .vote-icon-outline,
.discussion-counter .unlike-comments-btn.active .vote-icon-outline,
.discussion-counter .like-comments-btn.disc-vote-filled .vote-icon-outline,
.discussion-counter .unlike-comments-btn.disc-vote-filled .vote-icon-outline {
  opacity: 0 !important;
  transform: scale(0.86) !important;
}
#discussion-forum .like-comments-btn:hover .vote-icon-wrap,
#discussion-forum .unlike-comments-btn:hover .vote-icon-wrap,
.discussion-counter .like-comments-btn:hover .vote-icon-wrap,
.discussion-counter .unlike-comments-btn:hover .vote-icon-wrap { transform: scale(1.08); }

/* ── Pill action buttons (Reply, Delete) ── */
#discussion-forum .disc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.5;
}
#discussion-forum .disc-action-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #e2e8f0;
  text-decoration: none;
}
#discussion-forum .disc-action-btn svg { flex-shrink: 0; }
#discussion-forum .disc-delete-link:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}
/* Legacy cmt-delete-btn as pill (inside dropdown keeps old style) */
#discussion-forum .user-area-comment .cmt-delete-btn {
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  width: auto; height: auto;
  transition: background .15s, color .15s, border-color .15s;
}
#discussion-forum .user-area-comment .cmt-delete-btn.cmt-delete-hidden {
  display: none !important;
}
#discussion-forum .user-area-comment .cmt-delete-btn.cmt-delete-visible,
#discussion-forum .disc-action-btn.cmt-delete-visible {
  display: inline-flex !important;
}
#discussion-forum .user-area-comment .cmt-delete-btn:hover {
  background: #fef2f2; color: #dc2626; border-color: #fecaca;
}
#discussion-forum .user-area-comment .cmt-delete-btn svg {
  width: 13px; height: 13px; fill: currentColor;
}
#discussion-forum .user-area-comment .cmt-delete-btn > span { display: inline; }

/* ── Add-reply legacy link (fallback) ── */
#discussion-forum .user-area-comment .add-comment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
#discussion-forum .user-area-comment .add-comment:hover {
  background: #f1f5f9; color: #1e293b; border-color: #e2e8f0;
}

/* ── Inline reply compose ── */
#discussion-forum li.disc-thread > .disc-reply-compose,
#discussion-forum li.add-comment-on-change > .disc-reply-compose {
  margin: 10px 20px 16px 70px;
  box-sizing: border-box;
}
#discussion-forum .disc-reply-compose {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}
#discussion-forum .disc-compose-inner {
  display: flex;
  flex-direction: column;
  padding: 12px;
  box-sizing: border-box;
}
#discussion-forum .disc-reply-textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #374151;
  resize: vertical;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  display: block;
  box-sizing: border-box;
  margin: 0;
  line-height: 1.5;
}
#discussion-forum .disc-reply-textarea:focus {
  outline: none;
  border-color: #d7263d;
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.12);
}
#discussion-forum .disc-compose-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8edf3;
  width: 100%;
  box-sizing: border-box;
}
#discussion-forum .disc-compose-actions .disc-cancel-lnk.cancel {
  margin-right: auto;
  color: #64748b;
  font-weight: 500;
  padding: 8px 4px;
  text-decoration: none;
}
#discussion-forum .disc-compose-actions .disc-cancel-lnk.cancel:hover {
  color: #334155;
  background: transparent;
}
#discussion-forum .disc-btn-send,
#discussion-forum .add-reply.btn.button1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d7263d;
  color: #fff !important;
  border: 1px solid #d7263d;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
#discussion-forum .disc-btn-send:hover,
#discussion-forum .add-reply.btn.button1:hover {
  background: #b81f34;
  border-color: #b81f34;
  color: #fff !important;
  text-decoration: none;
}

/* ── Edit box (inline) ── */
#discussion-forum .box.comment-box { margin-bottom: 8px; }
#discussion-forum .box.comment-box textarea.form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13.5px;
  color: #374151;
  padding: 8px 12px;
  resize: none;
  width: 100%;
  background: #fff;
  transition: border-color .15s;
}
#discussion-forum .box.comment-box textarea.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
#discussion-forum .box.comment-box .footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-direction: row;
  justify-content: flex-end;
}

/* ── View-all-replies toggle ── */
#discussion-forum a.action-lnk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  margin: 0 0 10px 50px;
  padding: 3px 8px;
  border-radius: 6px;
  transition: color .12s, background .12s;
}
#discussion-forum a.action-lnk:hover { color: #2563eb; background: #eff6ff; text-decoration: none; }

/* ── Nested replies thread (accent rail + card stack) ── */
#discussion-forum ul.disc-replies-wrap,
#discussion-forum li.disc-thread > ul.disc-replies-wrap,
#discussion-forum li.disc-thread > ul:has(> li) {
  list-style: none;
  position: relative;
  margin: 12px 0 6px 40px;
  padding: 14px 14px 8px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #d7263d;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
#discussion-forum ul.disc-replies-wrap::before,
#discussion-forum li.disc-thread > ul.disc-replies-wrap::before,
#discussion-forum li.disc-thread > ul:has(> li)::before {
  content: 'Replies';
  display: block;
  margin: 0 0 12px 0;
  padding: 0 0 10px 22px;
  border-bottom: 1px solid #e8edf3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='%23d7263d'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4.414A2 2 0 0 0 3 11.586l-2 2V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3C/svg%3E") no-repeat 0 1px;
}
#discussion-forum ul.comment-section ul ul.disc-replies-wrap,
#discussion-forum ul.comment-section ul ul {
  margin: 10px 0 0 4px;
  padding: 12px 12px 6px 14px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-left: 3px solid #6366f1;
  border-radius: 10px;
  box-shadow: none;
}
#discussion-forum ul.comment-section ul ul.disc-replies-wrap::before,
#discussion-forum ul.comment-section ul ul::before {
  content: none;
  display: none;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}
#discussion-forum ul.comment-section ul > li.disc-reply,
#discussion-forum ul.comment-section ul > li.message-body {
  border-bottom: none;
  position: relative;
  margin-bottom: 8px;
}
#discussion-forum ul.comment-section ul > li.disc-reply:last-child,
#discussion-forum ul.comment-section ul > li.message-body:last-child {
  margin-bottom: 0;
}
#discussion-forum ul.comment-section ul > li.disc-reply > .disc-card,
#discussion-forum ul.comment-section ul > li.message-body > .disc-card {
  padding: 10px 12px;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#discussion-forum ul.comment-section ul > li.disc-reply:hover > .disc-card,
#discussion-forum ul.comment-section ul > li.message-body:hover > .disc-card {
  border-color: #cfd8e3;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
#discussion-forum li.disc-thread > .disc-card .user-comment-txt {
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
}
#discussion-forum li.disc-reply .disc-toprow,
#discussion-forum li.disc-reply.message-body .disc-toprow {
  margin-bottom: 4px;
}
#discussion-forum li.disc-reply .disc-toprow h5,
#discussion-forum li.disc-reply.message-body .disc-toprow h5 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}
#discussion-forum li.disc-reply .disc-reply-to,
#discussion-forum li.disc-reply h5 .reply-to,
#discussion-forum li.disc-reply h5 .disc-reply-to {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 8px 2px 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #475569;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  vertical-align: middle;
}
#discussion-forum li.disc-reply .disc-reply-to svg,
#discussion-forum li.disc-reply h5 .reply-to svg {
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.85;
  color: #6366f1;
}
#discussion-forum li.disc-reply .disc-reply-to .disc-reply-to-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#discussion-forum li.disc-reply .user-comment-txt-reply,
#discussion-forum li.disc-reply .user-comment-txt {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
  word-break: break-word;
}
#discussion-forum li.disc-reply .disc-actions {
  margin-top: 6px;
  padding-left: 0;
}
#discussion-forum li.disc-reply .disc-action-btn {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
#discussion-forum ul.comment-section ul .image-holder img.avtar_pic,
#discussion-forum ul.comment-section ul .disc-avatar-wrap img.disc-avatar-img {
  width: 30px;
  height: 30px;
}
#discussion-forum ul.comment-section ul .image-holder,
#discussion-forum ul.comment-section ul .disc-avatar-wrap {
  width: 30px;
  height: 30px;
}
#discussion-forum ul.comment-section ul .disc-avatar-initials {
  font-size: 11px;
}
#discussion-forum ul.comment-section ul .disc-reply-compose {
  margin: 8px 0 4px 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
}
/* Nested depth cues (levels 2–4 under a top-level thread) */
#discussion-forum li.disc-reply[data-disc-depth="3"] > .disc-card,
#discussion-forum li.disc-reply[data-disc-depth="4"] > .disc-card {
  border-left: 3px solid #e0e7ff;
}
#discussion-forum ul.disc-replies-wrap[data-disc-depth="3"],
#discussion-forum ul.disc-replies-wrap[data-disc-depth="4"] {
  margin-left: 8px;
}
/* Override legacy stylesheets that hide all nested `ul` (virtual_detail_style, etc.) */
#discussion-forum ul.comment-section ul.disc-replies-wrap,
#discussion-forum ul.comment-section li.disc-thread > ul.disc-replies-wrap,
#discussion-forum ul.comment-section li.disc-reply > ul.disc-replies-wrap,
#discussion-forum ul.comment-section li.message-body > ul.disc-replies-wrap {
  display: block !important;
  visibility: visible !important;
}

/* ── 3-dots dropdown ── */
#discussion-forum .user-controls { position: relative; flex-shrink: 0; }
#discussion-forum .user-controls .dropdown-toggle {
  background: none; border: none; cursor: pointer;
  padding: 3px 5px; border-radius: 6px;
  color: #94a3b8; transition: background .12s, color .12s;
}
#discussion-forum .user-controls .dropdown-toggle:hover {
  background: #f1f5f9; color: #374151;
}
#discussion-forum .user-controls .dropdown-menu {
  min-width: 180px; border: 1px solid #e5e7eb;
  border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1);
  padding: 4px 0; font-size: 13px;
}
#discussion-forum .user-controls .dropdown-menu li a {
  padding: 8px 14px; display: block; color: #374151; transition: background .1s;
}
#discussion-forum .user-controls .dropdown-menu li a:hover { background: #f9fafb; }
#discussion-forum .user-controls .dropdown-menu li a.delete-comment { color: #dc2626; }

/* ═══════════════════════════════════════════════════════════════════════════
   ENTERPRISE CLEAN — Claude-style, flat feed, zero nested boxes
   ═══════════════════════════════════════════════════════════════════════════ */

/* Outer panel: flat, no border */
#discussion-forum.form1 {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* ── Top-level comments: generous padding, whisper-thin separator ── */
#discussion-forum li.disc-thread,
#discussion-forum li.add-comment-on-change {
  border-bottom: 1px solid #f3f4f6 !important;
}
#discussion-forum li.disc-thread:last-child,
#discussion-forum li.add-comment-on-change:last-child {
  border-bottom: none !important;
}
#discussion-forum li.disc-thread > .disc-card,
#discussion-forum li.add-comment-on-change > .disc-card {
  padding: 16px 20px 14px !important;
  background: #fff !important;
  transition: background 0.1s !important;
}
#discussion-forum li.disc-thread:hover > .disc-card,
#discussion-forum li.add-comment-on-change:hover > .disc-card {
  background: #fafbfc !important;
}

/* ── Comment text: plain, no bubble ── */
#discussion-forum p.user-comment-txt,
#discussion-forum p.user-comment-txt-reply {
  display: block;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 4px 0 8px !important;
  color: #24292f;
  font-size: 14px;
  line-height: 1.65;
}
#discussion-forum .user-comment.disabled p {
  color: #94a3b8 !important;
  font-style: italic;
}

/* ── Nested reply block: indent-only, single thin line, ZERO boxes ── */
#discussion-forum ul.comment-section > li > ul,
#discussion-forum ul.disc-replies-wrap,
#discussion-forum li.disc-thread > ul,
#discussion-forum li.add-comment-on-change > ul {
  list-style: none !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 0 0 50px !important;
  padding: 0 0 0 16px !important;
  border-left: 2px solid #e8eaed !important;
}
/* Kill "Replies" label */
#discussion-forum ul.disc-replies-wrap::before,
#discussion-forum li.disc-thread > ul::before,
#discussion-forum li.add-comment-on-change > ul::before {
  display: none !important;
  content: none !important;
}

/* Each reply inside the nested block */
#discussion-forum ul.comment-section ul > li {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
#discussion-forum ul.comment-section ul > li > .disc-card,
#discussion-forum ul.comment-section ul > li.disc-reply > .disc-card,
#discussion-forum ul.comment-section ul > li.message-body > .disc-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 12px 6px 0 !important;
}

/* Deep nesting: same rules, slightly smaller indent */
#discussion-forum ul.comment-section ul ul {
  border: none !important;
  border-left: 2px solid #eff0f1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 0 0 36px !important;
  padding: 0 0 0 14px !important;
}
#discussion-forum ul.comment-section ul ul::before { display: none !important; content: none !important; }

/* ── Compose: clean pill input ── */
#discussion-forum .chat-win-compose #comment_statement,
#discussion-forum .chat-win-compose .disc-compose-input {
  background: #f3f4f6 !important;
  border-color: transparent !important;
  transition: background 0.15s, border-color 0.15s !important;
}
#discussion-forum .chat-win-compose #comment_statement:focus,
#discussion-forum .chat-win-compose .disc-compose-input:focus {
  background: #fff !important;
  border-color: #d0d5dd !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04) !important;
}

/* ── Delete confirmation modal ── */
.cmt-delete-modal .cmt-delete-dialog {
  width: 100%;
  max-width: 400px;
  margin: 10vh auto 24px;
}
.cmt-delete-modal .modal-content {
  position: relative;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  background: #fff;
}
/* Single close control — override ET_common_styles sprite + circular span stack */
.cmt-delete-modal .modal-content button.close.cmt-delete-close,
.cmt-delete-modal .cmt-delete-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none !important;
  background-image: none !important;
  opacity: 1;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  box-shadow: none;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #6b7280;
}
.cmt-delete-modal .modal-content button.close.cmt-delete-close::before,
.cmt-delete-modal .modal-content button.close.cmt-delete-close::after,
.cmt-delete-modal .cmt-delete-close::before,
.cmt-delete-modal .cmt-delete-close::after {
  display: none !important;
  content: none !important;
}
.cmt-delete-modal .modal-content button.close span,
.cmt-delete-modal .cmt-delete-close span {
  display: none !important;
}
.cmt-delete-modal .cmt-delete-close-icon {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.cmt-delete-modal .cmt-delete-close:hover,
.cmt-delete-modal .cmt-delete-close:focus {
  outline: none;
  background: #f3f4f6 !important;
  color: #111827;
}
.cmt-delete-modal .modal-body {
  text-align: center;
  padding: 32px 28px 20px;
}
.cmt-delete-modal .cmt-delete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
  margin: 0 auto 14px;
}
.cmt-delete-modal .cmt-delete-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}
.cmt-delete-modal .cmt-delete-msg {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}
.cmt-delete-modal .cmt-delete-footer {
  border-top: 1px solid #f1f3f5;
  padding: 14px 20px 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.cmt-delete-modal .cmt-delete-cancel,
.cmt-delete-modal .cmt-delete-confirm {
  min-width: 108px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: none;
  box-shadow: none;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.cmt-delete-modal .cmt-delete-cancel {
  background: #fff !important;
  color: #374151 !important;
  border-color: #d1d5db !important;
}
.cmt-delete-modal .cmt-delete-cancel:hover,
.cmt-delete-modal .cmt-delete-cancel:focus {
  background: #f9fafb !important;
  color: #111827 !important;
  border-color: #9ca3af !important;
}
.cmt-delete-modal .cmt-delete-confirm {
  background: #dc2626 !important;
  color: #fff !important;
  border-color: #dc2626 !important;
}
.cmt-delete-modal .cmt-delete-confirm:hover,
.cmt-delete-modal .cmt-delete-confirm:focus {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28);
}
.cmt-delete-modal .cmt-delete-confirm.is-deleting,
.cmt-delete-modal .cmt-delete-confirm:disabled {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}
body.modal-open .modal-backdrop ~ .modal-backdrop { display: none !important; pointer-events: none !important; }

/* ── Discussion pagination / load more ── */
#discussion-forum .disc-pagination-wrap,
#discussion-forum .disc-load-more,
#discussion-forum .view-all-block {
  padding: 14px 20px 16px;
  border-top: 1px solid #f0f1f3;
  background: #fff;
  text-align: center;
}
#discussion-forum .disc-pagination-meta {
  display: none !important;
  margin: 0;
  padding: 0;
}
#discussion-forum .disc-pagination-wrap.disc-has-more .disc-pagination-meta {
  margin-bottom: 0;
}
#discussion-forum .disc-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
#discussion-forum .disc-pagination-loading {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
}
#discussion-forum .disc-scroll-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}
#discussion-forum .disc-load-more-btn {
  display: none !important;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #374151;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
#discussion-forum .disc-load-more-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

/* ── Skeleton loader ── */
@keyframes cmt-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.cmt-skeleton { padding: 0; list-style: none; margin: 0; }
#discussion-forum #cmt-skeleton-loader[hidden],
#discussion-forum #cmt-skeleton-loader.disc-skeleton-off {
  display: none !important;
}
#discussion-forum .disc-load-error .disc-retry-load {
  margin-top: 8px;
}
.cmt-skel-item {
  display: flex; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #f0f1f3;
}
.cmt-skel-avatar {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);
  background-size: 400px 100%; animation: cmt-shimmer 1.4s infinite;
}
.cmt-skel-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.cmt-skel-line {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);
  background-size: 400px 100%; animation: cmt-shimmer 1.4s infinite;
}
.cmt-skel-line.skel-name  { width: 30%; }
.cmt-skel-line.skel-long  { width: 90%; }
.cmt-skel-line.skel-med   { width: 65%; }
.cmt-skel-line.skel-short { width: 40%; }

/* Submission tab skeleton */
.sub-skeleton { list-style: none; padding: 0; margin: 0; }
.sub-skel-item {
  display: flex; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid #f0f1f3; align-items: center;
}
.sub-skel-badge {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px;
  background: linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);
  background-size: 400px 100%; animation: cmt-shimmer 1.4s infinite;
}
.sub-skel-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }

/* ── Infinite-scroll spinner ── */
.loader-spinner-sm {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid #e5e7eb; border-top-color: #2563eb;
  border-radius: 50%; animation: disc-spin .6s linear infinite;
}
@keyframes disc-spin { to { transform: rotate(360deg); } }

/* ── Owner controls (JS-driven) ── */
.user-controls { }
.cmt-owner-action { }

/* ============================================================
   Discussions — enterprise UI overhaul (v3)
   Overrides legacy ET_common_styles / tg_common_styles rules
   that hide the compose CTA and bunched up the layout.
   ============================================================ */

/* 1. Compose footer must always be visible (legacy CSS hides it
   until the long-retired nicEditor instance is focused). */
#discussion-forum .disc-compose-row,
#discussion-forum .disc-compose-card .editor-actions {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding-top: 0 !important;
}

/* 2. Header: cleaner, tighter, drops the sort tabs (they're gone). */
#discussion-forum .disc-header-bar {
  padding: 14px 20px 10px;
  border-bottom: 1px solid #eef0f3;
}
#discussion-forum .disc-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -.005em;
  text-transform: none;
}
#discussion-forum .disc-count-badge {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  line-height: 1.7;
}

/* 3. Compose card — cleaner avatar + always-on Send. */
#discussion-forum .disc-compose-card {
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  gap: 10px;
}
#discussion-forum .disc-compose-card .editor-block {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
#discussion-forum .disc-compose-card #comment_statement {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
#discussion-forum .disc-compose-card #comment_statement:hover { background: #fff; }
#discussion-forum .disc-compose-card #comment_statement:focus {
  background: #fff;
  border-color: #d7263d;
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.12);
}
#discussion-forum .disc-compose-row {
  align-items: flex-end;
  gap: 10px;
}
#discussion-forum .disc-compose-row #comment_statement {
  flex: 1;
  min-width: 0;
}
#discussion-forum .disc-compose-ctas {
  flex-shrink: 0;
  gap: 10px;
}
#discussion-forum .disc-compose-row > .post-comment-error.hide,
#discussion-forum .disc-compose-row > .post-comment-error:empty {
  display: none !important;
  margin: 0;
  padding: 0;
}
#discussion-forum .disc-compose-editor > .post-comment-error {
  display: none !important;
}

/* Send button — primary brand red. */
#discussion-forum .btn.button1.post-comment,
#discussion-forum .disc-send-btn {
  background: #d7263d;
  border: 1px solid #d7263d;
  border-radius: 8px;
  color: #fff !important;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(215, 38, 61, 0.18);
  transition: background .15s, box-shadow .15s, transform .08s;
}
#discussion-forum .btn.button1.post-comment:hover,
#discussion-forum .disc-send-btn:hover {
  background: #b81f34;
  border-color: #b81f34;
  box-shadow: 0 4px 12px rgba(215, 38, 61, 0.28);
  color: #fff !important;
  text-decoration: none;
}
#discussion-forum .btn.button1.post-comment:active,
#discussion-forum .disc-send-btn:active { transform: translateY(1px); }
#discussion-forum .send-comment-cta .bi-send-fill { font-size: 12px; }

/* 4. Comment list item — softer divider, more breathing room. */
#discussion-forum ul.comment-section li.disc-thread,
#discussion-forum ul.comment-section li.add-comment-on-change {
  border-bottom: 1px solid #f1f5f9;
}
#discussion-forum ul.comment-section li.disc-thread:last-child,
#discussion-forum ul.comment-section li.add-comment-on-change:last-child {
  border-bottom: none;
}
#discussion-forum .disc-card { padding: 14px 20px 10px; }
#discussion-forum li.disc-thread:hover > .disc-card,
#discussion-forum li.add-comment-on-change:hover > .disc-card {
  background: #fafbfd;
}

/* Author row */
#discussion-forum .disc-toprow { margin-bottom: 4px; }
#discussion-forum h5 .disc-name,
#discussion-forum h5 a {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
#discussion-forum h5 .time,
#discussion-forum .disc-time {
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 400;
  margin-left: 6px;
}

/* Comment text */
#discussion-forum p.user-comment-txt,
#discussion-forum p.user-comment-txt-reply {
  font-size: 13.5px;
  line-height: 1.6;
  color: #1e293b;
  margin: 0 0 8px;
}

/* Action row — pill chips with consistent spacing */
#discussion-forum .disc-actions,
#discussion-forum .user-area-comment {
  gap: 6px;
  margin-top: 4px;
}

/* Vote chips */
#discussion-forum .like-comments-btn,
#discussion-forum .unlike-comments-btn,
.discussion-counter .like-comments-btn,
.discussion-counter .unlike-comments-btn {
  padding: 4px 10px 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}
#discussion-forum .like-comments-btn.active,
.discussion-counter .like-comments-btn.active {
  background: #fff0f2;
  color: #d7263d;
  border-color: #f5b4bf;
  box-shadow: 0 0 0 1px rgba(215, 38, 61, 0.08);
}
#discussion-forum .like-comments-btn:hover,
.discussion-counter .like-comments-btn:hover {
  color: #d7263d; background: #fff0f2; border-color: #f5b4bf;
}

/* Reply / Delete chips */
#discussion-forum .disc-action-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  border-radius: 999px;
}
#discussion-forum .disc-action-btn:hover {
  background: #fff0f2;
  color: #d7263d;
  border-color: #f5b4bf;
}
#discussion-forum .disc-delete-link:hover {
  background: #fef2f2; color: #dc2626; border-color: #fecaca;
}

/* 7. Empty state */
#discussion-forum .disc-empty-state {
  padding: 20px 16px;
  text-align: center;
  list-style: none;
  margin: 0;
  border: none;
  background: transparent;
}
#discussion-forum .disc-empty-state.disc-empty-state--inline {
  padding: 20px 12px 8px;
  text-align: left;
}
#discussion-forum .disc-empty-state .disc-empty-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}
#discussion-forum .disc-empty-state .disc-empty-title {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 4px;
}
#discussion-forum .disc-empty-state .disc-empty-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}
#discussion-forum .disc-empty-state.disc-load-error {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  text-align: center;
}

/* Live refresh after post / reply */
#discussion-forum .disc-refreshing-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  margin: 0 0 8px;
  list-style: none;
  font-size: 12.5px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
#discussion-forum li.disc-thread.disc-just-posted > .disc-card,
#discussion-forum li.disc-reply.disc-just-posted {
  animation: disc-just-posted-flash 2.5s ease-out;
}
@keyframes disc-just-posted-flash {
  0% { background-color: #fff8e6; box-shadow: inset 0 0 0 1px #fcd34d; }
  100% { background-color: transparent; box-shadow: none; }
}

/* 8. Sort tabs removed — hide if any legacy template still emits them */
#discussion-forum .disc-sort-tabs { display: none !important; }

/* 9. Question coding shell — kill legacy floats; align reply toolbar */
#full-screen-question #discussion-forum.form1 .image-holder,
#full-screen-question #discussion-forum .disc-card > .image-holder {
  float: none !important;
}
#full-screen-question #discussion-forum .disc-card .user-comment,
#full-screen-question #discussion-forum .disc-body {
  margin-left: 0 !important;
  padding-bottom: 0 !important;
}
#full-screen-question #discussion-forum .disc-actions,
#full-screen-question #discussion-forum .user-area-comment.disc-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}
#full-screen-question #discussion-forum .discussion-counter {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
}
#full-screen-question #discussion-forum .like-comments-btn,
#full-screen-question #discussion-forum .unlike-comments-btn {
  flex-direction: row !important;
  white-space: nowrap !important;
}
#full-screen-question #discussion-forum li.disc-thread > .disc-reply-compose,
#full-screen-question #discussion-forum li.add-comment-on-change > .disc-reply-compose {
  margin-left: 20px !important;
  margin-right: 20px !important;
  width: auto;
  max-width: none;
}

/* =========================================================
   ContestRecentTakerNewModule — Enterprise submission table
   ========================================================= */
.sub-tbl-wrap {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}
.sub-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #1e293b;
}
.sub-tbl thead th {
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-bottom: 1px solid #e8eaed;
    white-space: nowrap;
}
.sub-tbl tbody tr { border-bottom: 1px solid #f1f3f5; transition: background 0.12s; }
.sub-tbl tbody tr:last-child { border-bottom: none; }
.sub-tbl tbody tr:hover { background: #f8fafc; }
.sub-tbl tbody td { padding: 11px 14px; vertical-align: middle; }
.sub-tbl .sr-no { color: #94a3b8; font-size: 12px; font-weight: 500; width: 46px; }
.sub-tbl .sub-time { color: #64748b; font-size: 12px; }
.sub-tbl .sub-score { font-weight: 700; font-size: 14px; color: #1e293b; }
.sub-tbl .sub-score--na { color: #94a3b8; font-weight: 500; }
/* Status badges */
.sub-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
}
.sub-badge--pass { background: #dcfce7; color: #16a34a; }
.sub-badge--fail { background: #fee2e2; color: #dc2626; }
.sub-badge--warn { background: #fef3c7; color: #b45309; }
.sub-badge--pending { background: #f1f5f9; color: #64748b; }
/* Action link button — CTA style */
.sub-action {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 18px;
    border: none; border-radius: 20px;
    font-size: 12px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #d7263d 0%, #b91c2c 100%);
    box-shadow: 0 2px 6px rgba(215,38,61,0.35);
    text-decoration: none; transition: all 0.18s;
    white-space: nowrap; cursor: pointer; letter-spacing: 0.03em;
    text-transform: uppercase;
}
.sub-action:hover {
    background: linear-gradient(135deg, #b91c2c 0%, #991b1b 100%);
    box-shadow: 0 4px 10px rgba(215,38,61,0.45);
    color: #fff; text-decoration: none; transform: translateY(-1px);
}
.sub-action:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(215,38,61,0.3); }
.sub-action--open {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 2px 6px rgba(30,41,59,0.30);
}
.sub-action--open:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    box-shadow: 0 4px 10px rgba(30,41,59,0.38);
    color: #fff;
}
.sub-not-uploaded { font-size: 12px; color: #94a3b8; }
/* Empty state */
.sub-empty { text-align: center; padding: 40px 20px; color: #94a3b8; font-size: 14px; }
/* Leaderboard avatar cell */
.sub-avatar-cell { display: flex; align-items: center; gap: 10px; }
.sub-avatar-cell .avtar_pic { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sub-avatar-cell .first-letter {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sub-name { font-weight: 600; color: #1e293b; font-size: 13px; line-height: 1.3; }
.sub-name a { color: #1e293b; text-decoration: none; }
.sub-name a:hover { color: #d7263d; text-decoration: underline; }
.sub-designation { color: #94a3b8; font-size: 11px; margin-top: 1px; }
.sub-lang-pill {
    display: inline-block; padding: 2px 8px;
    background: #f1f5f9; border-radius: 4px;
    font-size: 11px; font-weight: 600; color: #475569; font-family: monospace;
}
.sub-ds-note { font-size: 13px; color: #64748b; margin-bottom: 10px; }
.inner.leaderNotNotified {display: flex; justify-content: center;align-items: center;flex-direction: column; background: white;padding: 60px;border-radius: 10px;}
.inner.leaderNotNotified a.open_modal.button1.btn { padding: 10px 30px; background: black; color: white; border-radius: 10px !important;font-weight: 400;}
.inner.leaderNotNotified h4 {color: black;font-weight: 400;}
section#leaderboard .test-preview-info-tab > li> a span {display: none;}



#leaderboard.leaderboard {
  background: var(--backround-image);
  border-radius: 0px;
  padding: 60px 0px;
  position: relative;
    display: inline-block;
    width: 100%;
    
    margin: 0px;
}

section#leaderboard:before {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  content: '';
  display: inline-block;
  width: 100%;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  height: 100%;
  bottom: 0px;
}

section#leaderboard .mobile_scroll {
  position: relative;
  z-index: 1;
  justify-content: center;
  display: grid;
}

#leaderboard.leaderboard header.section__header {
  position: relative;
}

#leaderboard.leaderboard header.section__header h2#leaderboard-title {
  color: white;
}

section#leaderboard .test-preview-info-tab > li > a {
  background: white;
}

/* ===============================
   LEADERBOARD SECTION UPGRADE
================================= */

/* ===============================
   TABS (ROUNDS)
================================= */

.test-preview-info-tab {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.test-preview-info-tab li a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #9CA3AF;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.test-preview-info-tab li.active a,
.test-preview-info-tab li a:hover {
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6,182,212,0.4);
}

/* ===============================
   TABLE WRAPPER
================================= */

.table1-wrap {
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  backdrop-filter: blur(12px);
}

/* ===============================
   TABLE STYLE
================================= */

.table2 {
  width: 100%;
  border-collapse: collapse;
  color: #E5E7EB;
}

/* HEADER */
.table2 thead {
  background: rgba(255,255,255,0.04);
}

.table2 th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  color: #9CA3AF;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ROW */
.table2 tbody tr {
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table2 tbody tr:hover {
  background: rgba(6,182,212,0.08);
  transform: scale(1.01);
}

/* CELL */
.table2 td {
  padding: 16px;
  font-size: 14px;
}

/* ===============================
   RANK STYLING
================================= */

.table2 td.rank {
  font-weight: 700;
  font-size: 16px;
  color: #9CA3AF;
}

/* TOP 3 HIGHLIGHT */

.table2 tbody tr:nth-child(1) td.rank {
  color: #FACC15; /* gold */
  font-size: 18px;
}

.table2 tbody tr:nth-child(2) td.rank {
  color: #D1D5DB; /* silver */
}

.table2 tbody tr:nth-child(3) td.rank {
  color: #F97316; /* bronze */
}

/* ===============================
   NAME COLUMN
================================= */

.table2 td.name a {
  color: #FFFFFF;
  font-weight: 500;
  transition: color 0.3s ease;
}

.table2 td.name a:hover {
  color: #06B6D4;
}

/* ===============================
   SCORE COLUMN
================================= */

.table2 td.text-right {
  font-weight: 600;
  color: #22C55E;
}

/* ===============================
   LANGUAGE TAG
================================= */

.table2 td.text-left {
  color: #9CA3AF;
}

/* ===============================
   POPOVER (DETAIL VIEW)
================================= */

.popover {
  background: #0f172a;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.popover-content {
  padding: 12px;
  color: #E5E7EB;
}

.description-list dt {
  color: #9CA3AF;
  font-size: 12px;
}

.description-list dd strong {
  color: #22C55E;
}

/* ===============================
   PAGINATION
================================= */

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  align-items: center;
}

.pagination em {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #9CA3AF;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.pagination em.active {
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  color: #fff;
}

.pagination a:hover {
  background: rgba(6,182,212,0.2);
  color: #fff;
}

/* ===============================
   FOOTER TEXT
================================= */

.section-footer p {
  color: #9CA3AF;
  font-size: 13px;
}

/* ===============================
   MOBILE OPTIMIZATION
================================= */

@media (max-width: 768px) {
  .table2 th,
  .table2 td {
    padding: 10px;
    font-size: 12px;
  }

  .table2 td.rank {
    font-size: 14px;
  }
}

.pagination em a {
    color: #9CA3AF;
}


.table2 tbody tr td {
    border-bottom: 1px solid #dbdbdb;
}

#leaderboard .table2 .name a {
    font-size: 16px;
}

#leaderboard .table2 thead th {
    text-align: left;
    padding: 21px 16px;
}

#leaderboard .table2 thead th small {
    display: none;
}

footer.section-footer.clearfix {
    position: relative;
}

section#leaderboard .mobile_scroll {
    position: relative;
    z-index: 1;
    justify-content: center;
    display: grid;
}

#leaderboard.leaderboard header.section__header {
    position: relative;
}

#leaderboard.leaderboard header.section__header h2#leaderboard-title {
    color: white;
}

section#leaderboard .test-preview-info-tab > li > a {
    background: white;
}

.status-particular.active-user-status {
  background: red;
}

#leaderboard .status-particular.active-user-status .table2 td {
  background: #f4edf9 !important;
  display: inline-block;
  text-align: center;
  align-items: center;
  width: 100%;
  height: 60px;
}

#leaderboard .status-particular.active-user-status .table2 {
  margin: 0px;
}

#leaderboard .status-particular.active-user-status .table2 td a.open_modal.button1.btn {
  color: black;
  text-decoration: underline;
  font-size: 14px;
}