/*
 * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
 */

.ck-word-count {
  display: flex;
  justify-content: flex-start;
  background: var(--ck-color-toolbar-background);
  padding: var(--ck-spacing-small) var(--ck-spacing-standard);
  border: 1px solid var(--ck-color-base-border);
  border-top-width: 0;
  border-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);
  font-size: var(--font-size-s);
  margin-top: -5px;
  padding-top: 10px;
}

.ck.ck-word-count .ck-word-count__words {
  margin-right: var(--ck-spacing-standard);
}

.ck.ck-word-count div {
  color: var(--ck-color-text);
}

.ck.ck-word-count div span {
  color: initial;
}

.revision-history-active .ck-word-count-container,
.ck-word-count-hide-element {
  display: none;
}
