:root {
  /* basis kleuren/variabelen */
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0b1437;
  --muted: rgba(11, 20, 55, 0.7);
  --border: #e2e8f0;
  --shadow: none;
  --shadow-soft: none;
  --radius: 16px;
  --primary: #f97316;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  /* font die er gewoon strak uitziet */
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
}
.skip-link:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  /* header blijft plakken bovenaan */
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand:hover {
  opacity: 0.9;
}

.brand__mark {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: block;
  overflow: visible;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: none;
}

.brand__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__subtitle {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navOverlay {
  display: none;
}

.nav__link {
  font-weight: 500;
  color: rgba(11, 20, 55, 0.75);
  padding: 10px 12px;
  border-radius: 12px;
}
.nav__link:hover {
  background: rgba(226, 232, 240, 0.6);
  color: var(--text);
}

.navToggleBtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11, 20, 55, 0.16);
  background: rgba(255, 255, 255, 0.6);
  /* alleen op mobiel zichtbaar */
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  position: relative;
}

.navToggleBtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(11, 20, 55, 0.9);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navToggleBtn span:nth-child(1) {
  top: 13px;
}
.navToggleBtn span:nth-child(2) {
  top: 20px;
}
.navToggleBtn span:nth-child(3) {
  top: 27px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  padding: 12px 18px;
  border-radius: 16px;
}

.btn--primary {
  background: var(--primary);
  color: white;
}
.btn--primary:hover {
  background: #ea580c;
}

.btn--outline {
  background: transparent;
  border-color: rgba(11, 20, 55, 0.2);
  color: var(--text);
}
.btn--outline:hover {
  background: rgba(226, 232, 240, 0.55);
  border-color: rgba(11, 20, 55, 0.26);
}

.main {
  padding-bottom: 56px;
  flex: 1 0 auto;
}

.section {
  padding: 18px 0;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 14px;
}

.section__title {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero {
  padding: 22px 0 6px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.09);
  color: #9a3412;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.hero__title {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 0;
  color: rgba(11, 20, 55, 0.78);
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.card--media {
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: clamp(240px, 30vw, 320px);
  object-fit: cover;
  transform: scale(1.01);
}

.info {
  padding: 16px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.info__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.info__icon svg {
  width: 22px;
  height: 22px;
}

.info__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 20, 55, 0.6);
  font-weight: 600;
}

.info__value {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.progress {
  margin-top: 14px;
  padding: 14px 16px;
}

.progress__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(11, 20, 55, 0.75);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 10px;
}

.progress__track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: max(10px, var(--progress));
  background: linear-gradient(90deg, #fb923c, var(--primary));
  border-radius: inherit;
}

.rule {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rule__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.6);
  display: grid;
  place-items: center;
  color: rgba(11, 20, 55, 0.82);
  flex: 0 0 auto;
}

.rule__icon svg {
  width: 20px;
  height: 20px;
}

.rule__text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta {
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(255, 247, 237, 0.85);
  border-color: rgba(254, 215, 170, 0.8);
}

.cta__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.15);
  color: #9a3412;
  font-weight: 800;
}

.cta__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.cta__text {
  margin: 2px 0 0;
  color: rgba(11, 20, 55, 0.72);
  font-size: 13px;
}

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

.footer {
  padding: 28px 0 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.65);
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.footer__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.footer__text {
  color: rgba(11, 20, 55, 0.72);
  font-size: 13px;
}

.footer__text--spaced {
  margin-top: 10px;
}

.footer__links {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: rgba(11, 20, 55, 0.76);
}

.footer__links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.social__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(11, 20, 55, 0.16);
  background: rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
}

.social__btn:hover {
  border-color: rgba(11, 20, 55, 0.24);
  background: rgba(226, 232, 240, 0.55);
}

.social__btn svg {
  width: 18px;
  height: 18px;
  color: rgba(11, 20, 55, 0.9);
}

.footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.footer__copyright {
  color: rgba(11, 20, 55, 0.62);
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: auto 1fr;
  }

  .cta__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .navToggleBtn {
    display: inline-flex;
    margin-left: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .navOverlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
    z-index: 9;
  }

  body.nav-open .navOverlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    gap: 8px;
    width: min(320px, 86vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: var(--card);
    border-right: 1px solid var(--border);
    transform: translateX(-105%);
    transition: transform 0.16s ease;
    visibility: hidden;
    z-index: 100;
  }

  body.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
  }

  .brand {
    min-width: 0;
  }

  .nav__link,
  .nav .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.admin {
  background: var(--bg);
  /* admin pagina heeft net iets andere layout */
}

.admin__layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin__overlay {
  display: none;
}

.admin__sidebar {
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adminBrand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adminBrand:hover {
  opacity: 0.9;
}

.adminBrand__mark {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: block;
  overflow: visible;
  flex: 0 0 auto;
}

.adminBrand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: none;
}

.adminBrand__title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.adminBrand__sub {
  color: rgba(11, 20, 55, 0.68);
  font-size: 12px;
  margin-top: 1px;
}

.adminNav {
  display: grid;
  gap: 8px;
}

.adminNav__item {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: rgba(11, 20, 55, 0.78);
  border: 1px solid transparent;
}

.adminNav__item:hover {
  background: rgba(226, 232, 240, 0.55);
  color: var(--text);
}

.adminNav__item.is-active {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.25);
  color: #9a3412;
}

.admin__sidebarBottom {
  margin-top: auto;
}

.adminNav__item--danger {
  color: #b91c1c;
}

.adminNav__item--danger:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.admin__content {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.adminTopbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.adminTopbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.adminTopbar__titleWrap {
  min-width: 0;
}

.adminTopbar__title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.adminTopbar__subtitle {
  font-size: 12px;
  color: rgba(11, 20, 55, 0.64);
  margin-top: 1px;
}

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

.adminMain {
  padding: 18px 20px 36px;
}

.adminSection {
  padding: 10px 0;
}

.iconBtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11, 20, 55, 0.16);
  background: rgba(255, 255, 255, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  position: relative;
}

.iconBtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(11, 20, 55, 0.9);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.iconBtn span:nth-child(1) {
  top: 13px;
}
.iconBtn span:nth-child(2) {
  top: 20px;
}
.iconBtn span:nth-child(3) {
  top: 27px;
}

.adminStats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.statCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
}

.statCard__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 20, 55, 0.6);
  font-weight: 700;
}

.statCard__value {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 20px;
  margin-top: 6px;
}

.filterCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.filterGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 20, 55, 0.6);
  font-weight: 700;
}

.input,
.select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11, 20, 55, 0.16);
  background: white;
  font: inherit;
  color: var(--text);
}

.input:focus,
.select:focus {
  outline: 3px solid rgba(249, 115, 22, 0.18);
  outline-offset: 2px;
  border-color: rgba(249, 115, 22, 0.5);
}

.portalForm .input:disabled,
.portalForm .select:disabled {
  background: rgba(226, 232, 240, 0.6);
  border-color: rgba(11, 20, 55, 0.12);
  color: rgba(11, 20, 55, 0.65);
  cursor: not-allowed;
  opacity: 1;
}

.portalForm .input:disabled::placeholder {
  color: rgba(11, 20, 55, 0.45);
}

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

.tableCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: auto;
}

.table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  vertical-align: middle;
  white-space: nowrap;
}

.table th {
  background: rgba(248, 250, 252, 0.95);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 20, 55, 0.7);
  font-weight: 800;
}

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

.table__empty {
  padding: 18px 14px;
  color: rgba(11, 20, 55, 0.7);
  font-weight: 600;
}

.table__strong {
  font-weight: 800;
}

.table__mono {
  font-variant-numeric: tabular-nums;
}

.table__link {
  color: rgba(11, 20, 55, 0.82);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: rgba(249, 115, 22, 0.12);
  color: #9a3412;
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 20, 55, 0.14);
  background: rgba(248, 250, 252, 0.75);
  color: rgba(11, 20, 55, 0.82);
  font-weight: 700;
  font-size: 12px;
}

.tableActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn--sm {
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 12px;
}

.btn--danger {
  background: #dc2626;
  color: white;
}

.btn--danger:hover {
  background: #b91c1c;
}

.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pager {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pager__meta {
  color: rgba(11, 20, 55, 0.7);
  font-weight: 600;
  font-size: 13px;
}

.pager__actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 1200px) {
  .adminStats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .iconBtn {
    display: inline-flex;
  }

  .admin__layout {
    grid-template-columns: 1fr;
  }

  .admin__sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    transform: translateX(-106%);
    transition: transform 0.16s ease;
    z-index: 20;
  }

  .admin__overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.35);
    z-index: 15;
  }

  body.sidebar-open .admin__sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .admin__overlay {
    display: block;
  }

  .adminStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filterGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .adminMain {
    padding: 14px 16px 28px;
  }

  .adminTopbar {
    padding: 14px 16px;
  }

  .adminTopbar__actions {
    justify-content: flex-start;
  }

  .adminStats {
    grid-template-columns: 1fr;
  }

  .filterGrid {
    grid-template-columns: 1fr;
  }

  .filterActions {
    justify-content: flex-start;
  }
}

.welcome {
  padding: 16px;
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.welcome__title {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.welcome__text {
  color: rgba(11, 20, 55, 0.72);
  font-weight: 500;
  font-size: 13px;
}

.notice {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: rgba(11, 20, 55, 0.9);
  font-weight: 700;
  margin-bottom: 14px;
}

.notice--success {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.22);
  color: rgba(11, 20, 55, 0.9);
}

.notice--danger {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.22);
  color: rgba(11, 20, 55, 0.9);
}

.notice__linkWrap {
  display: inline-flex;
  margin-left: 10px;
}

.notice__link {
  color: rgba(11, 20, 55, 0.9);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.portalGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}

.portalCard {
  padding: 16px;
}

.portalCard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.portalCard__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.portalCard__meta {
  color: rgba(11, 20, 55, 0.64);
  font-weight: 600;
  font-size: 12px;
}

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

.portalForm__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.is-hidden {
  display: none !important;
}

.detailList {
  display: grid;
  gap: 10px;
}

.detailRow {
  display: grid;
  gap: 4px;
}

.detailRow__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 20, 55, 0.6);
  font-weight: 800;
}

.detailRow__value {
  font-weight: 700;
  color: rgba(11, 20, 55, 0.9);
}

.statusPill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 20, 55, 0.14);
  background: rgba(248, 250, 252, 0.75);
  color: rgba(11, 20, 55, 0.86);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.statusPill--ok {
  border-color: rgba(249, 115, 22, 0.22);
  background: rgba(249, 115, 22, 0.1);
  color: #9a3412;
}

.statusPill--danger {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.eventMedia {
  margin-top: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.eventMedia__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.portalDanger {
  padding-top: 8px;
}

.dangerCard {
  padding: 16px;
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(254, 242, 242, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dangerCard__head {
  display: grid;
  gap: 4px;
}

.dangerCard__title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dangerCard__sub {
  color: rgba(11, 20, 55, 0.72);
  font-weight: 600;
  font-size: 13px;
}

.modal {
  border: none;
  padding: 0;
  background: transparent;
}

.modal__card {
  width: min(520px, calc(100vw - 32px));
  margin: 18vh auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.modal--center {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
}

.modal--center[open] {
  display: grid;
  place-items: center;
}

.modal--center[open]::backdrop {
  background: rgba(2, 6, 23, 0.45);
  animation: modalBackdropIn 160ms ease-out forwards;
}

.modal--center .modal__card {
  margin: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.modal--center[open] .modal__card {
  animation: modalCardIn 180ms ease-out forwards;
}

.modal--center.is-closing::backdrop {
  animation: modalBackdropOut 140ms ease-in forwards;
}

.modal--center.is-closing .modal__card {
  animation: modalCardOut 140ms ease-in forwards;
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalBackdropOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes modalCardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalCardOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

.modal__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.modal__text {
  margin-top: 8px;
  color: rgba(11, 20, 55, 0.72);
  font-weight: 500;
  font-size: 13px;
}

.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 14px;
}

.formCard {
  padding: 16px;
}

.formCard__head {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.formCard__title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.formHint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(11, 20, 55, 0.72);
  font-weight: 600;
  font-size: 13px;
}

.formHint__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: #9a3412;
  font-weight: 900;
  flex: 0 0 auto;
}

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

.field--full {
  grid-column: 1 / -1;
}

.inputGroup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.inputGroup__btn {
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11, 20, 55, 0.16);
  background: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-weight: 800;
  color: rgba(11, 20, 55, 0.85);
  white-space: nowrap;
}

.inputGroup__btn:hover {
  background: rgba(226, 232, 240, 0.55);
}

.helpText {
  margin-top: 8px;
  color: rgba(11, 20, 55, 0.64);
  font-weight: 600;
  font-size: 12px;
}

.formActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.authWrap {
  display: grid;
  place-items: center;
}

.authCard {
  width: min(560px, 100%);
}

@media (max-width: 980px) {
  .portalGrid {
    grid-template-columns: 1fr;
  }

  .portalGrid > aside {
    order: -1;
  }
}

@media (max-width: 720px) {
  .portalForm__grid {
    grid-template-columns: 1fr;
  }

  .formGrid {
    grid-template-columns: 1fr;
  }

  .eventMedia__img {
    height: 220px;
  }

  .dangerCard {
    align-items: flex-start;
  }
}
