/* Font Awesome 本地字体定义 */

/* Font Awesome 6 Free Solid */
@font-face {
    font-family: "Font Awesome 6 Free";
    src: url("../fonts/fa-solid-900.woff2") format("woff2"),
         url("../fonts/fa-solid-900.woff") format("woff"),
         url("../fonts/fa-solid-900.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Font Awesome 6 Free Regular */
@font-face {
    font-family: "Font Awesome 6 Free";
    src: url("../fonts/fa-regular-400.woff2") format("woff2"),
         url("../fonts/fa-regular-400.woff") format("woff"),
         url("../fonts/fa-regular-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Font Awesome 基础样式 */
.fa, .fas, .fa-solid, .far, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-style: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

.far, .fa-regular {
    font-weight: 400;
}

/* 具体图标的Unicode定义 */
/* 使用Font Awesome 4.7的Unicode值确保兼容性 */

/* 登录和用户界面图标 */
.fa-user:before { content: "\f007"; }
.fa-lock:before { content: "\f023"; }
.fa-unlock:before { content: "\f09c"; }
.fa-eye:before { content: "\f06e"; }
.fa-eye-slash:before { content: "\f070"; }
.fa-sign-in:before, .fa-sign-in-alt:before { content: "\f090"; }
.fa-sign-out:before, .fa-sign-out-alt:before { content: "\f08b"; }

/* 管理界面和仪表盘图标 */
.fa-tachometer:before, .fa-tachometer-alt:before, .fa-dashboard:before { content: "\f0e4"; }
.fa-users:before { content: "\f0c0"; }
.fa-cog:before, .fa-cogs:before { content: "\f013"; }
.fa-home:before { content: "\f015"; }
.fa-bed:before { content: "\f236"; }
.fa-building:before { content: "\f1ad"; }
.fa-chart-bar:before, .fa-bar-chart:before { content: "\f080"; }
.fa-chart-line:before, .fa-line-chart:before { content: "\f201"; }

/* 房间和酒店管理图标 */
.fa-hotel:before { content: "\f236"; }
.fa-door-open:before { content: "\f52b"; }
.fa-door-closed:before { content: "\f52a"; }
.fa-calendar:before { content: "\f073"; }
.fa-calendar-alt:before { content: "\f133"; }
.fa-key:before { content: "\f084"; }

/* 状态和功能图标 */
.fa-check:before { content: "\f00c"; }
.fa-check-circle:before { content: "\f058"; }
.fa-times:before { content: "\f00d"; }
.fa-times-circle:before { content: "\f057"; }
.fa-exclamation:before { content: "\f12a"; }
.fa-exclamation-triangle:before { content: "\f071"; }
.fa-info:before { content: "\f129"; }
.fa-info-circle:before { content: "\f05a"; }

/* 编辑和操作图标 */
.fa-edit:before, .fa-pencil:before { content: "\f040"; }
.fa-trash:before { content: "\f1f8"; }
.fa-trash-alt:before { content: "\f2ed"; }
.fa-plus:before { content: "\f067"; }
.fa-minus:before { content: "\f068"; }
.fa-save:before { content: "\f0c7"; }
.fa-download:before { content: "\f019"; }
.fa-upload:before { content: "\f093"; }

/* 导航图标 */
.fa-arrow-left:before { content: "\f060"; }
.fa-arrow-right:before { content: "\f061"; }
.fa-arrow-up:before { content: "\f062"; }
.fa-arrow-down:before { content: "\f063"; }
.fa-chevron-left:before { content: "\f053"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-chevron-up:before { content: "\f077"; }
.fa-chevron-down:before { content: "\f078"; }

/* 通讯图标 */
.fa-envelope:before { content: "\f0e0"; }
.fa-phone:before { content: "\f095"; }
.fa-mobile:before, .fa-mobile-alt:before { content: "\f10b"; }
.fa-comment:before { content: "\f075"; }
.fa-comments:before { content: "\f086"; }

/* 媒体和文件图标 */
.fa-file:before { content: "\f15b"; }
.fa-file-alt:before { content: "\f15c"; }
.fa-image:before { content: "\f03e"; }
.fa-video:before { content: "\f03d"; }
.fa-play:before { content: "\f04b"; }
.fa-pause:before { content: "\f04c"; }
.fa-stop:before { content: "\f04d"; }

/* 搜索和过滤图标 */
.fa-search:before { content: "\f002"; }
.fa-filter:before { content: "\f0b0"; }
.fa-sort:before { content: "\f0dc"; }
.fa-refresh:before, .fa-sync:before { content: "\f021"; }

/* 语言和地区图标 */
.fa-globe:before { content: "\f0ac"; }
.fa-language:before { content: "\f1ab"; }

/* 打印和导出图标 */
.fa-print:before { content: "\f02f"; }
.fa-file-pdf:before { content: "\f1c1"; }
.fa-file-excel:before { content: "\f1c3"; }

/* 设置和配置图标 */
.fa-sliders:before, .fa-sliders-h:before { content: "\f1de"; }
.fa-wrench:before { content: "\f0ad"; }
.fa-tools:before { content: "\f7d9"; }

/* 统计和分析图标 */
.fa-chart-pie:before, .fa-pie-chart:before { content: "\f200"; }
.fa-analytics:before { content: "\f643"; }

/* 通知图标 */
.fa-bell:before { content: "\f0f3"; }
.fa-bell-slash:before { content: "\f1f6"; }

/* 心情和反馈图标 */
.fa-smile:before { content: "\f118"; }
.fa-frown:before { content: "\f119"; }
.fa-meh:before { content: "\f11a"; }
.fa-star:before { content: "\f005"; }
.fa-star-half:before { content: "\f089"; }

/* 安全和隐私图标 */
.fa-shield:before, .fa-shield-alt:before { content: "\f132"; }
.fa-lock-open:before { content: "\f3c1"; }

/* 时间图标 */
.fa-clock:before { content: "\f017"; }
.fa-history:before { content: "\f1da"; }

/* 网络和连接图标 */
.fa-wifi:before { content: "\f1eb"; }
.fa-signal:before { content: "\f012"; }
.fa-plug:before { content: "\f1e6"; }

/* 购物和商务图标 */
.fa-shopping-cart:before { content: "\f07a"; }
.fa-credit-card:before { content: "\f09d"; }
.fa-money:before, .fa-money-bill:before { content: "\f0d6"; }

/* 地图和位置图标 */
.fa-map:before { content: "\f279"; }
.fa-map-marker:before, .fa-map-marker-alt:before { content: "\f041"; }
.fa-location-arrow:before { content: "\f124"; }

/* 社交媒体图标 */
.fa-facebook:before { content: "\f09a"; }
.fa-twitter:before { content: "\f099"; }
.fa-instagram:before { content: "\f16d"; }
.fa-linkedin:before { content: "\f0e1"; }

/* 更多常用图标 */
.fa-heart:before { content: "\f004"; }
.fa-thumbs-up:before { content: "\f164"; }
.fa-thumbs-down:before { content: "\f165"; }
.fa-bookmark:before { content: "\f02e"; }
.fa-flag:before { content: "\f024"; }
.fa-tag:before { content: "\f02b"; }
.fa-tags:before { content: "\f02c"; }

/* Complaint表单专用图标 */
.fa-concierge-bell:before { content: "\f562"; }
.fa-exclamation-circle:before { content: "\f06a"; }
.fa-tint:before { content: "\f043"; }
.fa-snowflake:before { content: "\f2dc"; }
.fa-bath:before { content: "\f2cd"; }
.fa-shower:before { content: "\f2cc"; }
.fa-cut:before { content: "\f0c4"; }
.fa-volume-up:before { content: "\f028"; }
.fa-broom:before { content: "\f51a"; }
.fa-user-times:before { content: "\f235"; }
.fa-thermometer-half:before { content: "\f2c9"; }
.fa-paper-plane:before { content: "\f1d8"; }
.fa-headset:before { content: "\f590"; }

/* 确保所有图标都使用正确的字体系列 */
[class^="fa-"]:before,
[class*=" fa-"]:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

/* Edge浏览器特别优化 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .fa, [class^="fa-"], [class*=" fa-"] {
        font-family: "Font Awesome 6 Free" !important;
        -ms-transform: translateZ(0);
        transform: translateZ(0);
    }
} 