/* Reset and base typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --blue: #0057a8;
  --blue-light: #e8f0fb;
  --blue-mid: #1a72d3;
  --accent: #f5a623;
  --accent-light: #fff8eb;
  --success: #1a9e6e;
  --danger: #d63b3b;
  --warn: #e67e22;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #dde1e8;
  --gray-400: #9aa1ae;
  --gray-600: #5c6370;
  --gray-800: #2c3040;
  --white: #ffffff;
  --text: #1e2330;
  --text-muted: #4a5568;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: "Lexend", -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
a {
  color: var(--blue-mid);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid rgba(0, 87, 168, 0.38);
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 1200;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus-visible {
  top: 10px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sticky top navigation — collapses into a hamburger on smaller screens */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  max-width: none;
  padding-left: clamp(18px, 3vw, 42px);
  padding-right: clamp(28px, 4vw, 64px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 154px;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-logo,
.navbar-conference-link {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--blue);
  text-decoration: none;
  transition: transform 0.18s ease;
}
.navbar-logo:hover,
.navbar-conference-link:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.navbar-logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.navbar-logo-copy {
  display: flex;
  align-items: baseline;
}
.navbar-logo-copy strong {
  font: inherit;
  font-weight: 600;
  color: inherit;
}
.navbar-conference-link {
  gap: 12px;
  font-weight: 600;
}
.navbar-conference-link::before {
  content: "|";
  font-weight: 300;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  gap: 3px;
  list-style: none;
  margin-left: 0;
  min-width: 0;
  align-items: center;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 11px;
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--gray-50);
  color: var(--blue);
  transform: translateY(-1px);
  text-decoration: none;
}
.nav-links a.active {
  background: var(--blue-light);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(0, 87, 168, 0.08);
}
.nav-past {
  background: rgba(0, 87, 168, 0.07);
  color: var(--blue) !important;
  font-weight: 600 !important;
  box-shadow: none;
}
.nav-past:hover {
  background: rgba(0, 87, 168, 0.12) !important;
  color: var(--blue-mid) !important;
}


.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-600);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav — full-width dropdown below the navbar */
@media (max-width: 768px) {
  .navbar .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 5px;
    border-radius: 8px;
  }
  .navbar-brand {
    gap: 10px;
  }
  .navbar-logo-mark {
    width: 34px;
    height: 34px;
  }
  .navbar-logo-copy strong,
  .navbar-conference-link {
    font-size: 15px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 14px;
  }

}

@media (max-width: 560px) {
  .navbar-brand {
    gap: 8px;
  }
  .navbar-logo-copy strong,
  .navbar-conference-link {
    font-size: 14px;
  }
  .navbar-conference-link {
    gap: 8px;
  }
  .navbar-logo-mark {
    width: 32px;
    height: 32px;
  }
}
/* Hero banner — campus background image with conference title and key stats */
.hero {
  color: var(--white);
  padding: 72px 0 60px;
  min-height: clamp(580px, 82vh, 880px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      to right,
      rgba(5, 15, 45, 0.75) 0%,
      rgba(5, 15, 45, 0.55) 55%,
      rgba(5, 15, 45, 0.35) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    url("images/iiti_campus_bg.webp");
  background-position:
    center center,
    center center,
    center 38%;
  background-size:
    cover,
    cover,
    cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-origin: border-box;
  display: flex;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.hero h1,
.hero h2 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hero-tag {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
@media (max-width: 700px) {
  .hero {
    min-height: 460px;
    padding: 56px 0 52px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ecfff;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}
.hero h2 {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 87, 168, 0.2);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--blue-light);
  text-decoration: none;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-mid);
  text-decoration: none;
}
.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
  text-decoration: none;
}

/* Hero stat box */
.hero-stats {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  min-width: 190px;
}
.hero-stats .stat {
  margin-bottom: 14px;
}
.hero-stats .stat:last-child {
  margin-bottom: 0;
}
.hero-stats .stat-num {
  font-family: "Lexend", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.hero-stats .stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 700px) {
  .hero-stats {
    display: none;
  }
}

/* Countdown timer bar — ticks down to the conference start date */
.countdown-bar {
  background: var(--gray-800);
  padding: 18px 0;
}
.countdown-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
}
.countdown-label {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.countdown-cells {
  display: flex;
  gap: 8px;
}
.cd-cell {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
}
.cd-num {
  font-family: "Lexend", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.cd-lbl {
  font-size: 10px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}
.cd-sep {
  font-size: 9px;
  color: var(--gray-400);
  align-self: center;
  line-height: 1;
}

/* Shared section layout — alternating white/gray backgrounds with consistent padding */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--gray-50);
}
.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.section-head.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head {
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

/* About section — two-column grid describing the conference and IIT Indore */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-block h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.about-block p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.about-block p + p {
  margin-top: 12px;
}

/* Organisers — compact trust strip before the technical program */
.organisers-section {
  padding-top: 52px;
  border-top: 1px solid var(--gray-100);
}
.organisers-section .section-subtitle {
  margin-bottom: 26px;
}
.organisers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.organiser-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 150px;
  padding: 32px 22px 22px;
  text-align: center;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.organiser-tile:hover {
  border-color: rgba(0, 87, 168, 0.26);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}
.organiser-logo,
.organiser-avatar,
.organiser-avatars {
  display: none;
}
.organiser-logo {
  object-fit: contain;
}
.organiser-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--gray-200);
}
.organiser-avatars {
  position: relative;
}
.organiser-avatars img {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--gray-200);
}
.organiser-avatars img:nth-child(1) {
  left: 0;
  top: 2px;
}
.organiser-avatars img:nth-child(2) {
  right: 0;
  top: 2px;
}
.organiser-avatars img:nth-child(3) {
  left: 10px;
  bottom: 0;
}
.organiser-copy {
  min-width: 0;
  width: 100%;
}
.organiser-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 8px;
}
.organiser-tile h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: 0;
  text-wrap: balance;
}
.organiser-tile p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 28ch;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .organisers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .organisers-grid {
    grid-template-columns: 1fr;
  }
  .organiser-tile {
    min-height: 140px;
  }
}
@media (max-width: 520px) {
  .organisers-section {
    padding-top: 44px;
  }
  .organiser-tile {
    padding: 24px 16px 16px;
    min-height: 132px;
  }
}

/* Info highlight cards — three cards below the about section */
.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 768px) {
  .info-row {
    grid-template-columns: 1fr;
  }
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
.info-card .ic-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.info-card .ic-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--blue);
}
.info-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.info-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Important dates and latest news, shown side by side */
.dates-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .dates-news-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.date-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
}
.date-item--last {
  border-bottom: none;
}
.date-item--key {
  margin: 4px -10px;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff, #f2f7fe);
  border: 1px solid #d8e4f6;
  box-shadow: 0 10px 22px rgba(0, 87, 168, 0.06);
}
.date-item--key .date-item-label {
  font-size: 13.5px;
}
.date-item--key .date-item-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 3px;
}
.date-item:last-child {
  border-bottom: none;
}
.date-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.dot-open {
  background: var(--success);
}
.dot-warn {
  background: var(--warn);
}
.dot-neutral {
  background: var(--gray-400);
}
.date-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.date-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a5d00;
  background: #fff1d9;
  vertical-align: middle;
}
.date-pill--soft {
  color: var(--blue);
  background: var(--blue-light);
}
.date-item-val {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

.news-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
}
.news-item:last-child {
  border-bottom: none;
}
.news-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  margin-top: 6px;
  flex-shrink: 0;
}
.news-text {
  font-size: 14px;
  line-height: 1.5;
}
.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.news-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fde8e8;
  color: var(--danger);
  padding: 1px 6px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 5px;
}

/* Conference topic pills — hoverable tags for each research area */
.topics-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.topic-pill {
  padding: 7px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid #c6d9f5;
  transition: all 0.15s;
}
.topic-pill:hover {
  background: var(--blue);
  color: var(--white);
  cursor: default;
}

/* Speakers — styled with the shared .orgcom-card grid (same as committee panels) */

/* Registration fee table — horizontally scrollable on mobile */
.reg-matrix-card {
  background: #fff;
  border: 1px solid #dde3ed;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.reg-matrix-scroll {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #dde3ed;
  background: #fff;
}
.reg-matrix {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}
.reg-matrix col.reg-col-stage {
  width: 250px;
}
.reg-matrix col.reg-col-student-saarc {
  width: 150px;
}
.reg-matrix col.reg-col-student-non {
  width: 102px;
}
.reg-matrix col.reg-col-saarc {
  width: 100px;
}
.reg-matrix col.reg-col-non {
  width: 106px;
}
.reg-matrix col:nth-child(8) {
  width: 118px;
}
.reg-matrix col:nth-child(9) {
  width: 118px;
}

/* Category header row at the top of the fee matrix */
.reg-matrix thead tr:first-child th {
  font-family: "Lexend", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 12px 10px;
  color: var(--blue);
  background: #f4f7fc;
  border-bottom: 1px solid #dde3ed;
  border-right: 1px solid #dde3ed;
  white-space: normal;
}
.reg-matrix thead tr:first-child th.reg-head-wide span {
  display: block;
  line-height: 1.15;
}
.reg-matrix thead tr:first-child th.reg-head-wide span + span {
  margin-top: 3px;
}
.reg-matrix thead tr:first-child th:first-child {
  text-align: left;
  color: var(--gray-600);
  min-width: 180px;
  vertical-align: middle;
}
.reg-matrix thead tr:first-child th:last-child {
  border-right: none;
}

/* SAARC / Non-SAARC sub-header row */
.reg-matrix thead tr:nth-child(2) th {
  font-family: "Lexend", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 12px;
  color: var(--gray-600);
  background: #f9fafc;
  border-bottom: 1px solid #dde3ed;
  border-right: 1px solid #e8ecf3;
  white-space: nowrap;
}
.reg-matrix thead tr:nth-child(2) th:first-child {
  text-align: left;
}
.reg-matrix thead tr:nth-child(2) th:last-child {
  border-right: none;
}
.reg-matrix thead th:first-child {
  min-width: 190px;
}

/* Row labels (Early Bird, Late, On-spot) */
.reg-matrix tbody th {
  background: #f9fafc;
  color: var(--gray-800);
  font-family: "Lexend", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  vertical-align: middle;
  padding: 18px 16px;
  border-right: 1px solid #dde3ed;
  border-top: 1px solid #edf0f5;
  line-height: 1.45;
}

/* Fee amount cells */
.reg-matrix td {
  text-align: center;
  font-family: "Lexend", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-800);
  padding: 18px 12px;
  border-top: 1px solid #edf0f5;
  border-right: 1px solid #edf0f5;
  background: #fff;
  transition: background 0.12s ease;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.reg-matrix tbody tr:hover td,
.reg-matrix tbody tr:hover th {
  background: #f4f7fc;
}
.reg-matrix tr > *:last-child {
  border-right: none;
}
.reg-matrix tbody tr:last-child th,
.reg-matrix tbody tr:last-child td {
  border-bottom: none;
}

/* Active stage badge (highlights the current pricing window) */
.reg-stage-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.reg-stage-badge.open {
  background: #e6f4ee;
  color: #1a7a4a;
}
.reg-stage-badge.warn {
  background: #fff3e0;
  color: #b45c00;
}

/* Greyed-out cells for expired stages */
.reg-matrix td.dim {
  color: #c5cad6;
  font-size: 18px;
}

/* Footnotes below the fee table */
.reg-matrix-foot {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.reg-matrix-foot p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  background: #f9fafc;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  padding: 10px 14px;
}

/* Register Now button below the table */
.reg-matrix-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.reg-matrix-actions .btn {
  min-width: 200px;
  text-align: center;
  border-radius: 999px;
}
.reg-matrix-actions .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}
.reg-success-actions {
  flex-wrap: wrap;
  justify-content: center;
}
.reg-success-actions .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}
.reg-receipt-note {
  margin: 10px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .reg-matrix-card {
    padding: 14px;
  }
  .reg-matrix-foot {
    flex-direction: column;
  }
}

/* Submission section — two-step abstract and paper submission blocks */
.submit-block {
  background: var(--blue-light);
  border: 1px solid #c6d9f5;
  border-radius: var(--radius-lg);
  padding: 32px;
}
.submit-subsection {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.submit-subsection-head {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid #d8e4f6;
  background:
    radial-gradient(circle at top right, rgba(26, 114, 211, 0.14), transparent 28%),
    linear-gradient(135deg, #f9fbff, #eef5ff);
  box-shadow: 0 14px 32px rgba(11, 45, 99, 0.06);
}
.submit-subsection-head .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d6e2f3;
  margin-bottom: 12px;
}
.submit-subsection-head h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text);
}
.submit-subsection-head p {
  max-width: 700px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.submit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .submit-subsection {
    margin-top: 24px;
    padding-top: 24px;
  }
  .submit-subsection-head {
    padding: 18px 18px;
    border-radius: 16px;
  }
  .submit-subsection-head h3 {
    font-size: 1.32rem;
  }
  .submit-grid {
    grid-template-columns: 1fr;
  }
}
.submit-step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--gray-200);
}
.submit-step-num {
  font-family: "Lexend", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
  opacity: 0.7;
}
.submit-step h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.submit-step p {
  font-size: 14px;
  color: var(--text-muted);
}

#paperNextBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Accommodation — room types and pricing for Indian and foreign participants */
.accom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .accom-grid {
    grid-template-columns: 1fr;
  }
}
.accom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}
.accom-table th {
  text-align: left;
  padding: 7px 10px;
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.accom-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--gray-100);
}
.accom-table tr:last-child td {
  border-bottom: none;
}

.accom-actions {
  align-items: stretch;
  flex-direction: column;
  max-width: 320px;
}

.accom-actions .btn {
  width: 100%;
  text-align: center;
}

/* How to Reach section — Google Maps embed and transport options */
.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 700px) {
  .reach-grid {
    grid-template-columns: 1fr;
  }
}

.reach-list {
  list-style: none;
  font-size: 14px;
}
.reach-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  gap: 12px;
}
.reach-list li:last-child {
  border-bottom: none;
}
.reach-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  margin-top: 1px;
}

/* Contact section — email, venue address, and website link cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
  border-color: rgba(0, 87, 168, 0.18);
}

.contact-card .cc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-card a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-card a:hover {
  color: var(--blue-mid);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* Footer — dark bar with quick links and copyright */
.footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-logo {
  font-family: "Lexend", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 8px;
}
.footer ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}
.footer ul a:hover {
  color: var(--white);
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Nav dropdown — desktop flyout, mobile inline */
.nav-dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  min-width: 90px;
  z-index: 90;
  padding: 6px 0;
  overflow: hidden;
}
.dropdown-menu.show {
  display: block;
  animation: fadeDown 0.15s ease;
}
.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  transition:
    background 0.12s,
    color 0.12s;
}
.dropdown-menu li a:hover {
  background: var(--blue-light);
  color: var(--blue);
  text-decoration: none;
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--blue-light);
    border-radius: 0;
    padding: 0;
    margin: 4px 0 4px 12px;
  }
  .dropdown-menu.show {
    display: block;
  }
}

/* Committee modal — full-screen overlay with tabbed panels for each committee */
.orgcom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 9, 40, 0.55);
  backdrop-filter: blur(3px);
  z-index: 500;
}
.orgcom-overlay.open {
  display: block;
  animation: fadein 0.2s ease;
}

.orgcom-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 94vw);
  height: min(720px, 86vh);
  max-height: 86vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 60px rgba(0, 0, 0, 0.2);
  z-index: 501;
  overflow: hidden;
  flex-direction: column;
}
.orgcom-modal.open {
  display: flex;
  animation: modalIn 0.22s cubic-bezier(0.3, 0.7, 0.4, 1.1) both;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.orgcom-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 14px;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    transform 0.15s;
  z-index: 2;
}
.orgcom-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.orgcom-header {
  padding: 24px 24px 20px;
  background:
    radial-gradient(circle at top right, rgba(126, 207, 255, 0.26), transparent 34%),
    linear-gradient(135deg, #0d1f45 0%, #16366e 58%, #1f5aa6 100%);
  color: #fff;
}
.orgcom-kicker {
  font-family: "Lexend", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}
.orgcom-header h2 {
  font-family: "Lexend", sans-serif;
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0;
}
.orgcom-header p {
  margin: 8px 0 0;
  max-width: 540px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}
.orgcom-tabs-shell {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  padding: 18px 24px;
  background:
    linear-gradient(180deg, rgba(244, 247, 252, 0.96), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.orgcom-tab-group {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 55, 100, 0.09);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(18, 40, 84, 0.07);
}
.orgcom-tab-group-label {
  font-family: "Lexend", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.orgcom-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.orgcom-tab {
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  font-family: "Lexend", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  white-space: normal;
  text-align: left;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.orgcom-tab:hover {
  background: #eef5ff;
  color: var(--blue);
  border-color: rgba(44, 101, 191, 0.22);
  transform: translateY(-1px);
}
.orgcom-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #2154a6, #3f79cf);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(37, 84, 166, 0.25);
}

.orgcom-panel {
  display: none;
  padding: 24px 24px 28px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.orgcom-panel.active {
  display: block;
}

.orgcom-section-label {
  font-family: "Lexend", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.orgcom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  gap: 30px;
  justify-content: center;
}

.orgcom-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.orgcom-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.orgcom-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  margin: 0;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lexend", sans-serif;
  font-size: 40px;
  font-weight: 600;
}
.orgcom-avatar--fallback {
  padding: 12px;
  letter-spacing: 0.05em;
  font-size: 32px;
  font-weight: 600;
  background: linear-gradient(135deg, #dce8f8 0%, #c5d9f5 100%);
  color: var(--blue);
  border-bottom: 3px solid rgba(0, 87, 168, 0.12);
  user-select: none;
}

.orgcom-name {
  font-size: 13px;
  font-weight: 600;
  color: black;
  margin: 10px 10px 3px;
}
.orgcom-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  margin: 0 10px 3px;
}
.orgcom-designation {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  margin: 0 10px 3px;
}
.orgcom-dept {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 10px 12px;
}
.orgcom-homepage {
  font-size: 10px;
  margin: 0 10px 12px;
}
.orgcom-homepage a {
  color: var(--blue);
  text-decoration: none;
}
.orgcom-homepage a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .orgcom-tabs-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .orgcom-header {
    padding: 22px 18px 18px;
  }
  .orgcom-header h2 {
    font-size: 1.28rem;
  }
  .orgcom-tabs-shell {
    padding: 14px 18px 16px;
  }
  .orgcom-tab-group {
    padding: 12px;
  }
  .orgcom-panel {
    padding: 20px 18px 24px;
  }
  .orgcom-modal {
    height: min(680px, 88vh);
  }

}

/* Minisymposium — proposal steps and eligibility checklist */
.ms-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 700px) {
  .ms-layout {
    grid-template-columns: 1fr;
  }
}
.ms-steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ms-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ms-step-num {
  font-family: "Lexend", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.25;
  min-width: 36px;
  line-height: 1.2;
  flex-shrink: 0;
}
.ms-step h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ms-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.submit-link {
  display: inline-block;
  font-size: 13px;
}

.submit-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

.submit-link--spaced {
  margin-top: 12px;
}

.submit-link--top-gap {
  margin-top: 20px;
}

.submit-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--blue);
}

.stack-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-copy {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.card-copy--spaced {
  margin: 0 0 16px;
}

.section-card-spacing {
  margin-bottom: 24px;
}

.section-title-accent {
  color: var(--blue);
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
}

.checklist-item {
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.checklist-item:last-child {
  border-bottom: none;
}

.inline-note {
  font-size: 12px;
  color: var(--text-muted);
}

.inline-note--top {
  margin-top: 10px;
}

.section-top-gap {
  margin-top: 18px;
}

.process-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 79, 156, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.process-pill-divider {
  opacity: 0.45;
}

.map-frame {
  border: 0;
}

/* Utility helpers */
.text-center {
  text-align: center;
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content {
  animation: fadeUp 0.6s ease both;
}
.hero-stats {
  animation: fadeUp 0.6s 0.2s ease both;
}

img.orgcom-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 0;
}
/* Placeholder tiles — name-only cards without photos */
.orgcom-card--placeholder {
  opacity: 1;
  border-style: solid;
}
.orgcom-card--placeholder .orgcom-avatar {
  display: none;
}
.orgcom-card--placeholder .orgcom-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin: 16px 12px 4px;
}
.orgcom-card--placeholder .orgcom-dept {
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Name-only cards for Publicity / Volunteers — compact tile style */
.orgcom-card--name-only {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 20px 14px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.orgcom-card--name-only:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(44, 101, 191, 0.25);
}
.orgcom-card--name-only .orgcom-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.orgcom-card--name-only .orgcom-dept {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

/* Wider grid for name-only panels (fits more per row) */
.orgcom-grid--name-only {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  justify-content: start;
}

/* Registration modal — overlays the page when the user clicks Register */
.reg-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 35, 48, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
}
.reg-modal-overlay.open {
  display: block;
}

.reg-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(680px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  z-index: 1101;
  flex-direction: column;
}
.reg-modal.open {
  display: flex;
  flex-direction: column;
  animation: regModalIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes regModalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -44%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -48%);
  }
}

.reg-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;

  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.reg-modal-close:hover {
  background: rgba(255,255,255,0.30);
  color: #ffffff;
}

.reg-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--blue);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  flex-shrink: 0;
}
.reg-modal-header .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: Lexend, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}
.reg-modal-header h2 {
  font-family: Lexend, sans-serif;
  font-size: 1.45rem;
  color: #ffffff;
  margin: 0;
}
.reg-modal-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

.reg-modal-copy-soft {
  color: var(--blue-light);
}

/* reg-flow-steps removed from UI — kept for reference only */
.reg-flow-steps { display: none; }
.reg-flow-step { display: none; }
.reg-flow-step.is-active { display: none; }

.reg-modal-category-bar {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  border-radius: 20px;
  padding: 5px 16px;
  margin: 18px 32px 0;
  font-family: Lexend, sans-serif;
  border: 1px solid var(--gray-200);
}

.reg-modal-body {
  padding: 20px 32px 28px;
  overflow-y: auto;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

.reg-feedback {
  display: none;
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
}

.reg-feedback.visible {
  display: block;
}

.reg-feedback.is-error {
  background: #fff1f1;
  border: 1px solid rgba(214, 59, 59, 0.18);
  color: #a92f2f;
}

.reg-feedback.is-success {
  background: #edf9f4;
  border: 1px solid rgba(26, 158, 110, 0.18);
  color: #187553;
}

.reg-feedback.is-warn {
  background: #fff8ee;
  border: 1px solid rgba(230, 126, 34, 0.2);
  color: #a96418;
}

.reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-top: 16px;
}
.reg-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.reg-field--full {
  grid-column: 1 / -1;
}

.reg-field label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.req {
  color: var(--danger);
}
.req-opt {
  color: var(--gray-400);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.reg-field input,
.reg-field select {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13.5px;
  padding: 9px 13px;
  font-family: inherit;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.reg-field input::placeholder {
  color: var(--gray-400);
}
.reg-field input:focus,
.reg-field select:focus {
  border-color: var(--blue-mid);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 87, 168, 0.1);
}

.reg-modal-note {
  margin-top: 20px;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 11px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.reg-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.reg-success-actions {
  justify-content: center;
  margin-top: 18px;
}

.reg-success-actions .btn {
  min-width: 240px;
}



@media (max-width: 560px) {
  .reg-form-grid {
    grid-template-columns: 1fr;
  }
  .reg-modal-header,
  .reg-modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .reg-modal-category-bar {
    margin-left: 20px;
  }
  .reg-modal-actions {
    flex-direction: column-reverse;
  }
  .reg-modal-actions .btn {
    width: 100%;
    text-align: center;
  }
  .reg-flow-steps {
    margin-right: 0;
  }
}

/* Success overlay — shown after registration/abstract is submitted */
.reg-success-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 12px 8px;
  gap: 10px;
}
.reg-success-overlay.visible {
  display: flex;
  animation: successFadeIn 0.3s ease forwards;
}
@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reg-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9f8f1 0%, #d8f1e5 100%);
  color: var(--success);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 4px;
  box-shadow: inset 0 0 0 1px rgba(26, 158, 110, 0.16);
}
.reg-success-overlay h3 {
  font-family: Lexend, sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0;
}
.reg-success-lead {
  font-size: 14px;
  color: var(--text-muted);
}
.reg-success-overlay p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.reg-success-overlay strong {
  font-size: 14px;
  color: var(--blue);
}
.reg-success-summary {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.reg-success-summary-item {
  background: linear-gradient(180deg, #fbfcfe 0%, #f2f6fb 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
}
.reg-success-summary-item > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.reg-success-summary-item .abs-submission-id {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  padding: 10px 14px;
}
.reg-success-summary-item strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}
.reg-success-closing {
  margin-top: 16px !important;
  font-size: 12px !important;
  color: var(--gray-400) !important;
  font-style: italic;
}

.reg-success-note {
  max-width: 520px;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.reg-success-note strong {
  color: inherit;
}

@media (max-width: 560px) {
  .reg-success-summary {
    grid-template-columns: 1fr;
  }
  .reg-success-overlay {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Abstract modal — wider variant for the multi-step abstract form */
.abs-modal-wide {
  width: min(780px, 96vw);
}

.abs-steps {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.abs-step-hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.countdown-live {
  text-align: center;
  color: #7ecfff;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.abs-step {
  display: flex; align-items: center; gap: 8px;
  opacity: 0.55; transition: opacity .2s, transform .15s;
  cursor: pointer;
}
.abs-step.active { opacity: 1; }
.abs-step:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.abs-step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff; font-family: Lexend,sans-serif;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.abs-step.active .abs-step-num {
  background: #fff; color: var(--blue); border-color: #fff;
}
.abs-step-lbl {
  font-size: 12px; font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-family: Lexend, sans-serif;
}

.abs-step.active .abs-step-lbl {
  color: #ffffff;
}
.abs-step:hover .abs-step-lbl {
  color: #ffffff;
}
.abs-step:hover .abs-step-num {
  border-color: rgba(255,255,255,0.75);
}
.abs-step-line {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 0 12px;
}

/* Word counter */
.abs-char-counter {
  float: right; font-size: 11px;
  font-weight: 400; color: var(--gray-400);
  text-transform: none; letter-spacing: 0;
}
.abs-char-counter.warn   { color: var(--warn); }
.abs-char-counter.danger { color: var(--danger); }
.abs-char-counter.good   { color: var(--success); }

.abs-word-hint {
  font-size: 11.5px; margin-top: 5px;
  min-height: 16px;
}
.abs-live-preview {
  margin-top: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%);
  overflow: hidden;
}
.abs-live-preview-head {
  padding: 10px 14px;
  background: var(--blue-light);
  border-bottom: 1px solid var(--gray-200);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
}
.abs-live-preview-body {
  min-height: 110px;
  padding: 14px;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text);
}
.abs-live-preview-body.is-empty {
  color: var(--text-muted);
}

/* Section labels inside modal */
.abs-section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-100);
}

/* Same author checkbox */
.abs-same-check {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 0 4px;
  font-size: 13px; color: var(--text-muted);
}
.abs-same-check input { width: 15px; height: 15px; cursor: pointer; accent-color: var(--blue); }
.abs-same-check label { cursor: pointer; }

/* Co-author row */
.abs-coauthor-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px; align-items: end;
  margin-bottom: 10px;
  padding: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
}
@media (max-width: 560px) {
  .abs-coauthor-row { grid-template-columns: 1fr; }
}
.abs-coauthor-row .reg-field { margin: 0; }
.abs-remove-btn {
  background: none; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); color: var(--danger);
  cursor: pointer; padding: 8px 12px; font-size: 13px;
  transition: background .15s;
  align-self: end;
}
.abs-remove-btn:hover { background: #fde8e8; }

/* Add author button */
.abs-add-author-btn {
  background: none; border: 1.5px dashed var(--blue);
  border-radius: var(--radius-sm); color: var(--blue);
  cursor: pointer; padding: 9px 18px;
  font-size: 13px; font-weight: 600;
  width: 100%; margin-top: 4px;
  transition: background .15s;
}
.abs-add-author-btn:hover { background: var(--blue-light); }
.abs-add-author-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Textarea */
.reg-field textarea {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 13.5px;
  padding: 9px 13px; font-family: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none; width: 100%;
}
.reg-field textarea::placeholder { color: var(--gray-400); }
.reg-field textarea:focus {
  border-color: var(--blue-mid); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,87,168,0.10);
}

.code-input {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "Lexend", monospace;
  font-size: 14px;
}

.code-input--wide {
  letter-spacing: 0.06em;
  font-size: 15px;
}

.text-input-inline {
  margin-top: 10px;
}

.text-input-inline-hidden {
  display: none;
  margin-top: 10px;
}

.field-label-top-gap {
  margin-top: 14px;
}

.textarea-math {
  resize: vertical;
  font-family: monospace;
  font-size: 13px;
}

.copy-muted {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.copy-muted--spaced {
  margin-bottom: 20px;
}



.btn-min-110 {
  min-width: 110px;
}

.btn-min-160 {
  min-width: 160px;
}

.btn-min-180 {
  min-width: 180px;
}

.actions-top-gap {
  margin-top: 24px;
}

.section-label-top-gap {
  margin-top: 18px;
}

/* Submission ID badge */
.abs-submission-id {
  font-family: Lexend, monospace;
  font-size: 1.6rem; font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  border: 2px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 10px 28px;
  letter-spacing: .08em;
  margin: 8px 0;
}

/* Header */
.paper-modal-header {
  background: var(--blue);
}
.paper-modal-header::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,204,240,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Paper upload step 1 — submission ID verification */
.paper-id-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 4px;
}
.paper-id-row .reg-field {
  flex: 1;
}

.paper-verify-btn {
  min-width: 120px;
  align-self: flex-end;
  margin-bottom: 0;
  background: var(--blue);
}
.paper-verify-btn:hover { background: var(--blue-mid); }
.paper-verify-btn:disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
}

/* Verify message */
#paperVerifyMsg {
  font-size: 12.5px;
  margin-top: 10px;
  min-height: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  transition: color .2s;
}

/* Verified details card */
.paper-verified-card {
  display: none;
  margin-top: 18px;
  background: var(--gray-50);
  border: 1.5px solid #a7f0cc;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  animation: paperCardIn .2s ease;
}
.paper-verified-card.show { display: block; }

@keyframes paperCardIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0);   }
}

.paper-verified-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.paper-verified-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.paper-meta-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.paper-meta-val {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* Next button disabled state */
#paperNextBtn:disabled {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

/* Paper upload step 2 — file selection and upload */
.paper-id-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.paper-id-context {
  font-size: 12px;
  color: var(--text-muted);
}

.paper-deadline strong {
  color: #a7d6f0;
}

.code-chip {
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.hidden-file-input {
  display: none;
}
.paper-id-badge {
  font-family: Lexend, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background:var(--blue-light);
  border: 1px solid var(--blue);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: .06em;
}

/* Drag-and-drop zone for the PDF file */
.paper-dropzone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  padding: 38px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  user-select: none;
}
.paper-dropzone:hover,
.paper-dropzone.dragover {
  border-color: var(--blue);
  background: #e8f0fb;
  transform: scale(1.007);
  box-shadow: 0 0 0 4px rgba(0,87,168,0.10);
}
.paper-dropzone.has-file {
  border-color: var(--success);
  background: var(--blue-light);
}

.paper-dz-icon {
  font-size: 40px;
  margin-bottom: 10px;
  pointer-events: none;
  transition: transform .2s;
}
.paper-dropzone:hover .paper-dz-icon { transform: translateY(-3px); }

.paper-dz-main {
  font-size: 14.5px;
  font-weight: 600;
  font-family: Lexend, sans-serif;
  color: var(--text);
  pointer-events: none;
}
.paper-dz-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  pointer-events: none;
}
.paper-dz-browse {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  pointer-events: none;
}

/* Selected file info strip (name, size, remove button) */
.paper-file-info {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  animation: paperCardIn .2s ease;
}
.paper-file-info.show { display: flex; }

.paper-file-icon { font-size: 22px; flex-shrink: 0; }
.paper-file-text { flex: 1; min-width: 0; }
.paper-file-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.paper-file-size { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.paper-file-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  transition: color .15s;
  flex-shrink: 0;
}
.paper-file-remove:hover { color: #a02020; }

/* Upload progress bar */
.paper-progress-wrap { display: none; margin-top: 16px; }
.paper-progress-header {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.paper-progress-track {
  background: var(--gray-200);
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
}
.paper-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1a7a3a, #3fca7a);
  border-radius: 20px;
  transition: width .3s ease;
}

/* Upload button */
.paper-upload-btn { background: var(--blue); }
.paper-upload-btn:hover:not(:disabled) { background: var(--blue-mid); }
.paper-upload-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

/* Animated check circle on successful upload */
.paper-success-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #edfaf4;
  border: 3px solid #a7f0cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--success);
  font-weight: 700;
  margin-bottom: 8px;
  animation: paperCheckPop .4s cubic-bezier(.175,.885,.32,1.275) forwards;
}
@keyframes paperCheckPop {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

/* Paper upload responsive adjustments */
@media (max-width: 560px) {
  .paper-id-row         { flex-direction: column; align-items: stretch; }
  .paper-verify-btn     { width: 100%; }
  .paper-verified-meta  { grid-template-columns: 1fr; }
}

/* Abstract yes/no radio buttons in the registration form */
.reg-radio-row {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.reg-radio-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  padding: 8px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
}
.reg-radio-opt:has(input:checked) {
  border-color: var(--blue-mid);
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}
.reg-radio-opt input[type="radio"] {
  accent-color: var(--blue-mid);
  width: 15px;
  height: 15px;
}

.abs-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.abs-preview-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
}
.abs-preview-card--full {
  grid-column: 1 / -1;
}
.abs-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.abs-preview-head .abs-section-label {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.abs-preview-edit {
  min-width: 88px;
  padding: 8px 12px;
}
.abs-preview-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.abs-preview-body {
  white-space: pre-wrap;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px;
  max-height: 220px;
  overflow: auto;
}

@media (max-width: 700px) {
  .abs-preview-grid {
    grid-template-columns: 1fr;
  }
  .abs-preview-card--full {
    grid-column: auto;
  }
}

/* intl-tel-input library overrides to match modal styling */
.iti {
  width: 100%;
}
.iti__flag-container {
  z-index: 10;
}
.iti__selected-flag {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.iti input[type="tel"] {
  width: 100%;
  padding-left: 58px !important;
}
.iti__country-list {
  z-index: 1000;
  max-height: 220px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════
   Important Dates — horizontal timeline
   ═══════════════════════════════════════════════════════════════ */

.dates-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

/* Each milestone */
.dtl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0;
}

/* Node column: dot + vertical connector line */
.dtl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  margin-bottom: 10px;
}

/* The horizontal connecting line drawn as a pseudo on the node — runs right from dot */
.dtl-node::before {
  content: "";
  position: absolute;
  top: 9px;
  left: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: linear-gradient(90deg, rgba(0,87,168,0.16) 0%, rgba(0,87,168,0.06) 100%);
}
.dtl-item--last .dtl-node::before {
  display: none;
}

/* Dot */
.dtl-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 87, 168, 0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Body: status + label + date */
.dtl-body {
  width: 100%;
  height: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dtl-item:hover .dtl-body {
  transform: translateY(-2px);
  border-color: rgba(0, 87, 168, 0.18);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.dtl-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
}

.dtl-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  font-family: "Lexend", var(--font-body);
}

/* Responsive: stack to 2-col then 1-col */
@media (max-width: 860px) {
  .dates-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }
  /* hide connector after 3rd item in first row */
  .dtl-item:nth-child(3) .dtl-node::before { display: none; }
}
@media (max-width: 560px) {
  .dates-timeline {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .dtl-node::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-FIRST ENHANCEMENTS — smooth, polished experience on phones
   ═══════════════════════════════════════════════════════════════════ */

/* Linked names in orgcom cards */
.orgcom-name a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}
.orgcom-name a:hover {
  color: var(--blue-mid);
  text-decoration: underline;
}

/* ── Smooth scroll + scroll-margin for fixed navbar ── */
html {
  scroll-padding-top: 70px;
}

/* ── Touch-friendly tap targets (min 44px) ── */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
  }
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 15px;
  }
  .hamburger {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    transition: background 0.15s;
    margin-left: auto;
  }
  .hamburger:hover {
    background: var(--gray-100);
  }

  /* Improve section padding on mobile */
  .section {
    padding: 44px 0;
  }

  /* Better container padding on small screens */
  .container {
    padding: 0 16px;
  }

  /* Countdown bar — stack label above on xs */
  .countdown-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Hero content centering on mobile */
  .hero-content {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  /* Topics wrap — smaller pills on mobile */
  .topic-pill {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Speaker / orgcom grid — 2 columns on mobile */
  .orgcom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Submission block padding */
  .submit-block {
    padding: 20px 16px;
  }

  /* Reg matrix card */
  .reg-matrix-card {
    padding: 12px 10px;
  }

  /* Reach grid map */
  .map-frame {
    width: 100%;
    height: 220px;
    border-radius: 12px;
  }

  /* Contact grid — single column on mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Dates timeline — tighten spacing */
  .dates-timeline {
    gap: 0;
  }

  /* Reg modal — full-screen on mobile */
  .reg-modal,
  .abs-modal-wide {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: none;
    position: fixed;
  }
  .reg-modal-body {
    padding: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .reg-modal-header {
    padding: 16px;
  }

  /* Committee modal — full screen on mobile */
  .orgcom-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
  }
  .orgcom-modal.open {
    display: flex;
    flex-direction: column;
    animation: slideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .orgcom-header        { padding: 14px 16px 12px; flex-shrink: 0; }
  .orgcom-header h2     { font-size: 1.1rem; }
  .orgcom-header p      { font-size: 12px; margin-top: 3px; }
  .orgcom-kicker        { font-size: 10px; margin-bottom: 3px; }
  .orgcom-close         { top: 12px; right: 12px; }
  .orgcom-tabs-shell    { grid-template-columns: 1fr; gap: 8px; padding: 10px 16px 12px; flex-shrink: 0; }
  .orgcom-tab-group     { padding: 10px 12px; }
  .orgcom-tab-group-label { font-size: 10px; margin-bottom: 6px; }
  .orgcom-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px;
  }
  .orgcom-tabs::-webkit-scrollbar { display: none; }
  .orgcom-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 7px 12px;
    font-size: 11px;
  }
  .orgcom-panel {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
  }
  .orgcom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: stretch;
  }
  .orgcom-name { font-size: 11px; margin: 7px 6px 2px; }
  .orgcom-role { font-size: 10px; margin: 0 6px 2px; }
  .orgcom-designation { font-size: 9px; margin: 0 6px 2px; }
  .orgcom-dept { font-size: 9px;  margin: 0 6px 8px; }

  /* Footer grid — single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Abstract steps indicator — compact */
  .abs-steps {
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .abs-step-lbl {
    font-size: 10px;
  }

  /* Reg form grid — single column */
  .reg-form-grid {
    grid-template-columns: 1fr;
  }

  /* About grid equal spacing */
  .about-grid {
    gap: 24px;
  }

  /* Section title sizing */
  .section-title {
    font-size: 22px;
  }

  /* Section subtitle */
  .section-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  /* Minisymposium - full width on mobile */
  .mini-what {
    padding: 16px;
  }

  /* Process pill - wrap nicely */
  .process-pill {
    flex-wrap: wrap;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    line-height: 1.8;
  }
  .process-pill-divider {
    opacity: 0.5;
  }

  /* Accommodation table */
  .accom-grid {
    gap: 14px;
  }
  .card {
    padding: 18px 16px;
  }

  /* How to reach list */
  .reach-list li {
    font-size: 13px;
    gap: 10px;
  }
  .reach-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  /* Dates timeline items */
  .dtl-item {
    padding-bottom: 18px;
  }
  .dtl-date {
    font-size: 15px;
  }
  .dtl-label {
    font-size: 13px;
  }

}

/* ── Extra small screens (< 380px) ── */
@media (max-width: 380px) {
  .orgcom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .orgcom-card {
    border-radius: 8px;
  }
  .orgcom-avatar {
    aspect-ratio: 1;
  }
  .orgcom-name {
    font-size: 11px;
    margin: 7px 6px 2px;
  }
  .orgcom-dept {
    font-size: 9px;
    margin: 0 6px 8px;
  }
  .hero h1 {
    font-size: 20px;
  }
  .section-title {
    font-size: 20px;
  }
  .container {
    padding: 0 12px;
  }
}

/* ── Tablet (768–1024px) improvements ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .orgcom-grid {
    grid-template-columns: repeat(auto-fit, 180px);
    gap: 20px;
  }
  .container {
    padding: 0 24px;
  }
  .hero-inner {
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
  }
}

/* ── Smooth transitions for interactive elements ── */
.orgcom-card,
.card,
.contact-card,
.topic-pill,
.btn,
.nav-links a,
.orgcom-tab {
  -webkit-tap-highlight-color: transparent;
}

/* ── Map frame responsive ── */
.map-frame {
  width: 100%;
  min-height: 250px;
  border: 0;
  border-radius: var(--radius-lg);
}
@media (min-width: 701px) {
  .map-frame {
    height: 400px;
  }
}

/* ── Modal animations improved ── */
.reg-modal-overlay {
  transition: opacity 0.22s ease;
}
.reg-modal {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

/* ── Improved focus states for accessibility ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 87, 168, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Better line height on mobile for readability ── */
@media (max-width: 768px) {
  body {
    line-height: 1.7;
    font-size: 15px;
  }
  p {
    line-height: 1.75;
  }
}

/* ── Smooth image loading ── */
img {
  transition: opacity 0.3s ease;
}
img[loading="lazy"] {
  opacity: 0;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ── Payment Receipt Upload Field ── */
.reg-receipt-upload-field { margin-top: 8px; }

.reg-receipt-dropzone {
  position: relative;
  border: 2px dashed var(--gray-300, #cbd5e1);
  border-radius: 10px;
  padding: 22px 16px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--gray-50, #f8fafc);
  margin-top: 6px;
}
.reg-receipt-dropzone:hover,
.reg-receipt-dropzone.dragover {
  border-color: var(--blue, #2563eb);
  background: #eff6ff;
}
.reg-receipt-dropzone.has-file {
  border-color: var(--green, #16a34a);
  background: #f0fdf4;
}
.reg-receipt-dz-icon  { font-size: 1.75rem; margin-bottom: 6px; }
.reg-receipt-dz-main  { font-size: 0.9rem; font-weight: 600; color: var(--gray-700, #374151); }
.reg-receipt-dz-sub   { font-size: 0.78rem; color: var(--gray-400, #9ca3af); margin-top: 3px; }
.reg-receipt-dz-browse {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 18px;
  border-radius: 6px;
  background: var(--blue, #2563eb);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
}

/* File info strip */
.reg-receipt-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.reg-receipt-file-icon { font-size: 1.2rem; flex-shrink: 0; }
.reg-receipt-file-text { flex: 1; min-width: 0; }
.reg-receipt-file-name { font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-receipt-file-size { font-size: 0.75rem; color: var(--gray-500, #6b7280); }
.reg-receipt-file-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-400, #9ca3af);
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.reg-receipt-file-remove:hover { color: #dc2626; background: #fee2e2; }

/* Error message */
.reg-receipt-error {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 500;
}