/*!
 * Font Awesome 本地版本 - 仅包含必要图标
 * 使用Unicode字符代替字体文件
 */

/* 基础图标样式 */
.fa, .fas, .far, .fab {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
    font-size: inherit;
    vertical-align: baseline;
}

/* 图标映射 - 使用Unicode字符 */
.fa-credit-card::before { content: "💳"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-mobile-alt::before, .fa-mobile::before { 
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-image: url('../images/LOGO.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-phone::before { content: "📞"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-user::before { content: "👤"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-lock::before { 
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../images/ic_home_dp@3x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-unlock::before { content: "🔓"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-home::before { content: "🏠"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-tachometer-alt::before, .fa-dashboard::before { content: "📊"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-shopping-cart::before { content: "🛒"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-share-alt::before { 
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../images/ic_home_share@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-chart-bar::before { content: "📈"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-chart-line::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_home_sj@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-building::before { content: "🏢"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-gift::before { content: "🎁"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-cog::before, .fa-gear::before { content: "⚙️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-list::before { content: "📋"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-sign-out-alt::before { content: "🚪"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }

/* 状态图标 */
.fa-check::before { content: "✅"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-check-circle::before { content: "✅"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-times::before { content: "❌"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-times-circle::before { content: "❌"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-exclamation-triangle::before { content: "⚠️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-info-circle::before { content: "ℹ️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }

/* 操作图标 */
.fa-search::before { content: "🔍"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-plus::before { content: "➕"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-minus::before { content: "➖"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-edit::before { content: "✏️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-trash::before { content: "🗑️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-eye::before { content: "👁️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-download::before { content: "⬇️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-upload::before { content: "⬆️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-save::before { content: "💾"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }

/* 箭头图标 */
.fa-arrow-right::before { content: "→"; }
.fa-arrow-left::before { content: "←"; }
.fa-arrow-up::before { content: "↑"; }
.fa-arrow-down::before { content: "↓"; }
.fa-chevron-right::before { content: "▶"; }
.fa-chevron-left::before { content: "◀"; }
.fa-chevron-up::before { content: "▲"; }
.fa-chevron-down::before { content: "▼"; }

/* 业务图标 */
.fa-money-bill::before { content: "💰"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-wallet::before { content: "👛"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-university::before { content: "🏦"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-calendar::before { 
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../images/ic_tc_txt2@3x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-clock::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_home_fw1@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-users::before { content: "👥"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-envelope::before { content: "✉️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-headset::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_home_fw3@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-shield-alt::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_home_fw2@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-shield-check::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_home_fw@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-bolt::before { 
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../images/ic_tc_txt1@3x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-star::before { content: "⭐"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-heart::before { content: "❤️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-thumbs-up::before { content: "👍"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-undo::before { content: "↩️"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-money-bill-wave::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_home_fw4@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-hand-holding-usd::before { content: "💴"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-coins::before { content: "🪙"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
.fa-fire::before { content: "🔥"; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }

/* 社交媒体图标 - 使用图片 */
.fa-facebook::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_button_fc@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-telegram::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_button_te@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.fa-zalo::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_button_zalo@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.fa-ws::before { 
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/ic_button_ws@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
/* 工具类 */
.fa-fw {
    text-align: center;
    width: 1.25em;
}

.fa-lg {
    font-size: 1.33333em;
    line-height: 0.75em;
    vertical-align: -0.0667em;
}

.fa-xs { font-size: 0.75em; }
.fa-sm { font-size: 0.875em; }
.fa-1x { font-size: 1em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }

/* 确保图标正确显示 */
.fa::before, .fas::before, .far::before, .fab::before {
    margin-right: 0.3em;
}

/* 特殊情况：在按钮中的图标 */
.btn .fa::before, .btn .fas::before {
    margin-right: 0.5em;
}

/* 表格中的图标 */
.table .fa::before, .table .fas::before {
    margin-right: 0.2em;
} 