/* Boost & Promote — admin panel */
.boost-shell { max-width: 880px; margin: 0 auto; padding: 24px 16px 80px; }

.boost-hero { margin-bottom: 24px; }
.boost-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent, #2563eb); margin: 0 0 6px; }
.boost-title { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.boost-copy { color: #5b6473; font-size: 14px; line-height: 1.5; max-width: 640px; margin: 0 0 14px; }
.boost-slot-pill { display: inline-block; background: #eef2ff; color: #3949ab; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

.boost-panel { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 18px; }
.boost-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.boost-section-title { font-size: 16px; font-weight: 700; margin: 0; }
.boost-new-btn { white-space: nowrap; }

.boost-feedback { padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; background: #e7f6ec; color: #1b7e3c; }
.boost-feedback.is-error { background: #fdecec; color: #c0392b; }

.boost-empty { padding: 32px 12px; text-align: center; color: #8a92a0; font-size: 14px; }

/* cards */
.boost-list { display: flex; flex-direction: column; gap: 10px; }
.boost-card { display: flex; gap: 14px; align-items: center; border: 1px solid #e6e8ee; border-radius: 12px; padding: 12px; transition: border-color .15s; }
.boost-card:hover { border-color: #cdd3df; }
.boost-card-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; background: #f1f3f7; }
.boost-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.boost-card-thumb-empty { width: 100%; height: 100%; background: linear-gradient(135deg, #eef1f6, #e3e7ef); }
.boost-card-main { flex: 1 1 auto; min-width: 0; }
.boost-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.boost-card-title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boost-card-sub { font-size: 12px; color: #8a92a0; margin-top: 2px; }
.boost-meta { font-size: 12px; color: #6b7280; }

.boost-status-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; }
.boost-status-pill-live { background: #e7f6ec; color: #1b7e3c; }
.boost-status-pill-scheduled { background: #fff5e0; color: #b7791f; }
.boost-status-pill-ended { background: #f0f1f4; color: #6b7280; }
.boost-status-pill-inactive { background: #fdecec; color: #c0392b; }

.boost-badge-label { font-size: 12px; font-weight: 600; background: #eef2ff; color: #3949ab; padding: 2px 8px; border-radius: 6px; }
.boost-badge-hidden { background: #f0f1f4; color: #9aa1ad; font-weight: 500; }

.boost-card-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.boost-icon-btn { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; border: 1px solid #d8dce4; background: #fff; cursor: pointer; color: #374151; }
.boost-icon-btn:hover { background: #f5f6f9; }
.boost-icon-danger { color: #c0392b; border-color: #f0c4c0; }
.boost-icon-danger:hover { background: #fdecec; }

/* drawer */
.boost-drawer-overlay { position: fixed; inset: 0; background: rgba(17,24,39,.45); display: flex; justify-content: flex-end; z-index: 1200; }
.boost-drawer-overlay[hidden] { display: none; }
.boost-drawer { width: 460px; max-width: 100%; height: 100%; background: #fff; overflow-y: auto; padding: 20px; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
.boost-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.boost-drawer-head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.boost-drawer-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #9aa1ad; }

.boost-form { display: flex; flex-direction: column; gap: 16px; }
.boost-field { display: flex; flex-direction: column; gap: 6px; border: none; padding: 0; margin: 0; }
.boost-field-row { display: flex; gap: 12px; }
.boost-field-row .boost-field { flex: 1; }
.boost-label-text { font-size: 13px; font-weight: 600; color: #374151; }
.boost-hint { font-weight: 400; color: #9aa1ad; font-size: 12px; }

.boost-post-search { position: relative; }
.boost-post-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #e6e8ee; border-radius: 10px; margin-top: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 5; max-height: 260px; overflow-y: auto; }
.boost-post-result { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; padding: 9px 12px; border: none; background: none; cursor: pointer; border-bottom: 1px solid #f1f3f7; }
.boost-post-result:hover { background: #f5f6f9; }
.boost-post-result-title { font-size: 13px; font-weight: 600; color: #1f2937; }
.boost-post-result-id { font-size: 11px; color: #9aa1ad; }
.boost-post-empty { color: #9aa1ad; cursor: default; }
.boost-post-empty:hover { background: none; }

.boost-post-selected { background: #f5f6f9; border-radius: 10px; padding: 10px 12px; }
.boost-selected-row { display: flex; align-items: center; gap: 10px; }
.boost-selected-title { font-weight: 600; font-size: 13px; flex: 1; }
.boost-selected-id { font-size: 11px; color: #9aa1ad; }

.boost-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #374151; cursor: pointer; }
.boost-notify { display: flex; flex-direction: column; gap: 8px; }
.boost-notify #boostNotifyFields { display: flex; flex-direction: column; gap: 8px; }

.boost-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

body.boost-drawer-open { overflow: hidden; }

/* Optional boost label chip shown on a boosted feed card (reuses the
   recommendation chip layout, distinct accent). Hidden when no label is set. */
.posts-boost-chip {
  background: #eef2ff !important;
  color: #3949ab !important;
  border-color: #d7defb !important;
}

@media (max-width: 560px) {
  .boost-card { flex-wrap: wrap; }
  .boost-card-actions { width: 100%; justify-content: flex-end; }
  .boost-field-row { flex-direction: column; }
}
