/**
 * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */
.ck-find-result{
  background:var(--ck-color-highlight-background);
  color:var(--ck-color-text);
}

.ck-find-result_selected{
  background:#ff9633;
}

.ck.ck-find-and-replace-form{
  width:400px;
  max-width:100%;
}

.ck.ck-find-and-replace-form:focus{
  outline:none;
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions{
  padding:var(--ck-spacing-large);
  flex-flow:wrap;
  flex:auto;
  align-content:stretch;
  align-items:center;
  margin:0;
  display:flex;
}

:is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions) > .ck-button{
  flex:none;
}

[dir="ltr"] :is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions) > * + *{
  margin-left:var(--ck-spacing-standard);
}

[dir="rtl"] :is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions) > * + *{
  margin-right:var(--ck-spacing-standard);
}

:is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions) .ck-labeled-field-view{
  flex:auto;
}

:is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions) .ck-labeled-field-view .ck-input{
  width:100%;
  min-width:50px;
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs{
  align-items:flex-start;
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-button-prev > .ck-icon{
  transform:rotate(90deg);
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-button-next > .ck-icon{
  transform:rotate(-90deg);
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter{
  color:var(--ck-color-base-border);
  position:absolute;
  top:50%;
  transform:translateY(-50%);
}

[dir="ltr"] :is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter){
  right:var(--ck-spacing-standard);
}

[dir="rtl"] :is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter){
  left:var(--ck-spacing-standard);
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-labeled-field-replace{
  padding-top:var(--ck-spacing-standard);
  flex:0 0 100%;
}

[dir="ltr"] :is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-labeled-field-replace){
  margin-left:0;
}

[dir="rtl"] :is(.ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-labeled-field-replace){
  margin-right:0;
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions{
  margin-top:calc(-1 * var(--ck-spacing-large));
  flex-wrap:wrap;
  justify-content:flex-end;
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > .ck-button-find{
  font-weight:bold;
}

.ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > .ck-button-find .ck-button__label{
  padding-left:var(--ck-spacing-large);
  padding-right:var(--ck-spacing-large);
}

.ck.ck-find-and-replace-form .ck-switchbutton{
  flex-flow:row;
  justify-content:space-between;
  align-items:center;
  width:100%;
  display:flex;
}

@media screen and (width <= 600px){
  .ck.ck-find-and-replace-form{
    width:300px;
    max-width:100%;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__input{
    flex-wrap:wrap;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__input .ck-labeled-field-view{
    width:100%;
    margin-bottom:var(--ck-spacing-standard);
    flex:1 0 auto;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button{
    text-align:center;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type{
    flex:auto;
  }

  [dir="ltr"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type{
    margin-left:0;
  }

  [dir="rtl"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type{
    margin-right:0;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type .ck-button__label{
    text-align:center;
    width:100%;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view){
    flex-wrap:wrap;
    flex:auto;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button{
    text-align:center;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button:first-of-type{
    flex:auto;
  }

  [dir="ltr"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button:first-of-type{
    margin-left:0;
  }

  [dir="rtl"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button:first-of-type{
    margin-right:0;
  }

  .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button .ck-button__label{
    text-align:center;
    width:100%;
  }
}