:root {
  --green: #65bc7b;
  --green-dark: #54770f;
  --text: #333333;
  --text-secondary: #56585a;
  --section-bg: #eff3f9;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  padding-bottom: 72px; /* space for bottom tab bar */
  -webkit-font-smoothing: antialiased;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
}
.app-header img { height: 36px; display: block; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

h1 {
  font-size: 1.4rem;
  margin: 0 0 4px;
  color: var(--text);
}
.app-lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

/* Facebook / news feed */
.fb-post {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.fb-post:first-child { padding-top: 0; }
.fb-post:last-child { border-bottom: none; }
.fb-avatar {
  flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 50%; object-fit: cover; background: #ddd;
}
.fb-avatar-fallback {
  flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 50%; background: #1877F2;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.fb-post-body { flex: 1; min-width: 0; }
.fb-post-meta { display: flex; flex-direction: column; margin-bottom: 0.4rem; }
.fb-post-name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.fb-post-time { font-size: 0.82rem; color: #888; }
.fb-post-text { font-size: 0.95rem; line-height: 1.6; color: var(--text); margin: 0 0 0.6rem; }
.fb-post-actions { display: flex; gap: 0.75rem; font-size: 0.82rem; }
.fb-post-actions a { color: #555; text-decoration: none; }
.fb-post-actions a:hover { text-decoration: underline; color: var(--green-dark); }
.fb-loading { color: #888; font-size: 0.95rem; }

/* Booking */
.booking-frame-wrap {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.booking-frame-wrap iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 240px);
  min-height: 520px;
  border: 0;
}
.booking-fallback {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 14px;
}
.booking-fallback a { color: var(--green-dark); }

/* Bottom tab bar */
.tab-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tab-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
}
.tab-bar a.active { color: var(--green-dark); }
.tab-bar svg { width: 22px; height: 22px; }

/* iOS Add to Home Screen banner */
.a2hs-banner {
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
}
.a2hs-banner button {
  background: none; border: none; color: var(--white);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; flex-shrink: 0;
}
