@import url("/assets/fontawesome6/css/all.min.css");

/* Front icon compatibility: legacy icon-* / el-icon-* -> Font Awesome */
.icon[class*="icon-"], .el-icon-close {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon[class*="icon-"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  speak: none;
}

.el-icon-close {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
}

.icon-disk { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-disk:before { content: "\f0a0"; }

.icon-delete { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-delete:before { content: "\f2ed"; }

.icon-link { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-link:before { content: "\f0c1"; }

.icon-share { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-share:before { content: "\f201"; }

.icon-vip { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-vip:before { content: "\f555"; }

.icon-upload { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-upload:before { content: "\f0ee"; }

.icon-newfolder { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-newfolder:before { content: "\f65e"; }

.icon-search { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-search:before { content: "\f002"; }

.icon-tips-caution { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-tips-caution:before { content: "\f06a"; }

.icon-more { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-more:before { content: "\f141"; }

.icon-home-header-vip { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-home-header-vip:before { content: "\f521"; }

.icon-download { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-download:before { content: "\f019"; }

.icon-edit { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-edit:before { content: "\f044"; }

.icon-copy { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-copy:before { content: "\f0c5"; }

.icon-save-disk { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-save-disk:before { content: "\f0c7"; }

.icon-history { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-history:before { content: "\f1da"; }

.icon-notice { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-notice:before { content: "\f0a1"; }

.icon-feedback { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-feedback:before { content: "\f086"; }

.icon-mail { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-mail:before { content: "\f0e0"; }

.icon-print { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-print:before { content: "\f02f"; }

.icon-check { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-check:before { content: "\f00c"; }

.icon-ok { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-ok:before { content: "\f00c"; }

.icon-cancel { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-cancel:before { content: "\f00d"; }

.icon-close { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-close:before { content: "\f00d"; }

.icon-sync { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-sync:before { content: "\f2f9"; }

.icon-refresh { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-refresh:before { content: "\f2f9"; }

.icon-refresh-1 { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-refresh-1:before { content: "\f2f9"; }

.icon-list { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-list:before { content: "\f0c9"; }

.icon-grid { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-grid:before { content: "\f009"; }

.icon-play { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-play:before { content: "\f144"; }

.icon-my-share { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-my-share:before { content: "\f1e0"; }

.icon-android { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.icon-android:before { content: "\f17b"; }

.icon-apple { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.icon-apple:before { content: "\f179"; }

.icon-win { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.icon-win:before { content: "\f17a"; }

.icon-iPad { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.icon-iPad:before { content: "\f3fa"; }

.el-icon-close { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.el-icon-close:before { content: "\f00d"; }

/* Keep tree dialog icons consistent with FA */
.icon-operate, .treeview-dir {
  background: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
}
.icon-operate:before, .treeview-dir:before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.treeview-dir:before { content: "\f07b"; color: #f4b13d; }
.treeview-node-on .treeview-dir:before { content: "\f07c"; color: #e5a52d; }
.icon-operate.open:before { content: "\f0d7"; color: #6b7280; }
.icon-operate.close2:before { content: "\f0da"; color: #6b7280; }
.icon-operate.plus:before, .icon-operate.b-in-blk.plus:before { content: "\2b"; color: #6b7280; }
.icon-operate:not(.open):not(.close2):not(.plus):before { content: ""; }

/* Slight visual tuning for sidebar / action icons */
.g-button-right .icon, .top-item .icon, .wrapper-login .link-wrap .icon {
  text-align: center;
}