.anuncio-card {
  background-color: var(--card-bg) !important;
  color: var(--card-text);
  border: none !important;
  font-family: "Open Sans", sans-serif;
}

.anuncio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.5rem var(--shadow-color);
}

.anuncio-card .card-header {
  background-color: var(--secondary-color) !important;
  color: var(--card-text-secondary) !important;
  border-bottom: 1px solid var(--divider-color);
}

.anuncio-card .card-header button {
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  background-color: transparent;
  color: var(--card-button) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anuncio-card .card-header button:hover {
  background-color: var(--header-btn-hover);
}

.anuncio-card .leer-mas-link {
  font-weight: 600;
  color: var(--accent-color);
}

.anuncio-card .leer-mas-link:hover {
  text-decoration: underline;
  color: var(--btn-bg-hover);
}

.anuncio-card .text-muted {
  color: var(--card-muted-text) !important;
}

.anuncio-card .priority-footer {
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-top: 1px solid var(--divider-color);
  color: var(--card-text);
}

.rsw-toolbar {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rsw-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.rsw-ce {
  padding: 8px;
  min-height: 120px;
  outline: none;
}

.rsw-dd {
  padding: 4px;
  border-radius: 6px;
}

.rsw-ce ul {
  list-style: disc;
  padding-left: 2em;
}

.rsw-ce ol {
  list-style: decimal;
  padding-left: 2em;
}

/* Estilo base del contenedor del editor */
.rsw-editor {
  background-color: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: 8px !important;
  padding: 0.5rem !important;
  color: var(--input-text) !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 0.95rem !important;
}

/* Estilo del área editable */
.rsw-editor textarea {
  background-color: transparent !important;
  border: none !important;
  color: var(--input-text) !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 0.95rem !important;
  resize: vertical !important;
  min-height: 120px !important;
}

/* Placeholder del textarea si lo añades dinámicamente */
.rsw-editor textarea::placeholder {
  color: var(--placeholder-color) !important;
}

/* Enfoque del editor */
.rsw-editor:focus-within {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.15rem rgba(67, 167, 72, 0.25);
}

/* Toolbar del editor */
.rsw-toolbar {
  background-color: transparent !important;
  border-bottom: 1px solid var(--input-border) !important;
  padding-bottom: 0.25rem !important;
  margin-bottom: 0.5rem !important;
}

/* Botones del toolbar */
.rsw-toolbar button {
  background: transparent !important;
  border: none !important;
  color: var(--toolbar-btn-color) !important;
  border-radius: 6px !important;
  padding: 0.35rem !important;
}

.rsw-toolbar button:hover {
  background-color: var(--toolbar-btn-hover) !important;
}

.rsw-toolbar button:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}
