#root {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.loading-container {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding: 10px;
  background-color: #00000066;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

body {
  overflow-x: hidden;
}

#frame-root {
  width: 100%;
  height: 100%;
}

.viewport-icon {
  cursor: pointer;
  margin: 0 10px;
}

.viewport-icon:hover svg {
  color: #646cffaa;
}

.flex {
  display: flex;
}

.flex-grow-1 {
  flex-grow: 1;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-col {
  flex-direction: column;
}

.flex-gap-2 {
  gap: 2px;
}

.flex-gap-4 {
  gap: 4px;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.child-wrapper {
  margin-bottom: 20px;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.child-wrapper button {
  font-size: 13px;
  font-weight: bold;
}

.child-wrapper div[data-puck-drawer="true"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.child-wrapper div[data-puck-drawer="true"] div div {
  height: stretch;
}

.drawer-item {
  background-color: #f0f0f077;
  padding: 15px 4px 10px 4px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  white-space: wrap;
  border: 1px solid #00000011;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.drawer-item-name {
  margin-top: 4px;
  font-size: 10px;
  white-space: wrap;
  text-align: center;
}

.drawer-item:hover {
  background-color: #e0e0e0;
}

.drawer-item-active {
  background-color: #d0d0d0;
}

.dropzone-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 5px;
  border-bottom: 1px solid #d0d0d0;
  width: 100%;
  background-color: #e7e7e7;
}

.sideoptions {
  width: 250px;
  display: flex;
  margin: 0 20px;
  gap: 30px;
  
}

.sideoptions svg {
  outline: none;
  border: none;
}

.cursor-pointer {
  cursor: pointer;
}

.modal {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.modal-fullscreen .modal-content {
  height: calc(100vh - 60px);
  width: calc(100vw - 60px);
  margin-top: 20px;
}

.modal-fullscreen .modal-content-items {
  height: calc(100vh - 220px);
}

.modal-content {
  width: fit-content;
  height: fit-content;
  background-color: #fff;
  border-radius: 5px;
  padding: 10px;
  text-align: left;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  min-width: 300px;
  margin-top: 50px;
}

.modal-title {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 10px 0 0 10px;
}

.modal-content-items {
  margin: 20px 15px 40px 15px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.modal-content-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.modal-content-buttons button {
  margin-left: 10px;
}

.modal-template-container {
  display: grid;
  grid-gap: 20px;
  margin: 30px 10px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.modal-template {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #d0d0d0;
  cursor: pointer;
  background-color: #f0f0f0;
  height: 350px;
}
.modal-template:hover {
  border: 1px solid #696969;
  box-shadow: 0 0 10px 0 rgba(109, 107, 107, 0.5);
}
.modal-template-active {
  border: 1px solid #646cff;
}

.modal-template-image-container {
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-template img {
  max-width: 300px;
  border: 1px solid #d0d0d0;
}

.modal-template-name {
  font-size: 14px;
  font-weight: bold;
  margin-top: 20px;
}

.modal-template-category {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: -20px;
}

.imageDropzone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-width: 2px;
  border-radius: 2px;
  border-color: #eeeeee;
  border-style: dashed;
  background-color: #fafafa;
  color: #bdbdbd;
  outline: none;
  transition: border .24s ease-in-out;
}

.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.colapsable {
  cursor: pointer;
}

.chevron {
  display: none;
}

.colapsable .chevron {
  margin-top: 5px;
}
.colapsable .chevron-up {
  display: none;
}
.colapsable .chevron-down {
  display: block;
}

.colapsable + [class*="category-content"] {
  display: none;
}

.colapsable.colapsable-inactive + [class*="category-content"] {
  display: inline;
}

.colapsable.colapsable-inactive .chevron-up {
  display: block;
}
.colapsable.colapsable-inactive .chevron-down {
  display: none;
}

.helper {
  font-size: 12px;
  font-weight: normal;
  margin-left: 15px;
  position: relative;
}

.helper-button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #666;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
} 

.helper-tooltip {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  margin-left: 5px;
  background-color: #1f2937;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 250px;
  text-transform: uppercase;
}

.helper-button:hover + [class*="helper-tooltip"] {
  display: block;
}

.default-heading {
  margin-top: 0.67em !important;
  margin-bottom: 0.67em !important;
}

h1 {
  font-weight: 800 !important;
}

h2 {
  font-weight: 600 !important;
}

.simple-green h2 {
  display: flex;
}

.simple-green h2:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 1.5em;
  background: linear-gradient(180deg, #49a09f 0%, #49a09f 100%);
  margin-right: 0.75rem;
  border-radius: 3px;
}

.simple-green .dpp-category:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}