/*
 * LAPS.media — Design Tokens + Global Styles
 * Arquivo unico: tokens + base + mockups + review
 * Secoes nao-comuns marcadas com /*** origem ***/
 */

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  color-scheme: dark;

  /* Backgrounds */
  --bg:            #0d1117;
  --bg-card:       #1f2937;
  --bg-hover:      #374151;
  --bg-nav:        #111827;

  /* Borders */
  --border:        #374151;
  --border-subtle: #1f2937;

  /* Brand */
  --gold:          #F8B41B;
  --gold-hover:    #fbbf24;
  --gold-dim:      rgba(248, 180, 27, 0.12);
  --yellow:        var(--gold);

  /* Semantic */
  --green:         #4ade80;
  --green-dim:     rgba(74, 222, 128, 0.12);
  --blue:          #60a5fa;
  --blue-dim:      rgba(96, 165, 250, 0.12);
  --purple:        #a78bfa;
  --purple-dim:    rgba(167, 139, 250, 0.12);
  --error:         #ef4444;
  --error-dim:     rgba(239, 68, 68, 0.12);
  --shimmer:       #374151;

  /* Text */
  --text:          #ffffff;
  --text-sub:      #9ca3af;
  --text-muted:    #6b7280;

  /* Type */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:  'Bebas Neue', sans-serif;

  /* Radii */
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     14px;
  --radius-full:   9999px;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.6);

  /* Transitions */
  --ease:          0.2s ease;
}

[data-theme="light"] {
  color-scheme: light;

  --bg:            #f5f5f5;
  --bg-card:       #ffffff;
  --bg-hover:      #f0f0f0;
  --bg-nav:        #fafafa;
  --border:        #e5e5e5;
  --border-subtle: #eeeeee;
  --text:          #0a0a0a;
  --text-sub:      #555555;
  --text-muted:    #999999;
}

/* ─────────────────────────────────────────
   DEV BANNER
───────────────────────────────────────── */
.dev-banner {
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 6px 16px;
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
body {
  background: var(--bg);
  font-family: var(--font-sans);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────
   TOP BAR
───────────────────────────────────────── */
.top-bar { height: 3px; background: var(--gold); width: 100%; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  line-height: 1;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo span { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-back,
.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--ease);
}
.nav-back:hover,
.nav-link:hover { color: var(--text); }

.nav-btn-group { display: flex; gap: 8px; align-items: center; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity var(--ease);
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--text-sub); color: var(--text); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--error);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--ease);
}
.btn-danger:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: opacity var(--ease);
  text-decoration: none;
}
.btn-sm:hover        { opacity: 0.82; }
.btn-sm-gold         { background: var(--gold);  color: #000; font-weight: 600; }
.btn-sm-green        { background: var(--green); color: #000; font-weight: 600; }
.btn-sm-gray         { background: #222222;      color: var(--text-sub); }

.btn-save {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity var(--ease);
}
.btn-save:hover { opacity: 0.88; }

.btn-row { display: flex; gap: 12px; margin-top: 8px; }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.main { max-width: 1280px; margin: 0 auto; padding: 40px 32px; }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
.page-title {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 2px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 6px;
}
.page-title.big   { font-size: 56px; }
.page-title .gold { color: var(--gold); }

.page-subtitle { color: var(--text-sub); font-size: 13px; margin-top: 6px; margin-bottom: 36px; }

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-sub {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ─────────────────────────────────────────
   ALERTS
───────────────────────────────────────── */
.alert { border-radius: var(--radius-md); padding: 12px 16px; font-size: 14px; margin-bottom: 28px; }
.alert-success { background: var(--green-dim); border: 1px solid rgba(74,222,128,.3); color: var(--green); }
.alert-error   { background: var(--error-dim); border: 1px solid rgba(248,113,113,.3); color: var(--error); }

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.card-danger {
  background: var(--error-dim);
  border: 1px solid var(--error);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 24px;
}

.danger-title { font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; color: var(--error); margin-bottom: 8px; }
.danger-desc  { font-size: 13px; color: var(--text-sub); margin-bottom: 16px; }

/* ─────────────────────────────────────────
   FORMS
───────────────────────────────────────── */
.field          { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3    { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-sub);
  margin-bottom: 7px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="url"],
select,
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input[type="text"]:disabled,
input[type="email"]:disabled { opacity: 0.5; cursor: not-allowed; }
select option { background: var(--bg-card); }
textarea      { resize: vertical; }

input[type="color"] {
  width: 44px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
}

.hint      { font-size: 11px; color: var(--text-muted); margin-top: 5px; }
.color-row { display: flex; align-items: center; gap: 10px; }
.color-row input[type="text"] { flex: 1; }

/* ─────────────────────────────────────────
   BADGES & PILLS
───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-gold  { background: var(--gold-dim);  color: var(--gold);  border: 1px solid rgba(245,158,11,.25); }
.badge-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(74,222,128,.25); }
.badge-error { background: var(--error-dim); color: var(--error); border: 1px solid rgba(248,113,113,.25); }
.badge-gray  { background: rgba(160,160,160,.1); color: var(--text-sub); }

.status-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.4px; }
.status-approved { background: var(--green-dim); color: var(--green); }
.status-changes  { background: var(--error-dim); color: var(--error); }
.status-pending  { background: rgba(160,160,160,.1); color: var(--text-sub); }

.platform-tag { font-size: 11px; color: var(--blue); font-weight: 500; }

.slug-pill {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
}

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }

.pill { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 99px; }
.pill-green  { background: rgba(74,222,128,.12);  color: var(--green); }
.pill-red    { background: rgba(239,68,68,.12);   color: #ef4444; }
.pill-gray   { background: rgba(156,163,175,.1);  color: var(--text-sub); }

/* ─────────────────────────────────────────
   USER DROPDOWN
───────────────────────────────────────── */
.user-menu { position: relative; }

.user-menu-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.user-menu-btn:hover { background: rgba(255,255,255,.04); color: var(--text); }

.user-chevron { transition: transform var(--ease); flex-shrink: 0; opacity: 0.7; }
.user-menu-btn.open .user-chevron { transform: rotate(180deg); }

.dropdown-card {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  padding: 6px 0;
  z-index: 200;
}
.dropdown-card.open { display: block; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.dropdown-item:hover { background: var(--bg-hover); color: var(--text); }
.dropdown-item.danger       { color: var(--error); }
.dropdown-item.danger:hover { background: var(--error-dim); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ─────────────────────────────────────────
   THEME TOGGLE
───────────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.theme-toggle-track {
  display: flex;
  align-items: center;
  width: 48px;
  height: 26px;
  border-radius: var(--radius-full);
  padding: 3px;
  background: #333;
  transition: background var(--ease);
}
.theme-toggle:hover .theme-toggle-track             { background: #444; }
[data-theme="light"] .theme-toggle-track            { background: #22c55e; }
[data-theme="light"] .theme-toggle:hover .theme-toggle-track { background: #16a34a; }

.theme-toggle-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease);
}
[data-theme="light"] .theme-toggle-thumb { transform: translateX(22px); }

/* ─────────────────────────────────────────
   MODALS
───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.80);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal-container::-webkit-scrollbar       { width: 6px; }
.modal-container::-webkit-scrollbar-track { background: transparent; }
.modal-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), color var(--ease);
}
.modal-close:hover { border-color: var(--error); color: var(--error); }

.modal-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; color: var(--gold); margin-bottom: 24px; }
.modal-body  { display: flex; justify-content: center; margin-bottom: 28px; }

.modal-status-form { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.modal-status-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); }
.modal-status-select { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-family: var(--font-sans); font-size: 13px; padding: 8px 12px; outline: none; cursor: pointer; }
.modal-status-select:focus { border-color: var(--gold); }
.btn-update-status { background: var(--gold); color: #000; border: none; border-radius: var(--radius-md); padding: 9px 20px; font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; transition: opacity var(--ease); }
.btn-update-status:hover { opacity: 0.88; }

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.stat-number { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: 1px; color: var(--text); }
.stat-number.gold  { color: var(--gold); }
.stat-number.green { color: var(--green); }
.stat-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* ─────────────────────────────────────────
   CLIENT GRID
───────────────────────────────────────── */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.client-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.client-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; color: var(--text); line-height: 1.1; }
.client-slug { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

.progress-wrap      { display: flex; flex-direction: column; gap: 6px; }
.progress-bar-track { width: 100%; height: 4px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; }
.progress-bar-fill  { height: 100%; background: var(--gold); border-radius: var(--radius-full); transition: width 0.4s ease; }
.progress-label     { font-size: 11px; color: var(--text-sub); text-align: right; font-weight: 500; }

.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.card-actions .btn-primary,
.card-actions .btn-secondary { flex: 1 1 auto; min-width: 120px; text-align: center; font-size: 13px; justify-content: center; }

.add-card {
  background: transparent;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--ease), background var(--ease);
  min-height: 200px;
}
.add-card:hover { border-color: var(--gold); background: var(--gold-dim); }
.add-icon  { font-size: 32px; color: var(--text-muted); line-height: 1; font-weight: 300; }
.add-label { color: var(--text-sub); font-size: 14px; font-weight: 500; }

/* ─────────────────────────────────────────
   POSTS (campaign grid)
───────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
.post-card  { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.post-meta    { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta-day     { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-sub); }
.post-body    { display: flex; gap: 12px; align-items: flex-start; }
.post-text    { flex: 1; min-width: 0; }
.post-headline { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.post-caption  { font-size: 13px; color: var(--text-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-time     { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

.post-thumb { width: 80px; height: 80px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.thumb-placeholder { width: 80px; height: 80px; border-radius: var(--radius-md); background: var(--bg-hover); flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.thumb-placeholder svg { opacity: 0.3; }

.status-row   { display: flex; align-items: center; gap: 8px; }
.status-form  { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.status-form select { font-size: 12px; padding: 5px 8px; }

.feedback-section { border-top: 1px solid var(--border); padding-top: 12px; }
.feedback-label   { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 8px; }
.feedback-item    { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 12px; margin-bottom: 6px; }
.feedback-item:last-child { margin-bottom: 0; }
.feedback-meta    { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.feedback-name    { font-size: 12px; font-weight: 600; color: var(--text); }
.feedback-date    { font-size: 11px; color: var(--text-muted); }
.feedback-comment { font-size: 13px; color: var(--text-sub); line-height: 1.5; }
.feedback-empty   { font-size: 12px; color: var(--text-muted); font-style: italic; }

.btn-view-post {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-view-post:hover { background: var(--gold); color: #000; }

/* ─────────────────────────────────────────
   CAMPAIGN WEEK
───────────────────────────────────────── */
.week-header  { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.week-title   { font-family: var(--font-display); font-size: 32px; letter-spacing: 1.5px; }
.week-badge   { background: var(--gold-dim); color: var(--gold); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.5px; }
.week-add-link { margin-left: auto; color: var(--gold); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.week-add-link:hover { text-decoration: underline; }
.add-week-wrap { text-align: center; margin-top: 16px; }

/* ─────────────────────────────────────────
   UPLOAD / DROP ZONE
───────────────────────────────────────── */
.upload-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.upload-card-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-sub); margin-bottom: 16px; display: block; }
.upload-slots { display: flex; gap: 24px; flex-wrap: wrap; }
.upload-slot  { display: flex; flex-direction: column; gap: 8px; }
.slot-label   { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-sub); }

.drop-zone {
  width: 280px;
  height: 280px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease), background var(--ease);
  user-select: none;
}
.drop-zone:hover,
.drop-zone.drag-over { border-color: var(--gold); background: var(--gold-dim); }

.dz-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; text-align: center; pointer-events: none; }
.dz-text  { font-size: 13px; color: var(--text-sub); }
.dz-sub   { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

.dz-preview,
.dz-preview-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 11px;
}
.dz-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 11px;
}
.drop-zone:hover .dz-overlay.has-file { display: flex; }

.remove-link { font-size: 12px; color: var(--text-muted); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; text-decoration: underline; display: none; }
.remove-link:hover { color: var(--error); }

/* ─────────────────────────────────────────
   LOGO UPLOAD
───────────────────────────────────────── */
.logo-upload-slot {
  position: relative;
  width: 100%;
  height: 80px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  overflow: hidden;
}
.logo-upload-slot:hover { border-color: var(--gold); background: var(--gold-dim); }
.logo-slot-content { display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.logo-slot-label   { font-size: 13px; color: var(--text-sub); font-weight: 500; }
.logo-slot-hint    { font-size: 11px; color: var(--text-muted); }

.current-logo-wrap { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 12px; }
.current-logo-wrap img { max-height: 48px; max-width: 120px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px; }
.current-logo-label { font-size: 12px; color: var(--text-sub); }
.remove-logo-row    { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.remove-logo-row input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--error); }
.remove-logo-row label { font-size: 12px; color: var(--error); text-transform: none; letter-spacing: 0; cursor: pointer; margin: 0; }

/* ─────────────────────────────────────────
   EMPTY STATE
───────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 24px; color: var(--text-sub); }
.empty-state h2 { font-family: var(--font-display); font-size: 28px; letter-spacing: 1.5px; margin-bottom: 12px; color: var(--text); }
.empty-state p  { font-size: 14px; margin-bottom: 24px; }

/* ─────────────────────────────────────────
   BRYAN CHIP
───────────────────────────────────────── */
.bryan-notify {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: background var(--ease);
}
.bryan-notify:hover { background: rgba(245,158,11,.22); }

.bryan-draft-notify {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: background var(--ease);
}
.bryan-draft-notify:hover { background: rgba(245,158,11,.18); }

/* ─────────────────────────────────────────
   MISC
───────────────────────────────────────── */
.pass-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-btn-group { display: none; }
  .card, .card-danger, .upload-card { padding: 1rem; }
  .drop-zone { width: 100%; }
}
@media (max-width: 600px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .btn-row                 { flex-direction: column; }
  .stats-row               { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer       { border-top: 1px solid var(--border); background: var(--bg-nav); padding: 18px 32px; margin-top: 48px; }
.site-footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.site-footer-brand { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.5px; color: var(--text-sub); }
.site-footer-brand span { color: var(--gold); }
.site-footer-links { display: flex; align-items: center; gap: 8px; }
.site-footer-sep   { color: var(--border); }
.site-footer-link  { color: var(--gold); text-decoration: none; font-weight: 500; transition: opacity var(--ease); }
.site-footer-link:hover { opacity: 0.75; }
@media (max-width: 640px) {
  .site-footer       { padding: 24px 20px; }
  .site-footer-inner { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
}

/*** mockups.css — campaign.php, new-post.php, edit-post.php, post-instagram.php ***/

/* ─── Instagram Feed Mockup ─── */
.ig-mockup { background: #1a1a1a; border-radius: var(--radius-lg); max-width: 400px; width: 100%; font-family: var(--font-sans); overflow: hidden; }
.ig-header     { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ig-avatar     { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.ig-user-info  { flex: 1; min-width: 0; }
.ig-username   { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.ig-location   { font-size: 11px; color: #9ca3af; line-height: 1.3; }
.ig-more       { font-size: 18px; font-weight: 700; color: #9ca3af; letter-spacing: 1px; cursor: pointer; padding: 0 4px; }
.ig-media      { position: relative; aspect-ratio: 1 / 1; background: #2d2d2d; overflow: hidden; }
.ig-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #2d2d2d; }
.ig-actions      { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 6px; }
.ig-actions-left { display: flex; gap: 14px; align-items: center; }
.ig-actions-left svg, .ig-actions-right svg { cursor: pointer; }
.ig-likes         { padding: 0 14px 4px; font-size: 13px; font-weight: 600; color: #fff; }
.ig-caption       { padding: 2px 14px 4px; font-size: 13px; line-height: 1.5; color: #9ca3af; }
.ig-cap-user      { font-weight: 700; color: #fff; margin-right: 4px; }
.ig-cap-text      { color: #9ca3af; }
.ig-more-link     { color: #9ca3af; font-weight: 600; cursor: pointer; }
.ig-hashtags      { padding: 2px 14px 4px; font-size: 12px; color: #60a5fa; line-height: 1.6; }
.ig-comments-link { padding: 2px 14px 4px; font-size: 13px; color: #9ca3af; cursor: pointer; }
.ig-footer        { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 12px; }
.ig-timestamp     { font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; }
.ig-platform-badge { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #9ca3af; }

/* ─── Instagram Carousel ─── */
.igsl-wrap  { position: relative; width: 100%; height: 100%; overflow: hidden; background: #2d2d2d; }
.igsl-track { display: flex; width: 100%; height: 100%; transition: transform 0.3s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.igsl-slide { flex: 0 0 100%; min-width: 100%; height: 100%; }
.igsl-media { width: 100%; height: 100%; object-fit: cover; display: block; }

.igc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #111;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: background var(--ease);
  padding: 0;
}
.igc-arrow:hover  { background: rgba(255,255,255,1); }
.igc-arrow:active { transform: translateY(-50%) scale(.92); }
.igc-prev { left: 8px; }
.igc-next { right: 8px; }

.igc-dots { position: absolute; bottom: 8px; width: 100%; display: flex; justify-content: center; gap: 4px; z-index: 10; pointer-events: none; }
.igc-dot        { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s, transform .2s; }
.igc-dot-active { background: #fff; transform: scale(1.25); }

/* ─── Facebook Mockup ─── */
.fb-mockup { background: #fff; border: 1px solid #e4e6eb; border-radius: var(--radius-md); max-width: 500px; width: 100%; font-family: var(--font-sans); overflow: hidden; }
.fb-header  { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.fb-avatar  { width: 40px; height: 40px; border-radius: 50%; background: #1877f2; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0; }
.fb-user-info      { flex: 1; min-width: 0; }
.fb-name           { font-size: 15px; font-weight: 700; color: #1c1e21; line-height: 1.3; }
.fb-sponsored      { font-size: 13px; color: #65676b; line-height: 1.3; }
.fb-more           { font-size: 18px; font-weight: 700; color: #65676b; letter-spacing: 1px; cursor: pointer; padding: 0 4px; }
.fb-caption-text   { padding: 0 16px 8px; font-size: 15px; color: #1c1e21; line-height: 1.6; }
.fb-hashtags-text  { padding: 0 16px 8px; font-size: 13px; color: #1877f2; line-height: 1.5; }
.fb-media          { aspect-ratio: 1.91 / 1; background: #e4e6eb; overflow: hidden; }
.fb-placeholder    { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #e4e6eb; }
.fb-reactions-row  { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; font-size: 14px; color: #65676b; }
.fb-reactions-left { display: flex; align-items: center; gap: 4px; }
.fb-divider        { height: 1px; background: #e4e6eb; margin: 0 16px; }
.fb-actions        { display: flex; align-items: center; padding: 4px 8px; }
.fb-action-btn     { flex: 1; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: #65676b; padding: 8px 4px; border-radius: 6px; transition: background .15s; }
.fb-action-btn:hover { background: #f0f2f5; }
.fb-footer         { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 12px; }
.fb-timestamp      { font-size: 11px; color: #65676b; text-transform: uppercase; letter-spacing: 0.4px; }
.fb-platform-badge { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #65676b; }

/* ─── Dual Mockup ─── */
.dual-mockup         { width: 100%; }
.dual-cards          { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.dual-caption-strip  { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 12px; }
.dual-caption-text   { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin-bottom: 6px; }
.dual-hashtags       { font-size: 12px; color: var(--blue); line-height: 1.5; }
.dual-feedback-textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color var(--ease);
}
.dual-feedback-textarea::placeholder { color: var(--text-muted); }
.dual-feedback-textarea:focus        { border-color: var(--gold); }

/* ─── Instagram Full Page Mockup (.igm-*) — post-instagram-mockup.php ─── */
.igm-wrapper { max-width: 440px; background: #000; width: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #fff; overflow: hidden; }
.igm-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 6px; }
.igm-nav-brand { font-size: 26px; color: #fff; font-style: italic; font-family: Georgia, 'Times New Roman', serif; letter-spacing: -0.5px; line-height: 1.1; }
.igm-nav-icons { display: flex; gap: 18px; align-items: center; color: #fff; }
.igm-nav-icon  { cursor: pointer; display: flex; align-items: center; }

.igm-stories-bar { display: flex; gap: 12px; padding: 6px 12px 12px; overflow-x: hidden; border-bottom: 1px solid #262626; }
.igm-story-item  { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; cursor: pointer; }
.igm-story-ring  { padding: 2px; border-radius: 50%; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.igm-story-ring-seen { background: #3a3a3a; }
.igm-story-avatar { width: 50px; height: 50px; border-radius: 50%; background: #262626; border: 2.5px solid #000; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.igm-story-avatar-main { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); }
.igm-story-avatar-a { background: #0ea5e9; }
.igm-story-avatar-b { background: #10b981; }
.igm-story-avatar-c { background: #f59e0b; }
.igm-story-avatar-d { background: #ef4444; }
.igm-story-name { font-size: 10px; color: #e5e5e5; max-width: 56px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.igm-post-header    { display: flex; align-items: center; gap: 9px; padding: 10px 14px; }
.igm-post-avatar-ring { padding: 2px; border-radius: 50%; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); flex-shrink: 0; }
.igm-post-avatar    { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); border: 2px solid #000; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.igm-post-userinfo  { flex: 1; min-width: 0; }
.igm-post-username  { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; }
.igm-post-sub       { font-size: 11px; color: #737373; line-height: 1.3; }
.igm-follow-btn     { background: transparent; border: none; color: #0095f6; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; flex-shrink: 0; font-family: inherit; }
.igm-post-more      { font-size: 18px; font-weight: 700; color: #fff; cursor: pointer; padding: 0 2px; letter-spacing: 1px; }

.igm-media { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #111; overflow: hidden; }
.igm-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.igm-carousel       { position: absolute; inset: 0; overflow: hidden; }
.igm-carousel-track { display: flex; height: 100%; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: transform; }
.igm-carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; }

.igm-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.88); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #000; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,.4); transition: opacity .2s, background .15s; padding: 0; }
.igm-arrow:hover  { background: #fff; }
.igm-arrow-prev   { left: 10px; }
.igm-arrow-next   { right: 10px; }
.igm-arrow-hidden { opacity: 0; pointer-events: none; }

.igm-dots    { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; z-index: 10; pointer-events: none; }
.igm-dot     { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s, transform .2s; }
.igm-dot-active { background: #0095f6; transform: scale(1.4); }

.igm-counter { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; z-index: 10; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.igm-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a1a1a; }

.igm-actions      { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 2px; }
.igm-actions-left { display: flex; gap: 14px; align-items: center; }
.igm-action-icon  { cursor: pointer; color: #fff; display: flex; align-items: center; }

.igm-likes         { padding: 4px 14px; font-size: 13px; font-weight: 600; color: #fff; }
.igm-caption       { padding: 2px 14px 4px; font-size: 13px; line-height: 1.5; color: #fff; }
.igm-cap-user      { font-weight: 600; margin-right: 4px; }
.igm-hashtags      { padding: 0 14px 4px; font-size: 13px; color: #0095f6; line-height: 1.5; }
.igm-view-comments { padding: 2px 14px 4px; font-size: 13px; color: #737373; cursor: pointer; }
.igm-timestamp     { padding: 4px 14px 10px; font-size: 10px; color: #737373; letter-spacing: 0.5px; }

.igm-add-comment    { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid #262626; }
.igm-comment-avatar { width: 24px; height: 24px; border-radius: 50%; background: #333; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.igm-comment-input  { flex: 1; font-size: 13px; color: #737373; }
.igm-comment-emoji  { font-size: 16px; cursor: pointer; }

/* ─── Landing Page Mobile Frame — review.php ─── */
.lp-wrap { background: #1a1a1a; border-radius: 12px 12px 0 0; width: 100%; max-width: 440px; font-family: var(--font-sans); overflow: hidden; }
.lp-wrap .lp-iphone-bar { background-color: #000; border-radius: 12px 12px 0 0; }
.lp-wrap .lp-iphone-statusline { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px; box-sizing: border-box; }
.lp-wrap .lp-iphone-time  { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.3px; font-family: var(--font-sans); line-height: 1; }
.lp-wrap .lp-iphone-icons { display: flex; align-items: center; gap: 5px; }
.lp-bezel { background: #0a0a0a; margin: 16px 20px; border-radius: 36px; padding: 12px 8px 14px; border: 2px solid #2a2a2a; box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 16px 40px rgba(0,0,0,.7); display: flex; flex-direction: column; align-items: center; }
.lp-bezel-notch { width: 48px; height: 5px; background: #1a1a1a; border-radius: 3px; margin-bottom: 10px; flex-shrink: 0; }
.lp-screen { width: 100%; aspect-ratio: 440 / 692; overflow: hidden; border-radius: 24px; position: relative; background: #000; }
.lp-screen iframe { position: absolute; top: 0; left: 0; background: #fff; }
.lp-screen-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #0d0d0d; font-size: 12px; color: #4b5563; }
.lp-bezel-home { width: 36px; height: 4px; background: rgba(255,255,255,.18); border-radius: 2px; margin-top: 10px; flex-shrink: 0; }

/*** review.css — review.php, cliente_review.php ***/
/* Variaveis de tema claro escopadas em .review-page (body da pagina de review) */
.review-page {
  --bg:        #f5f5f3;
  --card:      #ffffff;
  --border:    #e5e7eb;
  --text:      #1a1a1a;
  --text-sub:  #6b7280;
  --text-muted:#9ca3af;
  background: var(--bg);
  color: var(--text);
}

/* Sticky Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,.1); height: 64px; display: flex; align-items: center; padding: 0 24px; gap: 20px; }
.header-logo-area { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.header-logo-area img { max-height: 40px; max-width: 130px; object-fit: contain; flex-shrink: 0; }
.header-client-name { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-center { font-size: 14px; font-weight: 400; color: var(--text-sub); white-space: nowrap; flex-shrink: 0; }
.header-counter { font-size: 14px; color: var(--text-sub); white-space: nowrap; flex-shrink: 0; }
.header-counter strong { color: #16a34a; font-weight: 700; }
.header-counter .changes-badge { color: #ef4444; font-weight: 700; }

.progress-bar-wrapper { position: fixed; top: 64px; left: 0; right: 0; z-index: 100; height: 3px; background: var(--border); }

/* Main — review layout */
.review-page .main { padding-top: 88px; padding-bottom: 100px; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Intro */
.intro-section { margin-bottom: 48px; }
.intro-title    { font-family: var(--font-display); font-size: 38px; letter-spacing: 2px; color: var(--brand); line-height: 1.1; margin-bottom: 10px; }
.intro-subtitle { font-size: 16px; color: var(--text-sub); font-weight: 400; line-height: 1.6; max-width: 580px; margin-bottom: 18px; }
.intro-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.intro-pill  { font-size: 13px; font-weight: 500; padding: 5px 14px; border-radius: 99px; background: rgba(0,0,0,.06); color: var(--text-sub); }
.intro-row   { display: flex; align-items: flex-start; gap: 40px; }
.intro-left  { flex: 1; min-width: 0; }
.intro-right { flex-shrink: 0; }

/* Week section */
.week-section { margin-bottom: 60px; }
.review-page .week-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--brand); }
.review-page .week-title  { font-family: var(--font-display); font-size: 32px; letter-spacing: 1.5px; color: var(--text); }
.week-range       { font-size: 13px; color: #9ca3af; font-weight: 400; margin-left: 12px; }
.week-count-badge { font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 20px; background: var(--accent); color: #fff; }
.week-description { font-size: 14px; color: #6b7280; font-weight: 400; line-height: 1.7; max-width: 640px; margin: 8px 0 24px 0; }

/* Posts layout */
.posts-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 0 24px; margin-bottom: 40px; }
.post-unit { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; width: clamp(320px, 45%, 480px); }
.post-unit--dual { width: clamp(640px, 92%, 980px); }

/* Interaction panel */
.interaction-panel { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--border); border-top: 2px solid var(--border); border-radius: 0 0 12px 12px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: border-top-color .25s; }
.interaction-panel.status-approved { border-top-color: #16a34a; }
.interaction-panel.status-changes  { border-top-color: var(--accent); }
.interaction-panel.status-pending  { border-top-color: var(--border); }

/* Status pills */
.status-pills { display: flex; gap: 6px; margin-bottom: 12px; }
.status-pill { flex: 1; padding: 7px 6px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; text-align: center; background: #f9fafb; color: var(--text-sub); transition: all .18s; font-family: var(--font-sans); }
.status-pill:hover             { border-color: #9ca3af; }
.status-pill.active-pending    { background: #f3f4f6; color: #6b7280; border-color: #9ca3af; }
.status-pill.active-approved   { background: #dcfce7; color: #16a34a; border-color: #16a34a; }
.status-pill.active-changes    { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); border-color: var(--accent); }

/* Comment */
.comment-wrap { position: relative; }
.comment-textarea { width: 100%; min-height: 80px; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 12px; font-family: var(--font-sans); font-size: 13px; color: var(--text); resize: vertical; outline: none; background: #fafafa; transition: border-color .2s; }
.comment-textarea:focus { border-color: var(--brand); background: #fff; }
.comment-textarea::placeholder { color: var(--text-muted); }
.saved-indicator { position: absolute; top: 8px; right: 10px; font-size: 11px; color: #16a34a; font-weight: 600; opacity: 0; transition: opacity .3s; }
.saved-indicator.show { opacity: 1; }

.btn-add-comment { flex: 1; padding: 7px 6px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; text-align: center; background: #fff; color: #6b7280; transition: all .18s; font-family: var(--font-sans); }
.btn-add-comment:hover  { border-color: #374151; color: #374151; }
.btn-add-comment.active { border-color: var(--accent); color: var(--accent); }
.comment-body      { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.comment-body.open { max-height: 220px; }
.btn-send-comment  { margin-top: 8px; width: 100%; padding: 9px 16px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.btn-send-comment:hover { opacity: .88; }

/* All reviewed */
.all-reviewed-banner { display: none; background: var(--card); border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px 24px; margin: 40px auto; max-width: 500px; text-align: center; }

/* Thank you */
.thankyou-wrap  { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.thankyou-logo  { max-height: 80px; max-width: 220px; object-fit: contain; margin-bottom: 32px; }
.thankyou-title { font-family: var(--font-display); font-size: 48px; letter-spacing: 2px; color: var(--brand); margin-bottom: 14px; }
.thankyou-sub   { font-size: 16px; color: var(--text-sub); max-width: 440px; line-height: 1.7; margin-bottom: 40px; }
.thankyou-brand { font-size: 13px; color: var(--text-muted); letter-spacing: 0.5px; margin-top: auto; padding-top: 40px; }
.thankyou-brand strong { color: var(--text-sub); font-weight: 600; }

/* Mockup overrides for light page */
.review-page .dual-caption-strip { background: #f9fafb; border-color: #e5e7eb; }
.review-page .dual-caption-text  { color: #1a1a1a; }
.review-page .dual-hashtags      { color: #1d4ed8; }
.review-page .dual-feedback-textarea { display: none; }
.review-page .ig-mockup { border-radius: 12px 12px 0 0; max-width: 440px; }
.review-page .fb-mockup { border-radius: 12px 12px 0 0; max-width: 440px; }
.review-page .dual-cards { margin-bottom: 0; }
.review-page .dual-caption-strip { margin-top: 12px; margin-bottom: 0; }

/* Calendar widget */
.cal-widget  { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; min-width: 280px; }
.cal-header  { margin-bottom: 14px; }
.cal-title   { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; color: var(--brand); }
.cal-grid    { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day-hdr { font-size: 11px; font-weight: 500; color: #9ca3af; text-transform: uppercase; text-align: center; padding: 4px 0 8px; letter-spacing: 0.3px; }
.cal-empty   { height: 38px; }
.cal-cell    { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px 0; cursor: default; }
.cal-cell[title] { cursor: pointer; }
.cal-day-num { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 13px; color: #1a1a1a; line-height: 1; }
.cal-cell--today .cal-day-num { background: #f3f4f6; font-weight: 600; }
.cal-cell--post  .cal-day-num { background: var(--accent); color: #fff; font-weight: 600; }
.cal-dot     { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.cal-nav-btn { background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 500; color: var(--text-sub); padding: 4px 8px; border-radius: 6px; transition: background .15s, color .15s; }
.cal-nav-btn:hover { background: #f3f4f6; color: var(--text); }

/* Review responsive */
@media (max-width: 768px) {
  .intro-row  { flex-direction: column; gap: 24px; }
  .intro-right { width: 100%; }
  .posts-row  { padding: 0; gap: 16px; }
  .post-unit  { width: 100%; max-width: 100%; }
}
@media (max-width: 600px) {
  .post-unit,
  .post-unit--dual { width: 100%; }
}
