/* Styles for cell edit mode overlay */
.sage-ai-diff-edit-mode-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 10;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sage-ai-diff-edit-mode-banner {
  position: absolute;
  top: 0;
  left: 20px;
  background-color: #fc5151;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 0 0 0 4px;
  z-index: 11;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: none !important;
}

.sage-ai-diff-edit-mode-instructions {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--jp-brand-color1);
  color: var(--jp-ui-font-color1);
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 4px;
  z-index: 11;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 80%;
}

/* Make sure the cell has relative positioning for absolute positioning to work */
.jp-Cell.jp-mod-selected.sage-ai-diff-edit-mode {
  position: relative;
}

/* Make the diff content more readable */
.diff-view {
  padding: 10px;
  border-radius: 4px;
  background-color: var(--jp-layout-color0);
}
