:root {
  --navy: #081f33;
  --navy-2: #0d2b43;
  --cyan: #16c7d9;
  --cyan-soft: #e9fbfd;
  --ink: #102132;
  --muted: #5f7180;
  --line: #dce5eb;
  --surface: #ffffff;
  --background: #f5f8fa;
  --success: #0e8f74;
  --success-soft: #eaf8f4;
  --warning: #b56b00;
  --warning-soft: #fff7e8;
  --shadow: 0 18px 50px rgba(8, 31, 51, 0.10);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(22, 199, 217, 0.08), transparent 34rem),
    linear-gradient(180deg, #f9fbfc 0%, var(--background) 100%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

.topbar {
  padding: 28px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 21px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 auto;
}

.brand-name span {
  color: var(--cyan);
}

main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 20px 0 56px;
}

.card {
  width: min(100%, 620px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accent {
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), #4de1ba);
}

.card-body {
  padding: 44px;
}

.status-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.status-icon.success {
  color: var(--success);
  background: var(--success-soft);
}

.status-icon.cancelled {
  color: var(--warning);
  background: var(--warning-soft);
}

.status-icon svg {
  width: 34px;
  height: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.lead {
  margin: 18px 0 0;
  color: #405464;
  font-size: 18px;
  line-height: 1.65;
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fbfc;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--cyan);
}

.notice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 14px;
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(8, 31, 51, 0.16);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.security {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.security svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}

.footer {
  padding: 0 0 28px;
  text-align: center;
  color: #788997;
  font-size: 12px;
}

.portal-card {
  text-align: center;
}

.portal-card .status-icon {
  margin-left: auto;
  margin-right: auto;
}

.portal-card .lead {
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 22px, 920px);
  }

  .topbar {
    padding-top: 20px;
  }

  main {
    padding-top: 10px;
    padding-bottom: 34px;
  }

  .card {
    border-radius: 20px;
  }

  .card-body {
    padding: 30px 24px;
  }

  .lead {
    font-size: 16px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}