body {
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/***********Loader*************/
.c-loader {
  position: fixed;
  background: rgba(255, 255, 255, 0.75);
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

#loading {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
}

#loading .loader-img {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loading img {
  max-width: 120px;
}
.main-container {
  display: flex;
  flex: 1;
  height: calc(100vh - 64px);
}
.canvas-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}
#canvas-wrapper {
  position: relative;
  background-color: #f0f0f0;
  body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .main-container {
    display: flex;
    flex: 1;
    height: calc(100vh - 64px);
  }

  .canvas-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
  }

  #canvas-wrapper {
    position: relative;
    background-color: #f0f0f0; /* Or any color you prefer for the background */
  }

  #canvas-inner-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    overflow: hidden;
  }

  #canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .sidebar {
    width: 320px;
    overflow-y: auto;
    border-left: 1px solid #e5e7eb;
    padding: 1rem;
  }

  .shape-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
  }

  .shape-button:hover {
    background-color: #f3f4f6;
  }

  .shape-circle,
  .shape-square,
  .shape-rounded {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.25rem;
  }

  .shape-circle {
    border-radius: 50%;
    background-color: #3b82f6;
  }

  .shape-square {
    background-color: #ef4444;
  }

  .shape-rounded {
    border-radius: 0.5rem;
    background-color: #10b981;
  }

  .shape-triangle {
    width: 0;
    height: 0;
    border-left: 1.5rem solid transparent;
    border-right: 1.5rem solid transparent;
    border-bottom: 2.6rem solid #f59e0b;
    margin-bottom: 0.25rem;
  }

  .collection-item {
    text-align: center;
  }

  @media (max-width: 768px) {
    body {
      overflow-y: auto;
    }

    .main-container {
      flex-direction: column;
      height: auto;
    }

    .sidebar {
      width: 100%;
      border-left: none;
      border-top: 1px solid #e5e7eb;
      max-height: none;
    }

    .canvas-container {
      height: 60vh;
      min-height: 300px;
    }

    header {
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 0.5rem;
    }

    header > * {
      margin-bottom: 0.5rem;
    }

    .collection-item img {
      width: 100%;
      height: auto;
      max-width: 100px;
    }

    .grid {
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
  }
}
#canvas-inner-border {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  overflow: hidden;
}
#canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.sidebar {
  width: 320px;
  overflow-y: auto;
  border-left: 1px solid #e5e7eb;
  padding: 1rem;
}
.shape-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}
.shape-button:hover {
  background-color: #f3f4f6;
}
.shape-circle,
.shape-square,
.shape-rounded {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.25rem;
}
.shape-circle {
  border-radius: 50%;
  background-color: #3b82f6;
}
.shape-square {
  background-color: #ef4444;
}
.shape-rounded {
  border-radius: 0.5rem;
  background-color: #10b981;
}
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 1.5rem solid transparent;
  border-right: 1.5rem solid transparent;
  border-bottom: 2.6rem solid #f59e0b;
  margin-bottom: 0.25rem;
}
.collection-item {
  text-align: center;
}
@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }
  .main-container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    max-height: none;
  }
  .canvas-container {
    height: 60vh;
    min-height: 300px;
  }
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem;
  }
  header > * {
    margin-bottom: 0.5rem;
  }
  .collection-item img {
    width: 100%;
    height: auto;
    max-width: 100px;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}
