/* Fotor Photo Editor 1.0.281 — stage 3.1: explicit desktop workspace controls. */

@media (min-width: 769px) {
  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  /* Separators communicate history | rotation | zoom without another frame. */
  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-sep {
    flex: 0 0 1px !important;
    width: 1px !important;
    height: 20px !important;
    margin: 0 4px !important;
    background: rgba(255, 255, 255, .12) !important;
    opacity: 1 !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-btn,
  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-zoom.sg-zoom-reset {
    height: 34px !important;
    min-height: 34px !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    border-radius: 9px !important;
    background: #11161d !important;
    color: rgba(226, 233, 242, .88) !important;
    box-shadow: none !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-btn:hover:not(:disabled),
  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-zoom.sg-zoom-reset:hover {
    border-color: rgba(91, 157, 241, .42) !important;
    background: #162338 !important;
    color: #f5f9ff !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-btn:focus-visible,
  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-zoom.sg-zoom-reset:focus-visible {
    outline: 2px solid rgba(105, 174, 255, .88) !important;
    outline-offset: 2px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-zoom.sg-zoom-reset {
    width: 54px !important;
    min-width: 54px !important;
    padding: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    user-select: none !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-btn--fit {
    width: auto !important;
    min-width: 82px !important;
    padding: 0 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-btn--fit .fc-btn-label {
    display: inline !important;
    font-size: 11px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .ws-float-controls .fc-btn:disabled {
    opacity: .46 !important;
    cursor: default !important;
  }
}

/* Mobile keeps its established compact history-only control. */
@media (max-width: 768px) {
  #fotor-root .editor-shell.is-mobile .fc-btn--fit .fc-btn-label {
    display: none !important;
  }
}
