/* ===== SIGN CUSTOMIZER PRO v2 — NCPC STYLE ===== */
*, *::before, *::after { box-sizing: border-box; }

.scp-full-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 700px;
  margin: 0 -20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  position: relative;
}
@media(max-width:900px){
  .scp-full-wrap { grid-template-columns: 1fr; }
}

/* ===== LEFT PANEL — PREVIEW ===== */
.scp-left-panel {
  position: relative;
  background: #1a2a1a;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="%23162216"/><rect width="1" height="1" fill="%231e301e"/></svg>');
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

/* Top bar */
.scp-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(0,0,0,0.4);
  z-index: 2;
}
.scp-onoff-wrap { display: flex; gap: 0; border: 1px solid #444; border-radius: 4px; overflow: hidden; }
.scp-toggle {
  padding: 5px 14px;
  background: #222;
  color: #888;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.scp-toggle.active { background: #0d6efd; color: #fff; }
.scp-live-price {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

/* Canvas */
.scp-canvas {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}
.scp-canvas-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 100px;
  padding: 24px 32px;
  transition: all 0.4s;
}
.scp-preview-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scp-neon-line {
  font-family: 'Pacifico', cursive;
  font-size: clamp(26px, 5vw, 72px);
  color: #00eeff;
  text-shadow:
    0 0 6px currentColor,
    0 0 12px currentColor,
    0 0 28px currentColor,
    0 0 56px currentColor;
  transition: all 0.35s ease;
  line-height: 1.15;
  white-space: nowrap;
  animation: scp-flicker 6s infinite alternate;
  text-align: center;
}
@keyframes scp-flicker {
  0%,88%,100%{ opacity:1 }
  90%{ opacity:0.9 }
  95%{ opacity:0.97 }
}
/* OFF state */
.scp-canvas.is-off .scp-neon-line {
  animation: none;
  text-shadow: none;
  opacity: 0.25;
  filter: grayscale(1);
}

/* Dimension lines */
.scp-dim-width {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.scp-dim-line { display: inline-block; width: 30px; height: 1px; background: rgba(255,255,255,0.4); }
.scp-dim-label { font-size: 11px; color: rgba(255,255,255,0.55); }
.scp-dim-height {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.scp-dim-line-v { display: inline-block; width: 1px; height: 20px; background: rgba(255,255,255,0.4); }
.scp-dim-label-v { font-size: 11px; color: rgba(255,255,255,0.55); writing-mode: vertical-rl; }

/* Logo overlay */
#scp-logo-overlay { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); }
#scp-logo-img { max-height: 60px; max-width: 120px; object-fit: contain; opacity: 0.85; }

/* AI bar */
.scp-ai-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.scp-ai-icon { font-size: 16px; }
.scp-ai-bar-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  color: #fff;
  outline: none;
}
.scp-ai-bar-input::placeholder { color: rgba(255,255,255,0.35); }
.scp-ai-bar-btn {
  background: #5b4fcf;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.scp-ai-bar-btn:hover { background: #4a3fbe; }
.scp-ai-tip-bar {
  padding: 8px 14px;
  background: rgba(91,79,207,0.25);
  color: #c4b8ff;
  font-size: 12px;
  border-top: 1px solid rgba(91,79,207,0.3);
}
/* SVG bar */
.scp-svg-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.scp-svg-btn {
  background: #0f3460;
  color: #FFE4B5;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.scp-svg-btn:hover { background: #1a4e8a; }
.scp-svg-note { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ===== RIGHT PANEL — CONTROLS ===== */
.scp-right-panel {
  background: #fff;
  border-left: 1px solid #e0e0e0;
  overflow-y: auto;
  max-height: 85vh;
  position: sticky;
  top: 80px;
  padding-bottom: 32px;
}
.scp-panel-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111;
  padding: 18px 18px 10px;
  border-bottom: 1px solid #f0f0f0;
}

/* Sections */
.scp-section {
  padding: 14px 18px;
  border-bottom: 1px solid #f3f3f3;
}
.scp-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #222;
  margin-bottom: 10px;
}
.scp-section-sublabel {
  font-size: 11px;
  color: #888;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Multi-line tabs */
.scp-multiline-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.scp-mtab {
  padding: 5px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 12px;
  cursor: pointer;
  color: #555;
}
.scp-mtab.active { background: #0d6efd; color: #fff; border-color: #0d6efd; }

/* Text area */
.scp-textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
}
.scp-textarea:focus { border-color: #0d6efd; }

/* Text align */
.scp-align-row { display: flex; gap: 6px; margin-top: 8px; }
.scp-align-btn {
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}
.scp-align-btn.active { background: #0d6efd; color: #fff; border-color: #0d6efd; }

/* Multi-line inputs */
.scp-line-field {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  margin-bottom: 7px;
  outline: none;
}
.scp-line-field:focus { border-color: #0d6efd; }
.scp-add-line {
  background: none;
  border: 1px dashed #bbb;
  border-radius: 6px;
  padding: 7px 12px;
  color: #777;
  font-size: 12px;
  cursor: pointer;
  width: 100%;
}

/* Font select */
.scp-select-field {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  background: #fff;
  outline: none;
}

/* Size grid */
.scp-size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.scp-size-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all .2s;
}
.scp-size-card:hover { border-color: #0d6efd; }
.scp-size-card.active { border-color: #0d6efd; background: #eff6ff; }
.scp-size-name { font-size: 13px; font-weight: 700; color: #111; }
.scp-size-dim { font-size: 11px; color: #888; margin-top: 3px; line-height: 1.4; }

/* Custom sliders */
.scp-custom-size { margin-top: 4px; }
.scp-slider-row { margin-bottom: 10px; }
.scp-slider-row label { font-size: 12px; color: #555; display: block; margin-bottom: 5px; }
.scp-range {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  outline: none;
}
.scp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #0d6efd;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(13,110,253,.4);
}

/* Color dots */
.scp-color-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.scp-color-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all .2s;
  outline: none;
}
.scp-color-dot:hover { transform: scale(1.15); }
.scp-color-dot.active { border-color: #111; transform: scale(1.2); box-shadow: 0 0 0 2px #fff inset; }

/* Option cards (material, jacket, mounting, backboard) */
.scp-option-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  padding: 11px 14px;
  margin-bottom: 7px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.scp-option-card:hover { border-color: #93c5fd; }
.scp-option-card.active { border-color: #0d6efd; background: #eff6ff; }
.scp-option-top { display: flex; justify-content: space-between; align-items: center; }
.scp-option-name { font-size: 13px; font-weight: 600; color: #111; }
.scp-option-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: transparent;
  flex-shrink: 0;
}
.scp-option-card.active .scp-option-check {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}
.scp-option-desc { font-size: 11px; color: #888; margin-top: 4px; line-height: 1.4; }

/* Upload */
.scp-upload-box {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  color: #555;
  font-size: 13px;
  transition: all .2s;
}
.scp-upload-box:hover, .scp-upload-box.drag { border-color: #0d6efd; background: #eff6ff; }
.scp-upload-sub { font-size: 11px; color: #aaa; margin-top: 5px; }
.scp-upload-info { display: flex; align-items: center; gap: 10px; background: #f0fdf4; border: 1px solid #86efac; border-radius: 7px; padding: 9px 12px; margin-top: 8px; font-size: 13px; color: #166534; }
.scp-remove-logo-btn { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 12px; }
.scp-optional { font-size: 11px; font-weight: 400; color: #aaa; }

/* Price summary */
.scp-price-summary {
  margin: 12px 18px;
  background: #1a1a2e;
  border-radius: 10px;
  padding: 18px 20px;
  color: #fff;
}
.scp-price-row { display: flex; justify-content: space-between; align-items: center; }
.scp-price-row span:first-child { font-size: 13px; opacity: .7; }
.scp-price-big { font-size: 28px; font-weight: 800; color: #FFE4B5; }
.scp-price-note { font-size: 11px; opacity: .45; margin-top: 6px; }

/* Quote block */
.scp-quote-block { padding: 14px 18px; }
.scp-quote-heading { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.scp-q-input { width: 100%; border: 1px solid #e0e0e0; border-radius: 6px; padding: 9px 12px; font-size: 13px; margin-bottom: 8px; outline: none; }
.scp-q-input:focus { border-color: #0d6efd; }
.scp-quote-submit-btn { width: 100%; background: linear-gradient(135deg,#667eea,#764ba2); color: #fff; border: none; padding: 13px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.scp-quote-msg { margin-top: 10px; padding: 10px 14px; border-radius: 7px; font-size: 13px; }
.scp-quote-msg.success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.scp-quote-msg.error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* Google Fonts needed for preview */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Dancing+Script:wght@700&family=Lobster&family=Righteous&family=Permanent+Marker&family=Satisfy&display=swap');

/* ===== DEMO / SAMPLE DATA ADDITIONS ===== */

/* Quick suggestions bar */
.scp-suggestions-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.scp-sug-label { font-size: 11px; color: rgba(255,255,255,0.45); white-space: nowrap; }
.scp-sug-btn {
  padding: 5px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
}
.scp-sug-btn:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.3); }

/* Font preview strip */
.scp-font-preview-strip {
  display: flex; flex-wrap: nowrap; gap: 8px;
  overflow-x: auto; padding: 10px 0 4px;
  margin-top: 8px;
  scrollbar-width: thin;
}
.scp-font-chip {
  flex-shrink: 0;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  text-align: center;
  font-size: 22px;
  min-width: 70px;
  line-height: 1.2;
  transition: all .2s;
  background: #fafafa;
}
.scp-font-chip:hover { border-color: #0d6efd; }
.scp-font-chip.active { border-color: #0d6efd; background: #eff6ff; }
.scp-chip-name { display: block; font-size: 9px; color: #9ca3af; font-family: sans-serif !important; margin-top: 4px; }

/* Color selected label */
.scp-color-selected { font-size: 12px; color: #6b7280; margin-top: 10px; }

/* Material starting price */
.scp-option-price { font-size: 12px; color: #4f46e5; font-weight: 600; margin-top: 5px; }

/* Price breakdown */
.scp-price-breakdown { font-size: 11px; opacity: .55; margin-top: 6px; line-height: 1.7; }

/* Top meta */
.scp-top-meta { text-align: right; }
.scp-top-label { display: block; font-size: 10px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }

/* Quote block description */
.scp-quote-desc { font-size: 12px; color: #6b7280; margin: -6px 0 12px; }
