/* Shared styles for standalone Family Hub app pages */
:root {
  --primary: #2d2a26;
  --soft-orange: #f4b251;
  --muted: #777;
}

#lock-screen {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: #fff;
  padding: 20px;
}

.lock-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 34px;
  border-radius: 14px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lock-box h1 {
  margin-bottom: 8px;
}

.lock-box p {
  color: #ddd;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-family: Arial, sans-serif;
}

.lock-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 0 0 14px;
  font-family: inherit;
  background: #fff;
  font-size: 1rem;
}

.lock-box button {
  padding: 12px 20px;
  border: 0;
  border-radius: 30px;
  background: var(--soft-orange);
  color: var(--primary);
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.photo-top-nav,
.top-nav {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 14px;
}

.btn-nav {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 8px;
  border: 0;
  border-radius: 999px;
  background: #eee;
  color: var(--primary);
  font-weight: bold;
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.btn-nav:hover,
.btn-nav:focus-visible {
  background: #e3ddd3;
  outline: 2px solid var(--soft-orange);
  outline-offset: 2px;
}

.hub-sync-footer {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fffdf6;
  border: 1px solid #ead28c;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
}

.hub-sync-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.hub-sync-error {
  color: #8b2e2e;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .photo-top-nav,
  .top-nav {
    gap: 6px;
  }

  .btn-nav {
    font-size: 0.78rem;
    padding: 10px 6px;
  }
}
