html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.bg-azul-IDOPPRIL {
    background-color: #1360ad
}

.bg-verde-IDOPPRIL {
    background-color: #6bd600
}

.bg-naranja-IDOPPRIL {
    background-color: #ff9d00
}

.azul-oscuro {
    color:#455B7D;
}

.bg-azul-oscuro {
    background-color: #455B7D;
}

.btn-IDOPPRIL {
    background-color: #1360ad;
    color:white;
    border-color: #1360ad;
}

.btn-IDOPPRIL:hover {
    background-color: #5B8DCC;
    color: white;
    border-color: #5B8DCC;
}


/* CONTENEDOR GENERAL DE TABLAS */
.card-table {
    background: #ffffff;
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

/* TABLA BASE */
.est-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    overflow: hidden;
}

/* CABECERA */
.est-thead {
    background-color: #1360ad;
    color: #ffffff;
}

.est-thead th {
        padding: 12px 14px;
        text-align: center;
        font-weight: 700;
        border-right: 1px solid rgba(255, 255, 255, 0.25);
        
    }

.est-thead th:last-child {
            border-right: none;
        }

.est-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    vertical-align: middle;
}

    .est-table td:last-child {
        border-right: none;
    }

.est-table tbody tr {
    transition: background-color 0.2s ease;
}

.est-table tbody tr:hover {
        background-color: #f3f8ff;
    }

.est-table tbody tr:last-child td {
        border-bottom: none;
    }


#tabla-gastos,
#tabla-incapacidades,
#tabla-indemnizacion {
    width: 100%;
}


.pension-table {
    min-width: 1400px;
}

/* RESPONSIVE PARA PANTALLAS GRANDES */
@media (min-width: 750px) {
    #tabla-incapacidades {
        width: 80%;
    }

    #tabla-gastos {
        width: 70%;
    }

    #tabla-indemnizacion {
        width: 80%;
    }

}


/* Responsive de la pantalla de crear solicitud de salud*/
@media (max-width: 992px) {
    .datos-resumen {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .seccion-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .datos-resumen {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .acciones-form .btn {
        width: 100%;
    }
}

@media(max-width: 768px ){
    thead {
        display: none
    }

    tr{
        display:block;
        margin-bottom: 1rem;
        border: 1px solid #dddd;
        border-radius: 8px;
    }
    td{
        display: flex;
        justify-content:space-between;
        
    }
    
    td:before{
        content:attr(data-label);
        font-weight:800;
    }

    footer{
        display:none;
    }
}

@media(max-width: 768px ){
    .contenedor-solicitudes {
        background-color: none;
        width: 800px;
        height: 650px;
        margin: 0 auto;
        padding: 100px;
        margin-top: 20px;
    }

    #contenedor-botones{
        display:flex;
        flex-direction:column;
        justify-content: center;
    }
    #contenedor-filtrado {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom:2rem;
    }

    .tabla-solicitudes td[data-label="No. Solicitud"] {
        padding-bottom: 8px;
        margin-bottom: 4px;
        font-size: 15px;
        font-weight: 700;
        color: #1a5276;
    }

        .tabla-solicitudes td[data-label="No. Solicitud"]::before {
            content: "Solicitud #";
            font-size: 15px;
            color: #1a5276;
        }


    .tabla-solicitudes td[data-label="Nombre"] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

        .tabla-solicitudes td[data-label="Nombre"]::before {
            min-width: unset;
        }

    .tabla-solicitudes td[data-label=" "] {
        justify-content: flex-end;
        padding-top: 10px;
        margin-top: 4px;
   
    }

        .tabla-solicitudes td[data-label=" "]::before {
            display: none;
        }


}
