/* Rich Text Editor Styles */
.editor {
  border: 1px solid var(--color-border-light, #cdcdcd);
  background-color: var(--color-background-white, #fff);
  font-family: var(--font-family, Verdana, Arial, Helvetica, sans-serif);
  font-size: var(--font-size-base, 8pt);
  border-radius: 2px;
}

/* Toolbar */
.editor .toolbar {
  background-color: #f7f7f7;
  border-bottom: 1px solid var(--color-border-light, #cdcdcd);
  padding: 3px;
  display: flex;
  gap: 2px;
  align-items: center;
}

.editor .toolbar button {
  background-color: #fff;
  border: 1px solid var(--color-secondary, #00488C);
  color: var(--color-secondary, #00488C);
  font-weight: bold;
  font-family: inherit;
  font-size: 0.9em;
  cursor: pointer;
  padding: 2px 5px;
  min-width: 22px;
  height: 20px;
  transition: all 0.15s ease;
  border-radius: 2px;
}

.editor .toolbar button:hover {
  background-color: #D9E8FF;
  border-color: #0066CC;
  color: #0066CC;
  position: relative;
  top: 1px;
  left: 1px;
}

.editor .toolbar button:active {
  background-color: #c5dbf5;
  border-color: var(--color-secondary, #00488C);
}

.editor .toolbar button.bold {
  font-weight: bold;
}

.editor .toolbar button.italic {
  font-style: italic;
}

.editor .toolbar button.underline {
  text-decoration: underline;
}

/* Content Area */
.editor .content {
  min-height: 120px;
  padding: 8px;
  background-color: #f7f7f7;
  color: var(--color-dark, #333);
  line-height: 1.5;
  outline: none;
  overflow-y: auto;
  max-height: 400px;
}

.editor .content:focus {
  background-color: #E6FAE6;
}

.editor .content:empty:before {
  content: attr(data-placeholder);
  color: #999;
  font-style: italic;
}
/*
!* Action Buttons - uses standard button.css styles *!
.editor .editor-actions {
  padding: 0.5em;
  background-color: #f0f0f0;
  border-top: 1px solid var(--color-border-light, #cdcdcd);
  text-align: right;
}*/
