/* Contenedor del PDF */
#ifp-pdf-wrapper {
    display: flex;
    justify-content: center;
    background: #4a4a4a;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: auto;
    max-height: 60vh;
}

#ifp-pdf-container {
    position: relative;
    background: white;
}

#ifp-html-fields {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Campos dinámicos transparentes */
.ifp-dynamic-field {
    position: absolute;
    border: none;
    background: transparent;
    box-sizing: border-box;
    font-size: 13px;
    padding: 0;
    margin: 0;
    z-index: 10;
    color: #000;
    pointer-events: auto;
}

/* Efecto visual solo al estar activo */
.ifp-dynamic-field:focus {
    background: rgba(0, 115, 170, 0.08);
    outline: 1px solid rgba(0, 115, 170, 0.2);
}

/* Estilo para Radio Buttons y Checkboxes */
input[type="checkbox"].ifp-dynamic-field {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
}

input[type="checkbox"].ifp-dynamic-field:checked {
    background: rgba(0, 115, 170, 0.15);
}

input[type="checkbox"].ifp-dynamic-field:checked::after {
    content: "✓";
    display: block;
    text-align: center;
    color: #0073aa;
    font-size: 14px;
    font-weight: bold;
}

/* Área de firma */
#ifp-signature-area {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    text-align: center;
}

#signature-pad {
    background: #fff;
    border: 1px dashed #999;
    max-width: 100%;
    height: auto;
}