html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.layout {
  display: flex;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

#canvas {
  width: auto;
  display: flex;
  flex: 1 1 auto;
  height: 75%;
  margin-left: 10px;
}

.canvas-container {
  height: 100%;
}

.edit-panels-container {
  width: 100%;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
  margin-right: 10px;
}

.mid-side-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  grid-column: 1/5;
  margin-top: 10px;
  margin-bottom: 10px;
  
}

.editor {
  height: 100%;
  width: 100%;
  padding-bottom: 5px;
  /* padding-left: 5px;
  padding-right: 5px; */
}

/* .editor-console {
  height: 2%;
  width: 100%;
  margin-left: 5px;
} */

.editor-console {
  color: white ;
  font-family: 'Courier New', Courier, monospace;
  /* text-co; */
  height: 5%;
  width: 100%;
  /* margin-left: 5px; */
  background-color: #1e1e1e;
  padding-top: 15px;
  padding-left: 5px;
  /* margin-left: 5px; */
  /* padding-right: 5px; */
  border-radius: 5px;
  overflow: auto;
  max-height: 200px; /* Set a max height to enable scrolling */
  border: 1px solid #3a3a3a;
}

.tool-bar-container {
  width: 100%;
  margin-bottom: 10px;
}

.tool-bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-bar > li > button {
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px 10px 15px;
  margin-top: 5px;
  font-size: 16px;
  cursor: pointer;
}

.export {
  background-color: #3883fa;
}

.canvas-buttons-container {
  display: flex;
  flex-direction: column;
  margin: 10px 0 10px 10px;
}
.canvas-buttons {
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 15px 5px 15px;
  margin-top: 5px;
  font-size: 16px;
  cursor: pointer;
  background-color: #3883fa;
}

/* image bars */
.normal-imgs-bar {
  width: 100%;
  border: rgba(0, 0, 0, 0.075) 1px solid;
  box-shadow: 0px 1px 10px -3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 1px 10px -3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 1px 10px -3px rgba(0, 0, 0, 0.25);
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-flow: column;
  border-radius: 10px;
  grid-column: 5/6;
}

.normal-imgs-list-header {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 10px 0;
  border-bottom: rgba(0, 0, 0, 0.115) 1px solid;
  box-shadow: 0px 1px 16px -12px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 1px 16px -12px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 1px 16px -12px rgba(0, 0, 0, 0.75);
  font-family: "Helvetica Neue", sans-serif;
}

.aod-imgs-bar {
  width: 100%;
  border: rgba(0, 0, 0, 0.075) 1px solid;
  box-shadow: 0px 1px 10px -3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 1px 10px -3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 1px 10px -3px rgba(0, 0, 0, 0.25);
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-flow: column;
  border-radius: 10px;
  grid-column: 6/7;
}

.aod-imgs-list-header {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 10px 0;
  border-bottom: rgba(0, 0, 0, 0.115) 1px solid;
  box-shadow: 0px 1px 16px -12px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 1px 16px -12px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 1px 16px -12px rgba(0, 0, 0, 0.75);
  font-family: "Helvetica Neue", sans-serif;
}

.image-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  flex: 1 1 auto;
  max-height: 90vh;
}

.image-item-container {
  margin: 20px 10px 0 10px;
}

.image-item-card {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: rgba(0, 0, 0, 0.447) 1px solid;
  border-radius: 5px;
}

.image-item {
  width: 90%;
  height: 90%;
  background: #eee
    url('data:image/svg+xml,\
  <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"         fill-opacity=".25" >\
           <rect x="200" width="200" height="200" />\
           <rect y="200" width="200" height="200" />\
           </svg>');
  background-size: 10px 10px;
}

.image-items-body {
  margin-left: 5px;
  margin-right: 5px;
  width: 100%;
  margin-top: 5px;
}

.image-items-text-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.image-items-buttons-container {
  display: flex;
  justify-content: center;
}

.image-items-buttons-container > button {
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px 5px 10px;
  width: 100%;
  margin-top: 5px;
  cursor: pointer;
}
.image-items-delete {
  background-color: red;
  /* margin-right: 5px; */
}

.image-items-update {
  background-color: #3883fa;
  margin-left: 5px;
}
.image-items-download {
  background-color: #3883fa;
  margin-left: 5px;
}

.image-items-name {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 5px;
}

.image-items-text-header {
  font-size: 16px;
  margin-right: 10px;
  font-weight: 700;
}
.image-items-text {
  font-size: 16px;
  text-wrap: wrap;
  word-break: break-all;
}

input[type="file"] {
  display: none;
}

/* switch component */

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-left: 5px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
