/* =============================================
   Showcase Preview Page — showcase-preview.css
   ============================================= */

/* Hide the built-in submit button inside the snippet */
.showcase-form-inner > .btn[type="submit"] {
  display: none;
}

/* Action buttons row below the form */
.showcase-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding: 0 0 56px;
}

/* Body scroll lock when modal is open */
body.sc-preview-open {
  overflow: hidden;
}

/* Full-screen overlay (scrollable container) */
.sc-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px 64px;
}

.sc-preview-overlay[aria-hidden="true"] {
  display: none;
}

/* Modal card */
.sc-preview-inner {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 1200px;
  border-radius: 12px;
  overflow: hidden;
  margin: auto;
}

/* Close button */
.sc-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}

.sc-preview-close:hover {
  background: #f5f5f5;
}

/* Top notice banner */
.sc-preview-notice {
  background: #fff8e1;
  color: #7d5a00;
  padding: 10px 52px 10px 20px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #ffe083;
}

/* ── Image placeholders ─────────────────────────────────── */

.sc-img-placeholder {
  background: #f5f5f5;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
  border-radius: 6px;
  min-height: 80px;
  width: 100%;
  box-sizing: border-box;
}

/* Hero image area — tall enough to fill the browser mockup */
.sc-img-placeholder.sc-hero-ph {
  min-height: 280px;
}

/* Client / Agency logo areas */
.sc-img-placeholder.sc-logo-ph {
  height: 60px;
  min-height: 60px;
}

/* Author avatar */
.sc-img-placeholder.sc-avatar-ph {
  width: 48px;
  height: 48px;
  min-height: unset;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 10px;
  text-align: center;
}
