/* HDI_V5_2_HOMOLOGACION_VISUAL_PDF_START */
:root{--hdi-green:#006a34;--hdi-red:#ec1c24;--hdi-green-mid:#54a264;--hdi-green-light:#e2f3e3;--hdi-ink:#183047;--hdi-muted:#65778b;--hdi-border:#cfe3d3}

/* TOPBAR */
.topbar,#content-wrapper .topbar,#content-wrapper nav.topbar,#content-wrapper .navbar.topbar{
  min-height:76px!important;height:auto!important;background:#fff!important;
  border-bottom:1px solid #dbe8df!important;box-shadow:0 2px 12px rgba(0,106,52,.06)!important
}
.hdi-v52-topbar-logo,.topbar img[src*="hdi"],.topbar img[alt*="HDI"]{
  position:static!important;inset:auto!important;transform:none!important;float:none!important;
  display:block!important;flex:0 0 auto!important;width:auto!important;height:auto!important;
  max-width:88px!important;max-height:54px!important;margin:0!important;padding:0!important;
  object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
}
.hdi-v52-topbar-lockup{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}
.hdi-v52-topbar-copy{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.hdi-v52-topbar-copy strong,.hdi-v52-topbar-copy .hdi-v52-title{color:#183047!important;font-size:1.08rem!important;font-weight:950!important;letter-spacing:.035em!important}
.hdi-v52-topbar-copy small,.hdi-v52-topbar-copy .hdi-v52-subtitle{color:#65778b!important;font-size:.74rem!important;font-weight:800!important}

/* SIDEBAR + ROJO */
#accordionSidebar{background:linear-gradient(180deg,#006a34 0%,#08723d 55%,#54a264 100%)!important}
#accordionSidebar .sidebar-brand{min-height:92px!important;padding:10px 8px!important}
#accordionSidebar #sidebarLogo,#accordionSidebar .sidebar-brand img[src*="hdi"]{
  position:static!important;width:auto!important;height:auto!important;max-width:72px!important;max-height:64px!important;
  padding:4px!important;margin:0 auto!important;object-fit:contain!important;background:#fff!important;border-radius:12px!important;
  box-shadow:0 6px 18px rgba(0,0,0,.10)!important
}
#accordionSidebar:not(.collapsed) #sidebarLogo{max-width:138px!important;max-height:68px!important}
#accordionSidebar .nav-icon-box{background:rgba(236,28,36,.16)!important;border:1px solid rgba(236,28,36,.34)!important;color:#ec1c24!important}
#accordionSidebar .nav-icon-box i{color:#ec1c24!important}
#accordionSidebar .nav-link:hover .nav-icon-box,#accordionSidebar .nav-item.active .nav-icon-box{background:#ec1c24!important;border-color:#ec1c24!important;color:#fff!important}
#accordionSidebar .nav-link:hover .nav-icon-box i,#accordionSidebar .nav-item.active .nav-icon-box i{color:#fff!important}

/* PALETA EXACTA PDF + LINEA ROJA */
body.gnp-page .pt-page-hero,body.gnp-page .gnp-page-header,body.gnp-page .gnp-header,.pt-page-hero,.pt-case-header{
  background:radial-gradient(circle at 92% 18%,rgba(226,243,227,.16),transparent 28%),linear-gradient(118deg,#006a34 0%,#31854a 58%,#54a264 100%)!important;
  border-bottom:3px solid #ec1c24!important
}
.pt-page-hero *,.pt-case-header *,.gnp-page-header *,.gnp-header *{color:#fff!important}
.pt-page-hero__eyebrow,.pt-page-hero .text-muted,.pt-case-header .text-muted,.gnp-page-header .text-muted{color:#fff!important;opacity:.96!important}
.pt-page-hero__icon,.pt-case-header__icon,.pt-case-banner__icon,.gnp-page .hero-icon,.gnp-page .gnp-header-icon{
  background:#ec1c24!important;color:#fff!important;border-color:#ec1c24!important;box-shadow:0 8px 20px rgba(236,28,36,.22)!important
}
.pt-page-hero__icon i,.pt-case-header__icon i,.pt-case-banner__icon i{color:#fff!important}
.pt-case-banner__head,.pt-case-banner-header{background:#006a34!important;border-bottom:3px solid #ec1c24!important}
.pt-case-banner__head *,.pt-case-banner-header *{color:#fff!important}

/* MODULOS CEDULA TODOS VERDES */
.pt-module-grid{gap:18px!important}
.pt-module-card{border:1px solid #cfe3d3!important;border-top:4px solid #54a264!important;background:#fff!important;box-shadow:0 7px 22px rgba(0,106,52,.06)!important}
.pt-module-card:hover{border-color:#54a264!important;box-shadow:0 10px 26px rgba(0,106,52,.11)!important}
.pt-module-card > span,.pt-module-card__icon,.pt-module-card[data-pt-module-open] > span{
  background:#006a34!important;border-color:#006a34!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,106,52,.18)!important
}
.pt-module-card > span i,.pt-module-card__icon i,.pt-module-card[data-pt-module-open] > span i{color:#fff!important}

/* BARRA DATOS */
.pt-case-banner__body,.pt-case-banner__summary,.pt-case-banner__facts,.pt-case-banner__grid{width:100%!important;min-width:0!important}
.pt-case-banner__field{min-width:112px!important;padding:12px 14px!important;text-align:center!important}
.pt-case-banner__field small,.pt-case-banner__field .label{
  display:block!important;color:#53697b!important;font-size:.70rem!important;font-weight:900!important;line-height:1.1!important;
  text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
.pt-case-banner__field strong{
  display:block!important;color:#183047!important;font-size:.85rem!important;font-weight:950!important;line-height:1.2!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
.pt-case-banner__field.hdi-v52-date-field{min-width:136px!important}
.pt-case-banner__field.hdi-v52-date-field strong{white-space:nowrap!important}

/* TABLA CONSULTA REFERENCIAS ANCHO COMPLETO */
#tablaGnpDatos_wrapper,#tablaGnpDatos_wrapper .dataTables_scroll,#tablaGnpDatos_wrapper .dataTables_scrollHead,#tablaGnpDatos_wrapper .dataTables_scrollBody{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important
}
#tablaGnpDatos_wrapper .dataTables_scroll{overflow:hidden!important}
#tablaGnpDatos_wrapper .dataTables_scrollHead{overflow:hidden!important}
#tablaGnpDatos_wrapper .dataTables_scrollBody{overflow-x:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
#tablaGnpDatos_wrapper .dataTables_scrollHeadInner{width:100%!important;min-width:1680px!important}
#tablaGnpDatos_wrapper table.dataTable,#tablaGnpDatos_wrapper #tablaGnpDatos{width:100%!important;min-width:1680px!important;margin:0!important}
#tablaGnpDatos_wrapper .hdi-v52-table-toolbar{
  width:100%!important;display:grid!important;grid-template-columns:minmax(160px,1fr) minmax(360px,650px) minmax(160px,1fr)!important;
  align-items:center!important;gap:14px!important;padding:12px 14px!important;margin:0 0 14px!important;background:#f6fbf7!important;
  border:1px solid #cfe3d3!important;border-radius:14px!important;box-sizing:border-box!important
}
#tablaGnpDatos_wrapper .hdi-v52-table-toolbar .dataTables_length{grid-column:1!important;justify-self:start!important;margin:0!important}
#tablaGnpDatos_wrapper .hdi-v52-table-toolbar .dataTables_filter,#tablaGnpDatos_wrapper .hdi-v52-table-toolbar #tablaGnpDatos_filter{
  grid-column:2!important;width:100%!important;max-width:none!important;margin:0!important;justify-self:center!important;float:none!important
}
#tablaGnpDatos_wrapper .hdi-v52-table-toolbar .dataTables_filter label,#tablaGnpDatos_wrapper .hdi-v52-table-toolbar #tablaGnpDatos_filter label{
  width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;margin:0!important
}
#tablaGnpDatos_wrapper .hdi-v52-table-toolbar .dataTables_filter input,#tablaGnpDatos_wrapper .hdi-v52-table-toolbar #tablaGnpDatos_filter input{
  flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:42px!important;padding:8px 12px!important;
  border:1px solid #b7d4bd!important;border-radius:11px!important;background:#fff!important;color:#183047!important
}
#tablaGnpDatos_wrapper .dataTables_length select{min-height:40px!important;border:1px solid #b7d4bd!important;border-radius:9px!important;background:#fff!important;color:#006a34!important}
#tablaGnpDatos_wrapper table.dataTable thead th{background:#006a34!important;color:#fff!important;border-color:#0b7740!important}
#tablaGnpDatos_wrapper table.dataTable thead tr.filters-row th,#tablaGnpDatos_wrapper table.dataTable thead th:has(input){background:#e2f3e3!important;color:#183047!important}
#tablaGnpDatos_wrapper table.dataTable thead input{min-height:34px!important;border:1px solid #b7d4bd!important;border-radius:8px!important;background:#fff!important}

/* DOCUMENTOS CONTRASTE */
.gnp-file-actions,.pt-v625-doc-actions{gap:7px!important}
.gnp-file-action,.pt-v625-view-doc,.gnp-file-preview,.gnp-file-download,.gnp-file-validate,.gnp-file-delete{
  min-width:38px!important;min-height:38px!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important
}
.gnp-file-preview,.pt-v625-view-doc{background:#006a34!important;border:1px solid #006a34!important;color:#fff!important}
.gnp-file-download,.gnp-file-action[title*="Descargar"],.gnp-file-actions a.gnp-file-action{background:#54a264!important;border:1px solid #54a264!important;color:#fff!important}
.gnp-file-validate{background:#e2f3e3!important;border:1px solid #54a264!important;color:#006a34!important}
.gnp-file-validate.is-valid,.gnp-file-validate[data-validado="1"]{background:#006a34!important;border-color:#006a34!important;color:#fff!important}
.gnp-file-delete{background:#ec1c24!important;border:1px solid #ec1c24!important;color:#fff!important}

/* DASHBOARD CLARO */
.pt-dashboard,.pt-dashboard-shell,.pt-report-dashboard,.pt-report-panel{background:#f7fbf8!important}
.pt-dashboard-card,.pt-chart-card,.pt-filter-card,.pt-kpi-card,.pt-panel{background:#fff!important;border:1px solid #cfe3d3!important;box-shadow:0 4px 14px rgba(0,106,52,.04)!important}
.pt-filter-card select,.pt-filter-card input{border-color:#b7d4bd!important;background:#fff!important}
.pt-month-bar,.pt-hbar-fill{background:rgba(84,162,100,.24)!important;border-color:#54a264!important}
.pt-hbar-track{background:#e2f3e3!important}

/* PORTAL ASEGURADO */
.pdd-portal-hero,.pt-v627-mobile-summary{
  background:radial-gradient(circle at 88% 18%,rgba(226,243,227,.15),transparent 28%),linear-gradient(130deg,#006a34 0%,#2c8248 58%,#54a264 100%)!important;
  border-bottom:3px solid #ec1c24!important
}
.pdd-portal-hero *,.pt-v627-mobile-summary *{color:#fff!important}
.pt-v627-mobile-case-data span{color:#e2f3e3!important}
.pt-v627-mobile-progress i,.pt-v627-mobile-progress .is-active i,.pt-v627-mobile-progress .is-current i{color:#ec1c24!important}
.pdd-process-card__icon,.pt-v627-mobile-action-icon{background:#006a34!important;color:#fff!important}

@media(max-width:767.98px){
 .hdi-v52-topbar-logo,.topbar img[src*="hdi"]{max-width:70px!important;max-height:46px!important}
 #tablaGnpDatos_wrapper .hdi-v52-table-toolbar{grid-template-columns:1fr!important;gap:9px!important;padding:10px!important}
 #tablaGnpDatos_wrapper .hdi-v52-table-toolbar .dataTables_length,
 #tablaGnpDatos_wrapper .hdi-v52-table-toolbar .dataTables_filter,
 #tablaGnpDatos_wrapper .hdi-v52-table-toolbar #tablaGnpDatos_filter{grid-column:1!important;width:100%!important;justify-self:stretch!important}
 #tablaGnpDatos_wrapper .dataTables_scrollHeadInner,#tablaGnpDatos_wrapper table.dataTable,#tablaGnpDatos_wrapper #tablaGnpDatos{min-width:1500px!important}
 #documentos .pdd-portal-modal-card,#documentos .pdd-documents-layout,#documentos .pdd-panel-grid,#documentos .pdd-required-docs,#documentos .hdi-formatos-grid,#documentos .pdd-document-list{
   width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr)!important
 }
 #documentos .pdd-required-doc,#documentos .hdi-formato-card,#documentos .pdd-document-card{width:100%!important;max-width:100%!important;min-width:0!important}
 .pt-module-window__footer,.modal-footer,.swal2-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 .pt-module-window__footer > *,.modal-footer > .btn,.modal-footer > button,.swal2-actions > button{width:100%!important;min-width:0!important;margin:0!important}
}
/* HDI_V5_2_HOMOLOGACION_VISUAL_PDF_END */
