:root {
  --ink: #172026;
  --muted: #5c6970;
  --line: #d8e0e4;
  --paper: #ffffff;
  --mist: #eef5f4;
  --green: #0f7a5b;
  --green-dark: #09523e;
  --gold: #c8942f;
  --rose: #a94442;
  --blue: #254f77;
  --shadow: 0 18px 42px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(140deg, rgba(15, 122, 91, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(37, 79, 119, 0.12), transparent 40%),
    #f7faf9;
}

button,
input,
select {
  font: inherit;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: end;
  padding: 44px;
  border-radius: 8px;
  color: #fff;
  background: #020807;
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  background: url("./assets/alumni-final-hero.png") center 42%/cover;
}

.hero::after {
  background: linear-gradient(90deg, rgba(2, 8, 7, 0.78) 0%, rgba(2, 8, 7, 0.58) 38%, rgba(2, 8, 7, 0.16) 100%);
}

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

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-line {
  max-width: 610px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.55;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
}

.intro {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.55;
}

.event-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.event-card strong {
  display: block;
  font-size: 2rem;
}

.event-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
}

.workspace {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.registration-form,
.batch-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.08);
}

.registration-form {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.form-header h2,
.batch-tools h2 {
  margin: 0;
  font-size: 1.45rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

label span {
  color: var(--muted);
  font-weight: 500;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus {
  outline: 3px solid rgba(15, 122, 91, 0.18);
  border-color: var(--green);
}

.privacy-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: var(--green-dark);
}

.share-button {
  color: var(--green-dark);
  background: rgba(15, 122, 91, 0.1);
  border: 1px solid rgba(15, 122, 91, 0.32);
}

.share-button:hover {
  color: #fff;
  background: var(--green-dark);
}

.form-note {
  min-height: 36px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.batch-panel {
  padding: 24px;
}

.batch-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  align-items: end;
}

.search-box {
  color: var(--muted);
  font-size: 0.86rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.stats-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.stats-row span {
  display: block;
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--blue);
}

.stats-row p {
  margin: 3px 0 0;
  color: var(--muted);
}

.registrant-list {
  display: grid;
  gap: 10px;
  min-height: 120px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.registrant-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.registrant-card strong {
  display: block;
}

.registrant-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.batch-badge {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green-dark);
  background: rgba(15, 122, 91, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.empty-state {
  display: none;
  margin: 0;
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #fbfcfc;
}

.empty-state.is-visible {
  display: block;
}

@media (max-width: 860px) {
  .hero,
  .workspace,
  .batch-tools {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

  .event-card {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding: 10px 0 24px;
  }

  .hero {
    min-height: 0;
    padding: 250px 18px 18px;
    gap: 18px;
  }

  .hero::before {
    inset: 0 0 auto;
    height: 240px;
    background-position: center top;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(2, 8, 7, 0.08) 0%, rgba(2, 8, 7, 0.24) 170px, #020807 240px, #020807 100%);
  }

  .event-line {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.75rem;
    line-height: 0.98;
  }

  .intro {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .event-card {
    max-width: none;
    padding: 16px;
  }

  .event-card strong {
    font-size: 1.55rem;
  }

  .workspace {
    gap: 14px;
    margin-top: 14px;
  }

  .registration-form,
  .batch-panel {
    padding: 18px;
  }

  .stats-row,
  .registrant-card {
    grid-template-columns: 1fr;
  }
}
