
.situacao-votacao {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    margin-top: 10px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .situacao-votacao i {
        font-size: 22px;
    }

.situacao-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.situacao-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.75;
    letter-spacing: .5px;
}

.situacao-status {
    font-size: 16px;
    font-weight: bold;
}

.situacao-aprovado {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.situacao-rejeitado {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal-header {
    padding: 18px 20px !important;
    border-bottom: 1px solid #dee2e6;
}

.modal-dialog {
    width: 95% !important;
    max-width: 1600px !important;
    margin: 20px auto;
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
    width: 90% !important;
}

.modal-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 4px;
}

    .modal-header-flex .modal-title {
        margin: 15px;
        line-height: 1.4;
        padding-top: 2px;
    }

.votos-colunas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.voto-card {
    flex: 1 1 135px;
    min-width: 135px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.voto-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}

.total-votos {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 20px;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
}

.voto-body {
    padding: 10px;
}

.voto-item {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #f1f1f1;
    word-break: break-word;
}

    .voto-item:last-child {
        border-bottom: 0;
    }


.voto-sim .voto-header {
    background: #28a745;
    color: #fff;
}

.voto-nao .voto-header {
    background: #dc3545;
    color: #fff;
}

.voto-abs .voto-header {
    background: #ffc107;
    color: #212529;
}

.voto-ausente .voto-header {
    background: #6c757d;
    color: #fff;
}

.voto-naovotou .voto-header {
    background: #6f42c1;
    color: #fff;
}

.voto-licenciado .voto-header {
    background: #1d4ed8;
    color: #fff;
}

@media (min-width: 1200px) {

    .modal-dialog {
        width: 96% !important;
        max-width: 1700px !important;
    }
}

@media (max-width: 768px) {

    .voto-card {
        flex: 1 1 100%;
    }
}
/* Cabeçalho da sessão e informações principais */
.votacao-sessao {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: bold;
}

    .votacao-sessao a {
        color: #0d6efd;
        text-decoration: none;
    }

.info-principal {
    display: flex;
    justify-content: space-between;
    background: #f6f9fe;
    border: 1px solid #e6ebff;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 12px; /* espaço maior entre título e contadores */
}

.info-principal-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* espaço entre ícone e texto */
}

    .info-principal-item i {
        font-size: 18px;
    }

    .info-principal-item .info-texto {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

.info-label {
    font-size: 12px;
    color: #6c757d;
}

.info-valor {
    font-size: 14px;
    font-weight: bold;
    color: #212529;
}
/* Container geral */
.votacao-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.votacao-info {
    display: flex;
    gap: 10px;
    margin: 12px 0 20px 0; /* mais espaço entre título e info */
}

.info-item {
    flex: 1;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px; /* reduzido para caixas menores */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* espaço entre ícone e texto */
    font-size: 13px; /* tamanho menor */
}

.voto-col {
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    padding: 0;
}

    .voto-col strong {
        margin: 0;
        padding: 10px;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

.voto-col {
    flex: 1 1 14%;
    min-width: 160px; /* menor largura */
    max-width: 100%;
    padding: 6px; /* menor padding */
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-align: center;
    word-break: break-word;
}

.voto-item {
    font-size: 12px;
    padding: 1px 0;
}

/* Painel de aviso */
.caixa-aviso {
    display: flex;
    gap: 6px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 8px; /* menor */
    border-radius: 4px;
    font-size: 13px;
    align-items: center;
    margin-top: 10px;
}

    .caixa-aviso .icone {
        font-size: 16px;
        line-height: 1;
        flex-shrink: 0;
    }

.sessao-info {
    display: flex;
    flex-wrap: wrap; /* permite quebrar em telas menores */
    gap: 12px; /* espaço entre os itens */
    margin-bottom: 16px; /* separa do restante do layout */
}

.info-item {
    display: flex;
    align-items: center;
    flex: 1 1 200px; /* largura mínima e flexível */
    gap: 8px; /* espaço entre ícone e texto */
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
}

    .info-item i {
        font-size: 18px; /* tamanho do ícone */
        color: #0d6efd; /* cor padrão, pode variar por tipo */
    }

.info-texto {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
}

.info-valor {
    font-size: 14px;
    font-weight: bold;
    color: #212529;
}

.sessao-link {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* espaço entre ícone e texto */
    font-size: 14px;
    font-weight: bold;
    color:black ;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    margin-bottom: 10px;
}

.link-processo {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* espaço entre ícone e texto */
    font-size: 16px;
    font-weight: bold;
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    margin-bottom: 10px;
}


.sessao-link:hover {
    color: #0a58ca; /* azul mais escuro no hover */
    transform: translateX(2px); /* leve movimento no hover */
}

.btn-close {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

    .btn-close:hover {
        background-color: #f0f0f0;
        color: #000;
    }

.sessao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.status {
    font-weight: bold;
}

.aprovado {
    color: green;
}

.reprovado {
    color: red;
}

/* Responsividade */
@media (max-width: 768px) {

    .situacao-votacao {
        width: 100%;
        justify-content: center;
    }

    .modal-header {
        padding-top: 20px !important;
        padding-bottom: 14px !important;
    }

    .modal-header-flex .modal-title {
        width: 100%;
        text-align: center;
        padding-top: 6px;
        font-size: 18px;
        line-height: 1.4;
    }

    .votos-colunas {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .voto-col {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .votacao-info {
        flex-direction: column;
        gap: 5px;
    }

    .sessao-info {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {

    .modal-header {
        padding-top: 20px !important;
        padding-bottom: 14px !important;
    }

    .modal-header-flex .modal-title {
        width: 100%;
        text-align: center;
        padding-top: 6px;
        font-size: 18px;
        line-height: 1.4;
    }

    .voto-col {
        flex: 1 1 100%;
        min-width: 100%;
    }
}
