/* Comandos administrativos y estado de silencio temporal del chat. */

.chat-muted-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  padding: 11px 19px;
}

.chat-muted-notice strong {
  flex: none;
  font-size: 11px;
}

.chat-muted-notice span {
  font-size: 10px;
  text-align: right;
}

.chat-composer.is-muted {
  background: #f8fafc;
}

.chat-composer.is-muted textarea,
.chat-composer.is-muted button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.chat-composer.is-muted textarea:disabled {
  border-color: var(--line);
  background: #eef2f6;
  box-shadow: none;
}

.chat-admin-commands {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.chat-admin-commands code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2, #f4f7fb);
  color: var(--ink);
  padding: 1px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
}

html.theme-dark .chat-muted-notice {
  border-color: rgba(251, 146, 60, .35);
  background: rgba(154, 52, 18, .2);
  color: #fdba74;
}

html.theme-dark .chat-composer.is-muted,
html.theme-dark .chat-composer.is-muted textarea:disabled {
  background: var(--surface-2);
}

@media (max-width: 650px) {
  .chat-muted-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 10px 14px;
  }

  .chat-muted-notice span {
    text-align: left;
  }
}
