#time-mandala-page-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#time-mandala-place-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

#time-mandala-clock {
  font-size: 14px;
}

#time-mandala-place-input-wrap {
  display: none;
  min-width: 220px;
}

#time-mandala-place-input-wrap.is-visible {
  display: block;
}

#time-mandala-place-input-wrap .tm-edit-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 260px;
}

#time-mandala-place-input-wrap .tm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#time-mandala-place-input {
  width: 100%;
  max-width: 360px;
}

#time-mandala-open_container.open_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#time-mandala-component {
  width: min(100%, 640px);
  min-height: 320px;
}

.mandala-container {
  position: relative;
}

#time-mandala-legend,
#time-mandala-legend-dyno {
  white-space: initial;
  width: min(100%, 640px);
}

#time-mandala-legend .item,
#time-mandala-legend-dyno {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

#time-mandala-legend .item .description,
#time-mandala-legend-dyno .description {
  padding-top: 1px;
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
}

#time-mandala-legend-dyno {
  border-radius: 5px;
  padding: 5px;
  background: #ffeedb;
  position: relative;
  color: #222;
}

#time-mandala-legend.mandala-legend-static--hidden {
  display: none !important;
}

#time-mandala-component path,
#time-mandala-component rect,
#time-mandala-component text {
  cursor: pointer;
}

#restore_mandala {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: -4px;
  color: #999;
}

.waiting {
  position: absolute !important;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  background-image: url("/static/images/anim.gif");
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center;
}

.waitingInput {
  background-color: #eaeaea !important;
  background-image: url("/static/images/anim.gif") !important;
  background-size: 25px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

body[data-theme="dark"] #time-mandala-legend-dyno {
  background: rgba(255, 238, 219, 0.12);
  color: inherit;
}

body[data-theme="dark"] .waiting {
  background-color: rgba(0, 0, 0, 0.45);
}
