/* Shared PHP layout: keep the reference styles above this file in the cascade. */
#app {
  min-width: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 28px 6vw;
  border-top: 1px solid rgb(198 170 107 / 24%);
  background: #19182e;
  color: #c9c3bb;
}

.site-footer .powered {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: inherit;
}

.site-footer .powered img {
  display: block;
  width: 96px;
  height: auto;
  flex-shrink: 0;
}

.site-footer .footer-links {
  display: flex;
  flex: 1 1 380px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 22px;
  min-width: 0;
}

.site-footer .footer-links a,
.site-footer .footer-links button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-footer .footer-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links button:hover {
  color: #ecdbc1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .footer-links a:hover .footer-icon,
.site-footer .footer-links button:hover .footer-icon {
  transform: translateY(-1px);
}

.site-footer .footer-links a:focus-visible,
.site-footer .footer-links button:focus-visible {
  outline: 2px solid #c6aa6b;
  outline-offset: 4px;
}

.backend-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 24px 6vw;
  border-bottom: 1px solid #c6aa6b;
  background: #fff8e9;
  color: #302946;
}

.backend-status h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -.4px;
}

.backend-status p {
  margin: 0;
}

.backend-status .eyebrow {
  margin-bottom: 10px;
  font-size: 10px;
}

.backend-status .btn {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .site-footer,
  .public .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px 22px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }

  .site-footer .footer-links {
    flex: 0 1 auto;
    width: 100%;
    justify-content: flex-start;
    gap: 4px 22px;
  }

  /* Reserve space for the fixed reservation action, including an iPhone home indicator. */
  .public.guest-first {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    scroll-margin-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .backend-status {
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .site-footer .footer-links {
    column-gap: 16px;
  }
}
