/* =============================================
   Authential Wellness — Content Hub
   Design System: Teal #1B6B5B, Gold #D4A843, Cream #FDF9F3
   Fonts: DM Serif Display (headlines), DM Sans (body)
   Mobile-first, thumb-friendly, coaching register
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #1B6B5B;
  --teal-light: #2D8B78;
  --teal-dark: #145A4C;
  --teal-bg: #E8F5F1;
  --gold: #D4A843;
  --gold-light: #E8C97A;
  --gold-dark: #B8922E;
  --gold-bg: #FDF5E6;
  --cream: #FDF9F3;
  --cream-dark: #F5EDE0;
  --white: #FFFFFF;
  --text-primary: rgba(30, 36, 40, 0.87);
  --text-secondary: rgba(30, 36, 40, 0.6);
  --text-tertiary: rgba(30, 36, 40, 0.4);
  --border: rgba(30, 36, 40, 0.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Views ---------- */
.view {
  display: none;
  min-height: 100dvh;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.view.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
}

/* =============================================
   LOGIN VIEW
   ============================================= */
.login-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--cream);
  position: relative;
}

.login-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40vh;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-light) 60%, transparent 100%);
  border-radius: 0 0 40% 40%;
}

.login-brand {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
}

.login-logo {
  margin: 0 auto 16px;
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.logo-mark {
  width: 48px;
  height: 48px;
}

.login-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--white);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.login-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  font-weight: 500;
}

.login-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-sans);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
}

.form-group input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,107,91,0.15);
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.login-help {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.5;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover { background: var(--teal-dark); }

.btn-approve {
  background: #16a34a;
  color: var(--white);
  flex: 1;
}

.btn-approve:hover { background: #15803d; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  flex: 1;
}

.btn-gold:hover { background: var(--gold-dark); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  flex: 1;
}

.btn-teal:hover { background: var(--teal-dark); }

.btn-secondary {
  background: var(--cream);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover { background: var(--cream-dark); }

.btn-full { width: 100%; }

.btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn-icon:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text-primary);
}

/* =============================================
   APP HEADER (Dashboard)
   ============================================= */
.app-header {
  background: var(--white);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1.2;
}

.header-client {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-welcome {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
}

.header-welcome strong {
  color: var(--text-primary);
}

/* =============================================
   DASHBOARD CONTENT
   ============================================= */
.dashboard-content {
  flex: 1;
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.posts-section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
}

.post-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ---------- Post Cards ---------- */
.post-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.post-card:active {
  transform: translateY(0);
}

.post-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post-card-image-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.9;
}

.placeholder-icon svg {
  width: 100%;
  height: 100%;
}

.placeholder-label {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  max-width: 220px;
  font-style: italic;
}

.placeholder-content--large .placeholder-icon {
  width: 64px;
  height: 64px;
}

.placeholder-content--large .placeholder-label {
  font-size: 18px;
  max-width: 280px;
}

.post-card-body {
  padding: 16px;
}

.post-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.post-card-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.post-card-status {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.post-card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.post-card-schedule {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.post-card-schedule svg {
  flex-shrink: 0;
}

.post-card-best-time {
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
  background: var(--teal-bg);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ---------- Past Posts / Toggle ---------- */
.past-section {
  margin-top: 8px;
}

.section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.section-toggle h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
}

.section-toggle svg {
  color: var(--text-tertiary);
  transition: transform 0.2s var(--ease);
}

.section-toggle.expanded svg {
  transform: rotate(180deg);
}

.past-posts {
  transition: max-height 0.3s var(--ease);
}

.empty-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-tertiary);
  font-size: 14px;
}

/* =============================================
   POST DETAIL VIEW
   ============================================= */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  cursor: pointer;
  padding: 8px 4px;
  -webkit-tap-highlight-color: transparent;
}

.detail-status {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.detail-content {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 0 100px;
}

.detail-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--cream-dark);
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-image img[src=""],
.detail-image img:not([src]) {
  display: none;
}

.detail-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder content is rendered via JS */

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.meta-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-schedule {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.meta-best-time {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  background: var(--teal-bg);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.detail-text-section {
  padding: 20px;
}

.detail-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.detail-textarea {
  width: 100%;
  min-height: 200px;
  padding: 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
}

.detail-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,107,91,0.12);
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* ---------- Preview ---------- */
.detail-preview {
  padding: 0 20px 16px;
}

.preview-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px 0;
  -webkit-tap-highlight-color: transparent;
}

.preview-toggle strong {
  color: var(--teal);
}

.preview-toggle svg {
  transition: transform 0.2s var(--ease);
}

.preview-toggle.expanded svg {
  transform: rotate(180deg);
}

.preview-card {
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.preview-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.preview-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.preview-time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.preview-text {
  padding: 0 14px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  white-space: pre-line;
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.preview-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--white));
}

.preview-image {
  width: 100%;
  height: 160px;
}

/* ---------- Actions ---------- */
.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
  max-width: 600px;
  margin: 0 auto;
}

.detail-actions .btn {
  width: 100%;
}

/* =============================================
   ADMIN VIEW
   ============================================= */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #1e293b;
  color: var(--white);
}

.admin-header .header-title {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
}

.admin-header .header-client {
  color: rgba(255,255,255,0.6);
}

.admin-header .btn-icon {
  color: rgba(255,255,255,0.7);
}

.admin-header .btn-icon:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.admin-content {
  flex: 1;
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.admin-section {
  margin-bottom: 28px;
}

.admin-section h2 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.admin-client-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-client-info strong {
  display: block;
  font-size: 16px;
}

.admin-client-detail {
  font-size: 13px;
  color: var(--text-secondary);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}

.status-dot.active {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
}

.admin-feed {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feed-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 14px;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  animation: feedIn 0.3s var(--ease);
}

.feed-item:last-child {
  border-bottom: none;
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-time {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  margin-top: 2px;
}

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.feed-dot.approve { background: #16a34a; }
.feed-dot.edit { background: var(--teal); }
.feed-dot.image { background: var(--gold); }

.admin-review-queue {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-card-title {
  font-weight: 700;
  font-size: 15px;
}

.review-card-time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.review-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.review-card-actions {
  display: flex;
  gap: 8px;
}

.review-card-actions .btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.review-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-tertiary);
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  transition: opacity 0.2s var(--ease);
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalUp 0.3s var(--ease);
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.modal-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  resize: none;
  margin-bottom: 16px;
  -webkit-appearance: none;
}

.modal-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,107,91,0.12);
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-actions .btn {
  flex: 1;
  min-height: 48px;
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s var(--ease);
  text-align: center;
  max-width: calc(100vw - 40px);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.hidden {
  display: none;
}

/* =============================================
   UTILITIES
   ============================================= */
.hidden {
  display: none !important;
}

/* =============================================
   RESPONSIVE (Tablet+)
   ============================================= */
@media (min-width: 768px) {
  .login-wrapper::before {
    height: 50vh;
    border-radius: 0 0 30% 30%;
  }

  .login-title {
    font-size: 36px;
  }

  .login-form {
    padding: 40px 32px;
  }

  .detail-actions {
    flex-direction: row;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  }

  .modal-overlay {
    align-items: center;
  }

  .modal {
    animation-name: modalFade;
  }

  @keyframes modalFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card {
  animation: fadeInUp 0.4s var(--ease) both;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }

/* Subtle noise texture on cream backgrounds */
.dashboard-content::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.dashboard-content > * {
  position: relative;
  z-index: 1;
}
