#designer-controller {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
}

.autoFillFavoritePickerModal {
  width: min(720px, calc(100vw - 32px)) !important;
  min-width: min(720px, calc(100vw - 32px)) !important;
  max-width: min(720px, calc(100vw - 32px)) !important;
}

.autoFillFavoritePickerModal .modal-title-edit-folder {
  width: auto;
  min-width: 280px;
  margin: 0;
}

.autoFillFavoritesContent {
  min-height: 0;
  pointer-events: auto;
}

.autoFillFavoritePickerModal {
  pointer-events: auto;
}

.autoFillFavoriteZoom .btn {
  min-width: 38px;
  min-height: 34px;
}

.autoFillFavoritesGrid {
  display: grid;
  gap: 14px;
  max-height: min(48vh, 420px);
  overflow-y: auto;
  padding: 4px 4px 10px;
}

.autoFillFavoriteCard {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f6f6f6;
  box-shadow: 0 4px 14px rgb(43 43 43 / 10%);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.autoFillFavoriteCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(43 43 43 / 18%);
}

.autoFillFavoriteCard.is-selected {
  border-color: #c8b93c;
  box-shadow: 0 0 0 3px rgb(200 185 60 / 24%);
}

.autoFillFavoriteImage {
  display: block;
  width: 100%;
  height: auto;
  max-height: 158px;
  object-fit: contain;
  background: #ececec;
}

.autoFillFavoriteName {
  display: block;
  overflow: hidden;
  padding: 7px 8px;
  color: #2b2b2b;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Az editor sajat belso paneljei (fotoktar, layout-lista, stb.) gorgethetok,
   de maga az OLDAL soha - korabban hianyzott a magassag-korlat es az
   `overflow: hidden`, ezert ha a belso tartalom (pl. hosszu fotolista) a
   100vh-nal magasabbra nyult, az egesz oldal gorgethetove valt, ami a
   felhasznalo szerint zavaro volt. */
#design-container {
  background-color: #e5e5e5;
  height: 100vh;
  overflow: hidden;
}

/* A globális GDPR/süti-kezelő a publikus oldalakhoz tartozik, nem az editorhoz. */
#design-container ~ .siteCookieConsent,
#design-container ~ .siteCookieConsentLauncher {
  display: none !important;
}

body:has(#design-container):not(:has([data-editor-embed])) .siteCookieConsent,
body:has(#design-container):not(:has([data-editor-embed])) .siteCookieConsentLauncher {
  display: none !important;
}

#designer-controller .header {
  background-color: #e5e5e5;
}

#designer-controller .header .editor-navigations-wrap {
  padding: 2px 4px;
  margin: 8px 10px 0;
}

.header-icon-close {
  color: #c1bd4e;
}

.header-icon-support {
  color: #38b969;
}

.header-icon-help {
  color: #0d6efd;
}

.header-right {
  color: #c1be4e;
  cursor: pointer;
}

.header-right-btn {
  cursor: pointer;
  text-shadow: 1px 1px 2px #0000;
  background-color: #315040;
  padding: 12px 24px;
  border-radius: 16px;
  color: #f8f9fa;
}

.header-icon-center-folder {
  font-size: 21px;
  color: #0d6efd;
  cursor: pointer;
}

.editor-sidebar-contents {
  border-radius: 20px;
  padding-top: 16px;
  height: 100%;
  overflow: hidden;
}
.header-icon-center-trash3 {
  font-size: 15px;
  color: #ea5859;
  cursor: pointer;
}

.header-btn-left {
  background-color: #a8ca7f;
  color: #fff;
  text-shadow: 1px 1px 2px #000000;
  border: none;
  border-radius: 16px;
  padding: 6px 30px;
}

.editor-tab-content {
  border-radius: 20px;
  background-color: #ffffff;
  height: 100%;
}

.editor-tab-content > .tab-pane {
  height: 100%;
}

.editor-navigations {
  padding: 1px;
  border-bottom: 1px solid #eef2f8;
  background-color: #f7f7f7;
  margin-right: 1.5rem;
  border-radius: 16px;
}

.editor-workspace {
  width: 100%;
  height: calc(100vh - 67px);
  display: flex;
}

.text-capitalize {
  text-transform: uppercase !important;
}

.text-size-sm {
  font-size: 13px;
}

.text-size-s {
  font-size: 16px;
}

.size-icon-sm {
  font-size: 24px;
}

/*
 .btn-check:focus+.btn, .btn:focus{
  box-shadow: unset
}  */

#arrow-up,
#value-display,
#arrow-down {
  cursor: pointer;
  user-select: none;
  color: #bcc05b;
}

.pointer {
  cursor: pointer;
}

#selector div.blur:hover {
  opacity: 1;
  transform: scale(1.05);
}

#arrow-up:hover,
#arrow-down:hover {
  transform: scale(1.2);
}

.tab-bg .tabs-nav .nav-link:hover {
  color: #ffffff;
}

.editor-sidebar {
  width: 308px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px 8px 12px 20px;
  position: relative;
}

.editor-sidebar .tabs-nav {
  background-color: #2b2b2b;
  height: 50px;
  width: 100%;
  border-radius: 20px;
}

.btn-check:active + .btn-light:focus,
.btn-check:checked + .btn-light:focus,
.btn-light.active:focus,
.btn-light:active:focus,
.show > .btn-light.dropdown-toggle:focus {
  box-shadow: unset !important;
}

.btn-check:focus + .btn-light,
.btn-light:focus {
  box-shadow: unset !important;
}

.editor-sidebar .tabs-content {
  width: 100%;
  height: 100%;
}

.editor-sidebar .tabs-nav .nav-item {
  width: 25%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  cursor: pointer;
}

.editor-sidebar .tabs-nav .nav-link > i {
  font-size: 25px;
  line-height: 1;
}

.editor-sidebar .nav-pills .nav-link.active {
  background-color: transparent;
}

.editor-sidebar-tabs button.editor-sidebar-tab-button,
.editor-sidebar-tabs button.editor-sidebar-tab-button:hover,
.editor-sidebar-tabs button.editor-sidebar-tab-button:focus,
.editor-sidebar-tabs button.editor-sidebar-tab-button:focus-visible,
.editor-sidebar-tabs button.editor-sidebar-tab-button:active,
.editor-sidebar-tabs button.editor-sidebar-tab-button.active,
.editor-sidebar-tabs button.editor-sidebar-tab-button.active:focus {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.editor-sidebar-tabs .nav-item,
.editor-sidebar-tabs .nav-item:focus,
.editor-sidebar-tabs .nav-item:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.editor-sidebar .nav-pills .nav-link i {
  color: #d1d1d1;
}

.editor-sidebar .nav-pills .nav-link.active i {
  color: #ffff;
  border-bottom: 3px solid;
}

/* Main */

.editor-workspace .main {
  height: 100%;
  width: calc(100vw - 320px);
  background-color: #e5e5e5;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* `justify-content: space-around` + `align-items: center` - a legacy
   `.printcart-stages w-100 d-flex align-items-center justify-content-around`
   megfeleloje (views/designtool.php:1166): a lapozo nyilak a vaszon ket
   oldalan kapnak helyet, ezert a vaszon NEM tolti ki teljesen a teruletet. */
#editor-stages {
  overflow: hidden;
  height: calc(100% - 120px);
  display: flex;
  /* Explicit `row`, mert az elemen a `.main` osztaly is rajta van, ami
     `.editor-workspace .main`-kent `flex-direction: column`-t allit -
     enelkul a lapozo nyilak a vaszon fole/ala kerulnek, nem melle. */
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

/* A tervezofelulet a rendelkezesre allo teruletet toltse ki es legyen
   kozepre igazitva - a legacy `calcViewport()` + `fitRectangle()` parja
   (assets/js/app.js:506-563). A `.stage-main` a MERT nezet: ennek a
   client-merete adja a `CanvasStage` szamara az elerheto helyet, ezert
   itt nem lehet padding (a clientWidth beleszamitana) - a keret-terkoz
   a `.stages-inner`-en van. A korabbi allapotban ezek a szabalyok
   hianyoztak, ezert a vaszon a bal felso sarokba tapadt. */
#editor-stages .stages-inner {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  position: relative;
  padding: 24px 32px;
  /* A szulo `#editor-stages`-en `align-items: center` van (a lapozo
     nyilak fuggoleges kozepre igazitasahoz) - ez alapertelmezesben
     KIKAPCSOLNA ennek az elemnek a magassag-korlatozasat is (a
     kereszttengelyen "hug content"-kent viselkedne, nem a szulo
     tenyleges magassagahoz igazodna). Magas arany naptar-oldalaknal
     (306x446mm) ez azt eredmenyezte, hogy a `CanvasStage`
     `measureViewport()`-ja korkoros modon a MAR kinott (nem illesztett)
     tartalom-magassagot merte "elerheto helykent", ezert sosem
     kicsinyitette le a vasznat a valodi ablakmerethez - a felhasznalo
     ezt "tul nagy/fekvo nezetkent" latta, mert csak a vaszon egy
     kozepso szelete fert a kepernyore gorgetes nelkul. */
  align-self: stretch;
}

#editor-stages .stage-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Lapvaltasnal/betutipus-betoltesnel a vaszon korabban visibility:hidden
     <-> visible kozt villant at atmenet nelkul (ures villanas, majd hirtelen
     felugro kesz tartalom). Az opacity-alapu athuzassal ez finom
     elhalvanyulas/visszahalvanyulas lesz. */
  transition: opacity 180ms ease;
}

/* Lapvaltasi belepo-animacio - UGYANAZ a technika, amit a Terveim/elonezet
   konyv-elonezetenel is hasznal a rendszer (l. globals.css
   `fiokom-book-page-enter-forward/backward`): rovid CSS `@keyframes`,
   iranytol fuggoen. A `.stage-main`-t magat SOSEM szabad `key`-vel
   ujraszereltetni (az a FabricEngine-t is ujraepitene), ezert az
   `EditorShell.tsx` osztaly-csere + kenyszeritett reflow-val inditja ujra
   minden lapvaltasnal (l. `stage-main--enter-forward/backward`). Csak
   compositor-szalon futo CSS-animacio, JS rAF-hurok es kulon
   vaszon-export/szerverhivas nelkul. */
@keyframes stage-main-enter-forward {
  from {
    opacity: 0;
    transform: perspective(1400px) translateX(34px) scale(0.985)
      rotateY(-2.4deg);
  }
  to {
    opacity: 1;
    transform: perspective(1400px) translateX(0) scale(1) rotateY(0);
  }
}

@keyframes stage-main-enter-backward {
  from {
    opacity: 0;
    transform: perspective(1400px) translateX(-34px) scale(0.985)
      rotateY(2.4deg);
  }
  to {
    opacity: 1;
    transform: perspective(1400px) translateX(0) scale(1) rotateY(0);
  }
}

#editor-stages .stage-main.stage-main--enter-forward {
  animation: stage-main-enter-forward 520ms cubic-bezier(0.22, 0.78, 0.2, 1)
    both;
}

#editor-stages .stage-main.stage-main--enter-backward {
  animation: stage-main-enter-backward 520ms cubic-bezier(0.22, 0.78, 0.2, 1)
    both;
}

#editor-stages .stage-main .stage-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#editor-stages .stage-main .stage-background img {
  width: 100%;
  height: 100%;
}

#editor-stages .stages-inner {
  /* height: calc(100% - 140px); */
}

/* Stage navigations */

.editor-stages-nav {
  width: 100%;
  height: 120px;
  padding-bottom: 10px;
  display: none;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.editor-stages-inner {
  height: 100%;
  min-width: 100%;
  width: max-content;
  display: flex;
  justify-content: center;
  position: absolute;
  gap: 16px;
  padding: 0 0 8px;
  margin-left: 8px;
}

.editor-stages-inner .stage-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 92px;
}

.editor-stages-nav.show {
  display: block;
  text-align: center;
}

.editor-stages-nav .preview-design-wrap {
  cursor: pointer;
  height: 100%;
  aspect-ratio: 1;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.editor-stages-nav .preview-design {
  overflow: hidden;
  outline: 1px solid #8f8f8f !important;
  border-radius: 2px;
}

/* A Befejezes gombbal (#000000) egyezo szin - korabban zold volt, a
   felhasznalo kerte az egysegesitest. */
.editor-stages-nav .preview-design.active {
  outline: 3px solid #000000 !important;
}

/* Loading */
#loading-save {
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
}
#loading-save.editor-show {
  display: flex;
}
.stars {
  display: none;
}

.loader-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top: 4px solid #2a2a2a;
  border-right: 4px solid #2a2a2a;
  animation: rotate 3s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a2a2a;
  margin-bottom: 0.5rem;
  transition: opacity 0.4s ease;
}

.app-name {
  font-size: 1rem;
  opacity: 0.85;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2a2a2a;
  margin-bottom: 0.3rem;
}

.language-display {
  margin-top: 2px;
  font-size: 0.82rem;
  opacity: 0.7;
  color: #2a2a2a;
}

.warning {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.8;
  color: #a00;
  text-align: center;
  line-height: 1.4;
}

.marketing {
  position: absolute;
  bottom: 40px;
  text-align: center;
  color: #2a2a2a;
  opacity: 0.9;
}

.marketing p {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icons svg {
  width: 32px;
  height: 32px;
  fill: #2a2a2a;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.social-icons svg:hover {
  transform: scale(1.2);
  opacity: 0.6;
}
.editor-onloading {
  pointer-events: none;
}

.editor-load-page {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999999999;
  background: #fdfdfd;
  width: 100%;
  height: 100%;
}

.editor-load-page .loader {
  position: relative;
  margin: -50px auto 0 -50px;
  width: 100px;
  top: 50%;
  left: 50%;
}

.loading-workflow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsla(0, 0%, 100%, 0.95);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 9999999 !important;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}
.editor-show {
  visibility: visible;
  opacity: 1;
  z-index: 9999;
}

/* Modal */
.modal {
  background-color: rgb(159 151 151 / 30%);
  z-index: 999999 !important;
}

.btn-modal {
  background-color: #a6d2a0;
  border-radius: 16px;
  color: #c9f1d8;
  font-weight: bold;
  text-shadow: 1px 1px 2px #60946a;
  padding: 10px 50px;
  -webkit-text-stroke: 1.1px #60946a;
  font-weight: 800;
}

.btn-modal-folder {
  background-color: #a6d2a0;
  border-radius: 6px;
  color: #c9f1d8;
  font-weight: bold;
  text-shadow: 1px 1px 2px #60946a;
  padding: 6px 20px;
  -webkit-text-stroke: 1.1px #60946a;
  font-weight: 800;
}

#colorInput {
  cursor: pointer;
  width: 25px;
  height: 25px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 10px;
}

.legacy-color-picker {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  cursor: pointer;
  background: url('/legacy-assets/images/pick-color.svg') center / cover no-repeat;
}

.legacy-color-picker input[type='color'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.editor-sidebar .custom-nav {
  height: 50px !important;
  display: flex;
  align-items: center;
}

.editor-sidebar .custom-nav ul {
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
}

.editor-sidebar .custom-nav ul li:first-child {
  background-color: #e5e5e5;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.editor-sidebar .custom-nav ul li:last-child {
  background-color: #e5e5e5;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.editor-sidebar .custom-nav ul li button {
  font-weight: 500;
}

.editor-sidebar .custom-nav .nav-link {
  color: #c3c3c3;
  background-color: #e5e5e5;
  border-radius: 15px;
}

.editor-sidebar .custom-nav .nav-item .nav-link.active {
  color: #fff;
  background-color: #2b2b2b;
  border-radius: 15px;
}

.editor-sidebar .custom-nav .nav-item {
  width: 50%;
  float: left;
}

.editor-sidebar .custom-nav .nav-link {
  width: 100%;
}

.editor-sidebar .custom-nav-photo {
  height: 50px !important;
  display: flex;
  align-items: center;
}

.editor-sidebar .custom-nav-photo ul {
  background-color: #fff;
}

.editor-sidebar .custom-nav-photo ul li {
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 16px;
}

.editor-sidebar .custom-nav-photo ul li button {
  font-weight: 500;
  color: #fff;
}

.editor-sidebar .custom-nav-photo .nav-link {
  color: #fff;
}

.editor-sidebar .custom-nav-photo .nav-item .nav-link.active {
  background-color: #c1bd4e;
  color: #fff;
  border-radius: 16px;
}

/* .editor-sidebar .custom-nav-photo .nav-item .nav-link.active {
    border-radius: 0px !important;
} */

.editor-sidebar .custom-nav-photo .nav-item {
  width: 100%;
  float: left;
}

.editor-sidebar .custom-nav-photo .nav-link {
  width: 100%;
}

.editor-sidebar .photos .list-photos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.editor-sidebar .photos .list-photos .wrap-photo {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.editor-sidebar .photos .list-photos .wrap-photo > img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.editor-sidebar .photos .list-photos .wrap-photo .addedBg {
  border: 3px solid #c1bd4e;
  border-radius: 8px;
}

.editor-sidebar-nav-background .background-preview-card {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #f1f1f1;
}

.editor-sidebar-nav-background .background-preview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 3px solid transparent;
  border-radius: 8px;
  pointer-events: none;
}

.editor-sidebar-nav-background .background-preview-selected::after {
  border-color: #111111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.editor-sidebar-nav-background .background-preview-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.editor-sidebar-nav-background .background-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Csak a hatterlista mintajat nagyitjuk, a szerkesztoi vasznat nem. */
  transform: scale(1.5);
  transform-origin: center;
  image-rendering: auto;
}

.background-grid-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2b2b2b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.background-grid-control i {
  display: block;
  font-size: inherit;
  line-height: 1;
}

.background-grid-control:hover:not(:disabled) {
  background: #ededed;
}

.background-grid-control:disabled {
  color: #ababab;
  background: transparent;
  cursor: default;
  opacity: 0.72;
}

.background-panel-scroll {
  flex: 1 1 auto;
  min-height: 0;
}

.background-panel-footer,
.asset-panel-footer,
.layout-panel-footer {
  flex: 0 0 40px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  gap: 8px;
  overflow: visible;
  box-sizing: border-box;
}

.layout-list-scroll {
  min-height: 0;
}

.layout-panel-footer {
  margin: 4px 0 0;
  width: 100%;
  max-width: 100%;
}

.editor-panel-footer-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-panel-footer-label {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.15;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.editor-panel-grid-controls {
  flex: 0 0 auto;
  gap: 6px;
  min-width: max-content;
  margin-left: auto;
}

.editor-sidebar .photos .list-photos .wrap-photo .is-photo-added {
  position: absolute;
  bottom: -8px;
  right: -6px;
  z-index: 2;
}

.editor-sidebar .photos .list-photos .wrap-photo .is-photo-added i {
  color: #fff;
  padding: 0px 2px;
  background: #00cf1c;
  padding: 0px 2px;
  border-radius: 50%;
}

.btn-nav::before {
  content: '';
  display: block;
  height: 20px;
  width: 4px;
  background-color: #c1bd4e;
  position: relative;
  top: 13px;
  left: 13px;
}

.btn-nav {
  width: 80%;
  margin-left: 50px;
  border-bottom: 4px solid #c1bd4e;
}

.editor-tab-content-text {
  position: relative;
  top: 20px;
}

.style-text-spine-text {
  font-size: 13px;
  white-space: nowrap;
}

.style-text-btn {
  font-size: 13px;
  white-space: nowrap;
}

.line-center {
  width: 2px;
  height: 100px;
  background-color: #e5e5e5;
}

.style-text-box-letter,
.style-text-box-bg {
  font-size: 13px;
  white-space: nowrap;
}

#colorPicker {
  padding-bottom: 10px;
  line-height: 1;
}

.close-color-text i {
  font-size: 25px;
  line-height: 1;
}

.footer-nav-text {
  height: 40px;
  background-color: #f8f9fa;
  width: 300px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.footer-nav-text div span i {
  font-size: 25px;
}

.editor-tab-content-photo {
  top: 20px;
}

.editor-tab-content-photo-layout {
  top: 20px;
}

.editor-tab-content-photo-layout-repeat {
  width: 100%;
  height: 50px;
  background-color: #c1bd4e;
}

.editor-tab-content-bg {
  top: 20px;
  text-align: center;
}

.editor-sidebar-content-switch {
  width: 40px;
  height: 20px;
}

.modal-header-bg,
.modal-header-color {
  justify-content: center;
  color: #f8ecdf;
  position: relative;
  padding: 30px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.modal-header-color {
  background: #e5b187;
}

.modal-header-bg {
  background: #f79679;
}

.modal-body-bg {
  text-align: center;
}

.modal-body-bg i {
  font-size: 50px;
  color: #f79679;
}

.modal-footer-bg {
  border-top: none;
  margin-top: 36px;
}

.modal-dialog-text {
  max-width: 680px;
}

.modal-color {
  max-height: 190px;
  min-height: 190px;
  overflow-y: auto;
}

.modal-dialog-photo {
  min-width: 1160px;
  max-width: 1160px;
}

.modal-title-color {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-text-stroke: 1.1px #ac6133;
  text-shadow: 1px 1px 1px #ac6133;
  color: #f4e6ca;
  font-weight: 700;
  font-size: 24px;
}

.modal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-text-stroke: 1.1px #c23815;
  text-shadow: 1px 1px 1px #c23815;
  color: #ffd6b8;
  font-weight: 700;
  font-size: 24px;
}

.modal-content {
  border-radius: 15px;
  border: none;
  overflow: auto;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  background-color: #c3c3c3;
}

.header .btn {
  padding: 0px 6px;
}

#designer-controller .header .btn {
  padding: 0 4px;
  font-size: 0.7rem;
}

/* A fejléc vezérlői kissé nagyobbak, a szürke sáv mérete viszont változatlan. */
#designer-controller .header .editor-navigations .btn {
  transform: scale(1.1);
  transform-origin: center;
}

#designer-controller .header .header-right-btn {
  padding: 8px 17px;
  border-radius: 11px;
  font-size: 0.7rem;
}

#designer-controller .header .header-right {
  font-size: 10px;
}

#selector .btn {
  padding: 0px;
}

.form-control:focus {
  box-shadow: unset;
}

.form-control {
  border-radius: 6px;
}

.form-label {
  text-transform: capitalize;
}

.modal-footer-folder {
  display: unset;
}

.toast:not(.showing):not(.show) {
  opacity: 1;
}

.toast-container {
  z-index: 99999999 !important;
}

.photo-layout {
  display: flex;
  justify-content: center;
}

.photo-layout img {
  background: #dadada;
}

button.wrap-layout {
  padding-left: 0;
  padding-right: 0;
}

.layoutPanel .wrap-layout > .wrap-layout {
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(43, 43, 43, 0.13);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.layoutPanel .wrap-layout:hover > .wrap-layout {
  box-shadow: 0 3px 10px rgba(43, 43, 43, 0.17);
}

/* A layout-csempe kivalasztasat csak az aktiv sarga keret jelzi. A Bootstrap
   fokusz-kek box-shadow-ja kattintas utan nem resze a legacy feluletnek. */
.layoutPanel .wrap-layout:focus,
.layoutPanel .wrap-layout:focus-visible {
  box-shadow: none;
  outline: none;
}

.layoutPanel .layout-load-more-button {
  width: 72%;
  min-width: 0;
  height: 27px;
  min-height: 27px;
  padding: 2px 10px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.layoutPanel .layout-needs-photo {
  width: 185px;
  max-width: calc(100% - 16px);
  padding-top: 4px;
  padding-bottom: 4px;
  color: #c62828;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: normal;
}

/* A legacy feluleten a tukrozes az aktiv layout felso keretenek kozepen ulo,
   visszafogott kor-gomb. */
.wrap-layout-mirror {
  top: 0;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: #ffffff;
  border: 2px solid #c1bd4e !important;
  border-radius: 50%;
  line-height: 0;
  transform: translate(-50%, -50%);
}

.wrap-layout-mirror-vertical {
  top: 50%;
  right: 0;
  left: auto;
  transform: translate(50%, -50%);
}

.wrap-layout-mirror:focus,
.wrap-layout-mirror:focus-visible,
.wrap-layout-mirror:active {
  box-shadow: none !important;
  outline: none;
}

.wrap-layout-mirror .wrap-layout-mirror-icon {
  color: #2f3c31;
  font-size: 13px;
  line-height: 1;
}

.wrap-layout.active {
  position: relative;
  border: 2px #c1bd4e solid;
}
.btn-delete {
  border-radius: 16px;
  color: hsl(96, 42%, 95%);
  font-weight: bold;
  text-shadow: 1px 1px 2px #0000;
}

.my-folder {
  font-size: 14px;
  font-weight: 600;
}

.loading-navbar {
  position: absolute;
  z-index: 99;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 290px;
  background: #fff;
}

.wrap-font,
.wrap-fontSize,
.wrap-folder-photo,
.wrap-categoryColor,
.wrap-categoryBg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wrap-font,
.wrap-categoryBg,
.wrap-categoryColor {
  min-width: 200px;
  max-width: 200px;
  margin-left: 30px;
}

.wrap-categoryColor-modal {
  min-width: 150px;
  max-width: 150px;
  margin-left: 30px;
}

.wrap-fontSize {
  min-width: 80px;
  max-width: 80px;
  margin-left: 30px;
}

.wrap-folder-photo .scroll {
  padding-left: 10px;
}

.items {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.items-modal {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.items-photo {
  min-width: 120px;
  max-width: 120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.item {
  width: 100%;
  padding: 0px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  cursor: pointer;
  user-select: none;
  color: #909190;
}

.item.active {
  border-top: 1px solid #c1bd4e;
  border-bottom: 1px solid #c1bd4e;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 20px;
  color: #424243;
}

.items::before,
.items-photo::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  background-color: #c1bd4e;
  border-radius: 50%;
}

.items::before {
  left: -30px;
}

.items-photo::before {
  left: -20px;
}

.scroll {
  padding-left: 10px;
}

.footer-nav-text .sub-menu {
  background: #fff;
  position: absolute;
  border-radius: 4px;
  color: #404762;
  box-shadow: 1px 0 20px rgba(0, 0, 0, 0.08);
  left: 50%;
  transform: translate(-50%);
  bottom: 52px;
}

/* .footer-nav-text .show-stroke-width{
    opacity: 1;
    top: -50px;
    right: 35px;
    transition: opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
} */

.footer-nav-text .range-spacing {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-transform: capitalize;
}

.footer-nav-text .value-display-range {
  min-width: 30px;
}

.footer-nav-text .stroke-title {
  font-size: 12px !important;
  padding: 0 6px;
  line-height: 24px;
  height: 24px;
  display: inline-block;
  border: 1px solid #ddd;
  box-sizing: content-box;
  border-radius: 4px;
  margin-right: 5px;
  text-transform: lowercase;
  min-width: 25px;
}

.footer-nav-text .stroke-title-color {
  line-height: 24px;
  height: 24px;
  border: 1px solid #ddd;
  box-sizing: content-box;
  border-radius: 4px;
  margin-right: 5px;
  min-width: 24px;
  background: #1a1c19;
}

.active-stroke-color {
  border: 2px solid #2537c1 !important;
}

.footer-nav-text .stroke-color {
  width: 25px;
  height: 25px;
  cursor: pointer;
  margin-right: 5px;
}

.footer-nav-text .slide-input {
  cursor: pointer;
}

.footer-nav-text .main-ranges {
  padding: 7px 14px;
}

.footer-nav-text .size-dots {
  font-size: 40px;
}

.nbd-context-menu .main-context .contexts {
  list-style-type: none;
  padding: 4px !important;
  margin: 0 !important;
  display: flex;
}

.nbd-context-menu .main-context .contexts li.context-item {
  padding: 4px;
  cursor: pointer;
  display: flex;
}

.nbd-context-menu .main-context .contexts .context-item > svg {
  fill: #ffffff;
}

.nbd-context-menu {
  z-index: 100;
}

.nbd-context-menu {
  position: absolute;
  top: 17%;
  left: 33%;
  border-radius: 10px;
  background-color: #315040;
  -webkit-box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.2),
    0 3px 4px 0 rgba(0, 0, 0, 0.14);
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.2),
    0 3px 4px 0 rgba(0, 0, 0, 0.14);
  transform: translate(-50%, 10px);
}

.nbd-context-sub-menu {
  position: absolute;
  top: 17%;
  left: 33%;
  border-radius: 10px;
  background-color: #315040;
  -webkit-box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.2),
    0 3px 4px 0 rgba(0, 0, 0, 0.14);
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.2),
    0 3px 4px 0 rgba(0, 0, 0, 0.14);
  /* Az EREDETI legacy ertek (assets/css/app.css:1130): a jelveny bal
     szele a kep bal szelehez igazodik, es 40px-szel a kep folott lebeg -
     lasd globals.css `.image-context-sub-menu` dokumentacioja. */
  transform: translate(0, -40px);
}
#pills-text .tab-text-normal .text-action i {
  font-size: 30px;
  line-height: 1;
}
#pills-text .tab-text-spine .text-action i {
  font-size: 24px;
  line-height: 1;
}

#pills-text .tab-text-normal .text-action i.active,
#pills-text .tab-text-spine .text-action i.active {
  border-radius: 4px;
  background: #9b9b9b;
  color: #000000;
}
.type-text .active {
  background: #1243;
}

#pills-text3 .color-palette .active {
  border: 2px solid black;
}

#pills-text4 .color-palette .active {
  border: 2px solid black;
}

.activeBg {
  border: 2px solid black;
}

.close-bg {
  background: red;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  position: relative;
}

.close-bg i {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.editor-stages .previous-side,
.editor-stages .next-side {
  border: 2px solid;
  border-radius: 50%;
  padding: 2px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-stages .previous-side:hover,
.editor-stages .next-side:hover {
  background-color: #c9c7c7;
}

.editor-stages .next-side {
  margin-right: 10px;
}

.editor-stages .previous-side {
  margin-left: 10px;
}

.editor-stages .next-side i,
.editor-stages .previous-side i {
  font-size: 24px;
}

.editor-stages .btn:focus {
  box-shadow: none;
}

/* .toast-container .toast-header .toast-icon-success {
    color: #fff;
    padding: 0px 3px;
    background: #00cf1c;
    border-radius: 50%;
    font-size: 15px;
}

.toast-container .toast-header .toast-icon-error {
    color: #fff;
    padding: 0px 3px;
    background: #dc3545;
    border-radius: 50%;
    font-size: 15px;
} */

/* .toast-container .toast-header h5 {
    margin-bottom: 0;
    text-transform: capitalize;
    font-weight: 400;
} */

/* .toast-header,
.toast-body {
    color: #424243;
} */

/* .toast-body-success {
    background: #00cf1c;
    padding: 4px;
}

.toast-body-error {
    background: #dc3545;
    padding: 4px;
} */
.toast-holder {
  width: 16px;
  height: 16px;
}

.toast-header .btn-close {
  padding: 0px;
}

.modal-title-edit-folder {
  background-color: #2b2b2b;
  border-radius: 16px;
  padding: 10px;
  color: #fff;
  font-weight: 500;
  width: 400px;
}

.btn-modal-edit-folder {
  background-color: #28c76f;
  border-radius: 16px;
  color: #fff;
  font-weight: bold;
  padding: 6px 20px;
  font-weight: 500;
}

.btn-modal-edit-photo-folder {
  background-color: #2b2b2b;
  border-radius: 16px;
  color: #fff;
  font-weight: bold;
  padding: 6px 20px;
  font-weight: 500;
}

.btn-modal-edit-photo-folder:hover {
  color: #fff;
}

.input-edit-folder {
  border-radius: 20px;
  font-weight: 500;
  background-color: #e5e5e5;
  padding: 10px 20px;
  font-size: 20px;
  text-transform: uppercase;
}

.modal-dialog-folder {
  max-width: 550px;
}

.modal-content .photos .list-photos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.modal-content .photos .list-photos .wrap-photo {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.modal-content .photos .list-photos .wrap-photo > img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-content .photos .list-photos .wrap-photo .is-photo-added {
  position: absolute;
  bottom: 0;
  right: 0;
}

.modal-content .photos .list-photos .wrap-photo .is-photo-added i {
  color: #fff;
  padding: 0px 2px;
  background: #00cf1c;
  padding: 0px 2px;
  border-radius: 50%;
}

.modal-content .btn-modal-upload-photo-folder {
  background-color: #c1bd4e;
  border-radius: 16px;
  color: #fff;
  font-weight: bold;
  padding: 6px 20px;
  font-weight: 500;
}

.footer-nav-text .title-photo {
  line-height: 24px;
  height: 24px;
  border: 1px solid #ddd;
  box-sizing: content-box;
  border-radius: 4px;
  margin-right: 5px;
  min-width: 24px;
  background: #c1bd4e;
}

.list-photos .wrap-photo .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.list-photos .wrap-photo .photo {
  display: block;
  width: 100%;
  height: auto;
}

.list-photos .wrap-photo .img-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
}

.modal-content .photos .list-photos .wrap-photo .is-photo-delete {
  position: absolute;
  bottom: 2px;
  right: 5px;
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  border: 1px solid red;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content .photos .list-photos .wrap-photo .is-photo-delete i {
  color: red;
}

/* A mappába helyezés külön művelet, ezért nem fedheti a törlés gombját. */
.assetLibraryPhotoMove {
  right: 28px !important;
}

.bi-dash,
.bi-plus {
  font-size: 20px;
}

.bi-dash:hover,
.bi-plus:hover {
  color: black;
  transform: scale(1.2);
}

.btn-modal-text-spine {
  background-color: #8a8a8a;
  border-radius: 16px;
  color: #fcfcfc;
  font-weight: 500;
  padding: 5px 40px;
}

.modal-footer-bg-text-spine {
  border-top: none;
}

.btn-create-folder {
  margin-left: 10px;
  margin-right: 10px;
}

.btn-create-folder button {
  border: none;
  background-color: #c1bd4e;
  border-radius: 20px;
}

.sortable-placeholder {
  border: 2px dashed #aaa;
  height: 80px;
  width: 160px;
  display: flex;
}

button.btn-load-more {
  color: #c1bd4e;
  border-color: #c1bd4e;
  font-weight: 600;
}

button.btn-load-more:hover {
  background-color: #c1bd4e;
  border-color: #c1bd4e;
}

.upload-invalid {
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 500;
}

.upload-invalid:first-child {
  margin-top: 4px;
}
.img-icon {
  height: 24px;
  width: auto;
}
.img-icon.img-icon-md {
  height: 30px;
}

.modal-dialog-calendar-layout,
.modal-dialog-fill-photos,
.modal-dialog-calendar-setting {
  max-width: 750px;
}

.color-palette {
  row-gap: 10px;
  column-gap: 10px;
}

@media (max-width: 768px) {
  html,
  body,
  #design-container,
  #designer-controller {
    min-height: 100% !important;
    max-height: 100% !important;
    height: 100% !important;
  }
  .editor-workspace {
    flex-direction: column;
    position: relative;
    height: calc(100% - 80px);
  }
  .editor-workspace .main {
    width: 100%;
    z-index: 1;
    height: calc(100% - 300px);
  }
  #design-container .header .editor-navigations-wrap {
    height: 80px;
    background-color: #315040;
    position: relative;
  }
  #design-container .header .header-right-btn {
    background-color: unset;
    color: #f8f9fa;
    font-weight: 600;
    padding: 8px;
  }
  #design-container .header .editor-process-design {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  #editor-stages {
    order: 2;
    height: 100%;
  }
  #editor-stages .stages-inner {
    position: relative;
  }
  #editor-stages .stages-inner .stage-action-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }
  .editor-stages .stage-action-wrap .previous-side,
  .editor-stages .stage-action-wrap .next-side {
    margin-right: 0;
    margin-left: 0;
    padding: 4px;
  }
  .editor-stages .next-side i,
  .editor-stages .previous-side i {
    font-size: 16px;
    line-height: 1;
  }
  .editor-stages-inner {
    padding: 0 0 6px;
  }
  .editor-stages-nav .preview-design-wrap {
    padding: 0;
  }
  .editor-stages-nav {
    order: 1;
    padding: 8px 8px 6px 8px;
    height: 120px;
  }
  .editor-stages-inner {
    gap: 8px;
  }
  .editor-sidebar {
    width: 100%;
    position: absolute;
    z-index: 2;
    gap: 8px;
    bottom: 0;
    height: auto;
    padding: 0 8px 2px 8px;
  }
  .editor-sidebar-tabs {
    order: 2;
    z-index: 3;
  }
  .editor-sidebar-contents {
    order: 1;
    padding-top: 0px;
    height: 150px;
    overflow-y: auto;
  }
  .editor-tab-content {
    width: 100%;
  }
  .editor-tab-content .tab-header {
    position: fixed;
    width: calc(100% - 80px);
    top: 0;
    left: 0;
    height: 80px;
    background: #f6f6f6;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .plus-header-wrap {
    position: absolute;
    top: calc(50% + 4px);
    left: calc(50% - 20px);
    transform: translate(-50%, -50%);
  }
  .plus-header {
    border-bottom: 4px solid #c1bd4e;
    width: 250px;
    position: relative;
  }
  .plus-header::before {
    content: '';
    display: block;
    height: 24px;
    width: 4px;
    background-color: #c1bd4e;
    position: absolute;
    top: -10px;
    left: 10px;
  }
  .tab-header-action {
    height: 100%;
    position: relative;
  }
  .tab-header-title {
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 40px);
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }
  .tab-header-desc {
    font-size: 12px;
    position: absolute;
    top: calc(50% + 16px);
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    white-space: nowrap;
  }
  .editor-sidebar .custom-nav ul {
    flex-wrap: nowrap;
    background-color: #c1bd4e;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    box-shadow: 0px -2px 12px 4px rgba(0, 0, 0, 0.15);
    padding-left: 16px;
    padding-right: 16px;
    min-width: 200px;
    align-items: center;
    justify-content: center;
  }
  .editor-sidebar .custom-nav {
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    height: auto !important;
  }
  .editor-sidebar .custom-nav .nav-item .nav-link {
    color: #000000;
    background-color: transparent;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 8px;
    padding-right: 8px;
  }
  .editor-sidebar .custom-nav .nav-item .nav-link.active {
    color: #ffffff;
  }
  .editor-sidebar .custom-nav ul li:first-child {
    background-color: transparent;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .editor-sidebar .custom-nav ul li:last-child {
    background-color: transparent;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .editor-sidebar .custom-nav .nav-item {
    width: auto;
    float: none;
  }
  .editor-sidebar .custom-nav .nav-item .nav-link.active {
    color: #fff;
    background-color: transparent;
    border-radius: 0;
  }

  .wrap-font,
  .wrap-fontSize,
  .wrap-categoryColor,
  .wrap-categoryBg {
    min-width: 180px;
    max-width: 180px;
    margin-left: 20px;
  }
  .wrap-folder-photo {
    min-width: 80px;
    max-width: 80px;
  }
  .wrap-folder-photo .items-photo::before {
    top: 50%;
    right: -16px;
    transform: translate(100%, -50%);
    left: unset;
  }
  #pills-photo .custom-nav ul.nav .context-item {
    padding: 5px 8px;
  }
  #pills-photo .custom-nav ul.nav .context-item svg {
    color: #ffffff;
    width: 21px;
    height: 21px;
  }
  .my-folder {
    white-space: nowrap;
    margin-left: 4px;
  }
  .wrap-categoryColor-modal {
    min-width: 150px;
    max-width: 150px;
    margin-left: 20px;
  }

  .wrap-fontSize {
    min-width: 70px;
    max-width: 70px;
    margin-left: 30px;
  }

  .wrap-folder-photo .scroll {
    padding-left: 10px;
  }

  .items {
    width: auto;
    max-width: 100%;
    overflow: hidden;
  }
  .item {
    font-size: 12px;
    padding: 0px 4px;
  }

  .item.active {
    font-size: 16px;
    position: relative;
  }

  .items::before,
  .items-photo::before {
    width: 12px;
    height: 12px;
  }

  .items::before {
    left: -12px;
  }

  .items::before .items::before {
    left: 0;
  }

  .items-photo::before {
    left: -14px;
  }

  .scroll {
    padding-left: 14px;
  }

  #pills-text .tab-text-normal .text-action i,
  #pills-text .tab-text-spine .text-action i {
    font-size: 22px;
  }

  .editor-sidebar .custom-nav ul li button.btn-shuffle {
    padding: 0;
  }
  .editor-sidebar .photos .list-photos {
    gap: 6px;
    flex-wrap: nowrap;
    height: calc(100% - 20px);
  }
  .editor-sidebar .photos .list-photos .wrap-photo > img {
    width: auto;
    height: 100%;
  }
  .list-photos .wrap-photo .img-container {
    width: auto;
    height: 100%;
  }
  .list-photos .wrap-photo .photo {
    height: 100%;
    width: auto;
  }
  .custom-nav .context-item {
    padding: 5px 8px;
  }
  .bg-category,
  .color-category {
    font-size: 25px;
    color: #b6a000;
  }
  .editor-add-stage {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(0, -100%);
    z-index: 3;
  }
  .editor-add-stage button {
    padding: 4px;
    background: #fff;
    border-radius: 4px;
    border: none;
  }
  .editor-add-stage button i {
    font-size: 20px;
    line-height: 1;
  }
  .modal-content {
    max-height: 600px;
    overflow-y: auto;
  }
  .img-icon.img-icon-md {
    width: 21px;
    height: 21px;
  }
.editor-sidebar .nav-pills .nav-link.active i {
  padding-top: 5px;
  border-bottom: unset;
  border-top: 3px solid #fff;
}

.editor-sidebar-tabs .nav-link:focus,
.editor-sidebar-tabs .nav-link:focus-visible,
.editor-sidebar-tabs .nav-link:active {
  border-color: transparent;
  outline: none;
  box-shadow: none !important;
}
  .editor-sidebar .tabs-nav .nav-item {
    width: 20%;
  }
  .tab-header .size-icon-sm {
    font-size: 20px;
  }
  .tab-header .img-icon {
    height: 20px;
    width: auto;
  }
  .text-size-sm {
    font-size: 12px;
  }

  .text-size-s {
    font-size: 14px;
  }
  .editor-navigations-left button {
    padding: 2px 4px;
  }
  .editor-navigations-left button i {
    line-height: 1;
  }
  .editor-navigations-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-right: 0 !important;
  }
  .editor-navigations-right .header-right {
    font-size: 10px;
    padding: 2px 6px;
  }
  .editor-navigations-right .header-right-btn {
    font-size: 10px;
    padding: 3px 8px;
  }
}
.canvas-modern-material-zone {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  padding: 10px;
  pointer-events: none;
  overflow: hidden;
  background-color: #d9d3c8;
  background-position: center;
  background-repeat: repeat;
  background-size: 128px 128px;
  border-right: 1px solid rgba(36, 31, 24, 0.22);
  box-shadow: inset -8px 0 16px rgba(23, 18, 12, 0.1);
}

.canvas-modern-material-zone span {
  max-width: 90%;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(38, 31, 24, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
