:root {
  --blue: #1553a6;
  --blue-dark: #0d3575;
  --cyan: #55c7df;
  --ink: #102033;
  --muted: #607087;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(21, 83, 166, 0.14);
  --shadow: 0 24px 80px rgba(18, 63, 118, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, rgba(85, 199, 223, 0.35), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(21, 83, 166, 0.18), transparent 26rem),
    linear-gradient(135deg, #f7fbff 0%, #eef8fc 46%, #dff4fb 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.payment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 36px;
}

.payment-card {
  padding: 34px;
}

.brand-row,
.details-row,
.payment-heading,
.payment-form {
  position: relative;
  z-index: 1;
}

.brand-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.brand-logo {
  width: min(360px, 100%);
  height: auto;
  display: block;
}

.cohost-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 20px 20px;
  border: 1px solid rgba(21, 83, 166, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 199, 223, 0.2), transparent 8rem),
    radial-gradient(circle at 0% 100%, rgba(21, 83, 166, 0.08), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 253, 0.9));
  box-shadow: 0 18px 46px rgba(18, 63, 118, 0.1);
}

.presented-by {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.cohost-logo {
  display: block;
  width: 100%;
  height: 54px;
  object-fit: contain;
  padding: 10px 14px;
  border: 1px solid rgba(21, 83, 166, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(18, 63, 118, 0.06);
}

.optiway-logo {
  object-position: 50% 62%;
}

.geneway-logo {
  padding: 8px 12px;
}

.enbiosis-logo {
  padding: 12px 14px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
}

.event-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), #2a8cca);
}

.event-copy h2,
.payment-heading h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.event-copy {
  min-width: 0;
  max-width: 780px;
}

.event-copy p,
.payment-heading p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.dna-panel {
  position: relative;
  min-height: 170px;
  max-height: 210px;
  border-radius: 26px;
  background: linear-gradient(135deg, #dbf2fb, #ffffff 44%, #b5e8f4);
  border: 1px solid rgba(21, 83, 166, 0.12);
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 210px;
  object-fit: cover;
}

.person-hero-art {
  padding: 12px 18px 0;
  object-fit: contain;
  object-position: center bottom;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.96), transparent 10rem),
    linear-gradient(135deg, #eaf8fc, #ffffff 48%, #b8edf6);
}

.dna-strand {
  position: absolute;
  inset: 10% -14% auto auto;
  width: 82%;
  height: 185px;
  border-top: 12px double rgba(21, 83, 166, 0.16);
  border-bottom: 12px double rgba(85, 199, 223, 0.2);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.dna-copy {
  position: absolute;
  right: 34px;
  bottom: 34px;
  max-width: 340px;
  color: rgba(13, 53, 117, 0.48);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-align: right;
}

.details-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-item {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(21, 83, 166, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 249, 253, 0.82)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(18, 63, 118, 0.06);
}

.detail-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2e95ca);
  box-shadow: 0 8px 16px rgba(21, 83, 166, 0.18);
}

.detail-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.detail-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.detail-copy small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-copy strong {
  color: var(--ink);
  font-size: clamp(0.88rem, 1.45vw, 0.98rem);
  line-height: 1.2;
}

.payment-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.paid-page-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.payment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.required-marker {
  color: #d82323;
  font-weight: 900;
}

.wide,
.pay-button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 83, 166, 0.18);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.82);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 83, 166, 0.12);
}

.amount-field input[readonly] {
  color: var(--blue-dark);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.64);
}

textarea {
  resize: vertical;
}

.payment-method {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(21, 83, 166, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.payment-method legend {
  padding: 0 6px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.payment-method label {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
}

.payment-method input {
  width: auto;
}

.additional-attendees {
  display: grid;
  gap: 16px;
}

.additional-attendee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(21, 83, 166, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.additional-attendee legend {
  padding: 0 8px;
  color: var(--blue);
  font-weight: 900;
}

.total-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, rgba(85, 199, 223, 0.18), rgba(21, 83, 166, 0.08));
  border: 1px solid rgba(21, 83, 166, 0.12);
}

.total-panel span {
  font-weight: 800;
}

.total-panel strong {
  color: var(--blue);
  font-size: 1.6rem;
}

.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  padding: 17px 22px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue), #0a7ab7 58%, var(--cyan));
  box-shadow: 0 18px 34px rgba(21, 83, 166, 0.26);
}

.calendar-link {
  display: inline-flex;
  justify-content: center;
  padding: 13px 16px;
  border: 1px solid rgba(21, 83, 166, 0.16);
  border-radius: 16px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
}

.support-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.support-note a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.cpd-note {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(21, 83, 166, 0.12);
  border-radius: 18px;
  color: var(--blue-dark);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 249, 253, 0.82));
  box-shadow: 0 10px 24px rgba(18, 63, 118, 0.06);
}

.agenda-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px solid rgba(21, 83, 166, 0.16);
  border-radius: 18px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue), #0a7ab7 58%, var(--cyan));
  box-shadow: 0 16px 30px rgba(21, 83, 166, 0.22);
}

.complete-shell {
  width: min(760px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  place-items: center;
}

.complete-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  padding: 36px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.complete-card .brand-row {
  margin-bottom: 34px;
}

.complete-card h1 {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.96;
}

.complete-card p {
  color: var(--muted);
  line-height: 1.65;
}

.complete-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}

.orb-a {
  width: 210px;
  height: 210px;
  right: -80px;
  top: -80px;
  background: rgba(85, 199, 223, 0.26);
}

.orb-b {
  width: 280px;
  height: 280px;
  left: -130px;
  bottom: -140px;
  background: rgba(21, 83, 166, 0.16);
}

.paid-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 46px;
}

.paid-header,
.paid-card,
.paid-summary article {
  border: 1px solid rgba(21, 83, 166, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 70px rgba(18, 63, 118, 0.14);
  backdrop-filter: blur(18px);
}

.paid-header {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 26px;
  min-height: 330px;
  background:
    radial-gradient(circle at 84% 16%, rgba(85, 199, 223, 0.34), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 247, 253, 0.84));
}

.paid-header::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 430px;
  height: 270px;
  border: 12px double rgba(21, 83, 166, 0.1);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.paid-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.paid-logo {
  width: min(300px, 58vw);
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(21, 83, 166, 0.16);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
}

.paid-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-top: 54px;
}

.paid-header h1 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.paid-intro,
.section-heading p,
.paid-list-heading p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

.paid-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.paid-summary article {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
}

.paid-summary article::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(85, 199, 223, 0.18);
}

.paid-summary span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.paid-summary strong {
  color: var(--blue-dark);
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.paid-card {
  border-radius: 28px;
  padding: 26px;
  margin-top: 20px;
}

.section-heading,
.paid-list-heading {
  margin-bottom: 20px;
}

.paid-card h2 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.paid-form {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 0.7fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.paid-form label {
  font-size: 0.78rem;
}

.paid-form input,
.paid-form select {
  min-height: 48px;
  border-radius: 14px;
  padding: 11px 13px;
}

.paid-submit {
  grid-column: auto;
  min-height: 48px;
  white-space: nowrap;
  border-radius: 14px;
  padding: 0 18px;
}

.paid-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.clear-button {
  border: 1px solid rgba(21, 83, 166, 0.16);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--blue);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  text-decoration: none;
}

.paid-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(21, 83, 166, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(21, 83, 166, 0.09);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: rgba(236, 248, 253, 0.8);
}

td {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  margin: 18px;
  padding: 28px;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: linear-gradient(135deg, rgba(85, 199, 223, 0.12), rgba(21, 83, 166, 0.06));
}

@media (max-width: 940px) {
  .page-shell,
  .details-row,
  .paid-summary,
  .paid-form {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding: 22px 0;
  }

  .paid-form {
    align-items: stretch;
  }

  .paid-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
  }

  .cohost-logo-row {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 22px;
    justify-items: center;
  }

  .cohost-logo {
    width: min(100%, 230px);
    height: 68px;
  }

  .hero-card,
  .payment-card {
    border-radius: 24px;
    padding: 24px;
  }

  .brand-row {
    margin-bottom: 28px;
  }

  .payment-form {
    grid-template-columns: 1fr;
  }

  .additional-attendee {
    grid-template-columns: 1fr;
  }

  .dna-copy {
    right: 22px;
    bottom: 24px;
  }

  .paid-shell {
    width: min(100% - 18px, 1160px);
    padding-top: 14px;
  }

  .paid-header,
  .paid-card {
    border-radius: 22px;
    padding: 20px;
  }

  .paid-nav,
  .paid-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .paid-hero-copy {
    margin-top: 38px;
  }
}
