/* ======================================================================
   DELFOS MARÍTIMA
   Sistema de Controle de Levantamentos Hidrográficos
   CSS V2
   ====================================================================== */

/* ======================================================================
   PARTE 1
   ====================================================================== */

/* ======================================================================
   RESET
   ====================================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    height:100%;
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* ======================================================================
   VARIÁVEIS
   ====================================================================== */

:root{
    --cor-header:#F5F7FA;
    --cor-menu:#123A63;
    --cor-menu-hover:#1E5E90;
    --cor-fundo:#EEF2F6;
    --cor-painel:#FFFFFF;
    --cor-texto:#2E343A;
    --cor-borda:#D9E1E8;
    --cor-shadow:rgba(0,0,0,.08);
}

.topbar {
    background: #F5F7FA;
}

.topbar .titulo {
    color: #1E2A32;
    font-weight: 700;
}

.topbar .subtitulo {
    color: #5A6B78;
}

.topbar .system-info small {
    color: #6B7C8A;
}

.topbar .system-info strong {
    color: #1E2A32;
}


/* ======================================================================
   BODY
   ====================================================================== */

body{
    background:var(--cor-fundo);
    color:var(--cor-texto);
    overflow:hidden;
}


/* ======================================================================
   HEADER
   ====================================================================== */

.topbar{
    height:72px;
    background:var(--cor-header);
    color:white;
    box-shadow:0 2px 8px rgba(0,0,0,.25);
    z-index:1000;
}


/* Bootstrap container */

.topbar .container-fluid{
    height:100%;
}

.table-container {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    overflow-x: auto;
}

.table-lh thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #1E5E90;   /* mesma cor do seu cabeçalho */
    color: white;
}

.table-lh thead th {
    border-bottom: 2px solid #0f3f63;
}

.dashboard-table-scroll{
    max-height:420px;
    overflow-y:auto;
}

.table-lh thead th,
.dashboard-table-scroll thead th{
    position: sticky;
    top: 0;
    z-index: 5;

    background: #1E5E90;
    color: #fff;
    border-bottom: 2px solid #0f3f63;
}

/* ======================================================================
   LOGO
   ====================================================================== */

.logo-area{
    display:flex;
    align-items:center;
    gap:18px;
}


.logo-img{
    height:52px;
    width:auto;
    display:block;
}


.titulo{
    font-size:24px;
    font-weight:700;
    letter-spacing:.4px;
}


.subtitulo{
    font-size:14px;
    color:#D8E6F1;
}


/* ======================================================================
   INFORMAÇÕES DO SISTEMA
   ====================================================================== */

.system-info{
    display:flex;
    gap:45px;
    align-items:center;
    text-align:right;
    font-size:13px;
}


.system-info small{
    display:block;
    color:#C8D8E5;
}


.system-info strong{
    display:block;
    font-size:14px;
    color:white;
}


/* ======================================================================
   LAYOUT PRINCIPAL
   ====================================================================== */

.main-layout{
    display:flex;
    height:calc(100vh - 72px);
}


/* ======================================================================
   MENU LATERAL
   ====================================================================== */

.sidebar{
    width:250px;
    background:var(--cor-menu);
    display:flex;
    flex-direction:column;
    border-right:1px solid rgba(255,255,255,.08);
}


.sidebar nav{
    margin-top:25px;
}


.sidebar a{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 22px;
    color:white;
    text-decoration:none;
    font-size:15px;
    transition:.25s;
    border-left:4px solid transparent;
}


.sidebar a:hover{
    background:var(--cor-menu-hover);
    border-left:4px solid #4FC3F7;
}


.sidebar i{
    font-size:20px;
    width:24px;
    text-align:center;
}


/* ======================================================================
   ÁREA CENTRAL
   ====================================================================== */

.content-wrapper{
    flex:1;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}


.content{
    flex:1;
    overflow:auto;
    padding:28px;
}


/* ======================================================================
   TÍTULOS
   ====================================================================== */

.content h1{
    font-size:30px;
    color:#0B3C5D;
    margin-bottom:8px;
}


.content h2{
    font-size:24px;
    color:#0B3C5D;
    margin-bottom:20px;
}


.content p{
    line-height:1.6;
}


/* ======================================================================
   RODAPÉ
   ====================================================================== */

footer{
    height:36px;
    background:#FFFFFF;
    border-top:1px solid var(--cor-borda);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    color:#666;

}

/* ======================================================================
   PARTE 2
   ====================================================================== */

/* ======================================================================
   PAINÉIS
   ====================================================================== */

.panel-box{
    background:var(--cor-painel);
    border-radius:12px;
    padding:24px;
    margin-bottom:24px;
    border:1px solid var(--cor-borda);
    box-shadow:0 2px 8px var(--cor-shadow);
}

.panel-title{
    font-size:20px;
    font-weight:600;
    color:#0B3C5D;
    margin-bottom:20px;
}


/* ======================================================================
   GRID PRINCIPAL
   ====================================================================== */

.dashboard-grid{
    display:grid;
    gap:24px;
}


/* ======================================================================
   GRID DOS KPIs
   ====================================================================== */

.kpi-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}


/* ======================================================================
   KPI
   ====================================================================== */

.kpi-card{
    background:white;
    border-radius:12px;
    border:1px solid var(--cor-borda);
    box-shadow:0 2px 8px var(--cor-shadow);
    padding:22px;
    transition:.25s;
}


.kpi-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}



.kpi-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}


.kpi-title{
    font-size:15px;
    color:#666;
}


.kpi-icon{
    font-size:28px;
    color:#0B3C5D;
}


.kpi-value{
    font-size:38px;
    font-weight:700;
    margin-top:18px;
    color:#0B3C5D;
}

/* ======================================================================
   card
   ====================================================================== */

.alert-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    color:inherit;
    padding:14px;
    border-radius:8px;
    margin-bottom:10px;
    transition:.2s;
}

.alert-card:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* ======================================================================
   GRID 2 COLUNAS
   ====================================================================== */

.grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.dashboard-panel {
    max-height: 520px;
    overflow-y: auto;
}

/* ======================================================================
   LISTAS
   ====================================================================== */

.info-list{
    list-style:none;
    margin:0;
    padding:0;
}


.info-list li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #ECECEC;
}


.info-list li:last-child{
    border-bottom:none;
}


/* ======================================================================
   BADGES
   ====================================================================== */

.badge-status{
    border-radius:20px;
    padding:5px 12px;
    color:white;
    font-size:12px;
    font-weight:600;
}

.badge-dark {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 5px 10px;
}

.badge-success{
    background:#2E8B57;
}


.badge-warning{
    background:#F4B400;
    color:#333;
}

.badge-orange{
    background:#F57C00;
    color:#FFF;
}


.badge-danger{
    background:#D9534F;
}

.badge-cancel{
    background-color: #bc07f3;
    color: #fff !important;
    border-radius: 10px;
    padding: 5px 10px;
}


.badge-info{
    background:#1E5E90;
}


/* ======================================================================
   TABELAS
   ====================================================================== */

.data-table{
    width:100%;
    border-collapse:collapse;
}


.data-table thead{
    background:#0B3C5D;
    color:white;
}


.data-table th{
    padding:14px;
    font-weight:600;
}


.data-table td{
    padding:12px;
    border-bottom:1px solid #ECECEC;
}


.data-table tbody tr:hover{
    background:#F8FAFC;
}


/* ======================================================================
   BOTÕES
   ====================================================================== */

.btn-delfos{
    background:#0B3C5D;
    color:white;
    border:none;
    border-radius:8px;
    padding:10px 18px;
    transition:.2s;
}


.btn-delfos:hover{
    background:#1E5E90;
}


/* ======================================================================
   SCROLLBAR
   ====================================================================== */

::-webkit-scrollbar{
    width:18px;
    height:18px;
}

::-webkit-scrollbar-track{
    background:#D9E1E8;
}

::-webkit-scrollbar-thumb{
    background:#7F8FA4;
    border:2px solid #D9E1E8;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#5E738A;
}

/* ======================================================================
   PARTE 3
   ====================================================================== */

/* ==========================================================
   TABELA DE LEVANTAMENTOS
==========================================================*/
.panel{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.table-lh{
    width:100%;
    min-width:1120px;
    border-collapse:collapse;
    table-layout:auto;
}

.table-lh thead{
    background:#0B3C5D;
    color:#FFF;
}

.table-lh th{
    padding:8px 9px;
    text-align:left;
    font-weight:600;
    font-size:13px;
}

.table-lh td{
    padding:8px 9px;
    border-bottom:1px solid #ECECEC;
    vertical-align:middle;
    font-size:13px;
}

.table-lh tbody tr{
    transition:.25s;
}

.table-lh tbody tr:hover{
    background:#F3F8FC;
}

.table-lh th:nth-child(1),
.table-lh td:nth-child(1){
    width:45px;
}

.table-lh th:nth-child(2),
.table-lh td:nth-child(2){
    width:55px;
}

.table-lh th:nth-child(3),
.table-lh td:nth-child(3){
    width:75px;
}

.table-lh th:nth-child(4),
.table-lh td:nth-child(4){
    width:90px;
    text-align:center;
}

/* Área */
.table-lh th:nth-child(5),
.table-lh td:nth-child(5){
    width:auto;
}

/* Contratante */
.table-lh th:nth-child(6),
.table-lh td:nth-child(6){
    width:auto;
}

/* Prazo término LH */
.table-lh th:nth-child(7),
.table-lh td:nth-child(7){
    width:175px;
}

/* Execução */
.table-lh th:nth-child(8),
.table-lh td:nth-child(8){
    width:105px;
    text-align:center;
}

/* Prazo entrega CHM */
.table-lh th:nth-child(9),
.table-lh td:nth-child(9){
    width:175px;
}

/* Ações */
.table-lh th:nth-child(10),
.table-lh td:nth-child(10){
    width:145px;
}

.th-sort{
    color:#FFF;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:600;
}

.th-sort:hover{
    color:#D8E6F1;
    text-decoration:none;
}

/* ==========================================================
   FILTROS DA TABELA DE LEVANTAMENTOS
========================================================== */

.filtros-lh{
    display:grid;
    grid-template-columns: 120px 120px 180px 1fr 1fr;
    gap:14px;
    align-items:end;

    background:#F8FAFC;
    border:1px solid var(--cor-borda);
    border-radius:12px;
    padding:16px;
    margin-bottom:16px;
}

.filtro-situacao-chm{
    grid-column:1 / 4;
    max-width:520px;
}


.filtro-campo{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.filtro-campo label{
    font-size:12px;
    font-weight:600;
    color:#123A63;
}

.filtro-campo input,
.filtro-campo select{
    height:38px;
    padding:7px 10px;
    border:1px solid #CED4DA;
    border-radius:8px;
    font-size:13px;
    font-family:inherit;
    background:white;
}

.filtro-campo input:focus,
.filtro-campo select:focus{
    border-color:#1E5E90;
    box-shadow:0 0 0 .16rem rgba(30, 94, 144, .15);
    outline:none;
}

.filtro-acoes{
    grid-column:5 / 6;
    align-self:end;
    display:flex;
    justify-content:flex-end;
    gap:10px;
}

.resultado-filtros{
    margin:0 0 12px 4px;
    font-size:13px;
    font-weight:600;
    color:#5A6B78;
}

/* ==========================================================
   RESPONSIVIDADE DA TABELA LEVANTAMENTOS
========================================================== */

.sidebar{
    flex:0 0 250px;
}

.content-wrapper{
    min-width:0;
}

.content{
    min-width:0;
    overflow:auto;
}

.table-container{
    width:100%;
    max-width:100%;
    overflow-x:scroll !important;
    overflow-y:auto;
    display:block;

    height:calc(100vh - 260px);
    max-height:calc(100vh - 260px);

    padding-bottom:18px;
}

.table-lh th,
.table-lh td{
    white-space:nowrap;
}


/* ==========================
BADGES
==========================*/

.badge{

    display:inline-block;

    padding:6px 14px;

    border-radius:50px;

    color:#FFF;

    font-size:13px;

    font-weight:600;

}

.badge-secondary{

    background:#6F4E37;

    color:#FFF;

}

.badge-success{

    background:#28A745;

}

.badge-warning{

    background:#F4B400;
    color:#FFF;

}

.badge-danger{

    background:#DC3545;

}

.badge-info{

    background:#0D6EFD;

}

/* ==========================
BOTÕES
==========================*/

.btn-action{

    display:inline-flex;

    align-items:center;

    gap:6px;

    text-decoration:none;

    color:#FFF;

    padding:7px 14px;

    border-radius:30px;

    font-size:13px;

    margin-right:6px;

    transition:.25s;

}

.btn-view{

    background:#0B3C5D;

}

.btn-view:hover{

    background:#145C8A;

}

.btn-edit{

    background:#198754;

}

.btn-edit:hover{

    background:#157347;

}

/*==========================================================
AÇÕES DA TABELA
==========================================================*/

.acoes{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    white-space:nowrap;

}

.table-lh td:last-child{

    white-space:nowrap;

}

.btn-action{

    margin-right:0;

}

/* ======================================================================
   PARTE 4
   ====================================================================== */

/*==========================================================
  CSS V3
  COMPONENTES DAS FICHAS
==========================================================*/

/*----------------------------------------------------------
TÍTULO DA PÁGINA
----------------------------------------------------------*/

.page-title{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:25px;

}

.page-title h2{

    margin:0;
    color:#0B3C5D;
    font-size:28px;

}

.page-subtitle{

    color:#666;
    font-size:15px;

}

.page-actions{
    display:flex;
    justify-content:flex-end;
    margin:12px 0 18px 0;
}

/*----------------------------------------------------------
SEÇÕES
----------------------------------------------------------*/

.section-card{
    background:#FFF;
    border-radius:12px;
    margin-bottom:25px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    overflow:hidden;
}

.section-header{
    background:#0B3C5D;
    color:#FFF;
    padding:14px 22px;
    font-size:18px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:10px;
}

.section-body{
    padding:25px;
}

/*----------------------------------------------------------
GRADE DE CONSULTA (ORIGEM)
----------------------------------------------------------*/

.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:18px;
}

.info-item{
    background:#F8FAFC;
    border:1px solid #E6ECF2;
    border-radius:10px;
    padding:16px;
    transition:.2s;
}

.info-item:hover{
    background:#F1F6FB;
}

.info-label{
    color:#6C757D;
    font-size:12px;
    text-transform:uppercase;
    font-weight:600;
    margin-bottom:6px;
    letter-spacing:.5px;
}

.info-value{
    color:#123A63;
    font-size:18px;
    font-weight:600;
    word-break:break-word;
}

/*----------------------------------------------------------
BARRA DE BOTÕES
----------------------------------------------------------*/

.page-actions{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-top:30px;
}

.btn-primary-custom{
    background:#0B3C5D;
    color:#FFF;
    border:none;
    padding:12px 24px;
    border-radius:8px;
    font-weight:600;
    transition:.25s;
}

.btn-primary-custom:hover{
    background:#145C8A;
}

.btn-secondary-custom{
    background:#6C757D;
    color:#FFF;
    border:none;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.btn-secondary-custom:hover{
    background:#5A6268;
    color:#FFF;
}

/*----------------------------------------------------------
BADGES GRANDES
----------------------------------------------------------*/

.badge-big{
    display:inline-block;
    padding:8px 18px;
    border-radius:40px;
    color:#FFF;
    font-weight:600;
    font-size:14px;
}

/*----------------------------------------------------------
ANIMAÇÕES
----------------------------------------------------------*/

.section-card{
    animation:fadeIn .25s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(8px);
    }

    to{
        opacity:1;
        transform:none;
    }
}

/*----------------------------------------------------------
RESPONSIVO
----------------------------------------------------------*/
@media (max-width:1000px){
    .page-title{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
}

@media (max-width:700px){
    .info-grid{
        grid-template-columns:1fr;
    }
    .page-actions{
        flex-direction:column;
    }
    .btn-primary-custom,
    .btn-secondary-custom{
        width:100%;
        text-align:center;
    }
}

/* ==========================================================
   FICHA TÉCNICA - LEVANTAMENTO
========================================================== */

.ficha-header{
    background:white;
    padding:20px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.ficha-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
}

.ficha-col{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.ficha-box{
    background:white;
    padding:20px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.ficha-box h3{
    margin-bottom:15px;
    color:#0B3C5D;
    font-size:16px;
    border-bottom:2px solid #0B3C5D;
    padding-bottom:6px;
}

.field{
    padding:6px 0;
    border-bottom:1px solid #eee;
    font-size:14px;
}

.field b{
    display:inline-block;
    width:140px;
    color:#333;
}

.ficha-footer{
    margin-top:20px;
    text-align:right;
}

.ficha-toolbar {
    flex: 0 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 10px;
    padding: 12px 15px;

    flex-wrap: wrap;

    background: var(--cor-painel);
    border: 1px solid var(--cor-borda);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.ficha-toolbar .action-bar{
    margin-left:auto;
}

.search-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-box input {
    padding: 6px 10px;
    min-width: 220px;
}

.action-bar {
    display: flex;
    gap: 10px;
    align-items: center;
}


/* ====================================================================== */


input[type="date"]{
    font-family:inherit;
}

/* ======================================================================
   PARTE 5
   ====================================================================== */

.ficha-grid-2{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap:20px;
}

.ficha-container{
    width:100%;
    max-width:1200px;
    height:100%;
    min-height:0;
    margin:0 auto;

    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.ficha-form-scroll{
    flex:1;
    min-height:0;

    overflow-y:auto;
    overflow-x:hidden;

    padding-right:6px;
    padding-bottom:20px;
}

.ficha-col-box{
    min-width:0;
}

.ficha-col-box input,
.ficha-col-box select,
.ficha-col-box textarea{
    width:100%;
    max-width:100%;
}

/* caixas mais compactas */
.ficha-col-box{
    background:white;
    padding:15px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    gap:10px;
}

/* títulos mais leves */
.ficha-col-box h3{
    font-size:14px;
    margin-bottom:10px;
    color:#0B3C5D;
    border-bottom:2px solid #0B3C5D;
    padding-bottom:5px;
}

/* grupos da origem mais compactos */
.mini-group h4{
    font-size:12px;
    margin:6px 0;
    color:#555;
}

.mini-group div{
    font-size:12px;
    padding:2px 0;
    border-bottom:1px dashed #eee;
}

.label{
    color:#666;
    font-weight:600;
}

.valor{
    color:#111;
    text-align:right;
}

/* =========================================== */

.empresa-select{
    display:flex;
    gap:8px;
    align-items:center;
}

.empresa-select select{
    flex:1;
}

/* =========================================== */

.ficha-sub{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    color:#666;
    margin-top:5px;
}

/* =========================================== */

.form-full {
    grid-column: 1 / -1;
}

.textarea-roteiro {
    min-height: 220px;
}


/* novo form grid 04/07/2026 */

/* ==========================================================
   FORMULÁRIO LH - JSON 4.0
   ========================================================== */
.form-duplicar{
    display:inline-flex;
    margin:0;
    padding:0;
}

.form-grid-2,
.form-grid-3,
.form-grid-4,
.form-grid-5 {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ficha-col-box {
    margin-bottom: 18px;
}

.ficha-col-box label {
    font-size: 13px;
    font-weight: 600;
    color: #123A63;
    margin-bottom: 4px;
}

.ficha-col-box input,
.ficha-col-box select,
.ficha-col-box textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #CED4DA;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.ficha-col-box textarea {
    min-height: 90px;
    resize: vertical;
}

.ficha-col-box input:focus,
.ficha-col-box select:focus,
.ficha-col-box textarea:focus {
    border-color: #1E5E90;
    box-shadow: 0 0 0 .16rem rgba(30, 94, 144, .15);
    outline: none;
}

.coord-grid {
    display: grid;
    grid-template-columns: 130px 80px 120px 70px;
    gap: 10px;
    align-items: center;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.checkbox-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    align-items: flex-start;
    font-weight: normal;
    color: #2E343A;
}

.checkbox-item input {
    margin-top: 3px;
}

@media (max-width: 1000px) {
    .form-grid-2,
    .form-grid-3,
    .form-grid-4,
    .form-grid-5 {
        grid-template-columns: 1fr;
    }

    .coord-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   DASHBOARD - QUADRO ÚNICO DE PRAZOS
========================================================== */

.dashboard-prazos-unificado{
    width:100%;
}

.dashboard-prazos-unificado .dashboard-table-scroll{
    width:100%;
    max-height:520px;
    overflow-y:auto;
    overflow-x:auto;
}

.tabela-prazos-dashboard{
    width:100%;
    min-width:980px;
    table-layout:fixed;
}

.tabela-prazos-dashboard th,
.tabela-prazos-dashboard td{
    padding:8px 7px;
    font-size:12px;
    vertical-align:middle;
}

/* Autorização */
.tabela-prazos-dashboard th:nth-child(1),
.tabela-prazos-dashboard td:nth-child(1){
    width:90px;
    text-align:center;
    white-space:nowrap;
}

/* Área */
.tabela-prazos-dashboard th:nth-child(2),
.tabela-prazos-dashboard td:nth-child(2){
    width:280px;
    text-align:left;
}

/* Categoria */
.tabela-prazos-dashboard th:nth-child(3),
.tabela-prazos-dashboard td:nth-child(3){
    width:70px;
    text-align:center;
}

/* Término LH */
.tabela-prazos-dashboard th:nth-child(4),
.tabela-prazos-dashboard td:nth-child(4){
    width:120px;
    text-align:center;
}

/* Execução */
.tabela-prazos-dashboard th:nth-child(5),
.tabela-prazos-dashboard td:nth-child(5){
    width:110px;
    text-align:center;
}

/* Entrega CHM */
.tabela-prazos-dashboard th:nth-child(6),
.tabela-prazos-dashboard td:nth-child(6){
    width:120px;
    text-align:center;
}

.tabela-prazos-dashboard .badge{
    display:inline-block;
    min-width:58px;
}

.tabela-prazos-dashboard .prazo-dashboard{
    white-space:nowrap;
}

.tabela-prazos-dashboard .prazo-dashboard .badge{
    margin-top:4px;
}

/* ==========================================================
   PÁGINA DE LEVANTAMENTOS — LAYOUT COMPACTO
========================================================== */

.pagina-levantamentos{
    width:100%;
    min-width:0;
}

/* ==========================================================
   CABEÇALHO OPERACIONAL
========================================================== */

.levantamentos-topo{
    width:100%;
    background:#FFFFFF;
    border:1px solid var(--cor-borda);
    border-radius:12px;
    box-shadow:0 2px 8px var(--cor-shadow);

    padding:12px 14px;
    margin-bottom:10px;
}

.levantamentos-topo-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.levantamentos-titulo{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.levantamentos-titulo h2{
    display:flex;
    align-items:center;
    gap:8px;

    margin:0;
    font-size:20px;
    line-height:1.2;
    color:#0B3C5D;
    white-space:nowrap;
}

.levantamentos-titulo h2 i{
    font-size:19px;
}

.pagina-levantamentos .resultado-filtros{
    margin:0;
    padding:3px 9px;

    border-radius:20px;
    background:#EEF4F8;
    color:#5A6B78;

    font-size:11px;
    font-weight:600;
    white-space:nowrap;
}

.btn-novo-levantamento{
    padding:7px 12px;
    font-size:12px;
    white-space:nowrap;
}

/* ==========================================================
   FILTROS COMPACTOS
========================================================== */

.pagina-levantamentos .filtros-lh{
    display:grid;
    grid-template-columns:
        90px
        105px
        155px
        minmax(180px, 1fr)
        minmax(180px, 1fr);

    column-gap:10px;
    row-gap:8px;
    align-items:end;

    margin:10px 0 0;
    padding:0;

    background:transparent;
    border:0;
    border-radius:0;
}

.pagina-levantamentos .filtro-campo{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}

.pagina-levantamentos .filtro-campo label{
    margin:0;
    font-size:11px;
    line-height:1.1;
    font-weight:600;
    color:#123A63;
}

.pagina-levantamentos .filtro-campo input,
.pagina-levantamentos .filtro-campo select{
    width:100%;
    height:32px;

    padding:4px 8px;
    border:1px solid #CED4DA;
    border-radius:6px;

    background:#FFFFFF;
    font-family:inherit;
    font-size:12px;
}

.pagina-levantamentos .filtro-campo input:focus,
.pagina-levantamentos .filtro-campo select:focus{
    border-color:#1E5E90;
    box-shadow:0 0 0 .12rem rgba(30,94,144,.14);
    outline:none;
}

.pagina-levantamentos .filtro-situacao-chm{
    grid-column:1 / 4;
    width:100%;
    max-width:500px;
}

.pagina-levantamentos .filtro-acoes{
    grid-column:5 / 6;

    display:flex;
    justify-content:flex-end;
    align-items:end;
    gap:7px;
}

.pagina-levantamentos .filtro-acoes .btn{
    min-height:32px;
    padding:5px 10px;
    font-size:11px;
    line-height:1.2;
    white-space:nowrap;
}

/* ==========================================================
   PAINEL E ÁREA DE ROLAGEM
========================================================== */

.pagina-levantamentos .panel-levantamentos{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.pagina-levantamentos .table-container{
    width:100%;
    max-width:100%;

    height:calc(100vh - 235px);
    max-height:calc(100vh - 235px);

    overflow-x:auto !important;
    overflow-y:auto;

    padding-bottom:10px;
}

/* ==========================================================
   TABELA COMPACTA
========================================================== */

.pagina-levantamentos .table-lh{
    width:100%;
    min-width:1500px;
    border-collapse:collapse;
    table-layout:fixed;
}

.pagina-levantamentos .table-lh th{
    padding:6px 7px;

    font-size:12px;
    line-height:1.15;
    font-weight:600;
    vertical-align:middle;
}

.pagina-levantamentos .table-lh td{
    padding:4px 7px;

    border-bottom:1px solid #ECECEC;

    font-size:12px;
    line-height:1.15;
    vertical-align:middle;
}

.pagina-levantamentos .table-lh tbody tr{
    height:32px;
}

/* ID */
.pagina-levantamentos .table-lh th:nth-child(1),
.pagina-levantamentos .table-lh td:nth-child(1){
    width:42px;
}

/* Ano */
.pagina-levantamentos .table-lh th:nth-child(2),
.pagina-levantamentos .table-lh td:nth-child(2){
    width:52px;
}

/* Autorização */
.pagina-levantamentos .table-lh th:nth-child(3),
.pagina-levantamentos .table-lh td:nth-child(3){
    width:68px;
}

/* Categoria */
.pagina-levantamentos .table-lh th:nth-child(4),
.pagina-levantamentos .table-lh td:nth-child(4){
    width:78px;
    text-align:center;
}

/* Área */
.pagina-levantamentos .table-lh th:nth-child(5),
.pagina-levantamentos .table-lh td:nth-child(5){
    width:210px;
    max-width:210px;
}

/* Contratante */
.pagina-levantamentos .table-lh th:nth-child(6),
.pagina-levantamentos .table-lh td:nth-child(6){
    width:170px;
    max-width:170px;
}

/* Prazo término LH */
.pagina-levantamentos .table-lh th:nth-child(7),
.pagina-levantamentos .table-lh td:nth-child(7){
    width:155px;
    text-align:center;
}

/* Execução */
.pagina-levantamentos .table-lh th:nth-child(8),
.pagina-levantamentos .table-lh td:nth-child(8){
    width:95px;
    text-align:center;
}

/* Prazo entrega CHM */
.pagina-levantamentos .table-lh th:nth-child(9),
.pagina-levantamentos .table-lh td:nth-child(9){
    width:155px;
    text-align:center;
}

/* Situação CHM */
.pagina-levantamentos .table-lh th:nth-child(10),
.pagina-levantamentos .table-lh td:nth-child(10){
    width:300px;
    max-width:300px;
    text-align:center;
}

/* Ações */
.pagina-levantamentos .table-lh th:nth-child(11),
.pagina-levantamentos .table-lh td:nth-child(11){
    width:118px;
    text-align:center;
}

/* Textos longos: Área e Contratante */
.pagina-levantamentos .texto-curto{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* ==========================================================
   BADGES COMPACTOS — SOMENTE NESTA TABELA
========================================================== */

.pagina-levantamentos .table-lh .badge{
    display:inline-block;

    min-width:28px;
    padding:3px 8px;

    border-radius:14px;

    font-size:10px;
    line-height:1.2;
    font-weight:600;
    white-space:nowrap;
}

/* ==========================================================
   BADGES — SITUAÇÃO CHM
========================================================== */

.badge-aqua{
    background:#17A2B8;
    color:#FFFFFF;
}

.badge-purple-light{
    background:#9C6ADE;
    color:#FFFFFF;
}

/*
Deve ficar depois da regra genérica .badge,
para que display:block não seja sobrescrito.
*/
.pagina-levantamentos .table-lh .badge-situacao-chm{
    display:inline-block;

    width:auto;
    max-width:280px;
    min-width:0;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    padding:3px 9px;
    border-radius:14px;

    text-align:center;
    vertical-align:middle;

    font-size:10px;
    line-height:1.2;
    font-weight:600;
}

.pagina-levantamentos .situacao-chm-celula{
    overflow:hidden;
    text-align:center;
    white-space:nowrap;
}

/* ==========================================================
   BADGES — SITUAÇÃO CHM
========================================================== */
/* 
| Situação                         | Cor              |
| -------------------------------- | ---------------- |
| ANALISADO E APROVEITADO          | Verde            |
| CANCELADA                        | Amarelo          |
| ENVIADA CARTA PI                 | Laranja          |
| EM ANÁLISE                       | Roxo-claro       |
| RELATÓRIO NÃO ENVIADO, EM DIA    | Azul-acinzentado |
| LH recebido, aguardando analista | Azul-piscina     |
| Processado e não aproveitado     | Cinza grafite    |
| Resposta de carta recebida       | Azul índigo      | 
*/


.badge-aqua{
    background:#17A2B8;
    color:#FFFFFF;
}

.badge-purple-light{
    background:#9C6ADE;
    color:#FFFFFF;
}

/* Relatório final não enviado após o prazo: fundo vermelho, texto branco. */
.pagina-levantamentos .table-lh .badge-situacao-chm-atrasado{
    background-color:#DC3545;
    color:#FFFFFF;
}

/* Relatório ainda não enviado, mas dentro do prazo */
.badge-blue-gray{
    background:#607D8B;
    color:#FFFFFF;
}

/* LH recebido e aguardando analista */
.badge-aqua{
    background:#17A2B8;
    color:#FFFFFF;
}

/* Processado, porém não aproveitado */
.badge-graphite{
    background:#4F5963;
    color:#FFFFFF;
}

/* Resposta de carta recebida */
.badge-indigo{
    background:#4F5DAB;
    color:#FFFFFF;
}

/* ==========================================================
   BOTÕES VER E EDITAR COMPACTOS
========================================================== */

.pagina-levantamentos .acoes{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    white-space:nowrap;
}

.pagina-levantamentos .btn-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    margin:0;
    padding:4px 8px;

    border-radius:14px;

    font-size:10px;
    line-height:1.2;
    white-space:nowrap;
}

.pagina-levantamentos .btn-action i{
    font-size:10px;
}

/* ==========================================================
   LINK DE ORDENAÇÃO
========================================================== */

.pagina-levantamentos .th-sort{
    gap:4px;
    font-size:12px;
    line-height:1.15;
}

/* ==========================================================
   RESPONSIVIDADE
========================================================== */

@media (max-width:1100px){

    .levantamentos-topo-header{
        align-items:flex-start;
    }

    .levantamentos-titulo{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
    }

    .pagina-levantamentos .filtros-lh{
        grid-template-columns:
            80px
            100px
            140px
            minmax(160px,1fr)
            minmax(160px,1fr);
    }

}

@media (max-width:800px){

    .levantamentos-topo-header{
        flex-direction:column;
    }

    .pagina-levantamentos .filtros-lh{
        grid-template-columns:1fr 1fr;
    }

    .pagina-levantamentos .filtro-situacao-chm,
    .pagina-levantamentos .filtro-acoes{
        grid-column:1 / -1;
        max-width:none;
    }

    .pagina-levantamentos .filtro-acoes{
        justify-content:flex-start;
    }

}

/* ==========================================================
   DASHBOARD — DISTRIBUIÇÃO VERTICAL
========================================================== */

/*
O quadro principal de prazos ocupa quase toda a área visível.
O quadro de últimas atualizações permanece abaixo e aparece
quando o usuário rolar a página.
*/

.dashboard-prazos-unificado{
    width:100%;
    height:calc(100vh - 210px);
    max-height:none;
    margin-bottom:18px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.dashboard-prazos-unificado .panel-title{
    flex:0 0 auto;
    margin-bottom:10px;
}

.dashboard-prazos-unificado .dashboard-table-scroll{
    flex:1;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    overflow-x:auto;
}

/* Quadro secundário, abaixo da área inicialmente visível */
.dashboard-ultimas-atualizacoes{
    width:100%;
    margin-top:0;
}

/* ==========================================================
   DASHBOARD — PRAZOS EM UMA LINHA
========================================================== */

.prazo-dashboard-conteudo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    white-space:nowrap;
}

.prazo-dashboard-data{
    font-size:12px;
    color:#2E343A;
}

.tabela-prazos-dashboard th,
.tabela-prazos-dashboard td{
    padding:5px 7px;
    line-height:1.15;
}

.tabela-prazos-dashboard tbody tr{
    height:32px;
}

.tabela-prazos-dashboard .badge{
    min-width:40px;
    padding:3px 8px;
    font-size:10px;
    line-height:1.2;
    border-radius:14px;
}

/* ==========================================================
   ADMINISTRAÇÃO DE USUÁRIOS
========================================================== */

.usuarios-pagina{
    width:100%;
    min-width:0;
}

.usuarios-topo{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    margin-bottom:16px;
}

.usuarios-topo h2{
    display:flex;
    align-items:center;
    gap:9px;

    margin:0 0 4px;

    color:#0B3C5D;
    font-size:22px;
}

.usuarios-topo p{
    margin:0;

    color:#6B7C8A;
    font-size:13px;
}

.usuarios-contador{
    display:inline-flex;
    align-items:center;
    gap:7px;

    padding:7px 12px;

    border:1px solid #E3C668;
    border-radius:20px;

    background:#FFF8D9;
    color:#775C00;

    font-size:12px;
    font-weight:600;
    white-space:nowrap;
}

.usuarios-panel{
    width:100%;

    overflow:hidden;

    background:#FFFFFF;

    border:1px solid var(--cor-borda);
    border-radius:12px;

    box-shadow:0 2px 8px var(--cor-shadow);
}

.usuarios-table-container{
    width:100%;
    overflow:auto;
}

.usuarios-table{
    width:100%;
    min-width:1050px;

    border-collapse:collapse;
}

.usuarios-table thead th{
    position:sticky;
    top:0;
    z-index:5;

    padding:10px 9px;

    background:#1E5E90;
    color:#FFFFFF;

    border-bottom:2px solid #0F3F63;

    font-size:12px;
    font-weight:600;
    text-align:left;
    white-space:nowrap;
}

.usuarios-table td{
    padding:9px;

    border-bottom:1px solid #ECECEC;

    font-size:12px;
    vertical-align:middle;
}

.usuarios-table tbody tr:hover{
    background:#F3F8FC;
}

.usuarios-table th:nth-child(1),
.usuarios-table td:nth-child(1){
    min-width:230px;
}

.usuarios-table th:nth-child(2),
.usuarios-table td:nth-child(2){
    width:130px;
}

.usuarios-table th:nth-child(3),
.usuarios-table td:nth-child(3){
    width:90px;
}

.usuarios-table th:nth-child(4),
.usuarios-table td:nth-child(4){
    width:100px;
}

/* Solicitação, aprovação e último acesso */
.usuarios-table th:nth-child(5),
.usuarios-table td:nth-child(5),
.usuarios-table th:nth-child(6),
.usuarios-table td:nth-child(6),
.usuarios-table th:nth-child(7),
.usuarios-table td:nth-child(7){
    width:150px;
    white-space:nowrap;
}

/* Ações */
.usuarios-table th:nth-child(8),
.usuarios-table td:nth-child(8){
    width:190px;
}

.usuario-identificacao{
    display:flex;
    align-items:center;
    gap:10px;
}

.usuario-identificacao strong{
    display:block;

    color:#263747;

    font-size:12px;
}

.usuario-identificacao small{
    display:block;

    margin-top:2px;

    color:#768797;
    font-size:10px;
}

.usuario-avatar{
    width:32px;
    height:32px;

    flex:0 0 32px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#E8F1F8;
    color:#1E5E90;
}

.usuario-login{
    color:#123A63;
    font-weight:600;
}

.usuarios-acoes{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    white-space:nowrap;
}

.usuarios-acoes form{
    display:inline-flex;
    margin:0;
}

.btn-usuario{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    padding:5px 8px;

    border:0;
    border-radius:14px;

    color:#FFFFFF;

    font-family:inherit;
    font-size:10px;
    font-weight:600;

    cursor:pointer;
    transition:.2s;
}

.btn-aprovar{
    background:#198754;
}

.btn-aprovar:hover{
    background:#157347;
}

.btn-rejeitar{
    background:#DC3545;
}

.btn-rejeitar:hover{
    background:#B02A37;
}

.btn-desativar{
    background:#6C757D;
}

.btn-desativar:hover{
    background:#565E64;
}

.usuario-atual{
    display:inline-flex;
    align-items:center;
    gap:4px;

    color:#198754;

    font-size:11px;
    font-weight:600;
}

.usuarios-vazio{
    padding:30px !important;

    color:#6C757D;
    text-align:center;
}

.text-center{
    text-align:center !important;
}

@media (max-width:800px){

    .usuarios-topo{
        align-items:flex-start;
        flex-direction:column;
    }

}

/* ==========================================================
   ALTERAÇÃO DE SENHA
========================================================== */

.alterar-senha-pagina{
    width:100%;
    min-height:100%;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    padding-top:20px;
}

.alterar-senha-card{
    width:100%;
    max-width:560px;

    padding:24px;

    background:#FFFFFF;

    border:1px solid var(--cor-borda);
    border-radius:12px;

    box-shadow:0 3px 12px var(--cor-shadow);
}

.alterar-senha-cabecalho{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:20px;
}

.alterar-senha-cabecalho h2{
    margin:0 0 4px;

    color:#0B3C5D;
    font-size:22px;
}

.alterar-senha-cabecalho p{
    margin:0;

    color:#6B7C8A;
    font-size:13px;
}

.alterar-senha-icone{
    width:46px;
    height:46px;

    flex:0 0 46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#E8F1F8;
    color:#1E5E90;

    font-size:22px;
}

.alterar-senha-usuario{
    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:20px;
    padding:10px 12px;

    border:1px solid #E1E7EC;
    border-radius:8px;

    background:#F8FAFC;
}

.alterar-senha-usuario span{
    color:#6B7C8A;
    font-size:12px;
}

.alterar-senha-usuario strong{
    color:#123A63;
    font-size:13px;
}

.alterar-senha-usuario small{
    margin-left:auto;

    color:#768797;
    font-size:11px;
}

.campo-senha{
    margin-bottom:16px;
}

.campo-senha label{
    display:block;

    margin-bottom:5px;

    color:#123A63;
    font-size:13px;
    font-weight:600;
}

.campo-senha .input-group-text{
    width:44px;

    justify-content:center;

    color:#143D63;
    background:#F5F7FA;
}

.campo-senha .form-control{
    min-height:42px;
}

.campo-senha .form-control:focus{
    border-color:#1E5E90;
    box-shadow:0 0 0 .16rem rgba(30,94,144,.15);
}

.campo-senha .form-text{
    font-size:11px;
}

.alterar-senha-acoes{
    display:flex;
    justify-content:flex-end;
    gap:9px;

    margin-top:22px;
}

.alterar-senha-acoes .btn{
    display:inline-flex;
    align-items:center;
    gap:5px;

    font-size:12px;
}

@media (max-width:600px){

    .alterar-senha-card{
        padding:18px;
    }

    .alterar-senha-usuario{
        align-items:flex-start;
        flex-direction:column;
    }

    .alterar-senha-usuario small{
        margin-left:0;
    }

    .alterar-senha-acoes{
        flex-direction:column;
    }

    .alterar-senha-acoes .btn{
        width:100%;
        justify-content:center;
    }

}

.btn-redefinir{
    background:#1E5E90;
    text-decoration:none;
}

.btn-redefinir:hover{
    background:#164A72;
    color:#FFFFFF;
}

/* ==========================================================
   PÁGINA — ESTATÍSTICAS
========================================================== */

.estatisticas-pagina{
    width:100%;
}


/* ==========================================================
   CABEÇALHO
========================================================== */

.estatisticas-topo{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    margin-bottom:16px;
}

.estatisticas-topo h2{
    margin:0 0 4px 0;

    color:#123A63;

    font-size:22px;
    font-weight:600;
}

.estatisticas-topo h2 i{
    margin-right:6px;
}

.estatisticas-topo p{
    margin:0;

    color:#6C757D;

    font-size:13px;
}


/* ==========================================================
   CARDS DE RESUMO
========================================================== */

.estatisticas-resumo{
    display:grid;

    grid-template-columns:
        repeat(3, minmax(180px, 1fr));

    gap:12px;

    margin-bottom:16px;
}

.estatistica-card{
    display:flex;
    align-items:center;

    min-height:72px;

    padding:12px 16px;

    background:#FFFFFF;

    border:1px solid #DDE3E8;
    border-radius:6px;

    box-shadow:
        0 1px 3px rgba(0,0,0,.05);
}

.estatistica-card-icone{
    display:flex;
    align-items:center;
    justify-content:center;

    width:40px;
    height:40px;

    margin-right:12px;

    flex-shrink:0;

    border-radius:50%;

    background:#EAF2F8;

    color:#1E5E90;

    font-size:19px;
}

.estatistica-card-label{
    display:block;

    margin-bottom:2px;

    color:#6C757D;

    font-size:11px;
    font-weight:500;
}

.estatistica-card strong{
    display:block;

    color:#123A63;

    font-size:18px;
    line-height:1.2;
    font-weight:600;
}


/* ==========================================================
   PAINEL DOS GRÁFICOS
========================================================== */

.estatisticas-panel{
    width:100%;

    padding:16px;

    background:#FFFFFF;

    border:1px solid #DDE3E8;
    border-radius:6px;

    box-shadow:
        0 1px 3px rgba(0,0,0,.05);
}


/* ==========================================================
   CABEÇALHO DO PAINEL
========================================================== */

.estatisticas-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    margin-bottom:12px;

    padding-bottom:10px;

    border-bottom:1px solid #E6EAED;
}

.estatisticas-panel-header h3{
    margin:0 0 3px 0;

    color:#123A63;

    font-size:16px;
    font-weight:600;
}

.estatisticas-panel-header p{
    margin:0;

    color:#7A8791;

    font-size:11px;
}

.estatisticas-panel-secundario{
    margin-top:16px;
}

/* ==========================================================
   ÁREA DO GRÁFICO
========================================================== */

.estatisticas-grafico-container{
    position:relative;

    width:100%;
    height:430px;

    padding:8px 4px 2px 4px;
}

.estatisticas-grafico-container canvas{
    width:100% !important;
    height:100% !important;
}


/* ==========================================================
   AUSÊNCIA DE DADOS
========================================================== */

.estatisticas-sem-dados{
    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    min-height:300px;

    color:#7A8791;

    text-align:center;
}

.estatisticas-sem-dados i{
    margin-bottom:8px;

    color:#A8B3BC;

    font-size:36px;
}

.estatisticas-sem-dados strong{
    margin-bottom:3px;

    color:#4B5F6F;

    font-size:14px;
}

.estatisticas-sem-dados span{
    font-size:12px;
}


/* ==========================================================
   ESTATÍSTICAS — PAINÉIS ADICIONAIS
========================================================== */

.estatisticas-panel-secundario{
    margin-top:16px;
}

.estatisticas-grafico-scroll{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
}

.estatisticas-grafico-situacoes{
    min-width:1150px;
    height:500px;
}

/* ==========================================================
   RESPONSIVIDADE
========================================================== */

@media (max-width:1000px){

    .estatisticas-resumo{
        grid-template-columns:
            repeat(2, minmax(180px, 1fr));
    }

}


@media (max-width:700px){

    .estatisticas-resumo{
        grid-template-columns:1fr;
    }

    .estatisticas-grafico-container{
        height:350px;
    }

    .estatisticas-panel{
        padding:12px;
    }

}


@media (max-width:480px){

    .estatisticas-grafico-container{
        height:300px;
    }

    .estatisticas-topo h2{
        font-size:19px;
    }

}


/* ==========================================================
   REDEFINIÇÃO ADMINISTRATIVA DE SENHA
========================================================== */

.redefinir-senha-pagina{
    width:100%;
    min-height:100%;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    padding-top:20px;
}

.redefinir-senha-card{
    width:100%;
    max-width:580px;

    padding:24px;

    background:#FFFFFF;

    border:1px solid var(--cor-borda);
    border-radius:12px;

    box-shadow:0 3px 12px var(--cor-shadow);
}

.redefinir-senha-cabecalho{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:20px;
}

.redefinir-senha-cabecalho h2{
    margin:0 0 4px;

    color:#0B3C5D;
    font-size:22px;
}

.redefinir-senha-cabecalho p{
    margin:0;

    color:#6B7C8A;
    font-size:13px;
}

.redefinir-senha-icone{
    width:46px;
    height:46px;

    flex:0 0 46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#E8F1F8;
    color:#1E5E90;

    font-size:22px;
}

.redefinir-senha-usuario{
    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:14px;
    padding:10px 12px;

    border:1px solid #E1E7EC;
    border-radius:8px;

    background:#F8FAFC;
}

.redefinir-senha-usuario span{
    color:#6B7C8A;
    font-size:12px;
}

.redefinir-senha-usuario strong{
    color:#123A63;
    font-size:13px;
}

.redefinir-senha-usuario small{
    margin-left:auto;

    color:#768797;
    font-size:11px;
}

.pequeno-aviso{
    font-size:12px;
}

.redefinir-senha-acoes{
    display:flex;
    justify-content:flex-end;
    gap:9px;

    margin-top:22px;
}

.redefinir-senha-acoes .btn{
    display:inline-flex;
    align-items:center;
    gap:5px;

    font-size:12px;
}

@media (max-width:600px){

    .redefinir-senha-card{
        padding:18px;
    }

    .redefinir-senha-usuario{
        align-items:flex-start;
        flex-direction:column;
    }

    .redefinir-senha-usuario small{
        margin-left:0;
    }

    .redefinir-senha-acoes{
        flex-direction:column;
    }

    .redefinir-senha-acoes .btn{
        width:100%;
        justify-content:center;
    }

}
