/* ============================================================
   SALONIQA — Campaign AI (Phase 10, Batch D). Presentation only.
   Emerald -> Gold premium.
   ============================================================ */
.ca-container{ max-width:1100px; margin:0 auto; padding:28px 24px 60px; }
.ca-header{ margin-bottom:22px; }
.ca-header h1{ font-family:'Playfair Display',Georgia,serif; font-size:30px; color:#0D4F45; margin:0 0 6px; display:flex; align-items:center; gap:10px; }
.ca-spark{ color:#D4AF37; }
.ca-header p{ color:#666; margin:0; font-size:15px; }
.ca-disclaimer{ font-size:12.5px; color:#999; margin-top:8px; }

.ca-loading{ display:flex; gap:8px; justify-content:center; padding:60px 0; }
.ca-loading span{ width:12px; height:12px; border-radius:50%; background:#0D4F45; opacity:.3; animation:capulse 1s infinite ease-in-out; }
.ca-loading span:nth-child(2){ animation-delay:.15s; }
.ca-loading span:nth-child(3){ animation-delay:.3s; }
@keyframes capulse{ 0%,100%{ opacity:.3; transform:scale(.85); } 50%{ opacity:1; transform:scale(1); } }

.ca-inputs{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:20px; }
.ca-field{ display:flex; flex-direction:column; gap:6px; }
.ca-field > span{ font-size:13px; font-weight:600; color:#0D4F45; }
.ca-field select, .ca-field input{ padding:11px 14px; border:1px solid #e0e0e0; border-radius:10px; font-size:14px; font-family:inherit; color:#1A1A1A; background:#fff; outline:none; }
.ca-field select:focus, .ca-field input:focus{ border-color:#0D4F45; }

.ca-meta{ background:linear-gradient(135deg,#0D4F45,#072F2A); color:#fff; border-radius:14px; padding:18px 20px; margin-bottom:20px; }
.ca-meta-row{ display:flex; gap:12px; padding:6px 0; border-bottom:1px solid rgba(255,255,255,.1); font-size:13.5px; }
.ca-meta-row:last-child{ border-bottom:0; }
.ca-meta-k{ width:140px; flex-shrink:0; color:#D4AF37; font-weight:700; text-transform:uppercase; font-size:11px; letter-spacing:.5px; align-self:center; }
.ca-meta-v{ flex:1; line-height:1.5; word-break:break-word; }

.ca-outputs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; margin-bottom:20px; }
.ca-out{ background:#fff; border:1px solid #e0e0e0; border-radius:14px; padding:16px; box-shadow:0 1px 3px rgba(0,0,0,.06); border-top:3px solid #D4AF37; }
.ca-out-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; font-weight:600; font-size:14px; color:#1A1A1A; }
.ca-copy{ background:#0D4F45; color:#fff; border:0; border-radius:8px; padding:6px 14px; font-size:12.5px; font-weight:600; cursor:pointer; font-family:inherit; }
.ca-copy:hover{ background:#072F2A; }
.ca-out-text{ background:#F8F4EC; border-radius:10px; padding:13px 15px; font-size:13.5px; line-height:1.55; color:#1A1A1A; white-space:pre-line; min-height:90px; }

.ca-actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.ca-btn{ border:0; border-radius:10px; padding:11px 20px; font-weight:700; font-size:14px; cursor:pointer; font-family:inherit; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.ca-btn-gold{ background:#D4AF37; color:#1A1A1A; } .ca-btn-gold:hover{ background:#c39e2f; }
.ca-btn-wa{ background:#25D366; color:#fff; } .ca-btn-wa:hover{ background:#1da851; } .ca-btn-wa.disabled{ opacity:.45; pointer-events:none; }
.ca-btn-ghost{ background:transparent; color:#0D4F45; border:1px solid #0D4F45; } .ca-btn-ghost:hover{ background:#0D4F45; color:#fff; }
.ca-wa-note{ font-size:12.5px; color:#999; }
.ca-container .hidden{ display:none; }

@media(max-width:680px){ .ca-inputs{ grid-template-columns:1fr 1fr; } }
@media(max-width:480px){ .ca-inputs{ grid-template-columns:1fr; } .ca-outputs{ grid-template-columns:1fr; } .ca-meta-row{ flex-direction:column; gap:2px; } .ca-meta-k{ width:auto; } }
