/* --- Design System & CSS Variables --- */
:root {
  --bg-frame: #ffffff;
  --bg-canvas: #f2eee9;
  --font-serif: 'IBM Plex Serif', Georgia, serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --border-color: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

/* --- Basic Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100% !important;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  background-color: transparent !important;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

body {
  font-family: var(--font-sans);
  background-color: transparent !important;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#app {
  width: 100%;
  max-width: 100%;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 !important;
  overflow: hidden !important;
}

#visualisation-wrapper {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-color) !important;
  border-radius: 25px !important;
  width: calc(100% - 8px);
  height: 100vh !important;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden !important;
  position: relative;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

#visualisation-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

/* --- Top Navbar --- */
#navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 15px;
  background-color: transparent;
  height: 60px;
  flex-shrink: 0;
  position: relative;
}

#navbar-left {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

#diagram-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: #111111;
  margin: 0;
  white-space: nowrap;
}

#fullscreen-btn {
  background-color: #e6ded5;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 52px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  outline: none;
  color: #333333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

#fullscreen-btn:hover {
  background-color: #faf8f5;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

#fullscreen-btn:active {
  background-color: #dcd3c5;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
}

#fullscreen-btn svg {
  display: block;
  width: 26px;
  height: 26px;
}

/* --- Canvas Container --- */
#canvas-container {
  background-color: #faf6f0;
  border: 0.5px solid var(--border-color);
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  flex: 1;
  overflow: hidden !important;
  border-radius: 26px 26px 24px 24px;
}

/* --- Workflow Selection Header --- */
#workflow-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 15px;
  flex-shrink: 0;
}

#workflow-label {
  font-family: var(--font-serif);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  margin: 0;
}

#workflow-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 44px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

#workflow-select-wrapper:hover {
  background-color: #faf8f5;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

#workflow-select-wrapper:active {
  background-color: #dcd3c5;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
}

#workflow-selected-option {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: #333333;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

#workflow-selected-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#canvas-container:not(.workflow-active) #workflow-selected-text {
  font-weight: 400;
  opacity: 0.8;
}

#workflow-select-arrow {
  color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  transition: color var(--transition-speed) ease, transform 0.2s ease;
}

#workflow-select-wrapper.open #workflow-select-arrow {
  transform: rotate(180deg);
}

#workflow-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: top;
}

#workflow-dropdown-list.hidden {
  display: none;
}

.workflow-option-item {
  padding: 12px 20px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-option-item:hover {
  background-color: var(--workflow-hover-bg);
  color: var(--workflow-hover-color);
}

.workflow-option-item.active-option {
  font-weight: 600;
  background-color: var(--workflow-hover-bg);
  color: var(--workflow-hover-color);
}

.workflow-option-item.default-option {
  font-weight: 400;
  opacity: 0.5;
}

/* Dropdown active highlight state */
.workflow-active #workflow-select-wrapper {
  border-color: var(--active-workflow-color);
  box-shadow: 0px 2px 8.15px var(--active-workflow-glow-color);
}

.workflow-active #workflow-selected-option {
  color: var(--active-workflow-color);
}

.workflow-active #workflow-select-arrow {
  color: var(--active-workflow-color);
}

/* --- Backdrop Dimming for Custom Dropdown --- */
#workflow-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.15);
  /* subtle dimming */
  z-index: 90;
  transition: opacity 0.3s ease;
}

#workflow-backdrop.hidden {
  display: none;
}

/* Position wrapper above backdrop */
#workflow-select-wrapper {
  z-index: 100;
}

/* --- Interactive Canvas Viewport --- */
#canvas {
  width: 100%;
  max-width: 800px;
  height: 100%;
  border: 1px dashed rgba(0, 0, 0, 0.35);
  border-radius: 25px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #faf6f0;
  position: relative;
  overflow: hidden !important;
}

/* --- Static Core Infrastructure Header --- */
#infra-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}

#infra-text {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(0, 0, 0, 0.7);
  text-align: right;
  max-width: 250px;
  line-height: 1.3;
  margin: 0;
}

#infra-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.infra-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infra-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Specific border for cloudflare wrapper matching figma */
.infra-icon-wrapper[title="Cloudflare"] {
  border: 1px solid #000000;
  padding: 5px;
}

/* --- Stack Wrapper --- */
#stack-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* Spaced layers matching Figma */
}


/* --- Layer Structures --- */
.layer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  position: relative;
}

/* Left textbox description */
.layer-textbox {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.layer-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.layer-desc {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.4;
}

/* Right dashed box layer */
.layer-container {
  flex: 1;
  border-radius: 20px;
  padding: 10px 48px 10px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='20' ry='20' stroke='rgba(0, 0, 0, 0.32)' stroke-width='1.5' stroke-dasharray='4%2c 12' stroke-linecap='square'/%3e%3c/svg%3e");
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 2;
  min-height: 75px;
}

.layer-container.solid-border {
  border: 1.5px solid rgba(0, 0, 0, 0.2) !important;
  background-image: none !important;
}

.layer-more-dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  opacity: 0.2;
  pointer-events: none;
}

/* --- Standard Circle Nodes --- */
.node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 80px;
  cursor: pointer;
  user-select: none;
  transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

#canvas:not(.tooltip-pinned) #stack-wrapper:not(.active-state):has(.node:hover) .node {
  opacity: 0.5;
}

#canvas:not(.tooltip-pinned) #stack-wrapper:not(.active-state):has(.node:hover) .node:hover {
  opacity: 1 !important;
}

.node:hover .node-icon {
  border: 3px solid #000000;
}

.node-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-speed) ease;
}

.node-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.node-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: #000000;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
  transition: all var(--transition-speed) ease;
  /* Align text and ⓘ icon in the inline text flow */
  display: block;
}

/* Keep the SVG connection lines below the node stacking context */
#connections-svg {
  z-index: 0 !important;
}


/* --- Active Selection / Highlight Themes --- */

/* Fading unselected nodes when a workflow is active or a node is clicked */
.active-state .node {
  opacity: 0.4;
}

/* Active Highlighted Node in Workflow Path */
.active-state .node.active-path-node {
  opacity: 1;
}

.active-state .node.active-path-node .node-icon {
  background-color: #ffffff;
  border: 3px solid var(--workflow-color);
  box-shadow: 3px -3px 8.6px var(--workflow-glow-color);
}

.active-state .node.active-path-node .node-label {
  color: var(--workflow-color);
}

/* Node that is directly clicked/selected (has a strong glow or distinct border) */
.active-state .node.selected-node {
  opacity: 1;
}

.active-state .node.selected-node .node-icon {
  border: 3px solid #000000;
}

.active-state .node.selected-node .node-label,
.active-state .node.active-path-node .node-label,
#canvas.tooltip-pinned .node.tooltip-source .node-label {
  font-weight: 700 !important;
}

/* Highlight outline and fill of the whole layer when active */
.layer-container.active-layer-highlight {
  border: 2px solid var(--layer-active-color) !important;
  background-image: none !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

/* --- Tooltip focus dimming --- */
/* When a tooltip is pinned, fade everything except the source node */
#canvas.tooltip-pinned .node:not(.tooltip-source) {
  opacity: 0.15;
  transition: opacity 0.25s ease;
}

#canvas.tooltip-pinned .node.tooltip-source {
  opacity: 1;
  transition: opacity 0.25s ease;
}

#canvas.tooltip-pinned .node.tooltip-source .node-icon {
  border: 3px solid #000000;
}

#canvas.tooltip-pinned .layer-textbox {
  opacity: 0.15;
  transition: opacity 0.25s ease;
}

#canvas.tooltip-pinned #infra-text {
  opacity: 0.15;
  transition: opacity 0.25s ease;
}

#canvas.tooltip-pinned #optional-layers-note {
  opacity: 0.15;
  transition: opacity 0.25s ease;
}

#canvas.tooltip-pinned .infra-icon-wrapper:not(.tooltip-source) {
  opacity: 0.15;
  transition: opacity 0.25s ease;
}

#canvas.tooltip-pinned .infra-icon-wrapper.tooltip-source {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* --- Floating Node Tooltip --- */
#node-tooltip {
  position: fixed;
  z-index: 9999;
  background-color: #ffffff;
  border: 1.5px solid #000000;
  border-radius: 16px;
  padding: 16px 18px;
  width: 230px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.18s ease;
}

#node-tooltip.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

#tooltip-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #000000;
  line-height: 1.55;
  margin: 0;
}

/* Info icon button on node labels */
.node-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  margin-left: 3px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.35);
  font-size: 10px;
  line-height: 1;
  vertical-align: middle;
  transition: color 0.15s ease;
  pointer-events: all;
}

.node-info-btn:hover,
.node-info-btn.active {
  color: rgba(0, 0, 0, 0.75);
}

/* --- Fullscreen Mode --- */
#visualisation-wrapper:fullscreen {
  width: 100vw;
  height: auto !important;
  min-height: 100vh !important;
  max-width: none;
  border-radius: 0;
  padding: 15px;
  background-color: var(--bg-canvas);
  overflow-y: auto !important;
  border: none !important;
  box-shadow: none;
}

#visualisation-wrapper:fullscreen #canvas-container {
  height: auto !important;
  overflow: visible !important;
}

#visualisation-wrapper:fullscreen #canvas {
  height: auto !important;
}

#visualisation-wrapper:fullscreen #footer-credits {
  position: relative;
  right: auto;
  bottom: auto;
  margin-top: 32px;
  text-align: right;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}

::-webkit-scrollbar-thumb {
  background: #c8c0b5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b0a79b;
}

/* --- Mobile View --- */
@media (max-width: 600px) {
  #visualisation-wrapper {
    padding: 0;
  }

  #navbar {
    padding: 5px 10px;
    height: 56px;
    min-height: 56px;
  }

  #diagram-title {
    font-size: 12px;
  }


  #fullscreen-btn {
    width: 44px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
  }

  #fullscreen-btn svg {
    width: 24px;
    height: 24px;
  }

  #app {
    padding: 0 !important;
  }

  #canvas-container {
    padding: 15px 0 0 0;
    flex-grow: 1;
  }

  #workflow-section {
    margin-bottom: 8px;
    width: 100%;
    padding: 0 15px;
  }

  #workflow-select-wrapper {
    height: 36px;
    border-radius: 15px;
  }

  #workflow-dropdown-list {
    border-radius: 15px;
  }

  #workflow-selected-option {
    padding: 0 14px;
    font-size: 13px;
  }

  .workflow-option-item {
    padding: 8px 14px;
    font-size: 13px;
  }

  #canvas {
    padding: 10px;
    border-radius: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  #stack-wrapper {
    gap: 12px;
  }

  .layer-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .layer-textbox {
    flex: 1;
    min-width: 80px;
    max-width: 50%;
    gap: 3px;
  }

  .layer-title {
    font-size: 12px;
    font-weight: 700;
  }

  .layer-desc {
    font-size: 10px;
    line-height: 1.25;
  }

  .layer-container {
    flex: 1;
    max-width: 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 3px;
    border-radius: 10px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='rgba(0, 0, 0, 0.32)' stroke-width='1.5' stroke-dasharray='3%2c 9' stroke-linecap='square'/%3e%3c/svg%3e");
  }

  .layer-container.solid-border {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    background-image: none !important;
  }

  .layer-container.active-layer-highlight {
    border: 2px solid var(--layer-active-color) !important;
    background-image: none !important;
    background-color: #ffffff !important;
  }

  .node {
    width: auto;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .node-icon {
    width: 14.4px;
    height: 14.4px;
    background: none;
    border: none;
  }

  .node:hover .node-icon {
    border: none !important;
  }

  .node-icon img {
    width: 100%;
    height: 100%;
  }

  .node-label {
    font-size: 9px;
    line-height: 1.15;
    font-weight: 400;
    display: block;
  }

  .node-info-btn {
    display: none;
  }

  /* Active Highlights inside mobile — highlight the entire node card */
  .active-state .node.active-path-node {
    background-color: #ffffff;
    border: 1.5px solid var(--workflow-color);
  }

  .active-state .node.active-path-node .node-icon {
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

  .active-state .node.selected-node,
  #canvas.tooltip-pinned .node.tooltip-source {
    border: 1.5px solid #000000;
    background-color: #ffffff !important;
  }

  .active-state .node.selected-node .node-icon,
  #canvas.tooltip-pinned .node.tooltip-source .node-icon {
    border: none;
    box-shadow: none;
  }

  #infra-header {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  #infra-text {
    text-align: right;
    font-size: 10px;
    max-width: 200px;
    line-height: 1.2;
  }

  .infra-icon-wrapper {
    width: 18px;
    height: 18px;
  }

  .infra-icon-wrapper[title="Cloudflare"] {
    padding: 2px;
  }

  .layer-more-dots {
    display: none;
  }
  #footer-credits {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 15px;
    text-align: center;
  }
}

/* --- Tablet View --- */
@media (min-width: 601px) and (max-width: 850px) {
  #navbar {
    padding: 10px 15px;
    height: 70px;
    min-height: 70px;
  }


  #fullscreen-btn {
    width: 52px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
  }

  #fullscreen-btn svg {
    width: 26px;
    height: 26px;
  }

  #app {
    padding: 0 !important;
  }

  #canvas-container {
    padding: 15px 0 0 0;
  }

  #canvas {
    padding: 20px;
  }

  .layer-textbox {
    flex: 0 0 160px;
    gap: 4px;
  }

  .layer-title {
    font-size: 12px;
  }

  .layer-desc {
    font-size: 11px;
    line-height: 1.45;
  }

  .layer-container {
    padding: 8px 36px 8px 6px;
    gap: 3px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .node {
    width: 60px;
    gap: 3px;
    flex-shrink: 0;
  }

  .node-icon {
    width: 32px;
    height: 32px;
  }

  .node:hover .node-icon {
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
  }

  .node-icon img {
    width: 16px;
    height: 16px;
  }

  .node-label {
    font-size: 10px;
    line-height: 1.15;
    display: block;
  }

  .node-info-btn {
    display: none;
  }
}



/* --- Footer Credits --- */
#footer-credits {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 1;
  opacity: 0.2;
  transition: opacity 0.2s ease;
  z-index: 10;
}

#footer-credits:hover {
  opacity: 0.6;
}

#footer-credits a {
  color: #000000;
  text-decoration: none;
}

/* --- Optional Layers Note --- */
.note-row {
  margin-top: 24px;
  width: 100%;
}

#optional-layers-note {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  opacity: 0.5; /* 50% opacity */
  color: #000000;
  transition: opacity var(--transition-speed) ease;
  z-index: 10;
  position: relative;
}

.note-star {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  line-height: 1.4;
  flex-shrink: 0;
  transform: translateY(2px);
}

.note-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 600px) {
  .note-row {
    margin-top: 15px;
  }
  .note-row .empty-textbox {
    display: none;
  }
  #optional-layers-note {
    padding: 0;
  }
}