:root {
  --bg: #f3f4f6; /* light page background */
  --card: #ffffff; /* cards */
  --text: #111827; /* main text */
  --muted: #6b7280;
  --accent: #1d9bf0; /* blue accent (X-like) */
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* reset paragraphs and headings */
header {
  display: flex;
  justify-content: flex-start;
  position: sticky;
}

header #title {
  height: 64px;
  margin-top: 36px;
  font-size: 50px;
  font-family: sans-serif;
  color: #0095f6;
  text-decoration: none;
}

header #subtitle {
  font-size: 25px;
  height: 30px;
  font-family: sans-serif;
  color: #0095f6;
  text-decoration: none;
  padding-left: 5px;
  margin-bottom: 5px;
}

p {
  margin: 0;
}

h2 {
  margin: 0;
}

/* container centering (keeps existing .row behavior) */
.row {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
}

/* Card / post styles */
.post-card {
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  padding: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 50;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.action-bar .icon {
  margin-right: 12px;
  cursor: pointer;
  color: var(--muted);
}

.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

img.image-display {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.btn-login {
  border: 2px solid #24b4fb;
  background-color: #24b4fb;
  border-radius: 0.9em;
  cursor: pointer;
  padding: 0.8em 1.2em 0.8em 1em;
  transition: all ease-in-out 0.2s;
  font-size: 16px;
  margin: 10px;
}

.btn-login span {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
}

.btn-login:hover {
  background-color: #0071e2;
}


.upload-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.upload-toast.hidden {
  opacity: 0;
  pointer-events: none;
}

