/* Preview-only chrome — shared across public site, login, and RSVP pages */

.preview-chrome {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}

.preview-chrome > * { pointer-events: auto; }

.preview-back,
.preview-states a,
.preview-langs button {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(254, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #B08D57;
  color: #1F1B16;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}

.preview-back:hover { background: #1F1B16; color: #FEF8F3; }

.preview-states,
.preview-langs {
  display: flex;
  gap: 0;
  background: rgba(254, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #B08D57;
  overflow: hidden;
}

.preview-states a,
.preview-langs button {
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #6E6862;
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.preview-states a:hover,
.preview-langs button:hover { color: #1F1B16; }

.preview-states a[aria-current="page"],
.preview-langs button[aria-current="true"] {
  background: #B08D57;
  color: #fff;
}

.preview-back__short { display: none; }

@media (max-width: 900px) {
  .preview-chrome {
    top: auto;
    bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .preview-chrome > * { flex: 0 0 auto; }
  .preview-back { padding: 10px 14px; }
  .preview-back__label { display: none; }
  .preview-back__short { display: inline; }
  .preview-states a,
  .preview-langs button { padding: 10px; font-size: 10px; }
}
