/* Fotor Photo Editor 1.0.174 — consistent Lucide UI icon styling. */
#fotor-root .sg-lucide,
body .sg-lucide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: currentColor;
  line-height: 1;
}
#fotor-root .sg-lucide svg,
body .sg-lucide svg { display:block; width:100%; height:100%; overflow:visible; }
#fotor-root .sg-lucide-host,
body .sg-lucide-host { font-size:0 !important; line-height:1 !important; }
#fotor-root .sg-lucide-button,
body .sg-lucide-button { font-size:0 !important; }
#fotor-root .sg-lucide-button .sg-lucide,
body .sg-lucide-button .sg-lucide { margin:0; }
#fotor-root .sg-lucide--spin,
body .sg-lucide--spin { animation:sgLucideSpin .85s linear infinite; }
@keyframes sgLucideSpin { to { transform:rotate(360deg); } }

/* Left rail / mobile bottom rail. */
#fotor-root .rail-ico.sg-lucide-host { width:20px; height:20px; display:grid; place-items:center; color:rgba(239,244,252,.92); }
#fotor-root .rail-btn.active .rail-ico.sg-lucide-host { color:#9cc8ff; }
#fotor-root .rail-ico .sg-lucide { width:18px; height:18px; }

/* Workspace action cluster. */
#fotor-root .ws-action__icon.sg-lucide-host { display:grid; place-items:center; }
#fotor-root .ws-action__icon .sg-lucide { width:18px; height:18px; }
#fotor-root .ws-action.primary .sg-lucide { color:#b9d6ff; }
#fotor-root .ws-action--lite .sg-lucide { color:#ffd36b; }
#fotor-root .ws-action.danger .sg-lucide { color:#c8cdd5; }

/* Quick tools keep their existing semantic accent colors, but one icon language. */
#fotor-root .qt-btn__icon.sg-lucide-host .sg-lucide { width:16px; height:16px; color:var(--qt-accent); }

/* Mobile top controls. */
#fotor-root .mtool-top-btn.sg-lucide-button { display:grid !important; place-items:center !important; }
#fotor-root .mtool-top-btn.sg-lucide-button .sg-lucide { width:18px; height:18px; }
#fotor-root .mtool-top-btn--apply .mtool-top-btn__icon.sg-lucide-host { display:inline-flex; align-items:center; justify-content:center; }
#fotor-root .mtool-top-btn--apply .mtool-top-btn__icon .sg-lucide { width:17px; height:17px; }

/* Close/back/help buttons. */
#fotor-root .lp-close.sg-lucide-button,
#fotor-root .lp-back.sg-lucide-button,
#fotor-root .tour-help-btn.sg-lucide-button,
#fotor-root .mobile-tool-back.sg-lucide-button,
body .sg-prompt-editor__close.sg-lucide-button,
body .hair-color-modal__close.sg-lucide-button,
body .sg-add-person-prompt__back.sg-lucide-button,
body .sg-add-person-prompt__close.sg-lucide-button,
body .sg-history-tip__close.sg-lucide-button,
body .sg-account-save-notice__close.sg-lucide-button,
body .fp-auth-popup__close.sg-lucide-button {
  display:grid !important;
  place-items:center !important;
}

/* Create Photo / HOT. */
body .ti-mode-tab__flame.sg-lucide-host { display:inline-flex !important; }
body .ti-mode-tab__flame .sg-lucide { width:15px; height:15px; }
body .ti-custom-prompt-button__icon.sg-lucide-host .sg-lucide { width:17px; height:17px; }
body .ti-custom-prompt-button__arrow.sg-lucide-host .sg-lucide,
body .ti-style-button > i.sg-lucide-host .sg-lucide { width:15px; height:15px; }
body .ti-style-grid > button > span.sg-lucide-host { display:inline-flex !important; align-items:center; justify-content:center; }
body .ti-style-grid > button > span.sg-lucide-host .sg-lucide { width:17px; height:17px; }
body .ti-mobile-circle-btn.sg-lucide-button { display:grid !important; place-items:center !important; }
body .ti-mobile-circle-btn.sg-lucide-button .sg-lucide { width:17px; height:17px; }
body .ti-prompt-popup-kicker,
body .ti-popup-style-button,
body .ti-mobile-mode-tabs button.hot {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
}
body .ti-prompt-popup-kicker .sg-lucide,
body .ti-popup-style-button .sg-lucide,
body .ti-mobile-mode-tabs button.hot .sg-lucide { width:14px; height:14px; flex-basis:14px; }
body .sg-lucide-inline-label { font:inherit; color:inherit; }

/* Misc editor icons. */
#fotor-root .placeholder-icon.sg-lucide-host,
body .sg-account-save-notice__icon.sg-lucide-host,
body .sg-premium-result-upsell__icon.sg-lucide-host,
body .esg-topup-card__icon.sg-lucide-host,
body .esg-subscription-card__icon.sg-lucide-host { display:grid !important; place-items:center !important; }

@media (max-width:768px) {
  #fotor-root .rail-ico .sg-lucide { width:16px; height:16px; }
  #fotor-root .ws-action__icon .sg-lucide { width:17px; height:17px; }
}
