﻿.fieldset {
    border: 1px solid #ced4da; /* Borda cinza clara ao redor do agrupamento */
    border-radius: 0.25rem;
    margin-bottom: 1.5rem; /* Espaço entre os agrupamentos */
    padding: 1rem;
}

.fieldset-insertedset {
    border-bottom: 2px solid #58616e; /* Linha cinza abaixo do subtítulo */
    color: #495057; /* Cinza escuro para o texto */
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.fieldset-subtitle {
    border-bottom: 1px solid #0d6efd; /* Linha azul abaixo do título */
    color: #6c757d; /* Cinza médio para o texto */
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.fieldset-title {
    border-bottom: 2px solid #0d6efd; /* Linha azul abaixo do título */
    color: #495057; /* Cinza escuro para o texto */
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.id-label {
    background-color: #f8f9fa; /* Cor de fundo */
    border: 1px solid #ced4da; /* Borda */
    border-radius: 0.25rem; /* Borda arredondada */
    color: #495057; /* Cor do texto */
    font-size: 0.875rem; /* Tamanho da fonte do ID */
    font-weight: bold;
    padding: 0.25rem 0.5rem; /* Espaçamento interno */
}


.lsform-add-bar {
    background-color: #0d6efd;
    border-radius: 0.25rem 0 0 0.25rem; /* Bordas arredondadas da tarja */
    width: 5px;
}

.lsform-container {
    border-radius: 0.25rem; /* Borda arredondada */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adiciona sombra ao formulário */
    display: flex;
    flex-direction: row;
    max-width: 100%; /* Largura máxima de 100% para se ajustar ao diálogo modal */
    padding: 0.25rem; /* Adiciona espaçamento interno */
    width: 100%;
}

.lsform-content {
    flex: 1; /* Ocupa todo o espaço restante */
    padding-left: 0.25rem; /* Espaçamento interno à esquerda para não sobrepor a tarja */
}

.lsform-edit-bar {
    background-color: #ffc107;
    border-radius: 0.25rem 0 0 0.25rem; /* Bordas arredondadas da tarja */
    width: 5px;
}

.lsform-footer {
    display: flex;
    justify-content: flex-end; /* Alinha os botões à direita */
    margin-top: 1rem; /* Espaço acima do footer */
}

    .lsform-footer .e-button:not(:last-child) {
        margin-right: 0.5rem; /* Espaço entre os botões */
    }

.lsform-group {
    margin-bottom: 1rem;
}

.lsform-header {
    align-items: center; /* Alinha verticalmente ao centro */
    display: flex;
    justify-content: flex-end; /* Alinha o conteúdo à direita */
    margin-bottom: 1rem; /* Espaço abaixo do header */
}


.lsform-wrapper {
    display: flex;
    justify-content: center;
    padding: 0.25rem;
    width: 100%;
}

.relateddoc-title {
    color: #5c6063; /* Cinza escuro para o texto */
    font-size: 1.25rem;
    font-weight: bold;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.relatedgrid-title {
    color: #5c6063; /* Cinza escuro para o texto */
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

.map-container {
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid #ddd;
}

.class-azul {
    background-image: linear-gradient(to top, rgb(46, 142, 22), rgb(84, 194, 65));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.acolh-aguardando {
    background-image: linear-gradient(to top, rgb(46, 142, 22), rgb(84, 194, 65));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.acolh-escuta {
    background-image: linear-gradient(to top, rgb(99, 0, 135), rgb(157, 23, 86));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.acolh-atendimento {
    background-image: linear-gradient(to top, rgb(200, 32, 111), rgb(246, 84, 149));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.acolh-atendrealizado {
    background-image: linear-gradient(to top, rgb(0, 58, 121), rgb(0, 105, 208));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.acolh-naoaguardou {
    background-image: linear-gradient(to top, rgb(170, 170, 185), rgb(211, 212, 221));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.demanda-espontanea {
    background-image: linear-gradient(to top, rgb(35, 130, 18), rgb(46, 173, 24));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.demanda-agendada {
    background-image: linear-gradient(to top, rgb(17, 70, 128), rgb(27, 114, 207));
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.bootstrap-indicator {
    width: 0.5rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
    display: inline-block;
}

/* Primary (Azul) */
.bootstrap-azul {
    background-image: linear-gradient(to top, #004085, #007bff);
}

/* Secondary / Dark (Cinza) */
.bootstrap-cinza {
    background-image: linear-gradient(to top, #343a40, #6c757d);
}

/* Success (Verde) */
.bootstrap-verde {
    background-image: linear-gradient(to top, #1e7e34, #28a745);
}

/* Warning (Amarelo) */
.bootstrap-amarelo {
    background-image: linear-gradient(to top, #856404, #ffc107);
}

/* Laranja (intermediária) */
.bootstrap-laranja {
    background-image: linear-gradient(to top, #c05600, #fd7e14);
}

/* Danger (Vermelho) */
.bootstrap-vermelho {
    background-image: linear-gradient(to top, #721c24, #dc3545);
}


.info-display {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .info-display .nome {
        font-weight: bold;
        font-size: 1.25rem; /* maior */
    }

    .info-display .separator {
        color: #666;
    }

    .info-display .sexo {
        color: #333;
    }

.info-detalhes {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    color: #444;
}

.imc-container {
    text-align: left; /* alinhado à esquerda */
    line-height: 1; /* evitar espaçamento extra */
    margin-top: 6px;
    margin-bottom: 0;
    max-height: 47px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imc-label {
    font-weight: 600;
    font-size: 0.75rem; /* ~12px */
    line-height: 1;
    margin: 0 0 6px 0;
    user-select: none;
}

.imc-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem; /* ~16px */
    color: #333333;
    padding: 2px 6px;
    border-radius: 6px;
    min-width: 50px;
    height: 30px; 
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    transition: background 0.6s ease-in-out, transform 0.3s ease-in-out;
    line-height: 1;
}

    .imc-display:hover {
        transform: scale(1.05);
    }

.btn-separator {
    margin: 0 10px;
    color: #6c757d;
    font-weight: 300;
    user-select: none;
}

.blue-header {
    background-color: #2f80ed;
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .blue-header h3 {
        margin: 0;
        color: #fff;
        font-weight: 600;
        font-size: 1.1rem;
        letter-spacing: 0.3px;
    }



