/* 
    Como los estilos de desarrollo original vienen de la transpilacion de scss a css, en el archivo style.css,
    decidimos resolver los ajustes de estilos como overrides, para no tocar el style.css    
*/

h1, 
.h1,
h1.section__title 
{
    font-size: 2.5rem; /* ~40px */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2, 
.h2, 
.acf-input h2  {
    font-size: 2rem; /* ~32px */
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

h3, .h3 {
    font-size: 1.5rem; /* ~24px */
    line-height: 1.4;
    margin-bottom: 1rem;
}

h4, .h4 {
    font-size: 1.25rem; /* ~20px */
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h5, .h5 {
    font-size: 1.1rem; /* ~17.6px */
    line-height: 1.4;
    text-transform: uppercase; /* Optional: helps H5 stand out without being large */
    letter-spacing: 0.05em;
}

.single-usuario .page-btn-group {
    display: flex;
    gap: 8px;
    flex-direction: row;
}

#dialogo-confirmacion {
    background-color: pink;
     position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: fixed;
    z-index: 1000;
    width: 450px;
    padding: 25px;
    background: #FFF;
    text-align: center;
    display: none;
}

.show-confirmation  {
    overflow: hidden;
}

.show-confirmation #dialogo-confirmacion {

    display: flex;
    flex-direction: column;
}

.show-confirmation #page:after {
	content:'';
	background: rgba(0,0,0,0.3);
	position: absolute;
	top:0;
	left:0;
	right: 0;
	width:100%;
	height: 100%;
	display: block;
	z-index: 101;
}

.show-confirmation  #dialogo-confirmacion .h3 {
    color: #BB2B0B; 
}


.show-confirmation  #dialogo-confirmacion .btn {
    margin: 0;
    margin-top: 1rem;
}


.mejoras-sin-diagnostico {
    padding: 1rem;
	max-width: 400px;
}

/* quita las flechas de los fields numericos */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.entidades-header-container { 
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    &::after {
        content: unset!important;
    }
}

.entidades-header a {
    margin-right: 24px;    
}

.persona_1_puesto {
    min-width: 200px;
}

.persona_1_puesto:disabled {
    appearance: none;
    opacity: 1!important;
}


.ampliacion-entidad-success {
    margin-bottom: 48px;
    font-size: 24px;
}

.centro-avisos {
      height: 100%;
} 

.single-usuario-side-panel {
    display: flex;
    flex-direction: row;
    gap: 24px;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    margin-top: 24px;
    margin-bottom: 24px;
    margin-left: 24px;
    margin-right: 24px;
    height: 100%;
}


.single-usuario-side-panel div, 
.single-usuario-side-panel section {
    flex:1;
}

/* Ampliar entidad resumen — lista de datos (peticiones + ficha admin) */
.ampliar-entidad-resumen-admin {
    margin-top: 24px;
    margin-bottom: 24px;
}


.ampliar-entidad-resumen-admin .section__title-h2 {
    margin-top: 0;
}

.ampliar-entidad-resumen-page .ampliar-entidad-resumen-list {
    margin-top: 0.5rem;
}

.ampliar-entidad-resumen-vacio {
    margin: 0;
    padding: 0.5rem 0;
    color: #555;
    font-style: italic;
    line-height: 1.5;
}

.ampliar-entidad-resumen-list {
    margin: 0;
    padding: 0;
    max-width: 42rem;
}

.ampliar-entidad-resumen-list .ampliar-entidad-resumen-term {
    margin: 0;
    padding: 1rem 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ampliar-entidad-resumen-list .ampliar-entidad-resumen-term:first-of-type {
    padding-top: 0;
}

.ampliar-entidad-resumen-list .ampliar-entidad-resumen-def {
    margin: 0;
    padding: 0 0 1rem;
    line-height: 1.55;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: #222;
}

.ampliar-entidad-resumen-list .ampliar-entidad-resumen-def:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}

.autodiagnostico-detalle__resumen-bloque {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(187, 43, 11, 0.12); }
  
  .autodiagnostico-detalle__resumen-bloque--final {
    margin-top: 1.5rem;
    border-top-color: rgba(0, 0, 0, 0.08); }
  
  .autodiagnostico-detalle__resumen-titulo {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #BB2B0B; }
  
  .autodiagnostico-detalle__resumen-table {
    width: 100%;
    max-width: 42rem;
    border-collapse: collapse;
    font-size: 0.92rem; }
  
  .autodiagnostico-detalle__resumen-table th,
  .autodiagnostico-detalle__resumen-table td {
    border: 1px solid #e5e5e5;
    padding: 0.5rem 0.65rem;
    text-align: left;
    vertical-align: top; }
  
  .autodiagnostico-detalle__resumen-table th[scope="row"] {
    background: #fafafa;
    font-weight: 600;
    color: #333;
    width: 42%; }
  
  .autodiagnostico-detalle__resumen-formula {
    font-family: "Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
  
  .autodiagnostico-detalle__formula strong {
    color: #BB2B0B; }
  
  .autodiagnostico-detalle__escenario-panel--global {
    margin-top: 0.5rem; }
  
  .autodiagnostico-detalle__resumen-global-intro {
    margin: 0 0 1.15rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #555; }
  
  .autodiagnostico-detalle__table--resumen-global {
    font-size: 0.88rem; }
  
  