.component.Memory {
  border-radius: 0px 0px 40px;
  background-color: rgba(189, 241, 255, 0.8);
}

.component.Memory:hover {
  background-color: rgba(189, 241, 255, 1);
}

.APIEndpoint .input-container .ep {
  display: none;
}
.APIOutput .output-container .ep {
  display: none;
}
.Note {
  border-radius: 0px !important;
  background-color: #c7ff1529;
  border-color: #c7ff1529;
}
.Note:hover {
  background-color: #c8ff1556;
}
.Note .title-bar {
  height: 40px;
  background-color: transparent;
}
.Note .note-content-wrapper {
  padding: 0px 10px;
  overflow-y: auto;
  overflow-x: auto;
  max-height: calc(100% - 60px);
  box-sizing: border-box;
  margin-top: 15px;
  position: relative;
}

.Note .note-text {
  text-wrap: balance;
  line-height: 30px;
  margin: 0;
  padding: 0;
}

.component.Note {
  min-height: 40px !important;
}

.component.AgentPlugin .title-bar img {
  height: 60px;
}


.component.Async .output-endpoint:not(.default) .name .label::before {
  content: '[ async ]';
  font-size: 10px;
  font-weight: bold;
  display: inline-block;
  margin: 0px 10px 0px 0px;
  color: #000;

  text-shadow: 0 0 10px white;
}

.component.Async .ep-control.outputs {
  height: 0px;
}

.bg-with-lines {
  background: #fff url(/img/moving_arrows.svg) no-repeat;
  background-size: cover;
}

/* Custom datepicker styles */
.custom-datepicker > div:nth-child(2).absolute.top-10.z-50.block.pt-2 {
  left: -153px; /* Adjusting the left position */
}

.component.Note .resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  cursor: nwse-resize;
  background-color: transparent;
  border-right: 3px solid rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid rgba(0, 0, 0, 0.3);
  border-radius: 0 0 3px 0;
  z-index: 10;
}

.jtk-connector {
  z-index: 2;
}

/* Markdown-specific styling for Note components */
.Note .note-markdown h1,
.Note .note-markdown h2,
.Note .note-markdown h3,
.Note .note-markdown h4,
.Note .note-markdown h5,
.Note .note-markdown h6 {
  font-weight: bold;
  margin: 0.8em 0 0.4em 0;
  line-height: 1.2;
}

.Note .note-markdown h1 {
  font-size: 1.8em;
}

.Note .note-markdown h2 {
  font-size: 1.5em;
}

.Note .note-markdown h3 {
  font-size: 1.3em;
}

.Note .note-markdown h4 {
  font-size: 1.1em;
}

.Note .note-markdown h5 {
  font-size: 1em;
}

.Note .note-markdown h6 {
  font-size: 0.9em;
}

.Note .note-markdown p {
  margin: 0.6em 0;
  line-height: 1.6;
}

.Note .note-markdown strong {
  font-weight: bold;
}

.Note .note-markdown em {
  font-style: italic;
}

.Note .note-markdown ul,
.Note .note-markdown ol {
  margin: 0.8em 0;
  padding-left: 1.5em;
  list-style-position: outside;
}

.Note .note-markdown ul {
  list-style-type: disc !important;
}

.Note .note-markdown ol {
  list-style-type: decimal !important;
}

.Note .note-markdown ul ul {
  list-style-type: circle !important;
}

.Note .note-markdown ul ul ul {
  list-style-type: square !important;
}

.Note .note-markdown ol ol {
  list-style-type: lower-alpha !important;
}

.Note .note-markdown ol ol ol {
  list-style-type: lower-roman !important;
}

.Note .note-markdown li {
  margin: 0.2em 0;
  line-height: 1.5;
  display: list-item;
}

.Note .note-markdown a {
  color: #0066cc;
  text-decoration: underline;
}

.Note .note-markdown a:hover {
  color: #004499;
}

.Note .note-markdown code {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.Note .note-markdown pre {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1em 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  line-height: 1.4;
}

.Note .note-markdown blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #ddd;
  background-color: rgba(0, 0, 0, 0.02);
  font-style: italic;
}

.Note .note-markdown table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

.Note .note-markdown th,
.Note .note-markdown td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: left;
}

.Note .note-markdown th {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: bold;
}

.Note .note-markdown hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1.5em 0;
}

/* Base positioning for markdown content */
.Note .note-markdown {
  overflow: auto;
  max-height: calc(100% - 120px);
  box-sizing: border-box;
  position: relative;
}

/* Ensure list styles are not overridden */
.Note .note-markdown * {
  box-sizing: border-box;
}

.Note .note-markdown ul,
.Note .note-markdown ol {
  display: block !important;
}

.Note .note-markdown ul {
  list-style: disc outside !important;
}

.Note .note-markdown ol {
  list-style: decimal outside !important;
}

.Note .note-markdown li {
  display: list-item !important;
}