/**
 * Titre de reunion modifiable (reunion sans compte-rendu) - Whisp It
 */

.detail-meeting-title.is-renamable {
  cursor: text;
  border-radius: 8px;
  outline: none;
}

/* Petit crayon a la suite du titre : indique qu'il se modifie */
.detail-meeting-title.is-renamable::after {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.4em;
  vertical-align: baseline;
  background-color: var(--text-secondary, #64748b);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.detail-meeting-title.is-renamable:focus-visible {
  box-shadow: 0 0 0 2px var(--border-card, #e2e8f0);
}

.detail-meeting-title.is-renaming {
  padding: 4px 8px;
  margin: -4px -8px;
  background-color: var(--bg-card, #ffffff);
  box-shadow: 0 0 0 1.5px var(--text-primary, #0f172a);
}

.detail-meeting-title.is-renaming::after {
  display: none;
}
