@import "media.css";
@import "sidebar.css";
@import "color-picker.css";
@import "context-menu.css";
/* @import "components/color-picker.css";
@import "components/switch.css";
@import "components/properties.css"; */
:root {
  --light-gray: #ebebeb;
  --content-color: #262626;
}

.editor-wraper {
  display: flex;
  height: calc(100% - 56px);
}

/* #region Canvas Area */

.canvas-area {
  width: calc(100% - 0px);
  height: calc(100vh - 110px);
  box-sizing: border-box;
  /* overflow: auto; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.canvas-container {
  height: calc(100vh - 89px);
}

/* #endregion Canvas Area */

/* #region Editor Range Slider */

.editor-range-slider {
  appearance: none;
  background: #0f57998c;
  height: 4px;
  border-radius: 5px;
  width: 100%;
}

.editor-range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: var(--blueColor);
  border: 2px solid var(--white);
  cursor: pointer;
  border-radius: 100%;
}

.editor-range-slider::-webkit-slider-thumb:hover {
  background-color: var(--blueColor);
}

/* #endregion Editor Range Slider */

/* #region Editor Dropdown */

.editor-dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.editor-dropdown .dropdown-toggle-item {
  display: flex;
  justify-content: space-between;
  background: #f0f2f8;
  padding: 8px;
  align-items: center;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0px 2px 2px 0px #ebebeb;
  border: 1px solid #dddddd;
  color: #090f1a;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.editor-dropdown .dropdown-body {
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  animation: menuforward 0.15s ease-out both;
  box-shadow: 1px 1px 2px -1px #ddd;
  visibility: hidden;
  overflow: hidden;
  position: absolute;
  z-index: 99;
  width: 100%;
  top: 37px;
  display: none;
}

.editor-dropdown .dropdown-body .search-input {
  border-bottom: 1px solid #ddd;
  padding: 5px 10px;
  background: #f0f2f8;
}

.editor-dropdown .dropdown-body .search-input input {
  color: #090f1a;
  font-size: 13px;
}

.editor-dropdown .dropdown-body .menu {
  width: 100%;
  height: 15rem;
  overflow: auto;
}

.editor-dropdown .menu .item {
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #090f1a;
  font-weight: 400;
  cursor: pointer;
  transition: 0.2s;
}

.editor-dropdown .menu .item.selected,
.editor-dropdown .menu .item:hover {
  background: #ddd;
}

.editor-dropdown.active .dropdown-toggle-item .arrow-icon {
  transform: rotate(180deg);
}

.editor-dropdown.active .dropdown-body {
  visibility: visible;
  display: block;
}

@keyframes menuforward {
  0% {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}

/* #endregion Editor Dropdown */

/* #region Navbar */

.editor-navbar {
  background-color: #fff;
  color: var(--content-color);
  padding: 10px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 99;
}

.editor-navbar .right-area {
  display: flex;
  gap: 10px;
}
/* 
.items {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

.heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--content-color);
}

/* #endregion Navbar */

/* #region Editor Small Input */

.editor-small-inp::-webkit-outer-spin-button,
.editor-small-inp::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

.editor-small-inp {
  width: 50px;
  border-radius: 4px;
  border: none;
  background: #eee;
  padding: 5px;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
}

/* #endregion Editor Small Input */

/* #region Nav Tabs */

/* .nav-tabs {
    display: flex;
    flex-direction: column;
    gap: 35px;
    border-bottom: none !important;
} */

.undo-btn:disabled,
.redo-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.position-items {
  gap: 10px 0;
  gap: 10px 0;
}
.position-items [class*="col-"] {
  padding: 0 5px;
}
.position-items .position-option {
  display: grid;
  grid-template-columns: 16px auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #d6d6d6;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}
.position-items .position-option:hover {
  border-color: var(--blueColor);
}

.sheet-toolbar #sheet-size-selector {
  flex: 1;
}

.choose-sheet-size .apply-size {
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 16px;
}
.choose-sheet-size .back-design {
  background: transparent;
  box-shadow: none !important;
  color: #3d3d3d !important;
  font-size: 15px;
}

#changeDesignSizeModal .modal-dialog {
  max-width: 100%;
  height: 100%;
  margin: 0;
}

#changeDesignSizeModal .modal-content {
  height: 100%;
}

.nav-tabs .tab-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

.nav-tabs .tab-items .tab-btn {
  width: 77px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  cursor: pointer;
}

.nav-tabs .tab-items .tab-btn.active,
.nav-tabs .tab-items .tab-btn:hover {
  background: #eeeeee;
}

.nav-tabs .tab-items .tab-btn svg {
  fill: var(--content-color);
}

.nav-tabs .tab-items .tab-btn:first-child {
  border-right: 0px;
}

.nav-tabs .tab-items .tab-btn:last-child {
  border-left: 0px;
}

.nav-tabs .tab-panels {
  height: 100%;
  width: 100%;
}

.nav-tabs .tab-panels .tab-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.nav-tabs .tab-panels .tab-panel.active {
  display: flex;
}

/* #endregion Nav Tabs */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auto-fill-con .duplicate-selected-obj {
  border-radius: 30px;
  padding: 8px 30px;
  margin-top: 20px;
}

/* Editor Notification Panel */
.notifier-panel {
  position: absolute;
  right: 0;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 99;
  padding: 30px 15px;
  display: none;
}

.notifier-panel .close {
  font-size: 18px;
  color: var(--blueColor);
}

.notifier-panel .proceed-errors {
  border-radius: 30px;
  padding: 8px 30px;
  margin-top: 15px;
}

.resolution-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 6px;
  font-size: 12px;
  color: #614700;
  margin-top: 6px;
  cursor: pointer;
}

.resolution-warning .icon {
  display: flex;
  flex-shrink: 0;
}

.resolution-warning .dpi-value {
  font-weight: 600;
  color: #d46b08;
}

