/* marketing.css */
/* [LM_CHANGE][2026-02-03] Add top nav buttons: Marketing / Schedule / Chat */

:root{
  --bg:#050505;
  --card:#0b0b0b;
  --text:#ffffff;
  --muted:rgba(255,255,255,0.75);
  --muted2:rgba(255,255,255,0.55);
  --border:rgba(255,255,255,0.14);
  --border2:rgba(255,255,255,0.20);
  --error:#ff4d4d;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 600px at 20% 0%, #111 0%, var(--bg) 55%, #000 100%);
  color:var(--text);
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.brandRow{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 0;
}

.brand-logo{
  height:48px;
  width:auto;
  object-fit:contain;
  flex: 0 0 auto;
}

.navBtns{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.navBtn{
  height: 40px;
  display:inline-flex;
  align-items:center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  text-decoration:none;
  font-size: 14px;
  white-space: nowrap;
}

.navBtn:hover{
  border-color: rgba(255,255,255,0.32);
}

.navBtn.active{
  border-color: rgba(255,255,255,0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
}

.btn{
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  color: var(--text);
  cursor:pointer;
  flex: 0 0 auto;
}

.tag{
  font-size: 13px;
  color: var(--muted2);
  margin: 0 0 14px;
}

.card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 18px;
  padding: 16px;
}

.grid{
  display:grid;
  /* [LM_CHANGE][2026-02-04] Force true 50/50 split for Left/Right panels */
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.title{
  font-size: 26px;
  margin: 6px 0 10px;
}

.small{ font-size: 14px; color: var(--muted); }
.muted{ color: var(--muted2); }

.body{
  white-space: pre-wrap;
  line-height: 1.5;
}

.error{
  margin-top: 10px;
  color: var(--error);
  font-size: 14px;
}

.imgCell{
  /* [LM_CHANGE][2026-02-04] Let image panel stretch to match left content, keep a safe minimum height */
  min-height: 320px;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.imgCell img{
  /* [LM_CHANGE][2026-02-04] Keep image centered (no stretch); scale down if needed */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer{
  margin-top: 14px;
  text-align:center;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: 100%; }
  /* [LM_CHANGE][2026-02-04] On small screens, stack and keep image panel readable */
  .imgCell{ min-height: 260px; height: auto; }
  .brand-logo{ height:42px; }
  .navBtn{ height: 38px; padding: 0 12px; }
}

.adminIcon{
  margin-left:auto;
  height:40px;width:40px;
  display:inline-flex;
  align-items:center;justify-content:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.25);
  color:#fff;
  text-decoration:none;
  font-size:18px;
}


/* [LM_CHANGE][2026-02-10] Multi-promo list layout */
.promoList{display:flex;flex-direction:column;gap:16px;}
.promoItem{border:1px solid rgba(255,255,255,0.12);border-radius:18px;padding:16px;background:rgba(0,0,0,0.18);}
.promoGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;}
@media (max-width: 860px){.promoGrid{grid-template-columns:1fr;}}
.promoImgWrap{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.10);background:rgba(0,0,0,0.15);}
.promoImgWrap img{width:100%;height:auto;display:block;}


/* [LM_CHANGE][2026-02-10] Carousel (Next/Prev) for active promos */
.promoCarousel{display:flex;flex-direction:column;gap:12px;}
.carouselHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.carouselNav{display:flex;gap:10px;align-items:center;}
.promoStage{min-height: 120px;}
.promoDots{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:4px;}
.promoDot{width:10px;height:10px;border-radius:999px;border:1px solid rgba(255,255,255,0.35);background:rgba(255,255,255,0.08);cursor:pointer}
.promoDot.active{background:rgba(0,255,255,0.35);border-color:rgba(0,255,255,0.6);}
