/* Inline Editor Styles - Minimal, maintains existing look and feel */

/* Editable element indicator (only visible on hover) */
.inline-editable {
  position: relative;
  cursor: text;
  transition: all 0.2s ease;
}

.inline-editable:hover {
  outline: 2px dashed rgba(0, 123, 255, 0.3);
  outline-offset: 2px;
  background-color: rgba(0, 123, 255, 0.05);
}

.inline-editable:hover::after {
  content: '✎';
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(0, 123, 255, 0.9);
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* Input field when editing */
.inline-editor-input {
  width: 100%;
  padding: 4px 8px;
  border: 2px solid #007bff;
  border-radius: 4px;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  outline: none;
  min-width: 200px;
}

.inline-editor-input:focus {
  border-color: #0056b3;
  box-shadow: 0 2px 12px rgba(0, 123, 255, 0.3);
}

.inline-editor-input.inline-editor-saving {
  border-color: #ffc107;
  background-color: #fffbf0;
}

.inline-editor-input.inline-editor-error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

/* Success feedback */
.inline-editor-saved {
  animation: inline-editor-saved 0.5s ease;
}

@keyframes inline-editor-saved {
  0% {
    background-color: rgba(40, 167, 69, 0.2);
  }
  100% {
    background-color: transparent;
  }
}

/* Error message */
.inline-editor-error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  padding: 4px 8px;
  background: #fff5f5;
  border: 1px solid #dc3545;
  border-radius: 4px;
}

/* Prevent editing on certain elements */
a.inline-editable:hover {
  text-decoration: underline;
}

/* Ensure edit icon doesn't interfere with layout */
.inline-editable {
  display: inline-block;
  min-width: 1em;
}

