body {
  height: 100vh;
  overflow: hidden;
}

.container-fluid {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.row {
  flex-grow: 1;
  overflow-y: auto;
}

.right-column {
  padding: 10px;
  overflow-y: hidden;
  position: relative;
  right: 10px;
  top: 15px;
  margin-bottom: 20px;
}

.left-column {
  padding: 50px;
  overflow-y: auto;
  position: relative;
}

.fixed-textarea {
  width: 100%;
}

.fixed-textarea textarea {
  width: 100%;
  height: 800px;
  max-height: 800px;
}

/* #diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 800px;
  max-height: 800px;
  border: 1px solid #cfcfcf;
} */
#diagram-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 93%; 
  border: 1px solid #cfcfcf;
  border-radius: 5px;
}

#diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* border: 1px solid #cfcfcf; */
  overflow: hidden;
}
#generate-btn {
  position: absolute;
  top: 10px;
  right: 120px;
}

#clear-btn {
  position: absolute;
  top: 10px;
  right: 55px;
}

#zoom-slider {
  width: 100px;
  margin-left: 0px;
}

.loader-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* HTML: <div class="loader"></div> */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}