* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        #f3f5f8;

    color:
        #1f2937;
}

.pagina-login {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;

    background: #ffffff;

    border-radius: 16px;

    padding:
        42px
        36px
        28px;

    box-shadow:
        0 14px 40px
        rgba(0, 0, 0, 0.10);
}

.marca {
    text-align: center;

    margin-bottom: 36px;
}

.marca-principal {
    font-size: 28px;
    font-weight: 700;

    color: #183b69;
}

.marca-subtitulo {
    margin-top: 6px;

    font-size: 17px;

    color: #667085;
}

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;

    color: #344054;
}

.campo input {
    width: 100%;

    padding:
        13px
        14px;

    font-size: 15px;

    border:
        1px solid
        #d0d5dd;

    border-radius: 8px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.campo input:focus {
    border-color: #245b96;

    box-shadow:
        0 0 0 3px
        rgba(36, 91, 150, 0.12);
}

button {
    width: 100%;

    padding: 13px;

    border: none;
    border-radius: 8px;

    background: #183b69;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s;
}

button:hover {
    background: #245b96;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mensagem {
    min-height: 22px;

    margin-top: 15px;

    text-align: center;

    font-size: 14px;
}

.mensagem-erro {
    color: #b42318;
}

.mensagem-sucesso {
    color: #027a48;
}

.status {
    margin-top: 28px;

    text-align: center;

    font-size: 13px;
}

.status-online {
    color: #027a48;
}

.status-offline {
    color: #b42318;
}

.status-verificando {
    color: #667085;
}

.rodape {
    margin-top: 22px;

    padding-top: 18px;

    border-top:
        1px solid
        #eaecf0;

    text-align: center;

    color: #98a2b3;

    font-size: 12px;
}


@media (max-width: 520px) {

    .pagina-login {
        padding: 16px;
    }

    .login-card {
        padding:
            34px
            24px
            24px;
    }

    .marca-principal {
        font-size: 25px;
    }
}
.body-sistema {
    background: #f3f5f8;
    min-height: 100vh;
}

.cabecalho-sistema {
    min-height: 76px;

    background: #183b69;
    color: #ffffff;

    padding: 14px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.cabecalho-marca {
    font-size: 20px;
    font-weight: 700;
}

.cabecalho-subtitulo {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 2px;
}

.usuario-topo {
    display: flex;
    align-items: center;
    gap: 20px;

    text-align: right;
}

.perfil-usuario {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 3px;
}

.btn-sair {
    width: auto;

    padding: 9px 16px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-sair:hover {
    background: rgba(255, 255, 255, 0.12);
}

.conteudo-sistema {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 38px 28px;
}

.boas-vindas {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.boas-vindas h1 {
    font-size: 28px;
    color: #183b69;
}

.boas-vindas p {
    margin-top: 5px;
    color: #667085;
}

.cards-painel {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 100%)
        );

    gap: 20px;
}

.card-painel {
    background: #ffffff;

    border-radius: 14px;

    padding: 25px;

    box-shadow:
        0 6px 22px
        rgba(0, 0, 0, 0.06);

    border:
        1px solid
        #eaecf0;
}

.card-icone {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eef4fb;
    color: #183b69;

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 18px;
}

.card-painel h2 {
    color: #1d2939;

    font-size: 18px;

    margin-bottom: 8px;
}

.card-painel p {
    min-height: 44px;

    color: #667085;

    font-size: 14px;

    line-height: 1.5;
}

.card-numero {
    font-size: 30px;
    font-weight: 700;

    color: #183b69;

    margin: 18px 0;
}

.btn-card {
    margin-top: 18px;
}

.admin-only {
    display: none;
}

.rodape-sistema {
    text-align: center;

    color: #98a2b3;

    font-size: 12px;

    padding: 22px;
}


@media (max-width: 700px) {

    .cabecalho-sistema {
        padding: 14px 18px;
    }

    .usuario-topo {
        gap: 10px;
    }

    .conteudo-sistema {
        padding: 26px 18px;
    }

    .boas-vindas {
        align-items: flex-start;
        flex-direction: column;
    }

    .cards-painel {
        grid-template-columns: 100%;
    }
}
.barra-pagina {
    margin-bottom: 26px;
}

.barra-pagina h1 {
    margin-top: 18px;

    color: #183b69;

    font-size: 28px;
}

.barra-pagina p {
    margin-top: 5px;

    color: #667085;
}

.btn-voltar {
    width: auto;

    padding: 9px 15px;

    background: #ffffff;

    color: #183b69;

    border: 1px solid #d0d5dd;
}

.btn-voltar:hover {
    background: #f8fafc;
}


.filtros-relatorios {
    margin-bottom: 20px;
}

.filtros-relatorios input {
    width: 100%;
    max-width: 500px;

    padding: 12px 14px;

    border: 1px solid #d0d5dd;

    border-radius: 8px;

    font-size: 14px;

    outline: none;
}

.filtros-relatorios input:focus {
    border-color: #245b96;

    box-shadow:
        0 0 0 3px
        rgba(36, 91, 150, 0.12);
}


.tabela-container {
    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border-radius: 12px;

    border: 1px solid #eaecf0;
}


.tabela-relatorios {
    width: 100%;

    border-collapse: collapse;

    min-width: 850px;
}

.tabela-relatorios th {
    background: #f8fafc;

    color: #475467;

    font-size: 12px;

    text-transform: uppercase;

    text-align: left;

    padding: 14px 16px;

    border-bottom: 1px solid #eaecf0;
}

.tabela-relatorios td {
    padding: 15px 16px;

    font-size: 14px;

    color: #344054;

    border-bottom: 1px solid #eaecf0;
}

.tabela-relatorios tbody tr:hover {
    background: #f9fafb;
}

.status-relatorio {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 14px;

    font-size: 12px;

    font-weight: 600;
}

.status-emitido {
    background: #ecfdf3;
    color: #027a48;
}

.status-geracao {
    background: #fffaeb;
    color: #b54708;
}

.status-erro {
    background: #fef3f2;
    color: #b42318;
}

.status-cancelado {
    background: #f2f4f7;
    color: #475467;
}

.mensagem-vazia {
    padding: 40px;

    text-align: center;

    color: #667085;
}
.detalhe-card {
    background: #ffffff;

    border: 1px solid #eaecf0;

    border-radius: 14px;

    padding: 28px;

    box-shadow:
        0 6px 22px
        rgba(0, 0, 0, 0.06);
}


.detalhe-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 100%)
        );

    gap: 22px;
}


.detalhe-item {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding-bottom: 14px;

    border-bottom:
        1px solid
        #eaecf0;
}


.detalhe-label {
    color: #667085;

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;
}


.detalhe-valor {
    color: #1d2939;

    font-size: 15px;

    font-weight: 500;
}


.linha-clicavel {
    cursor: pointer;
}


.linha-clicavel:hover {
    background: #f0f5fb !important;
}
.secao-detalhe {
    background: #ffffff;

    border: 1px solid #eaecf0;

    border-radius: 14px;

    padding: 26px;

    margin-bottom: 22px;

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, 0.05);
}


.secao-detalhe h2 {
    color: #183b69;

    font-size: 18px;

    margin-bottom: 22px;
}


.texto-relatorio {
    color: #344054;

    font-size: 14px;

    line-height: 1.7;

    white-space: pre-wrap;

    min-height: 28px;
}


@media (max-width: 700px) {

    .secao-detalhe {
        padding: 20px;
    }

    .detalhe-grid {
        grid-template-columns: 100%;
    }
}

.galeria-fotos {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 1fr)
        );

    gap: 18px;
}


.foto-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eaecf0;

    border-radius: 12px;
}


.foto-imagem-container {
    width: 100%;
    height: 220px;

    background: #f2f4f7;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.foto-imagem {
    width: 100%;
    height: 100%;

    object-fit: cover;

    cursor: pointer;

    transition:
        transform 0.2s;
}


.foto-imagem:hover {
    transform: scale(1.02);
}


.foto-info {
    padding: 12px 14px;
}


.foto-titulo {
    color: #1d2939;

    font-size: 14px;
    font-weight: 600;
}


.foto-detalhe {
    margin-top: 4px;

    color: #667085;

    font-size: 12px;
}


@media (max-width: 700px) {

    .galeria-fotos {
        grid-template-columns: 100%;
    }

    .foto-imagem-container {
        height: 260px;
    }
}
.opcoes-relatorio {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}


.opcao-relatorio {
    width: calc(50% - 10px);

    min-height: 170px;

    padding: 24px;

    background: #ffffff;

    color: #1d2939;

    border: 2px solid #eaecf0;

    border-radius: 14px;

    text-align: left;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}


.opcao-relatorio:hover {
    background: #ffffff;

    border-color: #245b96;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.07);

    transform: translateY(-2px);
}


.opcao-relatorio.selecionado {
    border-color: #183b69;

    background: #f5f8fc;
}


.opcao-codigo {
    color: #245b96;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 14px;
}


.opcao-titulo {
    color: #183b69;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 8px;
}


.opcao-descricao {
    color: #667085;

    font-size: 14px;

    line-height: 1.5;
}


.selecao-atual {
    margin-top: 26px;

    padding: 20px 22px;

    background: #ffffff;

    border:
        1px solid
        #eaecf0;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.selecao-label {
    display: block;

    color: #667085;

    font-size: 12px;

    margin-bottom: 4px;
}


.btn-continuar {
    width: auto;

    min-width: 140px;
}


@media (max-width: 700px) {

    .opcao-relatorio {
        width: 100%;
    }

    .selecao-atual {
        flex-direction: column;

        align-items: stretch;
    }

    .btn-continuar {
        width: 100%;
    }
}