/* 
 * Fallback para ícones Bootstrap Icons
 * Este arquivo fornece estilos alternativos caso os ícones não carreguem da CDN
 */

/* Fallback para bi-building usando Unicode */
.bi-building::before {
    content: "\f1ad" !important;
    font-family: "bootstrap-icons", "Font Awesome 6 Free", sans-serif !important;
    font-weight: 900;
}

/* Fallback alternativo usando Font Awesome se disponível */
.bi-building.fa-fallback::before {
    content: "\f1ad";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Fallback usando texto se nenhum ícone funcionar */
.bi-building.text-fallback::before {
    content: "🏢";
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

/* Estilos para garantir que os ícones tenham o tamanho correto */
.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentcolor;
}

/* Tamanhos específicos */
.bi.fs-5 {
    font-size: 1.25rem;
}

/* Verificação se os ícones Bootstrap carregaram */
@supports not (font-family: "bootstrap-icons") {
    .bi-building::before {
        content: "🏢";
        font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    }
}

/* Estilo para debug - mostra se o ícone não carregou */
.icon-debug .bi-building:not([data-loaded])::after {
    content: " [ícone não carregado]";
    font-size: 0.75em;
    color: #dc3545;
    font-family: monospace;
}