/* Font Awesome 本地备用样式 - 简化版
   当CDN无法访问时的备用方案 */

/* 基础图标样式 */
.fa, .fas, .fab, .far, .fal, .fad {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
    speak: none;
}

/* 当Font Awesome未加载时，使用Unicode字符作为备用 */
.icon-fallback .fab.fa-whatsapp:before,
.icon-fallback .fas.fa-whatsapp:before { content: "📱"; }

.icon-fallback .fas.fa-user:before { content: "👤"; }
.icon-fallback .fas.fa-lock:before { content: "🔒"; }
.icon-fallback .fas.fa-home:before { content: "🏠"; }
.icon-fallback .fas.fa-phone:before { content: "📞"; }
.icon-fallback .fas.fa-comment:before { content: "💬"; }
.icon-fallback .fas.fa-code:before { content: "💻"; }
.icon-fallback .fas.fa-cog:before { content: "⚙️"; }
.icon-fallback .fas.fa-users:before { content: "👥"; }
.icon-fallback .fas.fa-sign-out-alt:before { content: "🚪"; }
.icon-fallback .fas.fa-globe:before { content: "🌍"; }
.icon-fallback .fas.fa-link:before { content: "🔗"; }
.icon-fallback .fas.fa-plus:before { content: "➕"; }
.icon-fallback .fas.fa-copy:before { content: "📋"; }
.icon-fallback .fas.fa-check-circle:before { content: "✅"; }
.icon-fallback .fas.fa-times-circle:before { content: "❌"; }
.icon-fallback .fas.fa-exclamation-circle:before { content: "⚠️"; }
.icon-fallback .fas.fa-headset:before { content: "🎧"; }

/* 输入框图标样式调整 */
.icon-fallback .form-input-icon .fas:before {
    font-size: 14px;
}

/* 登录页面图标特殊样式 */
.icon-fallback .login-logo .fab.fa-whatsapp:before {
    font-size: 36px;
}

/* 侧边栏图标样式 */
.icon-fallback .sidebar-logo .fab.fa-whatsapp:before {
    font-size: 24px;
}

/* 统计卡片图标样式 */
.icon-fallback .stat-icon .fas:before {
    font-size: 20px;
}

/* 自动检测Font Awesome加载状态的CSS */
@font-face {
    font-family: 'FontAwesome';
    src: url('data:application/font-woff;charset=utf-8;base64,') format('woff');
}

/* 默认启用备用图标，当真实Font Awesome加载后会被覆盖 */
body {
    /* 检测类会被JavaScript动态添加 */
}