/* ================================================================
   BASE / RESET / ESTRUTURA GERAL
   Elementos de scaffold do projeto, sticky footer e títulos do header
   ================================================================ */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margem no fim da página para impedir que o rodapé sobreponha o conteúdo (aumentado para respiro) */
    margin-bottom: 90px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Altura do rodapé reduzida */
}

.titulo-municipio {
    margin-left: 12px;
    font-size: 18px;
    color: #fff;
    line-height: 2.0;
}

.titulo-portal {
    margin-left: 12px;
    color: #fff;
    line-height: 1.1;
}

@media (max-width: 767.98px) {
    .titulo-municipio {
        font-size: 12px;
        line-height: 1.2;
        margin-left: 8px;
        margin-top: 8px;
    }
    .titulo-portal {
        font-size: 16px;
        line-height: 1.2;
        margin-left: 8px;
        margin-bottom: 8px;
    }
}

.titulo-navbar {
    margin-top: 5px !important;
    margin-bottom: 0px !important;
}

/* Barra de progresso do pré-cadastro no Autenticador (Suporte > Gerenciar Unidades) */
.pre-cadastro-progresso {
    height: 1.25rem;
    border-radius: 0.625rem;
}

.pre-cadastro-progresso .progress-bar {
    border-radius: 0.625rem;
    transition: width 0.4s ease;
}
