.reservation-guest-masthead { display: none; }

@media screen {
  html.centrum-reservation-theme.reservation-guest-link {
    --guest-font: DM Sans, Arial, sans-serif;
    --guest-green: #0f505d;
    --guest-deep: #07353e;
    --guest-cream: #fffaf2;
    --guest-muted: #d2e4e4;
    --guest-line: rgba(233, 249, 246, .23);
    --guest-width: min(760px, calc(100% - 40px));
    background: var(--guest-deep);
    scroll-padding-top: 20px;
  }

  html.centrum-reservation-theme.reservation-guest-link body.centrum-test-shell {
    --res-panel: var(--guest-deep);
    --res-muted: var(--guest-muted);
    --res-line: var(--guest-line);
    min-height: 100vh;
    color: var(--guest-cream);
  }

  html.centrum-reservation-theme.reservation-guest-link body.centrum-test-shell::before {
    background: linear-gradient(145deg, #0f505d 5%, #08333c 78%);
  }

  html.centrum-reservation-theme.reservation-guest-link .reservation-site-navigation { display: none; }

  .reservation-guest-link .reservation-guest-masthead {
    display: flex;
    align-items: center;
    width: var(--guest-width);
    min-height: 100px;
    margin-inline: auto;
  }

  .reservation-guest-masthead a { display: inline-flex; border-radius: 5px; }
  .reservation-guest-masthead img { display: block; width: 66px; height: auto; }

  html.centrum-reservation-theme.reservation-guest-link body:not(:has(.dashboard-shell)) :is(#app, .centrum-module-footer) {
    width: var(--guest-width);
    margin: 0 auto;
  }

  html.centrum-reservation-theme.reservation-guest-link body:not(:has(.dashboard-shell)) .centrum-module-footer {
    margin-block: 12px 24px;
  }

  html.centrum-reservation-theme.reservation-guest-link body:not(:has(.dashboard-shell)) .vfg-language {
    position: absolute;
    top: 28px;
    right: max(20px, calc((100% - 760px) / 2));
    display: flex;
    width: auto;
    margin: 0;
    gap: 8px;
    align-items: center;
  }

  .reservation-guest-link .vfg-language label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  html.centrum-reservation-theme.reservation-guest-link body .vfg-language select {
    min-height: 44px;
    padding-inline: 12px;
    border: 1px solid var(--guest-line);
    border-radius: 8px;
    background: var(--guest-deep);
    color: var(--guest-cream);
    font: 500 14px/1.4 DM Sans, Arial, sans-serif;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap > .manage-header {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: end;
    text-align: start;
    min-height: clamp(175px, 26vw, 240px);
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid var(--guest-line);
    border-radius: 16px;
    background:
      linear-gradient(90deg, rgba(7, 53, 62, .96), rgba(7, 53, 62, .80) 45%, rgba(15, 80, 93, .16)),
      url('/assets/michel-interieur-overzicht.webp') 66% 53% / cover no-repeat,
      var(--guest-green);
  }

  .reservation-guest-intro { padding: clamp(20px, 4vw, 34px); }
  html.centrum-reservation-theme.reservation-guest-link .reservation-guest-intro p { margin: 0 0 5px; color: var(--guest-muted); font-size: 14px; }
  html.centrum-reservation-theme.reservation-guest-link body .manage-header h1 {
    margin: 0;
    color: var(--guest-cream);
    font-family: "High Tide Sans", DM Sans, Arial, sans-serif !important;
    font-size: clamp(32px, 6vw, 58px);
    font-weight: 400;
    line-height: 1.05;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap > .booking-card {
    padding: clamp(16px, 4vw, 34px);
    border: 1px solid var(--guest-line);
    border-radius: 16px;
    background: var(--guest-deep);
    box-shadow: 0 16px 34px rgba(2, 24, 29, .22);
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .booking-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: 0 0 18px;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .booking-heading h2 {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font: 600 clamp(19px, 2.5vw, 25px)/1.25 DM Sans, Arial, sans-serif;
    letter-spacing: -.025em;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid var(--guest-line);
    border-radius: 99px;
    background: #124651;
    color: var(--guest-cream);
    font: 600 13px/1.3 DM Sans, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .pill[data-booking-status="confirmed"] {
    border-color: #b8e1cf;
    background: #c7e8d8;
    color: #123c32;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .pill[data-booking-status="cancelled"] {
    border-color: #e0b8aa;
    background: #f3d8cf;
    color: #602f26;
  }

  .reservation-guest-link .manage-wrap .pill svg { width: 15px; height: 15px; }
  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .confirmation-details { display: block; margin: 0; padding: 0; border: 0; }

  .reservation-visit {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--guest-line);
    border-radius: 12px;
    background: var(--guest-green);
  }

  .reservation-visit > div {
    display: flex;
    min-width: 0;
    align-items: start;
    gap: 10px;
    padding: clamp(12px, 2.5vw, 19px);
  }

  .reservation-visit > div + div { border-inline-start: 1px solid var(--guest-line); }
  .reservation-visit svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--guest-muted); }

  html.centrum-reservation-theme.reservation-guest-link body .reservation-visit .detail-line {
    display: grid;
    min-width: 0;
    gap: 2px;
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  html.centrum-reservation-theme.reservation-guest-link body .reservation-visit .detail-line > span:last-child {
    text-align: start;
    color: var(--guest-cream);
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.35;
  }

  .reservation-guest-details { margin-block: 8px 0; }
  html.centrum-reservation-theme.reservation-guest-link body .reservation-guest-details .detail-line {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--guest-line);
  }
  .reservation-guest-link .reservation-guest-details .detail-line > span:last-child { text-align: start; white-space: pre-wrap; }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap :is(.info-notice, .error-notice) {
    margin-block: 16px 0;
    padding: 12px 14px;
    border: 1px solid var(--guest-line);
    border-radius: 8px;
    background: #124651;
    font-size: 14px;
  }

  .reservation-guest-edit { margin-top: 18px; }
  .reservation-guest-edit h3 { margin: 0 0 12px; font-size: 17px; }

  html.centrum-reservation-theme.reservation-guest-link body .reservation-guest-edit :is(input, select) {
    border-color: var(--guest-line);
    background: #124651;
    color: var(--guest-cream);
    font-size: 16px;
  }

  html.centrum-reservation-theme.reservation-guest-link body .manage-wrap .confirmation-actions {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
    margin-block: 18px 0;
  }

  html.centrum-reservation-theme.reservation-guest-link body.centrum-test-shell .guest-shell .manage-wrap .confirmation-actions .btn {
    min-height: 46px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 10px 15px;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  html.centrum-reservation-theme.reservation-guest-link body.centrum-test-shell .guest-shell .manage-wrap .confirmation-actions .btn.reservation-cancel {
    border-color: #b88b80;
    color: #ffdcd2;
    text-decoration: none;
  }

  html.centrum-reservation-theme.reservation-guest-link body.centrum-test-shell .guest-shell .manage-wrap .confirmation-actions .btn.reservation-back {
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  html.centrum-reservation-theme.reservation-guest-link body .restaurant-contact {
    display: flex;
    flex-flow: row wrap;
    gap: 0 18px;
    margin-top: 12px;
    padding: 8px 0 0;
    border-top: 1px solid var(--guest-line);
  }
  .reservation-guest-link .restaurant-contact a { min-height: 44px; overflow-wrap: anywhere; }
  .reservation-guest-link .restaurant-contact svg { flex: none; }

  html.centrum-reservation-theme.reservation-guest-link body :is(.modal, .boot-screen, .error-page) {
    padding: clamp(16px, 4vw, 32px);
    border: 1px solid var(--guest-line);
    border-radius: 16px;
    background: var(--guest-deep);
    color: var(--guest-cream);
  }

  html.centrum-reservation-theme.reservation-guest-link body .modal {
    width: min(100%, 490px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
  .reservation-guest-link #cancel-form .modal-actions { flex-wrap: wrap; }
  html.centrum-reservation-theme.reservation-guest-link body #cancel-form .modal-actions button[type="submit"] {
    border-color: #f3d8cf;
    background: #f3d8cf;
    color: #602f26;
  }

  .reservation-guest-link :is(a, button, select, input):focus-visible {
    outline: 2px solid var(--guest-cream);
    outline-offset: 3px;
  }

  @media (max-width: 520px) {
    html.centrum-reservation-theme.reservation-guest-link { --guest-width: calc(100% - 28px); }
    .reservation-guest-link .reservation-guest-masthead { min-height: 82px; }
    .reservation-guest-masthead img { width: 54px; }
    html.centrum-reservation-theme.reservation-guest-link body:not(:has(.dashboard-shell)) .vfg-language { top: 19px; right: 14px; }
    html.centrum-reservation-theme.reservation-guest-link body .restaurant-contact { flex-direction: column; }
    .reservation-visit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reservation-visit > div:first-child { grid-column: 1 / -1; }
    .reservation-visit > div:nth-child(2) { border-inline-start: 0; }
    .reservation-visit > div:nth-child(n+2) { border-top: 1px solid var(--guest-line); }
    html.centrum-reservation-theme.reservation-guest-link body.centrum-test-shell .guest-shell .manage-wrap .confirmation-actions .btn { width: 100%; }
  }
}
