/********** Template CSS **********/

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

/*** Section Nav (anchor pill links) ***/
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(47, 80, 104, 0.1);
}

.section-nav-link {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(47, 80, 104, 0.22);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.section-nav-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
:root {
  --primary: #2f5068;
  --primary-dark: #243d56;
  --primary-deep: #1b2f4d;
  --primary-night: #111630;
  --accent: #c79b3c;
  --accent-light: #f0c96a;
  --light: #f4f7f8;
  --dark: #17313f;
  --bs-primary: var(--primary);
  --bs-primary-rgb: 47, 80, 104;
  --bs-secondary: var(--accent);
  --bs-secondary-rgb: 199, 155, 60;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

body {
  font-family: "Rubik", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--dark);
  background-color: #f8fafc;
  background-image: url('../img/bg-science.svg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center top;
  overflow-x: hidden;
  padding-top: 90px;
}

html {
  overflow-x: hidden;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
}

p {
  font-size: 1rem;
  line-height: 1.75;
}

body,
body * {
  font-family: "Rubik", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-optical-sizing: auto;
}

/* Background-aware text colors */
.bg-dark,
.text-bg-dark,
.hero-section,
.page-header,
.bg-primary,
.bg-primary-dark {
  color: var(--light) !important;
}

.bg-light,
.bg-white,
.text-bg-light,
.team-item,
.service-item,
.timeline-item,
.hero-card,
.container-fluid.bg-light,
.container-fluid.bg-white {
  color: var(--dark) !important;
}

.text-on-dark {
  color: var(--light) !important;
}

.text-on-light {
  color: var(--dark) !important;
}

.text-primary,
.text-primary * {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1,
h2,
.section-title {
  position: relative;
}

h1::after,
h2::after,
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 16px auto 0;
}

.text-center h1::after,
.text-center h2::after,
.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 1.5rem;
}

.letter-spacing {
  letter-spacing: 0.2em;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(47, 80, 104, 0.16);
}

.btn.btn-primary:hover,
.btn.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  transform: translateY(-1px);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.fixed-top {
  transition: box-shadow 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 75px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 16px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary-dark);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 1399.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }

  .navbar .nav-auth-action {
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.owl-carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
  }
}

.header-carousel .owl-dots {
  position: absolute;
  width: 60px;
  height: 100%;
  top: 0;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
  position: relative;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  background: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
  border-radius: 45px;
  transition: 0.5s;
}

.header-carousel .owl-dots .owl-dot.active {
  width: 60px;
  height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 2px;
  border-radius: 45px;
  transition: 0.5s;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 24, 52, 0.78), rgba(38, 68, 96, 0.68)),
    url(../img/herobg.jpg) center center no-repeat;
  background-size: cover;
}

/* Watermark edition number */
.hero-bg-num {
  position: absolute;
  top: 50%;
  right: -3%;
  transform: translateY(-50%);
  font-size: 28rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
}

/* Gold badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(199, 155, 60, 0.14);
  border: 1px solid rgba(199, 155, 60, 0.45);
  color: #f0c96a;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Main title */
.hero-title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Edition number — gold gradient, larger */
.hero-edition {
  display: block;
  font-size: 1.5em;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.08em;
  background: linear-gradient(135deg, #f8d561 30%, #c79b3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  letter-spacing: -0.03em;
}

.hero-edition sup {
  font-size: 0.38em;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
  background: none;
  -webkit-text-fill-color: #f0c96a;
  color: #f0c96a !important;
}

/* Highlighted topic line */
.hero-title-accent {
  display: block;
  color: #f0c96a !important;
  font-weight: 800;
  margin-top: 0.1em;
}

/* Date / location line */
.hero-meta {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78) !important;
  margin-bottom: 1.6rem;
}

.hero-meta-sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.35);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(47, 80, 104, 0.12);
  backdrop-filter: blur(8px);
}

.countdown-section {
  background: linear-gradient(135deg, #081a32, #132c53);
  color: #f8fafc;
}

.countdown-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.countdown-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  min-width: 86px;
  transition: background 0.3s;
}

.countdown-card:hover {
  background: rgba(255, 255, 255, 0.16);
}

.countdown-num {
  display: block;
  font-size: 2.4rem;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 5px;
}

.countdown-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8cfe0;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  margin-bottom: 20px;
}

.countdown-note {
  color: #b8cfe0;
  font-size: 0.88rem;
}

@media (max-width: 575px) {
  .countdown-card {
    min-width: 68px;
    padding: 12px 14px;
  }

  .countdown-num {
    font-size: 1.85rem;
  }

  .countdown-sep {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
}

/* Important Dates */
.important-dates-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.important-dates-section h3 {
  color: #0b203f;
}

.important-dates-section .text-muted {
  color: #42607f;
}

.dates-table-wrap {
  background: #ffffff;
  border: 1px solid rgba(47, 80, 104, 0.1);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.dates-table {
  margin-bottom: 0;
}

.dates-table thead th {
  background: rgba(47, 80, 104, 0.06);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--accent);
  padding: 14px 20px;
  white-space: nowrap;
}

.dates-table tbody td {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  vertical-align: middle;
  border-bottom: 1px solid rgba(47, 80, 104, 0.08);
}

.dates-table tbody td:nth-child(2) {
  color: #5a6778;
  font-weight: 400;
}

.dates-table tbody tr:last-child td {
  border-bottom: none;
}

.dates-table tbody tr:hover {
  background: rgba(47, 80, 104, 0.03);
}

.date-table-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), #fff8e8);
  color: var(--primary);
  font-size: 0.85rem;
  margin-right: 12px;
}

.date-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-open {
  background: rgba(40, 167, 69, 0.08);
  color: #1a7a33;
  border: 1px solid rgba(40, 167, 69, 0.22);
}

.status-upcoming {
  background: rgba(47, 80, 104, 0.07);
  color: var(--primary);
  border: 1px solid rgba(47, 80, 104, 0.18);
}

.status-extended {
  background: rgba(255, 153, 0, 0.08);
  color: #b36a00;
  border: 1px solid rgba(255, 153, 0, 0.25);
}

.status-tba {
  background: rgba(108, 117, 125, 0.08);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.22);
}

.status-close {
  background: rgba(180, 35, 35, 0.07);
  color: #9e1f1f;
  border: 1px solid rgba(180, 35, 35, 0.20);
}

/* Admin Pagination */
.admin-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 1rem 1rem 0.5rem; flex-wrap: wrap; }
.admin-pagination .pg-btn { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(47,80,104,0.18); background: #fff; color: var(--dark); font-size: 0.875rem; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.18s; padding: 0 8px; line-height: 1; }
.admin-pagination .pg-btn:hover:not(:disabled) { background: rgba(47,80,104,0.08); border-color: var(--primary); }
.admin-pagination .pg-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.admin-pagination .pg-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.admin-pagination .pg-info { font-size: 0.82rem; color: #6c757d; padding: 0 6px; }
.admin-pagination .pg-ellipsis { font-size: 0.875rem; color: #aaa; padding: 0 2px; }

/* Quick Nav */
.quicknav-section {
  background: #f4f7fa;
  border-top: 1px solid rgba(47,80,104,0.08);
  border-bottom: 1px solid rgba(47,80,104,0.08);
}
.quicknav-grid {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}

.quicknav-item {
  --qn-clr: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 0.9rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(47,80,104,0.09);
  border-top: 3px solid var(--qn-clr);
  box-shadow: 0 2px 10px rgba(47,80,104,0.06);
  text-decoration: none;
  color: var(--dark);
  transition: all 0.25s ease;
  flex: 1;
  min-width: 90px;
  max-width: 145px;
}
.quicknav-item:hover {
  background: var(--qn-clr);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  border-color: var(--qn-clr);
}
.quicknav-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--qn-clr);
  transition: all 0.25s ease;
}
.quicknav-item:hover .quicknav-icon {
  background: rgba(255,255,255,0.20);
  color: #fff;
}
.quicknav-label {
  font-size: 0.80rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* Per-item color tokens – must come AFTER .quicknav-item to win */
.qn-programs     { --qn-clr: #2f5068; }
.qn-speakers     { --qn-clr: #2a7c6f; }
.qn-registration { --qn-clr: #c07f00; }
.qn-abstract     { --qn-clr: #5c6bc0; }
.qn-venue        { --qn-clr: #27774e; }
.qn-sponsorships { --qn-clr: #7c3aed; }
.qn-contacts     { --qn-clr: #c0392b; }

/* Speaker Cards – Group Divider */
.speaker-group-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.speaker-group-divider::before,
.speaker-group-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(47, 80, 104, 0.13);
}
.speaker-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 5px 16px;
  border-radius: 999px;
}
.speaker-group-plenary {
  background: linear-gradient(135deg, rgba(199, 155, 60, 0.14), rgba(248, 213, 97, 0.1));
  color: #9a6f1a;
  border: 1px solid rgba(199, 155, 60, 0.35);
}
.speaker-group-keynote {
  background: rgba(47, 80, 104, 0.07);
  color: var(--primary);
  border: 1px solid rgba(47, 80, 104, 0.18);
}

/* Speaker Cards – Base */
.speaker-card {
  background: #fff;
  box-shadow: 0 2px 18px rgba(47, 80, 104, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.speaker-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(47, 80, 104, 0.14);
}

/* Plenary variant – gold accent */
.speaker-card-plenary {
  border-top: 5px solid var(--accent);
  background: #fff;
}

/* Plenary horizontal card – redesign */
.plenary-hcard {
  display: flex;
  flex-direction: row;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(199,155,60,0.22);
  box-shadow: 0 4px 24px rgba(47,80,104,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
}
.plenary-hcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(199,155,60,0.20);
}

.plenary-hcard__img {
  position: relative;
  width: 200px;
  min-width: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.plenary-hcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.plenary-hcard:hover .plenary-hcard__img img {
  transform: scale(1.06);
}

.plenary-hcard__img--placeholder {
  background: linear-gradient(145deg, #eef2f7 0%, #dde4ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plenary-hcard__user-icon {
  font-size: 5rem;
  color: rgba(47,80,104,0.25);
}

.plenary-hcard__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}
.plenary-hcard__meta i {
  color: var(--accent);
}

.plenary-hcard__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.plenary-hcard__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.plenary-hcard__body {
  flex: 1;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fffdf5 0%, #fff 100%);
}
.plenary-hcard__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.plenary-hcard__affil {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.2rem;
}
.plenary-hcard__country {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.85rem;
}
.plenary-hcard__topic {
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
  border-top: 1px solid rgba(199,155,60,0.18);
  padding-top: 0.75rem;
  line-height: 1.5;
}
.plenary-hcard__topic i {
  color: var(--accent);
  opacity: 0.7;
}

@media (max-width: 575px) {
  .plenary-hcard {
    flex-direction: column;
  }
  .plenary-hcard__img {
    width: 100%;
    min-width: unset;
    height: 220px;
  }
  .plenary-hcard__body {
    border-left: none;
    border-top: 4px solid var(--accent);
  }
}

/* Keynote/Invited variant – navy accent */
.speaker-card-keynote {
  border-top: 3px solid var(--primary);
  background: #fff;
}

/* ── spk-card: Keynote & Invited redesign ── */
.spk-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 18px rgba(47,80,104,0.09);
  border: 1px solid rgba(47,80,104,0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.spk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(47,80,104,0.14);
}

.spk-card--keynote { border-top: 4px solid #2a7c6f; }
.spk-card--invited { border-top: 4px solid #5c6bc0; }

.spk-card__img {
  position: relative;
  width: 100%;
  height: 190px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.spk-card--keynote .spk-card__img--placeholder {
  background: linear-gradient(145deg, #e8f4f1 0%, #cde8e2 100%);
}
.spk-card--invited .spk-card__img--placeholder {
  background: linear-gradient(145deg, #eceef8 0%, #d8dcf2 100%);
}

.spk-avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.spk-card:hover .spk-avatar { transform: scale(1.06); }
.spk-card--keynote .spk-avatar { border-color: #2a7c6f; }
.spk-card--invited .spk-avatar { border-color: #5c6bc0; }

.spk-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.spk-avatar--placeholder {
  background: rgba(255,255,255,0.55);
}
.spk-avatar--placeholder i {
  font-size: 3.2rem;
  color: rgba(47,80,104,0.28);
}

.spk-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.spk-card__badge--keynote { background: #2a7c6f; }
.spk-card__badge--invited { background: #5c6bc0; }

.spk-card__body {
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.spk-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.spk-card__affil {
  font-size: 0.82rem;
  color: #6c757d;
  margin-bottom: 0.2rem;
}
.spk-card__country {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.spk-card__topic {
  font-size: 0.82rem;
  color: #777;
  font-style: italic;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(47,80,104,0.08);
  line-height: 1.5;
}
.spk-card__topic i { color: var(--primary); opacity: 0.45; }

/* Images */
.speaker-img-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 28px auto 12px;
  border: 3px solid rgba(47, 80, 104, 0.12);
  flex-shrink: 0;
  background: #f0f4f7;
}
.speaker-img-portrait {
  width: 170px;
  height: 170px;
}
.speaker-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}
.speaker-card:hover .speaker-img-wrap img {
  transform: scale(1.08);
}

/* Type badge */
.speaker-type-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 999px;
}
.speaker-type-plenary {
  background: rgba(199, 155, 60, 0.12);
  color: #8a5f10;
  border: 1px solid rgba(199, 155, 60, 0.4);
}
.speaker-type-keynote {
  background: rgba(47, 80, 104, 0.08);
  color: var(--primary);
  border: 1px solid rgba(47, 80, 104, 0.22);
}
.speaker-type-invited {
  background: rgba(80, 110, 130, 0.07);
  color: #4a6275;
  border: 1px solid rgba(80, 110, 130, 0.22);
}

/* Card body text */
.speaker-name-lg {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.speaker-affil {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.5;
}
.speaker-country {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}
.speaker-topic-wrap {
  border-top: 1px solid rgba(47, 80, 104, 0.1);
  padding-top: 0.65rem;
  margin-top: auto;
}
.speaker-topic-icon {
  font-size: 0.7rem;
  color: var(--accent);
  vertical-align: middle;
}
.speaker-topic {
  font-size: 1rem;
  color: #5a6778;
  font-style: italic;
  line-height: 1.65;
}

/* Sponsor Cards */
.sponsor-card {
  border-top: 4px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sponsor-card:hover {
  transform: translateY(-4px);
}
.sponsor-gold   { border-top-color: #c79b3c; }
.sponsor-silver { border-top-color: #9e9e9e; }
.sponsor-bronze { border-top-color: #a0522d; }

.sponsor-tier-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0;
}
.sponsor-gold   .sponsor-tier-label { color: #b8842a; }
.sponsor-silver .sponsor-tier-label { color: #757575; }
.sponsor-bronze .sponsor-tier-label { color: #8b4513; }

.sponsor-logo-box {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 80, 104, 0.04);
  border: 1px dashed rgba(47, 80, 104, 0.2);
  border-radius: 8px;
  color: #9aabb8;
  font-size: 0.85rem;
}

/*** Contact Page ***/
.contact-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(47, 80, 104, 0.12);
  height: 320px;
}
#leaflet-map {
  width: 100%;
  height: 100%;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}
.contact-info-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.contact-info-item a:hover { color: var(--accent); text-decoration: underline; }
.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(47, 80, 104, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.contact-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid rgba(47, 80, 104, 0.18);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  font-family: inherit;
}
.contact-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 80, 104, 0.1);
}
.contact-textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.contact-alert-success {
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #1a6830;
}
.contact-alert-error {
  background: rgba(220, 53, 69, 0.07);
  border: 1px solid rgba(220, 53, 69, 0.28);
  color: #842029;
}
.contact-alert-error a {
  color: #842029;
  font-weight: 600;
}

/*** Registration Fee Table ***/
.reg-fee-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(47, 80, 104, 0.09);
}
.reg-fee-table thead tr {
  background: var(--primary);
  color: #fff;
}
.reg-fee-table thead th {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  color: #fff;
}
.reg-fee-category { width: 45%; }
.reg-fee-early,
.reg-fee-regular  { width: 27.5%; }

.reg-fee-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.reg-fee-badge-early   { background: rgba(255, 213, 97, 0.25); color: #ffe066; border: 1px solid rgba(255,213,97,0.4); }
.reg-fee-badge-regular { background: rgba(255,255,255,0.12);   color: #c8d8e8; border: 1px solid rgba(255,255,255,0.25); }

.reg-fee-table tbody tr {
  background: #fff;
  transition: background 0.18s;
}
.reg-fee-table tbody tr:nth-child(even) { background: rgba(47, 80, 104, 0.03); }
.reg-fee-table tbody tr:hover { background: rgba(47, 80, 104, 0.06); }

.reg-fee-table tbody td {
  padding: 20px 24px;
  vertical-align: middle;
  border-top: 1px solid rgba(47, 80, 104, 0.08);
  color: var(--dark);
  font-size: 1rem;
}
.reg-fee-desc {
  font-size: 1rem;
  color: #8a9aaa;
  margin-top: 3px;
}
.reg-fee-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.reg-fee-banquet-card {
  background: rgba(199, 155, 60, 0.07);
  border: 1px dashed rgba(199, 155, 60, 0.4);
  border-radius: 10px;
  padding: 14px 20px;
}
.reg-fee-banquet-icon { color: #b8842a; }
.reg-fee-banquet-price-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: #9a6f1a;
  white-space: nowrap;
}

.reg-fee-currency-row th {
  background: rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.reg-fee-currency {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

/*** Welcome Message – Horizontal Layout ***/
.welcome-row {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(47, 80, 104, 0.09);
}
.welcome-row:last-child { border-bottom: none; padding-bottom: 0; }
.welcome-row-reverse { flex-direction: row-reverse; }

.welcome-text-col {
  flex: 1;
  min-width: 0;
}
.welcome-photo-col {
  flex-shrink: 0;
  width: 280px;
}

.welcome-person-label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.welcome-person-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0;
}

.welcome-divider {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
  margin: 16px 0 20px;
}
.welcome-divider-gold { background: linear-gradient(90deg, var(--accent), #e8c84a); }

.welcome-excerpt,
.welcome-full-text {
  font-size: 1rem;
  color: #5a6778;
  line-height: 1.8;
  margin-bottom: 12px;
}

.btn-welcome-toggle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0;
  border: none;
  background: none;
  transition: color 0.2s;
}
.btn-welcome-toggle:hover { color: var(--accent); }

/* Photo frame */
.welcome-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(47, 80, 104, 0.14),
    0 0 0 6px #fff,
    0 0 0 10px rgba(47, 80, 104, 0.1);
}
.welcome-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 32, 63, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
.welcome-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.welcome-photo-frame-gold {
  box-shadow:
    0 4px 24px rgba(199, 155, 60, 0.2),
    0 0 0 6px #fff,
    0 0 0 10px rgba(199, 155, 60, 0.3);
}

/*** About APCE ***/
.about-apce-figure {
  margin: 0 0 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(47, 80, 104, 0.12);
}
.about-apce-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-apce-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
}

.apce-topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}
.apce-topic-list li {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.apce-topic-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/*** Organizing Committee ***/
.committee-block {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(47, 80, 104, 0.07);
}

.committee-block-header {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 24px;
  letter-spacing: 0.01em;
}

.committee-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.committee-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(47, 80, 104, 0.07);
  transition: background 0.18s;
  flex-wrap: wrap;
}
.committee-list li:last-child { border-bottom: none; }
.committee-list li:hover { background: rgba(47, 80, 104, 0.03); }

.committee-subgroup {
  border-top: 1px solid rgba(47, 80, 104, 0.08);
}
.committee-subgroup-last .committee-list li:last-child {
  border-bottom: none;
}
.committee-subgroup-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 10px 24px;
  background: rgba(47, 80, 104, 0.04);
  letter-spacing: 0.01em;
}

.committee-flag {
  width: 1.4em;
  height: 1.05em;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  vertical-align: middle;
}
.committee-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  flex-shrink: 0;
}
.committee-affil {
  font-size: 1rem;
  color: #6c757d;
}
.committee-affil::before {
  content: '—';
  margin-right: 6px;
  color: rgba(47, 80, 104, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
  .welcome-row {
    flex-direction: column-reverse;
    gap: 28px;
    padding: 36px 0;
  }
  .welcome-photo-col { width: 100%; max-width: 280px; margin: 0 auto; }
  .welcome-photo-frame img { aspect-ratio: 4 / 3; }
  .apce-topic-list { grid-template-columns: 1fr; }
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlights span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.95rem;
  color: #f8f9fa;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section .hero-left h1,
.hero-section .hero-left h2,
.hero-section .hero-left h3,
.hero-section .hero-left h4,
.hero-section .hero-left h5,
.hero-section .hero-left h6,
.hero-section .hero-left p {
  color: #ffffff !important;
}

.hero-section .hero-left .hero-highlights span {
  border-color: rgba(248, 213, 97, 0.45);
  background: rgba(248, 213, 97, 0.12);
  color: #f8f9fa !important;
}

.hero-card {
  color: var(--dark);
}

.hero-card h5,
.hero-card p,
.hero-card li {
  color: var(--dark);
}

.hero-card .text-primary,
.hero-card .fa-check-circle {
  color: var(--primary);
}

.page-header {
  background:
    linear-gradient(135deg, rgba(11, 32, 63, 0.92), rgba(47, 80, 104, 0.86)),
    url(../img/pagebg.png) center center no-repeat;
  background-size: cover;
}

.page-header h1 {
  color: #ffffff !important;
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
  color: #f8d561;
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Service ***/
.service-item,
.timeline-item,
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  background: #fff;
  border: 1px solid rgba(47, 80, 104, 0.08);
}

.timeline-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.timeline-item {
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.timeline-item h5 {
  margin-bottom: 4px;
  color: var(--primary);
}

.service-icon {
  position: relative;
  margin: -50px 0 25px 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(135deg, var(--accent-light), #fff8e8);
  border-radius: 100px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover .service-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/*** Quote ***/
@media (min-width: 992px) {
  .container.quote {
    max-width: 100% !important;
  }

  .quote-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .quote-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .quote-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Team ***/
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.team-item .team-img {
  max-width: 75%;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 8px 60px 0 0;
}

.team-item.team-item-sm {
  max-width: 340px;
  padding: 1.5rem;
  margin: 0 auto;
}

.team-item .team-img {
  max-width: 60%;
  width: auto;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 8px 60px 0 0;
}

.team-item.team-item-sm .team-img-sm {
  max-width: 70%;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 12px;
}

.team-item.team-item-sm h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.team-item.team-item-sm span {
  font-size: 0.97rem;
  color: #5a6778;
}

.team-item .team-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #ffffff;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .hero-card {
    padding: 2rem 1.5rem;
  }

  .team-item {
    padding: 1.5rem 1rem;
  }

  .team-item .team-img,
  .team-item.team-item-sm .team-img-sm {
    max-width: 80%;
  }

  .team-item.team-item-sm {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .team-item {
    padding: 1.25rem 0.75rem;
  }

  .team-item .team-img,
  .team-item.team-item-sm .team-img-sm {
    max-width: 90%;
  }

  .team-item.team-item-sm {
    padding: 1rem;
  }

  .team-item h5 {
    font-size: 1rem;
  }

  .team-item span {
    font-size: 0.95rem;
  }
}

/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Payment Section ***/
.payment-steps-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(47, 80, 104, 0.03);
  border: 1px solid rgba(47, 80, 104, 0.1);
  border-radius: 14px;
  padding: 28px 24px;
}
.payment-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}
.payment-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.payment-step-text strong { display: block; font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.payment-step-text span   { font-size: 0.9rem; color: #6c757d; line-height: 1.5; }
.payment-step-arrow {
  color: rgba(47, 80, 104, 0.3);
  padding: 8px 16px;
  font-size: 0.85rem;
  align-self: center;
}

/* Bank card */
.payment-bank-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(47, 80, 104, 0.08);
  border: 1px solid rgba(47, 80, 104, 0.08);
}
.payment-bank-header {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 24px;
}
.payment-bank-body { padding: 4px 0; }
.payment-bank-row {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(47, 80, 104, 0.07);
}
.payment-bank-row:last-child { border-bottom: none; }
.payment-bank-label { font-size: 1rem; color: #6c757d; width: 180px; flex-shrink: 0; }
.payment-bank-value { font-size: 1rem; font-weight: 600; color: var(--dark); }
.payment-bank-note {
  padding: 14px 20px;
  background: rgba(47, 80, 104, 0.04);
  border: 1px solid rgba(47, 80, 104, 0.12);
  border-radius: 10px;
  font-size: 0.9rem;
  color: #5a6778;
}

.payment-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-info-list > li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.65;
}

.payment-info-list > li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-size: 0.95rem;
}

/* File upload drop zone */
.pay-file-drop {
  position: relative;
  border: 2px dashed rgba(47, 80, 104, 0.25);
  border-radius: 12px;
  background: #fafbfc;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  overflow: hidden;
  min-height: 110px;
}
.pay-file-drop.drag-over {
  border-color: var(--primary);
  background: rgba(47, 80, 104, 0.06);
}
.pay-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.pay-file-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  gap: 8px;
  pointer-events: none;
}
.pay-file-placeholder i    { font-size: 2rem; color: var(--primary); opacity: 0.45; }
.pay-file-placeholder span { font-size: 1rem; font-weight: 600; color: var(--dark); }
.pay-file-placeholder small { font-size: 0.85rem; color: #6c757d; }
.pay-file-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
}
.pay-file-selected i { font-size: 1.6rem; color: var(--primary); flex-shrink: 0; }
.pay-file-selected span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pay-file-remove {
  background: none;
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  transition: background 0.15s;
}
.pay-file-remove:hover { background: rgba(220, 53, 69, 0.08); }

@media (max-width: 767px) {
  .payment-step-arrow { display: none; }
  .payment-steps-row  { gap: 16px; }
  .payment-bank-label { width: 130px; }
}

/*** Registration CTA ***/
.reg-cta-card {
  text-align: center;
  padding: 56px 32px;
  background: linear-gradient(135deg, rgba(47,80,104,0.05) 0%, rgba(199,155,60,0.07) 100%);
  border: 1.5px dashed rgba(47,80,104,0.22);
  border-radius: 20px;
  margin-bottom: 8px;
}
.reg-cta-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 20px;
}
.reg-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.reg-cta-desc {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/*** Abstract Type Radio Cards ***/
.abstract-type-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid rgba(47,80,104,0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  background: #fff;
  user-select: none;
}
.abstract-type-card:hover {
  border-color: var(--primary);
  background: rgba(47,80,104,0.03);
}
.abstract-type-card input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.abstract-type-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(47,80,104,0.05);
  box-shadow: 0 0 0 3px rgba(47,80,104,0.08);
}
.abstract-type-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

/*** Abstract Submission Guideline List ***/
.guideline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.guideline-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1.5px solid rgba(47,80,104,0.1);
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 1.0625rem;
  color: var(--dark);
  line-height: 1.6;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.guideline-list li:hover {
  box-shadow: 0 4px 20px rgba(47,80,104,0.10);
  border-color: rgba(47,80,104,0.22);
}
.guideline-icon {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.guideline-list code {
  font-size: 0.95em;
  background: rgba(47,80,104,0.07);
  padding: 1px 7px;
  border-radius: 5px;
  color: var(--primary);
}

.guideline-section-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

/*** Presentation Code Grid ***/
.pres-code-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  .pres-code-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pres-code-grid { grid-template-columns: 1fr; }
}
.pres-code-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid rgba(47,80,104,0.12);
  border-left: 5px solid var(--pres-color, var(--primary));
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pres-code-card:hover {
  box-shadow: 0 6px 24px rgba(47,80,104,0.12);
  transform: translateX(4px);
}
.pres-code-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  min-height: 64px;
  background: var(--pres-color, var(--primary));
  flex-shrink: 0;
}
.pres-code-badge {
  font-family: 'Rubik', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
}
.pres-code-body {
  padding: 14px 22px;
  flex: 1;
}
.pres-code-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--pres-color, var(--primary));
  margin-bottom: 2px;
}
.pres-code-label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}
.pres-code-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #6c757d;
}

.guideline-list-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 575px) {
  .guideline-list-2col { grid-template-columns: 1fr; }
}

/*** Presenter Sub-heading ***/
.presenter-sub-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(47,80,104,0.15);
  width: fit-content;
}

/*** Presentation Upload Table ***/
.pres-upload-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(47,80,104,0.12);
  font-size: 1.0625rem;
}
.pres-upload-table thead tr {
  background: var(--primary);
  color: #fff;
}
.pres-upload-table th {
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pres-upload-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(47,80,104,0.08);
  color: var(--dark);
}
.pres-upload-table tbody tr:last-child td { border-bottom: none; }
.pres-upload-table tbody tr:nth-child(even) { background: rgba(47,80,104,0.03); }
.session-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.session-morning  { background: rgba(255,193,7,0.15);  color: #996800; }
.session-afternoon{ background: rgba(47,80,104,0.12);  color: var(--primary); }

/*** Presentation Time Cards ***/
.pres-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  .pres-time-grid { grid-template-columns: 1fr; }
}
.pres-time-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1.5px solid rgba(47,80,104,0.12);
  border-radius: 14px;
  padding: 20px 22px;
  transition: box-shadow 0.2s;
}
.pres-time-card:hover { box-shadow: 0 4px 20px rgba(47,80,104,0.11); }
.pres-time-total {
  font-family: 'Rubik', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}
.pres-time-total span {
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  color: #6c757d;
}
.pres-time-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.pres-time-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.875rem;
  color: #6c757d;
}

/*** Presenter Notice Box ***/
.pres-notice {
  display: flex;
  gap: 16px;
  background: rgba(47,80,104,0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  font-size: 1.0625rem;
  color: var(--dark);
  line-height: 1.65;
}
.pres-notice-icon {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.pres-notice p { margin: 0; }

/*** Poster Preparation Cards ***/
.poster-prep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 575px) {
  .poster-prep-grid { grid-template-columns: 1fr; }
}
.poster-prep-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1.5px solid rgba(47,80,104,0.12);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  padding: 20px 22px;
  transition: box-shadow 0.2s;
}
.poster-prep-card:hover { box-shadow: 0 4px 18px rgba(47,80,104,0.10); }
.poster-prep-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.poster-prep-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6c757d;
  margin-bottom: 4px;
}
.poster-prep-value {
  font-family: 'Rubik', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}
.poster-prep-desc {
  font-size: 0.875rem;
  color: #6c757d;
}

/*** Poster Schedule Cards ***/
.poster-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 575px) {
  .poster-schedule-grid { grid-template-columns: 1fr; }
}
.poster-schedule-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1.5px solid rgba(47,80,104,0.12);
  border-radius: 14px;
  padding: 20px 22px;
  transition: box-shadow 0.2s;
}
.poster-schedule-card:hover { box-shadow: 0 4px 18px rgba(47,80,104,0.10); }
.poster-schedule-icon {
  font-size: 1.6rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.poster-schedule-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6c757d;
  margin-bottom: 6px;
}
.poster-schedule-time {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
}

/* ── Plenary Profile Card (speakers.php) ── */
.plenary-profile {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(199,155,60,0.18);
  border-left: 5px solid var(--accent);
  box-shadow: 0 4px 24px rgba(47,80,104,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  margin-bottom: 1.5rem;
}
.plenary-profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(199,155,60,0.18);
}

.plenary-profile__img {
  width: 230px;
  min-width: 230px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fdf6e3 0%, #f5e9c0 100%);
}
.plenary-profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.plenary-profile:hover .plenary-profile__img img { transform: scale(1.05); }
.plenary-profile__img--placeholder {
  background: linear-gradient(145deg, #fdf6e3 0%, #eedfa0 100%);
}
.plenary-profile__icon {
  font-size: 5.5rem;
  color: rgba(199,155,60,0.30);
}
.plenary-profile__code-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.plenary-profile__body {
  flex: 1;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.plenary-profile__badge {
  display: inline-block;
  background: rgba(199,155,60,0.10);
  color: #9a6f10;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 20px;
  border: 1px solid rgba(199,155,60,0.28);
  margin-bottom: 0.65rem;
  width: fit-content;
}
.plenary-profile__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.plenary-profile__affil {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0.3rem;
}
.plenary-profile__country {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.65rem;
}
.plenary-profile__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.plenary-profile__meta i { color: var(--accent); }
.plenary-profile__topic {
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  padding: 0.75rem 1rem;
  background: rgba(199,155,60,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}
.plenary-profile__topic i { color: var(--accent); opacity: 0.65; }

@media (max-width: 575px) {
  .plenary-profile {
    flex-direction: column;
    border-left: none;
    border-top: 5px solid var(--accent);
  }
  .plenary-profile__img {
    width: 100%;
    min-width: unset;
    height: 200px;
  }
  .plenary-profile__body { padding: 1.25rem; }
}

/*** Speaker Cards ***/
.speaker-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(47,80,104,0.10);
  text-align: center;
  padding: 36px 24px 28px;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.speaker-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--spk-accent, var(--primary));
  border-radius: 20px 20px 0 0;
}
.speaker-card:hover {
  box-shadow: 0 12px 40px rgba(47,80,104,0.14);
  transform: translateY(-4px);
}

/* Plenary — larger, gold accent, pastel background */
.speaker-card--plenary {
  --spk-accent: var(--accent);
  background: linear-gradient(160deg, #fdf6e3 0%, #fef9ee 100%);
  border-color: rgba(199,155,60,0.20);
}

/* Keynote — teal accent */
.speaker-card--keynote { --spk-accent: #2a7c6f; }

/* Invited — indigo accent */
.speaker-card--invited { --spk-accent: #5c6bc0; }

/* Badge (code) */
.speaker-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--spk-accent, var(--primary));
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
}
.speaker-card__badge--teal   { background: #2a7c6f; }
.speaker-card__badge--indigo { background: #5c6bc0; }

/* Avatar circle */
.speaker-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(47,80,104,0.08) 0%, rgba(47,80,104,0.18) 100%);
  color: var(--spk-accent, var(--primary));
}
.speaker-card__avatar--lg {
  width: 200px;
  height: 200px;
  font-size: 5rem;
  border: 4px solid var(--spk-accent, var(--primary));
  box-shadow: 0 0 0 10px rgba(47,80,104,0.07);
}
.speaker-card__avatar--lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.speaker-card__avatar--md {
  width: 130px;
  height: 130px;
  font-size: 3.5rem;
  border: 3px solid var(--spk-accent, var(--primary));
  box-shadow: 0 0 0 8px rgba(47,80,104,0.06);
}

/* Body */
.speaker-card__name {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.speaker-card__name--sm { font-size: 1rem; }
.speaker-card__affiliation {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 4px;
  line-height: 1.4;
}
.speaker-card__country {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--spk-accent, var(--primary));
  margin-top: 6px;
}
.speaker-card__flag {
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.speaker-card__meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(47,80,104,0.15);
  font-size: 0.8rem;
  color: #6c757d;
}
.speaker-card__topic {
  margin-top: 14px;
  font-size: 0.875rem;
  color: #555;
  font-style: italic;
  line-height: 1.5;
  background: rgba(47,80,104,0.04);
  border-radius: 8px;
  padding: 8px 12px;
}

/*** Abstract Download Cards ***/
.abstract-download-card {
  background: #fff;
  border: 1.5px solid rgba(47,80,104,0.1);
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  box-shadow: 0 2px 16px rgba(47,80,104,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.abstract-download-card:hover {
  box-shadow: 0 6px 28px rgba(47,80,104,0.13);
  border-color: rgba(47,80,104,0.22);
}
.abstract-download-icon {
  font-size: 2.4rem;
  color: var(--primary);
  line-height: 1;
}
.abstract-download-body { flex: 1; }
.abstract-download-body h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.abstract-download-body p  { font-size: 0.92rem; color: #6c757d; margin: 0; line-height: 1.6; }

/*** Registration Form ***/
.reg-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(47, 80, 104, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(47, 80, 104, 0.07);
}
.reg-form-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(47, 80, 104, 0.04);
  border-bottom: 1px solid rgba(47, 80, 104, 0.08);
}
.reg-form-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.reg-form-card-header h5 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 0; }
.reg-form-card-body { padding: 24px 28px; }

.reg-form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.reg-form-label.required::after { content: ' *'; color: #dc3545; }

/* Radio cards */
.radio-card-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-card { flex: 1; min-width: 120px; cursor: pointer; position: relative; }
.radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  border: 2px solid rgba(47, 80, 104, 0.15);
  border-radius: 12px;
  text-align: center;
  transition: all 0.18s;
  background: #fafbfc;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  height: 100%;
  min-height: 80px;
}
.radio-card-inner i {
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.4;
  transition: opacity 0.18s, transform 0.18s;
}
.radio-card-inner small { font-size: 0.85rem; font-weight: 400; color: #6c757d; }
.radio-card:hover .radio-card-inner {
  border-color: rgba(47, 80, 104, 0.4);
  background: rgba(47, 80, 104, 0.03);
}
.radio-card input:checked + .radio-card-inner {
  border-color: var(--primary);
  background: rgba(47, 80, 104, 0.07);
  box-shadow: 0 0 0 3px rgba(47, 80, 104, 0.12);
}
.radio-card input:checked + .radio-card-inner i { opacity: 1; transform: scale(1.1); }
.radio-card-group-3 .radio-card { min-width: 140px; }

/* Banquet checkbox */
.reg-banquet-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(199, 155, 60, 0.06);
  border: 1.5px solid rgba(199, 155, 60, 0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
}
.reg-banquet-card:hover {
  border-color: rgba(199, 155, 60, 0.55);
  background: rgba(199, 155, 60, 0.1);
}
.reg-banquet-input {
  width: 20px; height: 20px;
  accent-color: var(--primary);
  cursor: pointer; flex-shrink: 0; margin: 0;
}
.reg-banquet-icon { color: #b8842a; font-size: 1.2rem; flex-shrink: 0; }

/* Form inputs */
.reg-form-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid rgba(47, 80, 104, 0.18);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  font-family: inherit;
}
.reg-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 80, 104, 0.1);
}
select.reg-form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232F5068' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Abstract title — scientific formatting toolbar, editable field & live preview */
.title-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.title-toolbar-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(47, 80, 104, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.title-toolbar-btn:hover { background: rgba(47, 80, 104, 0.07); border-color: var(--primary); }
.title-toolbar-btn:active,
.title-toolbar-btn.active { background: rgba(47, 80, 104, 0.16); border-color: var(--primary); }

.title-editable {
  min-height: 54px;
  padding: 12px 16px;
  font-size: 1.05rem;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid rgba(47, 80, 104, 0.18);
  border-radius: 10px;
  outline: none;
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.title-editable:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 80, 104, 0.1);
}
.title-editable[contenteditable]:empty::before {
  content: attr(data-placeholder);
  color: #adb5bd;
}
.title-editable sup, .title-editable sub,
.title-preview-text sup, .title-preview-text sub {
  font-size: 0.7em;
}
.title-char-count {
  text-align: right;
  font-size: 1rem;
  color: #6c757d;
  margin-top: 6px;
}

.title-preview-box {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(47, 80, 104, 0.04);
  border: 1px dashed rgba(47, 80, 104, 0.25);
  border-radius: 10px;
}
.title-preview-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6c757d;
  margin-bottom: 8px;
}
.title-preview-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
  word-break: break-word;
}
.title-preview-text:empty::before {
  content: 'Your formatted title will appear here…';
  color: #adb5bd;
  font-weight: 400;
  font-size: 1rem;
}

/* Notice box */
.reg-notice-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(47, 80, 104, 0.05);
  border: 1px solid rgba(47, 80, 104, 0.15);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.reg-notice-icon {
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-notice-list li {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.55;
}
.reg-notice-list a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.reg-notice-list a:hover { text-decoration: underline; }

@media (max-width: 575px) {
  .reg-form-card-body { padding: 18px 16px; }
  .reg-form-card-header { padding: 14px 16px; }
  .radio-card-group-3 .radio-card { min-width: 100%; flex: 0 0 100%; }
}

/*** Auth Pages ***/
.auth-page-wrap {
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f4f7 0%, #f8fafc 100%);
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(47, 80, 104, 0.10);
  padding: 40px 36px;
  border: 1px solid rgba(47, 80, 104, 0.08);
}

.auth-card-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-card-logo .auth-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(47, 80, 104, 0.25);
}

.auth-card-logo h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.auth-card-logo p {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #adb5bd;
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(47, 80, 104, 0.12);
}

.auth-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.auth-alert-success {
  background: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #1a6830;
}

.auth-alert-error {
  background: rgba(220, 53, 69, 0.07);
  border: 1px solid rgba(220, 53, 69, 0.28);
  color: #842029;
}

.auth-alert-info {
  background: rgba(47, 80, 104, 0.06);
  border: 1px solid rgba(47, 80, 104, 0.2);
  color: var(--primary-dark);
}

/*** Dashboard ***/
.dashboard-welcome {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard-welcome::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.dashboard-welcome h4 {
  color: #fff !important;
  margin-bottom: 6px;
}

.dashboard-welcome p {
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 0;
}

.dashboard-welcome .user-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
}

.dashboard-action-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(47, 80, 104, 0.07);
  border: 1px solid rgba(47, 80, 104, 0.08);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
  height: 100%;
}

.dashboard-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(47, 80, 104, 0.13);
  color: inherit;
  text-decoration: none;
}

.dashboard-action-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 80, 104, 0.08), rgba(199, 155, 60, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--primary);
}

.dashboard-action-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.dashboard-action-card p {
  font-size: 0.92rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.55;
}

.dashboard-action-card--done {
  border-color: rgba(25, 135, 84, 0.25);
  position: relative;
}

.dashboard-done-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #d1e7dd;
  color: #0a6640;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
}

.dashboard-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(47, 80, 104, 0.07);
  border: 1px solid rgba(47, 80, 104, 0.08);
  overflow: hidden;
}

.dashboard-info-header {
  background: rgba(47, 80, 104, 0.04);
  border-bottom: 1px solid rgba(47, 80, 104, 0.08);
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}

.dashboard-info-row {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(47, 80, 104, 0.06);
  gap: 16px;
}

.dashboard-info-row:last-child { border-bottom: none; }

.dashboard-info-label {
  font-size: 1rem;
  color: #6c757d;
  width: 120px;
  flex-shrink: 0;
}

.dashboard-info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}

/* Dashboard welcome avatar */
.dashboard-welcome-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.dashboard-welcome-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

/*** Dashboard Progress Steps ***/
.dashboard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(47,80,104,0.07);
  border: 1px solid rgba(47,80,104,0.08);
}

.dashboard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dashboard-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  background: #f4f7f8;
  color: #adb5bd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s;
}

.dashboard-step.active .dashboard-step-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.dashboard-step.done .dashboard-step-icon {
  border-color: #198754;
  background: #198754;
  color: #fff;
}

.dashboard-step.waiting .dashboard-step-icon {
  border-color: #c79b3c;
  background: #fff8e1;
  color: #856404;
}

.dashboard-step.error .dashboard-step-icon {
  border-color: #dc3545;
  background: #f8d7da;
  color: #842029;
}

.dashboard-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

.dashboard-step.active .dashboard-step-label,
.dashboard-step.done .dashboard-step-label { color: var(--dark); }

.dashboard-step-line {
  flex: 1;
  height: 2px;
  background: #dee2e6;
  margin: 0 8px;
  margin-bottom: 24px;
  border-radius: 99px;
  transition: background 0.3s;
}

.dashboard-step-line.done { background: #198754; }

/*** Dashboard Certificate Banner ***/
.dashboard-cert-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid rgba(47,80,104,0.1);
  background: #fff;
  box-shadow: 0 2px 12px rgba(47,80,104,0.06);
  position: relative;
  overflow: hidden;
}

.dashboard-cert-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dashboard-cert-body {
  flex: 1;
}

.dashboard-cert-body h5 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.dashboard-cert-body p {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Locked */
.dashboard-cert-banner--locked {
  background: #f8fafc;
  border-color: #dee2e6;
}

.dashboard-cert-banner--locked .dashboard-cert-icon {
  background: rgba(173,181,189,0.15);
  color: #adb5bd;
}

/* Pending payment */
.dashboard-cert-banner--pending {
  background: linear-gradient(135deg, #fffdf0 0%, rgba(255,243,205,0.3) 100%);
  border-color: #f0cc6a;
}

.dashboard-cert-banner--pending .dashboard-cert-icon {
  background: rgba(199,155,60,0.12);
  color: #856404;
}

/* Preparing */
.dashboard-cert-banner--preparing {
  background: linear-gradient(135deg, #f0f4f8 0%, rgba(47,80,104,0.05) 100%);
  border-color: rgba(47,80,104,0.15);
}

.dashboard-cert-banner--preparing .dashboard-cert-icon {
  background: rgba(47,80,104,0.1);
  color: var(--primary);
}

/* Available */
.dashboard-cert-banner--available {
  background: linear-gradient(135deg, #f0fff6 0%, rgba(209,231,221,0.4) 100%);
  border-color: #a3cfbb;
}

.dashboard-cert-banner--available .dashboard-cert-icon {
  background: rgba(25,135,84,0.12);
  color: #198754;
}

.dashboard-cert-available-badge {
  display: inline-flex;
  align-items: center;
  background: #d1e7dd;
  color: #0a6640;
  border: 1px solid #a3cfbb;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.btn-cert-download {
  background: linear-gradient(135deg, #198754, #0a6640);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-cert-download:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-1px);
}

.dashboard-cert-decoration {
  position: absolute;
  right: -16px;
  bottom: -16px;
  font-size: 7rem;
  color: rgba(25,135,84,0.06);
  line-height: 1;
  pointer-events: none;
}

/*** Footer ***/
.footer {
  background: linear-gradient(180deg, #0a1421 0%, #121b2d 100%);
}

.footer .footer-title {
  position: relative;
  margin-bottom: 1.6rem;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.footer .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 50px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.footer .footer-contact p,
.footer .footer-contact a,
.footer .footer-contact .text-white-50 {
  color: rgba(255, 255, 255, 0.8);
}

.footer .footer-contact a:hover {
  color: #f8d561;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: #9b9b9b;
  font-weight: 500;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: #f8d561;
}

.footer .btn.btn-link:hover {
  color: #ffffff;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.footer .badge {
  font-size: 0.78rem;
  padding: 0.55em 0.9em;
  border-radius: 999px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .copyright a {
  color: var(--light);
}

/*** Visitor Widget (public "flag counter" style visit stats) ***/
.visitor-widget {
  width: 100%;
  max-width: 260px;
  margin: 0;
  padding: 16px 18px;
  background: rgba(199, 155, 60, 0.08);
  border: 1px solid rgba(199, 155, 60, 0.45);
  border-radius: 10px;
  color: var(--accent-light);
  font-size: 0.85rem;
}

.visitor-widget__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  margin-bottom: 10px;
}

.visitor-widget__row {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.visitor-widget__row .fi {
  flex: none;
  border-radius: 2px;
}

.visitor-widget__code {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.visitor-widget__count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
}

.visitor-widget__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

.visitor-widget__meta .fi {
  border-radius: 2px;
  margin: 0 3px;
}

.visitor-widget__totals {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.visitor-widget__totals div {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}

.visitor-widget__totals span {
  color: rgba(255, 255, 255, 0.7);
}

.visitor-widget__totals b {
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.visitor-widget__label {
  margin-top: 8px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

/*** Schedule Tabs ***/
.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  align-items: center;
}
.schedule-tab-btn {
  padding: 0.45rem 1.2rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  font-family: inherit;
  line-height: 1.5;
}
.schedule-tab-btn:hover {
  background: rgba(47, 80, 104, 0.08);
}
.schedule-tab-btn.active {
  background: var(--primary);
  color: #fff;
}
.schedule-tab-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.2rem;
  border: 2px solid #6c757d;
  background: transparent;
  color: #6c757d;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  font-family: inherit;
  line-height: 1.5;
  margin-left: auto;
}
.schedule-tab-download:hover {
  background: #6c757d;
  color: #fff;
}
.schedule-panel { display: none; }
.schedule-panel.active { display: block; }

/*** Payment Receipt Toggle ***/
.pay-receipt-toggle {
  padding: 0.75rem 1rem;
  background: rgba(47, 80, 104, 0.04);
  border: 1.5px solid rgba(47, 80, 104, 0.15);
  border-radius: 10px;
}
.pay-receipt-check-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
  user-select: none;
}
.pay-receipt-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.pay-receipt-fields {
  display: none;
  padding: 1rem 1rem 0.25rem;
  border: 1.5px solid rgba(47, 80, 104, 0.15);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
.pay-receipt-fields.open { display: block; }

.footer .copyright a:hover {
  color: var(--primary);
}

/* Override animate.css directional keyframes so WOW.js scroll reveals fade in place instead of sliding up/down */
@keyframes fadeInUp {
  0% { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInDown {
  0% { opacity: 0; }
  to { opacity: 1; }
}
