﻿.acoes-item button,
.acoes-item a {
    margin-right: 5px;
    margin-bottom:5px;
}


.acoes-item {
    margin:0;
}

.acoes-item .expandable {
    margin: 10px 0;
    overflow: hidden;
    word-break: break-word;
}

.acoes-item.acao-inativa {
    background-color: #f1f1f1;
    color: #CCC;
}

#works-relatorio {
    border: 1px solid #ccc;
    width: 100%;
}

#comodoar-items .col-md-3 img {
    max-height:150px;
}

#acoes-items .acoes-item,
#comodoar-items .acoes-item {
    padding: 15px 0;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

#acoes-items .acoes-item.acao-inativa,
#comodoar-items .acoes-item.acao-inativa {
    background-color: #f1f1f1;
}

.anj-sem-clique {
    cursor: default;
}

.anj-destaque {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 136px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.anj-destaque-icone {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.anj-destaque-corpo {
    flex: 1 1 0;
    min-width: 0;
}

.anj-destaque h2 {
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.anj-destaque h2 a {
    color: inherit;
}

.anj-destaque p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
}

.anj-criancas {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 18px;
    margin-bottom: 8px;
}

.anj-criancas .fa {
    font-size: 18px;
    color: #cbd5e1;
}

.anj-criancas .fa.paga {
    color: #5cb85c;
}

.anj-criancas .fa.proxima {
    color: #f0ad4e;
}

.anj-barra {
    height: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 4px;
}

.anj-barra div {
    height: 100%;
    background: #5cb85c;
    border-radius: 4px;
}

.anj-barra.completa div {
    background: #337ab7;
}

.anj-destaque-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}

.anj-destaque-legenda strong {
    color: #1e293b;
}

.anj-destaque-acoes {
    display: flex;
    flex: 0 0 200px;
    flex-direction: column;
    gap: 8px;
}

.anj-destaque-acoes .btn + .btn {
    margin-top: 0;
}

.anj-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.anj-stats-card {
    display: block;
    padding: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.anj-stats-card:hover,
.anj-stats-card:focus {
    text-decoration: none;
    border-color: #94a3b8;
}

.anj-stats-card .fa {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    color: #64748b;
}

.anj-stats-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    color: #1e293b;
}

.anj-stats-card span {
    font-size: 13px;
    color: #64748b;
}

.anj-paineis {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
}

.anj-painel {
    min-width: 0;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.anj-paineis .anj-painel {
    margin-bottom: 0;
}

.anj-painel-topo {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    margin-bottom: 12px;
}

#ha-conteudo .anj-painel h2 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    border: 0;
}

.anj-painel-topo a {
    font-size: 13px;
    white-space: nowrap;
}

.anj-painel-topo .anj-ano {
    width: auto;
    min-width: 80px;
}

.anj-grafico {
    position: relative;
    height: 230px;
}

.anj-grafico.anj-grafico-alto {
    height: 300px;
}

.anj-mapa-linha {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: center;
}

.anj-mapa {
    width: 100%;
    height: 320px;
}

.anj-uf {
    display: grid;
    grid-template-columns: 30px 1fr 24px;
    gap: 8px;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
    color: #1e293b;
}

.anj-uf strong {
    text-align: right;
}

.anj-uf-total {
    padding-top: 8px;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
}

.anj-acoes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.anj-acoes:empty {
    min-height: 900px;
}

.anj-acao {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.anj-acao-foto {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.anj-acao-foto img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anj-acao-corpo {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

#ha-conteudo .anj-acao h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.anj-acao h3 a {
    color: #1e293b;
}

.anj-acao-autor {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.anj-acao-autor img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.anj-acao-meta {
    margin-top: auto;
}

.anj-acao-valor {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 13px;
    color: #64748b;
}

.anj-acao-valor strong {
    color: #c9302c;
}

.anj-acao-valor strong.ok {
    color: #337ab7;
}

.anj-acao-rodape {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 10px 12px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
}

.anj-acao-rodape span {
    flex: 1 1 auto;
    white-space: nowrap;
}

.anj-ferramentas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.anj-ferramentas p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.anj-ferramentas div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 991px) {
    .anj-acoes {
        grid-template-columns: repeat(2, 1fr);
    }

    .anj-paineis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .anj-destaque {
        flex-direction: column;
        align-items: stretch;
    }

    .anj-destaque-icone {
        display: none;
    }

    .anj-destaque-acoes {
        flex: 0 0 auto;
    }

    .anj-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .anj-acoes {
        grid-template-columns: 1fr;
    }

    .anj-mapa-linha {
        grid-template-columns: 1fr;
    }

    .anj-mapa {
        height: 260px;
    }
}
