/* iziWEDD Editor — clean light wedding palette, desktop only. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 1100px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  color: #3a3532;
  background: #f7f4ef;
}

button { font-family: inherit; }

/* The `hidden` attribute must always win over display rules below:
   author rules like `.btn-ghost { display: inline-flex }` override the
   UA stylesheet's `[hidden] { display: none }`, which is how the admin
   topbar buttons (Spremi predložak / Otvori JSON / Preuzmi JPG+JSON)
   leaked into the plain visitor version. */
[hidden] { display: none !important; }

/* ---------- topbar ---------- */

#topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 20px;
  background: #ffffff;
  border-bottom: 1px solid #e5ded3;
  flex: none;
}

#brand {
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #3a3532;
}
#brand .brand-strong { color: #6b2633; font-weight: 700; }

.topbar-spacer { flex: 1; }

/* ---------- workspace grid ---------- */

#workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 64px 280px 1fr 300px;
}

/* ---------- rail ---------- */

#rail {
  background: #ffffff;
  border-right: 1px solid #e5ded3;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.rail-btn {
  border: 0;
  background: transparent;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #6d645c;
  border-bottom: 1px solid #f0eae0;
}
.rail-btn:hover { background: #faf6f0; color: #3a3532; }
.rail-btn.active { background: #f3e9e6; color: #6b2633; }
.rail-btn.active .rail-ico { color: #6b2633; }

.rail-ico { font-size: 19px; line-height: 1; }
.rail-label { font-size: 10.5px; text-align: center; line-height: 1.25; }

/* ---------- library ---------- */

#library {
  background: #fcfaf6;
  border-right: 1px solid #e5ded3;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding: 16px 14px 30px;
}

.lib-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.lib-head h2 { margin: 0; font-size: 15px; font-weight: 600; }

#libSearchWrap {
  flex: 1;
  min-width: 0;
}

#libSearch {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #ddd4c6;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  background: #fff;
}

.lib-panel { display: none; }
.lib-panel.active { display: block; }

.lib-sub {
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8178;
}
.lib-sub:first-child { margin-top: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}

/* gap between the last handwritten-font row and the first regular-font
   row: same 8px as between the other rows (the removed group separator
   used to provide this space) */
#textGridRegular { margin-top: 8px; }

.lib-card {
  border: 1px solid #e3dbce;
  background: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: border-color .12s, box-shadow .12s;
}
.lib-card:hover { border-color: #b9a48f; box-shadow: 0 2px 8px rgba(90, 70, 50, .10); }

.lib-card img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  background:
    linear-gradient(45deg, #f6f2ea 25%, transparent 25%, transparent 75%, #f6f2ea 75%),
    linear-gradient(45deg, #f6f2ea 25%, #fff 25%, #fff 75%, #f6f2ea 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}

.lib-card .card-name {
  font-size: 9.5px;
  color: #8a8178;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lib-card .font-sample {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  overflow: hidden;
  line-height: 1.1;
  padding: 4px;
}

.paper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.paper-card {
  border: 2px solid #e3dbce;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.paper-card img { width: 100%; height: 108px; object-fit: cover; border-radius: 8px; }
.paper-card .paper-name { font-size: 12px; font-weight: 600; text-align: center; }
.paper-card .paper-tag { font-size: 10px; color: #8a8178; text-align: center; }
.paper-card.selected { border-color: #6b2633; }

.upload-box {
  border: 2px dashed #d8cdbd;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  background: #fff;
}
.upload-box p { margin: 8px 0; line-height: 1.45; }
.upload-title { font-weight: 600; }
.upload-msg { min-height: 18px; color: #6b2633; font-size: 12.5px; }

.empty-note {
  border: 1px solid #e3dbce;
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.empty-note p { margin: 6px 0; line-height: 1.45; }
.muted { color: #8a8178; font-size: 12.5px; }

/* ---------- templates ---------- */

.admin-badge {
  background: #6b2633;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 9px;
}

.tpl-admin { margin-bottom: 12px; }

#tplSaveForm { margin-top: 10px; }

.tpl-save-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
#tplName {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd4c6;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  background: #fff;
}
#tplName::placeholder { color: #a89e92; }

.upload-msg.error { color: #b3261e; }

.tpl-card { position: relative; }
.tpl-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 665;
  object-fit: cover;
  border-radius: 7px;
  background: #f6f2ea;
}
.tpl-card .card-name {
  font-size: 10.5px;
  color: #4a4238;
  padding: 2px 2px 0;
}
.tpl-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 19px;
  height: 19px;
  line-height: 17px;
  padding: 0;
  border: 1px solid #e3dbce;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #6b2633;
  font-size: 12px;
  cursor: pointer;
}
.tpl-del:hover { background: #6b2633; color: #fff; border-color: #6b2633; }

/* ---------- stage ---------- */

#stage {
  background: #ece7df;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  /* zoom > 100% grows the canvas element beyond the stage: scroll to
     reach the full paper instead of clipping it (overflow:hidden used
     to cut the bottom strip of the design). */
  overflow: auto;
  position: relative;
}

#stageInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* margin:auto on a flex child: centered with room to spare (identical
     to the old align/justify centering), pinned top-left when oversized
     so the overflow stays scroll-reachable. */
  margin: auto;
}

#canvasShell {
  position: relative;
  box-shadow: 0 14px 40px rgba(70, 50, 35, .22);
  border-radius: 3px;
  overflow: hidden;
  /* zoom <= 100%: CSS scale on this whole shell (mockup frame included);
     zoom > 100%: no scale here — the canvas element grows instead, so the
     overflow:hidden border clipping never cuts into the design */
  transform-origin: center center;
}
#paperCanvas { display: block; background: #fff; }

/* sheet-edge depth, mockup style: light comes from the top-left, so
   the top and left edges carry a soft translucent white highlight
   (deliberately not a full-white glare) while the bottom and right
   edges fall into a dark shadow. Each edge is a crisp 1px inset line,
   so the sheet reads as a physical card with 3D depth and a visible
   hint of paper thickness. Purely presentational: pointer-events:none,
   and the exported previews are captured from the fabric canvas, so
   this never leaks into order images or template files. */
#paperEdge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 1px 0 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(70, 50, 35, 0.22),
    inset -1px 0 0 rgba(70, 50, 35, 0.28);
}

/* subtle dashed outline of the layer under the cursor (see app.js) */
#hoverBox {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  pointer-events: none;
  box-sizing: border-box;
  border: 1px dashed rgba(107, 38, 51, 0.5);
  border-radius: 3px;
  opacity: 0.6;
}

#zoomBar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e3dbce;
  border-radius: 10px;
  padding: 5px 10px;
}
#zoomLabel { min-width: 42px; text-align: center; font-size: 12px; color: #6d645c; }

/* ---------- buttons ---------- */

.btn-primary {
  background: #6b2633;
  color: #fff;
  border: 1px solid #6b2633;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background .12s;
}
.btn-primary:hover:not(:disabled) { background: #7d3040; }
.btn-primary:disabled { opacity: .45; cursor: default; }
.btn-primary.btn-big { font-size: 16px; padding: 14px 34px; }

.btn-ghost {
  background: #fff;
  border: 1px solid #ddd4c6;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: #4a443f;
  cursor: pointer;
}
.btn-ghost:hover:not(:disabled) { border-color: #b9a48f; background: #faf6f0; }
.btn-ghost:disabled { opacity: .45; cursor: default; }
.btn-ghost.active-state { border-color: #6b2633; color: #6b2633; background: #f3e9e6; }

.btn-danger {
  background: #fff;
  border: 1px solid #d3a9a3;
  color: #8c3a32;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
}
.btn-danger:hover { background: #fbf1ef; border-color: #8c3a32; }

/* ---------- props panel ---------- */

#props {
  background: #fcfaf6;
  border-left: 1px solid #e5ded3;
  overflow-y: auto;
  min-height: 0;
  padding: 16px 14px 8px;
}

.props-empty { color: #8a8178; text-align: center; padding: 30px 10px; font-size: 13px; line-height: 1.6; }

/* right options panel: buttons and fields are ~20% slimmer than the
   base styles so the whole group fits without scrolling */
.props-group h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b2633;
}

.props-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}
.props-row label { font-size: 12px; color: #6d645c; }
.props-row .val { color: #3a3532; font-weight: 600; }

.props-row input[type="range"] { width: 100%; accent-color: #6b2633; }
#props .props-row input[type="color"] { width: 100%; height: 32px; border: 1px solid #ddd4c6; border-radius: 8px; padding: 2px; background: #fff; cursor: pointer; }
#textContent { width: 100%; min-height: 44px; border: 1px solid #ddd4c6; border-radius: 8px; padding: 6px 8px; font-size: 14px; line-height: 1.4; resize: vertical; background: #fff; color: #3a3532; }
.lib-card-info { align-items: flex-start !important; justify-content: flex-start !important; color: #8a6d5a; font-size: 13px; padding: 12px; border-style: dashed; }

.props-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* duži labeli pomicanja slojeva — omotaju se čisto u svojim polutama */
.props-grid2 #actForward, .props-grid2 #actBackward,
.props-grid2 #actForwardT, .props-grid2 #actBackwardT {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  padding: 4px 5px;
}
#props .btn-ghost { font-size: 12px; padding: 4px 8px; }
#props .btn-danger { font-size: 12.5px; padding: 7px 10px; }
.props-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.props-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
/* the long "Centriraj horizontalno" label - wraps cleanly inside the narrow third cell */
.props-grid3 .btn-ghost {
  font-size: 11px;
  line-height: 1.2;
  padding: 4px 5px;
  text-align: center;
}
/* action-button icons: 50px source PNGs scaled down to fit the buttons */
.btn-ico { width: 14px; height: 14px; flex: none; }
.btn-ghost, .btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; }

/* the 15px previews are the deliberate "bigger font samples" look; the
   slimmer padding + row margins (above) keep the whole group inside the
   fixed-height panel without scrolling */
#fontSelect {
  width: 100%;
  border: 1px solid #ddd4c6;
  border-radius: 8px;
  font-size: 15px;
  padding: 2px;
  background: #fff;
}
#fontSelect option { font-size: 15px; padding: 1px 6px; }

.swatch-row { display: flex; gap: 5px; flex-wrap: wrap; }
.swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ddd4c6;
  cursor: pointer;
}

/* ---------- wizard ---------- */

#wizardOverlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 34, 29, .55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
#wizardOverlay[hidden] { display: none; }

#wizard {
  position: relative;
  width: min(1180px, 94vw);
  height: min(840px, 92vh);
  background: #fdfbf8;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(30, 20, 15, .4);
  display: grid;
  grid-template-columns: 1fr 330px;
  overflow: hidden;
}

.wizard-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

#wizardMain {
  padding: 26px 30px;
  overflow-y: auto;
  min-height: 0;
}

#wizardSteps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
#wizardSteps li {
  font-size: 11.5px;
  color: #8a8178;
  background: #f0eae0;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
#wizardSteps li.current { background: #6b2633; color: #fff; font-weight: 600; }
#wizardSteps li.done { background: #e4ded2; color: #4a443f; }

.wz-step { display: none; }
.wz-step.active { display: block; }
.wz-step h2 { margin: 0 0 4px; font-size: 19px; }

.wz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.wz-actions-center { justify-content: center; margin-top: 14px; }

.env-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
/* wide screens: 5 shapes per row (2 rows of 5), 8 colors in 2 rows of 4 */
#shapeGrid { grid-template-columns: repeat(5, 1fr); }
#colorGrid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1254px) {
  #shapeGrid { grid-template-columns: repeat(4, 1fr); }
  #colorGrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 999px) {
  #shapeGrid { grid-template-columns: repeat(3, 1fr); }
  #colorGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 759px) {
  #shapeGrid, #colorGrid { grid-template-columns: repeat(2, 1fr); }
}
.env-card {
  border: none;
  border-radius: 10px;
  background: #f6f2ea;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 1px 4px rgba(70,50,35,.10);
  transition: box-shadow .15s ease;
}
.env-card:hover { box-shadow: 0 3px 10px rgba(70,50,35,.20); }
.env-card img { width: 100%; height: 112px; object-fit: contain; background: transparent; border-radius: 6px; }
.env-card .env-swatch { width: 100%; height: 112px; border-radius: 6px; border: 1px solid rgba(70, 50, 35, 0.12); }
.env-card .env-name { font-size: 12px; font-weight: 600; text-align: center; }
.env-card .env-code { font-size: 10.5px; color: #8a8178; text-align: center; }
.env-card.selected { box-shadow: 0 0 0 2px #6b2633, 0 3px 10px rgba(70,50,35,.18); }
/* wizard envelope cards: 1.5x zoom on hover so clients can inspect the shapes and colors */
#wzShape .env-card, #wzColor .env-card { position: relative; transition: transform .18s ease, box-shadow .18s ease; }
#wzShape .env-card:hover, #wzColor .env-card:hover { transform: scale(1.5); z-index: 30; box-shadow: 0 18px 44px rgba(30, 20, 15, .30); }
/* edge columns anchor outward so the scaled card is not clipped by the wizard scroll area */
@media (min-width: 1255px) {
  #shapeGrid .env-card:nth-child(5n+1), #colorGrid .env-card:nth-child(4n+1) { transform-origin: left center; }
  #shapeGrid .env-card:nth-child(5n+5), #colorGrid .env-card:nth-child(4n) { transform-origin: right center; }
}
@media (min-width: 1000px) and (max-width: 1254px) {
  #shapeGrid .env-card:nth-child(4n+1), #colorGrid .env-card:nth-child(3n+1) { transform-origin: left center; }
  #shapeGrid .env-card:nth-child(4n+4), #colorGrid .env-card:nth-child(3n) { transform-origin: right center; }
}
@media (min-width: 760px) and (max-width: 999px) {
  #shapeGrid .env-card:nth-child(3n+1), #colorGrid .env-card:nth-child(2n+1) { transform-origin: left center; }
  #shapeGrid .env-card:nth-child(3n+3), #colorGrid .env-card:nth-child(2n) { transform-origin: right center; }
}

.qty-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
#qtyInput {
  width: 130px;
  border: 1px solid #ddd4c6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 18px;
  background: #fff;
}
.qty-price div { margin: 2px 0; font-size: 14px; }
#qtyUnit { font-weight: 600; }

.field-error { color: #8c3a32; font-size: 12px; min-height: 16px; margin-top: 4px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 16px;
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field.field-wide { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; }
.field .req { color: #8c3a32; }
.field input, .field textarea {
  border: 1px solid #ddd4c6;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 13.5px;
  font-family: inherit;
  background: #fff;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 2px solid rgba(107, 38, 51, .35); border-color: #6b2633; }
.field .field-error { min-height: 14px; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.review-card {
  border: 1px solid #e3dbce;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}
.review-card h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b2633; }
.review-card img { max-width: 100%; max-height: 330px; display: block; margin: 0 auto; box-shadow: 0 4px 14px rgba(70,50,35,.15); }

.accept-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 13.5px;
  cursor: pointer;
  line-height: 1.45;
}
.accept-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: #6b2633; }
.accept-row.accept-prominent {
  justify-content: center;
  margin: 22px 0 14px;
  padding: 13px 16px;
  background: #f6f1e8;
  border: 1px solid #e3dbce;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.accept-row.accept-prominent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

#submitMsg { max-width: 560px; }

.done-box { text-align: center; padding: 60px 30px; }
.done-ico {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #4b6b4b;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.done-box h2 { margin: 0 0 12px; font-size: 22px; }
.done-box p { margin: 8px auto; max-width: 520px; line-height: 1.6; }
#btnBackSite { display: block; margin: 22px auto 0; }

/* ---------- wizard side ---------- */

#wizardSide {
  border-left: 1px solid #e5ded3;
  background: #fff;
  padding: 22px 20px;
  overflow-y: auto;
  min-height: 0;
}
#wizardSide h3 { margin: 0 0 12px; font-size: 14px; }

.side-preview { margin-bottom: 16px; }
#sideDesign { width: 100%; max-width: 190px; display: block; margin: 0 auto 10px; box-shadow: 0 4px 14px rgba(70,50,35,.15); }
.side-meta { display: flex; flex-direction: column; gap: 4px; }
.side-meta .m-line { display: flex; justify-content: space-between; font-size: 12px; color: #4a443f; }
.side-meta .m-line b { font-weight: 600; }
.side-meta .env-thumb { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.side-meta .env-thumb img { width: 40px; height: 30px; object-fit: contain; background: #f6f2ea; border-radius: 4px; }

.price-list { margin: 0; }
.price-list > div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #eee6d9; font-size: 13px; }
.price-list dt { color: #6d645c; }
.price-list dd { margin: 0; font-weight: 600; }
.price-list .pl-total { border-bottom: 0; margin-top: 4px; }
.price-list .pl-total dt { font-size: 15px; color: #3a3532; }
.price-list .pl-total dd { font-size: 17px; color: #6b2633; }

.cjenik { margin-top: 18px; background: #faf7f2; border: 1px solid #ece5d8; border-radius: 12px; padding: 12px 14px; }
.cjenik h4 { margin: 0 0 8px; font-size: 12px; }
.cjenik dl { margin: 0; }
.cjenik > dl > div { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }
.cjenik dt { color: #6d645c; }
.cjenik dd { margin: 0; font-weight: 600; }

/* ---------- scrolling ---------- */

#library::-webkit-scrollbar, #props::-webkit-scrollbar, #wizardMain::-webkit-scrollbar, #wizardSide::-webkit-scrollbar, #rail::-webkit-scrollbar { width: 9px; }
#library::-webkit-scrollbar-thumb, #props::-webkit-scrollbar-thumb, #wizardMain::-webkit-scrollbar-thumb, #wizardSide::-webkit-scrollbar-thumb, #rail::-webkit-scrollbar-thumb { background: #d8cdbd; border-radius: 99px; }
