
.centroid-toolbar-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  position: relative;
  background-color: #fff;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.centroid-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.toolbar-btn {
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.toolbar-btn i {
  margin-right: 6px;
}

.toolbar-dropdown {
  position: relative;
}

.dropdown-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  padding: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  white-space: normal;
  z-index: 999;
  min-width: 180px;
}

.dropdown-popup label {
  display: block;
  margin: 6px 0;
}

.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #dbd8d7;
    padding: 10px;
}

.canvas-wrapper {
    width: 100%;
    max-width: 1024px;
    background-color: #e9a385;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1024px;
    aspect-ratio: 4 / 3;
    background-color: white;
    border: 1px solid #ccc;
}

/*permission madal*/
/* เพิ่มใน centroid.css */
.toolbar-btn[disabled] {
  opacity: 0.7;
  position: relative;
}

.toolbar-btn .badge {
  font-size: 0.6em;
  padding: 3px 5px;
  transform: translate(30%, -30%);
}

.upgrade-feature {
  cursor: pointer;
  transition: all 0.2s;
}

.upgrade-feature:hover {
  transform: scale(1.05);
}

/**/