html,
body {
  overflow: auto;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

#renderCanvas {
  width: 100%;
  height: 100%;
  touch-action: none;
}

.sidebar {
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex-direction: column;
  flex-grow: initial;
}

.sidebar::-webkit-scrollbar {
  display: none;
}
.bodyContainer {
  display: flex;
  height: 98vh;
  /* padding: 0.5rem; */
  gap: 0.6rem;
}

#leftPanel,
#rightPanel {
  flex: 0 0 20%;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0 0.5rem 0;
}
#leftPanel::-webkit-scrollbar,
#rightPanel::-webkit-scrollbar {
  display: none;
}

#canvasContainer {
  border: 1px solid #33334c;
  border-radius: 1.2rem;
  /* padding: 0.5rem; */
  height: 100%;
  flex-grow: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0.5rem 0;
}

#renderCanvas {
  border-radius: 1.2rem;

  width: 100%;
  height: 100%;
  touch-action: none;
}

.exportButtonsContainer {
  border: 1px solid #33334c;
  background-color: #1e1e23;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  width: auto;
  margin-bottom: 0.7rem;
}

.exButton {
  border: 1px solid #33334c;
  background-color: #1e1e23;
  border-radius: 0.6rem;
  padding: 1rem 1rem;
  font-size: 0.8rem;
  width: auto;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
}

.exButton:hover {
  background: linear-gradient(180deg, #4fd1c5 0%, #5ce1ca 100%);

  /* background: linear-gradient(180deg, #6366F1 0%, #818CF8 100%); */
  border: 1px solid #fff;
  box-shadow: 0px 14px 19px #5ce1ca 0.1;
  color: black;
}

.jsonButton {
  margin-top: 0.7rem;
}

.inputButton {
  border: 1px solid #33334c;
  /* background-color: #1E1E23; */
  border-radius: 0.6rem;
  padding: 0.5rem 0.3rem;
  font-size: 0.8rem;
  width: 100%;
  color: white;
  background-color: #214c45;
}

.inputButton:hover {
  /* background: linear-gradient(180deg, #6366F1 0%, #818CF8 100%); */
  background: linear-gradient(180deg, #4fd1c5 0%, #5ce1ca 100%);

  border: 1px solid #fff;
  box-shadow: 0px 14px 19px #5ce1ca 0.1;
  color: black;
}

.exportButtonsContainer h4 {
  color: #fff;
  margin: 0;
  margin-bottom: 0.3rem;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.marginBottom {
  margin-bottom: 0.5rem;
}

.submitpng {
  width: 1rem;
  height: 1rem;
}

.objectimg {
  width: 1.5rem;
  height: 1.5rem;
}

.flex {
  display: flex;
}

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

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

.my-2 {
  margin-bottom: 0.2rem;
  margin-top: 0.4rem;
}

.gridContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.7rem;
  height: auto;
}
.gridContainertop {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 0.7rem;
  height: 3rem;
  /* border: 1px solid blue; */
}
.gridChilds {
  grid-column: span 1;
  display: flex;
  justify-items: center;
  align-items: center;
  
}
.gridChilds button {
  font-size: .4rem;
}
.objectDiv {
  grid-column: span 1;
  padding: 10px;
  border: 1px solid #33334c;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.objectDiv:hover {
  border-color: #5ce1ca;
  color: black;
}
.objectDiv:hover {
  border-color: #5ce1ca;
  cursor: pointer;
  color: black;
}

.objectDiv.selected {
  border-color: #5ce1ca;
}

.actionButtons {
  border: 1px solid #33334c;
  background-color: #1e1e23;
  border-radius: 0.6rem;
  padding: 1rem 1rem;
  font-size: 1rem;
  width: auto;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
  margin-top: 0.6rem;
}

.actionButtons:hover {
  background: linear-gradient(180deg, #4fd1c5 0%, #5ce1ca 100%);

  /* background: linear-gradient(180deg, #6366F1 0%, #818CF8 100%); */
  border: 1px solid #fff;
  /* box-shadow: 0px 14px 19px #818CF8 0.1; */
  box-shadow: 0px 14px 19px #5ce1ca 0.1;
  color: black;
}
.actionButtons.selected {
  border-color: #5ce1ca;
  background-color: #e0e7ff;
  color: #000;
}
.zoomButtons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.7rem;
  border-radius: 1rem;
  position: absolute;
  bottom: 0.3rem;
  left: 0;
  right: 0;
  width: 6rem;
  margin: auto;
  background-color: #1e1e23;
  padding: 0.4rem;
}
.memoryButtons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.3rem;
  border-radius: 2rem;
  position: absolute;
  top: 5.2rem;
  left: 0;
  right: 0;
  width: 5rem;
  margin: auto;
  background-color: #1e1e23;
  padding: 0.3rem;
}
.memoryButtons2 {
  cursor: pointer;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.3rem;
  border-radius: 2rem;
  /* position: absolute; */
  /* top: 5.2rem; */
  /* left: 0; */
  /* right: 0; */
  width: 5rem;
  margin: auto;
  background-color: #1e1e23;
  padding: 0.3rem;
}
.svgContainer {
  width: 1.5rem;
  cursor: pointer;
  border: 1px solid gray;
  background-color: transparent;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem;
}

.memoryButtons svg {
  color: white;
  border: 1px solid white;
  border-radius: 1.2rem;
  padding: 0.2rem;
  cursor: pointer;
}
#zoomratio {
  color: white;
}
.test {
  border: 1px solid red;
}

.actionButtons div {
  user-select: none;
}
.drillDropDown {
  border: 1px solid #33334c;
  background-color: #1e1e23;
  border-radius: 0.6rem;
  padding: 0.3rem;
  font-size: 0.8rem;
  width: auto;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
  margin-top: 0.6rem;
}

.drillDropDown:hover {
  background: linear-gradient(180deg, #4fd1c5 0%, #5ce1ca 100%);
  border: 1px solid #fff;
  box-shadow: 0px 14px 19px #5ce1ca 0.1;
  color: black;
}
.selected {
  border-color: #5ce1ca;
  background-color: #e0e7ff;
  color: #000;
}
.hidden {
  display: none;
}

.panelSelected {
  border: 1px solid white;
}
.cursor-disabled {
  cursor: not-allowed;
}

.topbar {
  /* display: flex ;
    justify-content: space-evenly;
    align-items: center;
    gap: .7rem; */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: auto;
  margin: auto;
  background-color: #1e1e23;
  border: 1px solid #33334c;
  /* z-index: 4000; */
  padding: 0.6rem;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e23;
  color: white;
  padding: 1rem;

  border: 1px solid #33334c;
  border-radius: 0.8rem;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown-options {
  display: none;
  background-color: #1e1e23;
  border: 2px solid #33334c;
  border-radius: 5px;
  margin-top: 5px;
  position: relative;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem;
  /* overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none; */
  top: 3.5rem;

  /* Align sub-dropdown to the right by default */
  /* background: #1E1E23; */
  /* border: 1px solid #ccc; */
  width: 10rem;
}

.dropdown-option {
  padding: 10px;
  color: white;
  cursor: pointer;
  border-radius: 0.7rem;
}

.dropdown-option:hover {
  background-color: #33334c;
}

.custom-dropdown2 {
  position: relative;
  width: 100%;
}

.dropdown-selected2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e23;
  color: white;
  padding: 1rem;

  border: 1px solid #33334c;
  border-radius: 0.8rem;
  cursor: pointer;
}

.dropdown-arrow2 {
  transition: transform 0.3s ease;
}

.dropdown-options2 {
  display: none;
  background-color: #1e1e23;
  border: 2px solid #33334c;
  border-radius: 5px;
  margin-top: 5px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem;
  height: 20rem;
  /* width: 10rem; */
  /* overflow-y: auto;
  scrollbar-width: none; 
  -ms-overflow-style: none;  */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.dropdown-options2::-webkit-scrollbar {
  display: none;
}
.dropdown-options::-webkit-scrollbar {
  display: none;
}
.dropdown-option2 {
  padding: 10px;
  color: white;
  cursor: pointer;
  border-radius: 0.7rem;
}

.dropdown-option2:hover {
  background-color: #33334c;
}

.calculatorButton {
  border: 1px solid #33334c;
  background-color: #1e1e23;
  border-radius: 0.6rem;
  padding: 0.9rem 0.5rem;
  /* font-size: 1rem; */
  color: white;
  /* border: 1px solid green; */
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  align-items: center;
  transition: all 0.3s ease;
}

.calulatorButtonChild {
  display: flex;
  align-items: center;
  touch-action: none;
}

.calculatorButton:hover {
  background: linear-gradient(180deg, #4fd1c5 0%, #5ce1ca 100%);
  border: 1px solid #fff;
  box-shadow: 0px 14px 19px rgba(92, 225, 202, 0.1);
  color: black;
}

.calculatorButton:hover svg {
  color: black;
}

.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.test {
  border: 1px solid red;
}

.InputactionButtons{
  border: 1px solid #33334c;
  background-color: #1e1e23;
  border-radius: 0.6rem;
  /* padding: 1rem ; */
  font-size: 1rem;
  width: auto;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
  margin-top: 0.6rem;
}
.inputcalulator {
  border: none;
  /* border: 1px solid #33334c; */
  background-color: #1e1e23;
  padding: 1.2rem 0.3rem;
  outline: none;
  color: white;
  border-radius: 0.6rem;
  width: 100%;
  text-align: center;

}
.containerCal {
  position: relative;
}
.containerCal div {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
}

.left-arrow {
  float: right; /* Position the arrow to the right of the text */
  cursor: pointer;
}

.size-2 {
  width: 1rem;
  height: 1rem;
}

.backButton {
  font-size: 0.9rem;
  color: white;
  display: flex;
  justify-content: start;
  gap: 5px;
  align-items: center;
  margin: 0.4rem;
  /* border: 1px solid red; */
  cursor: pointer;
}
.barButtons{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.7rem;
  /* border: 1px solid red; */
  margin: .2rem 0;

}
.girdChild{
  grid-column: span 1;
  /* border: 1px solid red; */

}
.memoryButtonsContainer{
  color: white;
  /* background-color: white; */
}
.dropdown,
.dropdown2 ,
.dropdown3, 
.dropdown4 ,
.dropdown5 ,
.dropdown6 ,
.dropdown7 
{
  position: relative;
  /* display: inline-block; */
}

.dropdown > button,
.dropdown2 > button ,
.dropdown3 > button ,
.dropdown4 > button ,
.dropdown5 > button ,
.dropdown6 > button ,
.dropdown7 > button 
{
  width: 100%;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #33334c;
  border-radius: 4px;
  background-color: #1e1e23;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 0.7rem;
  padding: .5rem 0.2rem;
}
.submenu,
.submenu2,
.submenu3,
.submenu4,
.submenu5,
.submenu6,
.submenu7
 {
  border-radius: 0.4rem;
}
.dropdown-content,
.dropdown-content2,
.dropdown-content3,
.dropdown-content4,
.dropdown-content5,
.dropdown-content6,
.dropdown-content7
 {
  display: none;
  position: absolute;
  background-color: #1e1e23;
  color: white;
  border: 1px solid #33334c;
  min-width: 200px;
  padding: 0.4rem 0.4rem;
  border-radius: 0.3rem;
  top: 2.8rem;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;

  /* overflow-y: auto; */
  /* max-height: 15rem;  */
  /* Set a maximum height for scrolling */

  /* overflow-y: auto; */
  /* -ms-overflow-style: none; */
  /* scrollbar-width: none; */
  /* height: 15rem; */
}

.dropdown-content6,
.dropdown-content7
 {
  display: none;
  position: absolute;
  background-color: #1e1e23;
  color: white;
  border: 1px solid #33334c;
  min-width: 200px;
  padding: 0.4rem 0.4rem;
  border-radius: 0.3rem;
  top: 2.8rem;
  right:0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;

}

.dropdown-content ul,
.dropdown-content2 ul ,
.dropdown-content3 ul ,
.dropdown-content4 ul ,
.dropdown-content5 ul ,
.dropdown-content6 ul ,
.dropdown-content7 ul 
{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
/*  */


.dropdown-content ul li,
.dropdown-content2 ul li ,
.dropdown-content3 ul li ,
.dropdown-content4 ul li ,
.dropdown-content5 ul li ,
.dropdown-content6 ul li ,
.dropdown-content7 ul li 
{
  position: relative;
  padding: 9px 10px;
  cursor: pointer;
  border-radius: 0.3rem;
  z-index: 99999;
}

.dropdown-content ul li:hover,
.dropdown-content2 ul li:hover ,
.dropdown-content3 ul li:hover, 
.dropdown-content4 ul li:hover, 
.dropdown-content5 ul li:hover, 
.dropdown-content6 ul li:hover, 
.dropdown-content7 ul li:hover
{
  background-color: #33334c;
}

.dropdown-content ul li .submenu,
.dropdown-content2 ul li .submenu2,
.dropdown-content3 ul li .submenu3,
.dropdown-content4 ul li .submenu4,
.dropdown-content6 ul li .submenu6

 {
  display: none;
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.4rem;
  left: 13rem;
  background-color: #1e1e23;
  color: white;
  border: 1px solid #33334c;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 9000;
}

.dropdown-content5 ul li .submenu5,
.dropdown-content7 ul li .submenu7

 {
  display: none;
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.4rem;
  right:13rem;
  background-color: #1e1e23;
  color: white;
  border: 1px solid #33334c;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 9000;
}
/* .dropdown-content6 ul li .submenu6,
.dropdown-content7 ul li .submenu7
 {
  display: none;
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.4rem;
  right:7rem;
  background-color: #1e1e23;
  color: white;
  border: 1px solid #33334c;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 9000;
} */

.dropdown-content ul li.active > .submenu,
.dropdown-content2 ul li.active > .submenu2,
.dropdown-content3 ul li.active > .submenu3,
.dropdown-content4 ul li.active > .submenu4,
.dropdown-content5 ul li.active > .submenu5,
.dropdown-content6 ul li.active > .submenu6,
.dropdown-content7 ul li.active > .submenu7
 {
  display: block;
}

.dropdown.show .dropdown-content,
.dropdown2.show .dropdown-content2 ,
.dropdown3.show .dropdown-content3 ,
.dropdown4.show .dropdown-content4 ,
.dropdown5.show .dropdown-content5 ,
.dropdown6.show .dropdown-content6 ,
.dropdown7.show .dropdown-content7 
{
  display: block;
}

.centerflex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.FlexProp {
  display: flex;
  justify-content: center;
  align-items: center;
}
.size-3 {
  width: 1.3rem;
  height: 1.3rem;
}
