:root {
  --main-color: #04a9f5;
}

body,
html {
  background: #f1f0ec;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.swal2-content {
  font-weight: 400 !important;
}

ul li {
  list-style: none;
}

a:hover {
  text-decoration: none;
}

.bg-grey {
  background: #f4f4f4;
  padding: 5px;
}

.icon {
  width: 15px !important;
  height: 10px !important;
}

.navbar {
  background: white;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar .project-name input {
  border: none;
  outline: none;
  text-align: center;
}

/* #region Layout css */

.layout {
  position: absolute;
  left: 20px;
  top: 50px;
  z-index: 99;
}

.layout .panel-buttons {
  padding: 10px 0;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  width: 78px;
  gap: 5px;
}

.layout .panel-buttons .panel-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  height: 60px;
  justify-content: center;
  /* background: var(--main-color); */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.layout .panel-buttons .panel-button.active,
.layout .panel-buttons .panel-button:hover {
  background: var(--main-color);
  color: white;
}

.layout .panel-buttons .panel-button.active img,
.layout .panel-buttons .panel-button:hover img {
  filter: invert(1) brightness(3.2) !important;
}

.layout .panel-buttons .panel-button img {
  width: 20px;
  height: 20px;
}

.layout .panel-buttons .panel-button span.text {
  font-size: 12px;
}

.layout .panels {
  position: relative;
}

.layout .panels .panel-container {
  position: absolute;
  top: 0;
  left: 100%;
}

.layout .panels .panel-container .panel {
  display: none;
  background: white;
  width: 300px;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 3px 1px #0000001a;
  padding: 12px;
  margin-left: 18px;
}

.heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.layout .panel-container .panel .items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 4px;
}

.layout .panel-container .panel .items .item {
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
}

.layout .panel-container .panel .items .item.active {
  background: var(--main-color);
}

.layout .panel-container .panel .items .item.active .text {
  color: white;
}

.layout .panel-container .panel .items .item.active img {
  filter: invert(1);
}

.layout .panel-container .panel .items .item img {
  width: 20px;
  height: 20px;
}

.layout .panel-container .panel .items .item .text {
  color: #3d4d59;
  font-size: 14px;
  padding-left: 10px;
}

.layout .project-floors .floor-dropdown-content {
  display: none;
}

.layout .panel-container .panel .items .project-floors .floors {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
  background: #f4f4f4;
  padding: 15px;
  max-height: calc(100vh - 515px);
  overflow: auto;
}

.items .project-floors .floors .content {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.items .project-floors .floors .floor {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-floors .floors .floor .delete-floor {
  cursor: pointer;
  margin-left: 10px;
  margin-top: 4px;
}
.project-floors .floors .floor .delete-floor svg {
  fill: red;
  width: 18px;
  height: 18px;
}

.items .project-floors .floors .office-floor {
  border-color: #c4c4c4;
  background: #ffffff;
  font-size: 13px;
  color: #3d4d59;
  padding: 10px 30px;
  width: 100%;
}

.project-floors .floors .office-floor.active {
  background: var(--main-color);
  color: white;
  font-weight: 600;
}

.layout .panel-container .editor-action-btns {
  width: 45px;
  position: absolute;
  right: -18px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  top: 0;
  background: white;
  padding: 6px;
  border-radius: 6px;
  gap: 8px;
  box-shadow: 0 2px 3px 1px #0000001a;
}

.layout .panel-container .editor-action-btns .btn {
  padding: 0 5px 4px;
}

.layout .panel-container .editor-action-btns .btn:disabled {
  background: #b7b7b7;
}

.layout .panel-container .editor-action-btns .btn img {
  width: 18px;
  height: 18px;
}

/* #endregion Layout css End */

.editing-area {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas {
  border: 1px solid #ccc;
  /* background: white; */
}

/* #region Editor Settings Css */

.editor-settings {
  position: absolute;
  top: 50px;
  right: 20px;
  width: 300px;
  z-index: 99;
  background: white;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 3px 1px #0000001a;
  display: none;
}

.editor-settings .setting {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
}

.editor-settings .setting:last-child {
  padding-bottom: 0;
}

.editor-settings .setting.rentable-setting label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  cursor: pointer;
}

.editor-settings .setting.rent-price input {
  width: 50%;
  margin-left: auto;
}

.editor-settings .setting .label {
  width: 100px;
  font-size: 14px;
  font-weight: 500;
}

.accessories-section .accessory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.editor-settings .accessories-section .content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 20px;
}

.editor-settings .accessories-section .accessory {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  cursor: pointer;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 8px;
}

.editor-settings .accessories-section .text {
  font-size: 14px;
  margin-left: 10px;
}

.editor-settings .accessories-section label {
  margin-bottom: 0;
}

.accessory-item {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
}

.accessory-item .icon {
  cursor: pointer;
}

.accessory-item .content {
  display: none;
  position: absolute;
  width: 98px;
}

.accessory-item .content .items {
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 5px;
}

/* #endregion Editor Settings Css End */

/* #region Checkbox Styling */

/* From Uiverse.io by cssbuttons-io */
.cbx {
  position: relative;
  top: 1px;
  width: 22px;
  height: 22px;
  border: 1px solid #c8ccd4;
  border-radius: 3px;
  vertical-align: middle;
  transition: background 0.1s ease;
  cursor: pointer;
  display: block;
}

.cbx:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 7px;
  width: 7px;
  height: 14px;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transition: all 0.3s ease;
}

.lbl {
  margin-left: 5px;
  vertical-align: middle;
  cursor: pointer;
}

.hidden-xs-up:checked ~ .cbx {
  border-color: transparent;
  background: #6871f1;
}

.hidden-xs-up:checked ~ .cbx:after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.cntr {
  position: relative;
}

.hidden-xs-up {
  display: none !important;
}

/* #endregion Checkbox Styling */

/* #region Office Projects cards css */
.office-projects .project {
  width: 100%;
  height: 170px;
  background: #00000014;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 5px;
  cursor: pointer;
}

.office-projects .project.active {
  background: var(--main-color);
  color: white;
}

.office-projects .project img {
  width: 60px;
  margin-bottom: 10px;
  pointer-events: none;
}

.office-projects .project .name {
  margin: 0;
  text-align: center;
  padding: 0 15px;
}

.office-projects .project .date {
  font-size: 14px;
  margin: 0;
}

.office-projects .project:hover .delete-project {
  opacity: 1;
}

.office-projects .project .delete-project {
  position: absolute;
  right: 20px;
  top: 10px;
  background: white;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0.6;
}

.office-projects .project .delete-project svg {
  fill: red;
}

/* #endregion Office Projects cards css End */

@media (max-height: 600px) {
  .layout .panel-container .panel .items .project-floors .floors {
    max-height: calc(100vh - 400px);
  }
}