.countdown-timer-cell {
  position: relative;
}

.countdown-timer-cell .countdown-view {
  position: relative;
  padding-right: 42px !important;
}

.countdown-timer-cell .countdown-view::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7px;

  width: 27px;
  height: 27px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;

  background-color: rgba(255, 255, 255, 0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;

  transform: translateY(-50%);
  pointer-events: none;

  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.countdown-timer-cell .countdown-view:hover::after {
  border-color: var(--countdown-color);
  background-color: var(--countdown-soft);
  box-shadow: 0 0 10px var(--countdown-soft);
}

body:not(.mo-edit-mode)
.countdown-timer-cell
.countdown-editor {
  display: none !important;
  margin-top: 5px;
}

body:not(.mo-edit-mode)
.countdown-timer-cell.mo-countdown-editing
.countdown-editor {
  display: grid !important;
}

.countdown-timer-cell.mo-countdown-editing
.countdown-view::after {
  border-color: var(--countdown-color);
  background-color: var(--countdown-soft);
  box-shadow:
    inset 0 0 0 1px var(--countdown-soft),
    0 0 12px var(--countdown-soft);
}

.countdown-timer-cell.mo-countdown-editing
.countdown-editor
.cell-input {
  display: block !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}
